@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600&display=swap');

:root{
  --teal:#0c6f6a;
  --teal-dark:#0a5c58;
  --gold:#d9b45b;
  --ink:#163433;
  --paper:#ffffff;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:'Noto Serif SC','PingFang SC','Microsoft YaHei',serif;
  background:#f3fbfa;
  color:var(--ink);
  -webkit-text-size-adjust:100%;
}

.bg{
  position:fixed;
  inset:0;
  background:
    radial-gradient(70% 30% at 50% 0%, rgba(12,111,106,.24), transparent 70%),
    linear-gradient(180deg, var(--teal), var(--teal-dark));
  z-index:-1;
}

.container{
  max-width:760px;
  margin:0 auto;
  padding:
    max(18px, env(safe-area-inset-top))
    16px
    max(28px, env(safe-area-inset-bottom))
    16px;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  gap:16px;
}

.hero{
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding-top:10px;
}

.hero.small{padding-top:6px}

.logo{
  width:96px;
  height:96px;
  border-radius:50%;
  background:#fff;
  padding:10px;
  box-shadow:0 14px 30px rgba(0,0,0,.18);
  flex:0 0 auto;
}

.hero-text{text-align:left}
.title{
  margin:0;
  font-size:22px;
  letter-spacing:4px;
  font-weight:600;
  line-height:1.2;
}
.title.small{font-size:20px;letter-spacing:3px}
.subtitle{
  margin:6px 0 0;
  font-size:14px;
  opacity:.92;
  letter-spacing:1px;
}

.card{
  background:rgba(255,255,255,.97);
  border-radius:22px;
  padding:22px 18px 20px;
  box-shadow:0 22px 55px rgba(0,0,0,.22);
  backdrop-filter: blur(6px);
}

.card p{
  font-size:16.5px;
  line-height:1.9;
  margin:0 0 12px;
}

.lead{
  font-size:17px;
  font-weight:500;
}

.divider{
  height:1px;
  margin:14px 0 16px;
  background:linear-gradient(90deg, transparent, var(--gold), transparent);
}

.motto{
  text-align:center;
  margin:10px 0 6px;
  color:#6b5a2a;
  letter-spacing:2px;
  font-size:13px;
}

.actions{
  margin-top:10px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.btn{
  display:block;
  text-align:center;
  border-radius:18px;
  padding:15px 14px;
  font-size:17px;
  font-weight:600;
  text-decoration:none;
}

.primary{
  background:linear-gradient(180deg, var(--teal), var(--teal-dark));
  color:#fff;
}

.ghost{
  color:rgba(12,111,106,.95);
  background:rgba(12,111,106,.08);
}

.footer{
  text-align:center;
  margin-top:auto;
  font-size:13px;
  color:rgba(255,255,255,.75);
  padding-top:8px;
}

/* Larger screens: center hero text, give card more breathing room */
@media (min-width: 520px){
  .container{padding:56px 18px 72px}
  .hero{flex-direction:column; gap:10px; padding-top:0}
  .hero-text{text-align:center}
  .logo{width:128px;height:128px}
  .title{font-size:30px;letter-spacing:6px}
  .title.small{font-size:24px;letter-spacing:4px}
  .subtitle{font-size:15px;letter-spacing:2px}
  .card{border-radius:32px;padding:40px 36px 44px}
  .card p{font-size:18px;line-height:2}
  .lead{font-size:20px}
  .btn{border-radius:26px;padding:18px;font-size:18px}
  .motto{font-size:14px;letter-spacing:3px}
}
