@import url('https://fonts.googleapis.com/css2?family=Karla:wght@300;400;500;600;700&family=Playfair+Display+SC:wght@400;700&display=swap');

:root{
  --mint:#b4fde1;
  --blue:#add8e6;
  --ink:#172620;
  --deep:#11301f;
  --edge:#1b3a2a;
  --paper:#f4fdf9;
  --display:"Playfair Display SC","Songti SC","Noto Serif SC",Georgia,serif;
  --shadow-i: inset -3px -3px 10px rgba(23,38,32,.10), inset 3px 3px 10px rgba(255,255,255,.85);
  --shadow-o: 5px 6px 0 rgba(23,38,32,.12), 0 12px 24px rgba(23,38,32,.10);
}

*,*::before,*::after{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  font-family:Karla,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  font-size:17px;
  line-height:1.7;
  color:var(--ink);
  background:
    radial-gradient(900px 420px at 10% -10%, #d8fbee 0%, rgba(216,251,238,0) 62%),
    radial-gradient(760px 400px at 94% 2%, #d6edf7 0%, rgba(214,237,247,0) 60%),
    linear-gradient(170deg, #f5fdfa 0%, #ebfaf3 48%, #e7f5fa 100%);
  min-height:100vh;
}

::selection{background:var(--mint);color:var(--deep)}

:focus-visible{outline:3px solid #1f7a52;outline-offset:3px}

h1,h2,h3{font-family:var(--display);color:var(--deep);font-weight:700}

img{max-width:100%}

/* ---------- 顶部细条 ---------- */
.strip{
  background:var(--deep);
  color:var(--mint);
  border-bottom:3px solid var(--edge);
}
.strip p{
  margin:0 auto;
  max-width:1200px;
  padding:9px 20px;
  text-align:center;
  font-size:16px;
  font-weight:600;
  letter-spacing:.14em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* ---------- 页头 ---------- */
.top{
  background:rgba(248,255,252,.9);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  border-bottom:3px solid var(--edge);
}

.bar{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:10px;
  max-width:1200px;
  margin:0 auto;
  padding:10px 20px;
}

.nav p{
  margin:0;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
}
.nav-a p{justify-content:flex-start}
.nav-b p{justify-content:flex-end}

.nav a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:8px 14px;
  font-size:16px;
  font-weight:600;
  color:var(--ink);
  text-decoration:none;
  border:2px solid rgba(23,38,32,.18);
  border-radius:999px;
  background:rgba(255,255,255,.55);
  transition:transform .2s ease-out, background .2s ease-out, border-color .2s ease-out, box-shadow .2s ease-out;
}
.nav a:hover,.nav a:focus-visible{
  background:linear-gradient(180deg,#e9fff7,var(--mint));
  border-color:var(--edge);
  box-shadow:var(--shadow-i), 3px 3px 0 rgba(23,38,32,.15);
  transform:translateY(-2px);
}
.nav a:active{transform:translateY(1px)}

.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:6px 12px;
  text-decoration:none;
  color:var(--deep);
  font-family:var(--display);
  font-size:24px;
  letter-spacing:.04em;
  line-height:1.2;
  border-radius:18px;
  min-height:46px;
}
.brandtxt{border-bottom:3px solid rgba(180,253,225,1)}
.mark{
  width:26px;
  height:26px;
  flex:none;
  border-radius:9px;
  border:3px solid var(--edge);
  background:linear-gradient(150deg,var(--mint),var(--blue));
  box-shadow:inset -2px -2px 5px rgba(23,38,32,.18), 2px 2px 0 rgba(23,38,32,.2);
}

/* ---------- 首屏 ---------- */
.hero{
  position:relative;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:center;
  gap:38px;
  min-height:100svh;
  max-width:1200px;
  margin:0 auto;
  padding:60px 20px 80px;
  overflow:hidden;
  scroll-margin-top:110px;
}
.hero::before{
  content:"";
  position:absolute;
  left:-12%;
  right:-12%;
  bottom:9%;
  height:88px;
  z-index:0;
  opacity:.5;
  transform:rotate(-4deg);
  border-top:3px solid rgba(23,38,32,.28);
  border-bottom:3px solid rgba(23,38,32,.28);
  background:linear-gradient(90deg,var(--mint),var(--blue));
}
.hero-text{position:relative;z-index:1;text-align:center}

.eyebrow{
  display:block;
  width:fit-content;
  margin:0 auto;
  padding:4px 14px;
  font-size:16px;
  font-weight:700;
  letter-spacing:.18em;
  color:#175640;
  background:rgba(180,253,225,.9);
  border:2px solid rgba(23,38,32,.35);
  border-radius:999px;
}

h1{
  margin:.42em 0 .38em;
  font-size:clamp(2rem,5.4vw,3.6rem);
  line-height:1.18;
  letter-spacing:.02em;
  text-shadow:2px 2px 0 rgba(180,253,225,.85);
}

.lead{
  margin:0 auto;
  max-width:36ch;
  font-size:18px;
  color:#1d3a2b;
}

.cta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
  margin:28px 0 0;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:12px 24px;
  font-size:16px;
  font-weight:700;
  color:var(--deep);
  text-decoration:none;
  border:3px solid var(--edge);
  border-radius:18px;
  background:linear-gradient(165deg,#defff3,var(--mint));
  box-shadow:inset -3px -3px 8px rgba(23,38,32,.14), 0 6px 0 rgba(23,38,32,.18), 0 12px 20px rgba(23,38,32,.12);
  transition:transform .2s ease-out, box-shadow .2s ease-out;
}
.btn.ghost{background:linear-gradient(165deg,#eaf7fd,var(--blue))}
.btn:hover{transform:translateY(-3px)}
.btn:active{
  transform:translateY(3px);
  box-shadow:inset -2px -2px 6px rgba(23,38,32,.22), 0 1px 0 rgba(23,38,32,.2);
}

.hero-art{
  position:relative;
  z-index:1;
  display:grid;
  place-items:center;
  aspect-ratio:4/3;
  overflow:hidden;
  border:4px solid var(--edge);
  border-radius:26px;
  background:linear-gradient(150deg,var(--mint),var(--blue));
  box-shadow:inset -4px -4px 12px rgba(23,38,32,.14), inset 4px 4px 12px rgba(255,255,255,.8), 8px 10px 0 rgba(23,38,32,.14);
}
.hero-img{width:100%;height:100%;object-fit:cover;display:block}
.art-flat::after{
  content:"";
  width:56%;
  aspect-ratio:1;
  border-radius:50%;
  border:4px solid var(--edge);
  background:radial-gradient(circle at 32% 28%, #f4fffb 0%, rgba(255,255,255,0) 62%), linear-gradient(150deg,#ccffee,#9ed6ec);
  box-shadow:inset -6px -6px 14px rgba(23,38,32,.16);
}

/* ---------- 主体双栏 ---------- */
.grid{
  display:grid;
  grid-template-columns:258px minmax(0,1fr);
  gap:34px;
  align-items:start;
  max-width:1200px;
  margin:0 auto;
  padding:26px 20px 68px;
}

.side{
  position:sticky;
  top:106px;
  padding:20px 18px;
  border:3px solid var(--edge);
  border-radius:22px;
  background:rgba(255,255,255,.62);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  box-shadow:inset -3px -3px 10px rgba(23,38,32,.1), inset 3px 3px 10px rgba(255,255,255,.85), var(--shadow-o);
}
.side .eyebrow{margin:0 0 10px}
.side-title{
  margin:0 0 14px;
  font-size:22px;
  line-height:1.3;
}
.side ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:6px;
}
.side a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:8px 12px;
  font-size:16px;
  font-weight:600;
  text-decoration:none;
  color:var(--ink);
  border:2px solid rgba(23,38,32,.18);
  border-radius:14px;
  background:rgba(255,255,255,.55);
  transition:transform .2s ease-out, background .2s ease-out, border-color .2s ease-out;
}
.side a:hover,.side a:focus-visible{
  background:linear-gradient(180deg,#eafff7,var(--mint));
  border-color:var(--edge);
  transform:translateX(3px);
}

.prose{min-width:0}

.prose > div{
  margin:0 0 26px;
  padding:26px 24px;
  border:3px solid var(--edge);
  border-radius:10px;
  background:rgba(255,255,255,.64);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
  box-shadow:inset -3px -3px 10px rgba(23,38,32,.08), inset 3px 3px 10px rgba(255,255,255,.8), 5px 6px 0 rgba(23,38,32,.1);
  scroll-margin-top:110px;
}
.prose > div:nth-child(even){
  background:linear-gradient(165deg, rgba(234,255,247,.85), rgba(228,245,252,.8));
}

.prose h2{
  margin:.25em 0 .55em;
  font-size:clamp(1.5rem,3vw,2rem);
  line-height:1.28;
}
.prose h3{
  margin:1.3em 0 .4em;
  font-size:1.16rem;
  line-height:1.4;
}
.prose small{
  display:block;
  margin-bottom:2px;
  font-size:16px;
  font-weight:700;
  letter-spacing:.16em;
  color:#1e6448;
}
.prose p{margin:0 0 1em;overflow-wrap:break-word}
.prose p:last-child{margin-bottom:0}
.prose ul,.prose ol{margin:0 0 1em;padding-left:1.35em}
.prose li{margin:.32em 0}
.prose a{color:#0f5a3c;text-decoration-thickness:2px;text-underline-offset:3px}
.prose a:hover{background:rgba(180,253,225,.85)}
.prose strong{color:var(--deep)}
.prose blockquote{
  margin:1.2em 0;
  padding:14px 18px;
  border:3px solid var(--edge);
  border-left-width:9px;
  border-radius:10px;
  background:rgba(180,253,225,.45);
}
.prose blockquote p:last-child{margin-bottom:0}
.prose hr{margin:1.7em 0;border:none;border-top:3px dashed rgba(23,38,32,.3)}
.prose img{
  height:auto;
  border:3px solid var(--edge);
  border-radius:10px;
}
.prose table{
  display:block;
  width:100%;
  overflow-x:auto;
  border-collapse:collapse;
  font-size:16px;
}
.prose th,.prose td{
  padding:9px 11px;
  text-align:left;
  border:2px solid rgba(23,38,32,.35);
}
.prose th{background:rgba(180,253,225,.6)}

/* ---------- 页脚 ---------- */
.foot{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:10px 18px;
  padding:30px 20px 34px;
  text-align:center;
  border-top:3px solid var(--edge);
  background:linear-gradient(180deg, rgba(255,255,255,.75), rgba(214,246,236,.9));
}
.foot p{margin:0;font-weight:700;color:var(--deep)}
.foot small{font-size:16px}
.foot a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:9px 20px;
  color:var(--ink);
  font-weight:600;
  text-decoration:none;
  border:2px solid var(--edge);
  border-radius:999px;
  background:#fff;
  box-shadow:inset -2px -2px 6px rgba(23,38,32,.1), 3px 3px 0 rgba(23,38,32,.12);
}
.foot a:hover{background:var(--mint)}

/* ---------- 入场 ---------- */
.reveal{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .5s ease-out, transform .5s cubic-bezier(.34,1.56,.64,1);
}
.reveal.in{opacity:1;transform:none}

/* ---------- 响应式 ---------- */
@media (min-width:861px){
  .top{position:sticky;top:0;z-index:30}
}

@media (max-width:860px){
  .top{position:static}
  .bar{grid-template-columns:1fr;justify-items:center;gap:8px;padding:12px 14px}
  .brand{order:-1;font-size:22px}
  .nav-a p,.nav-b p{justify-content:center}
  .nav a{padding:8px 12px}
  .hero{
    grid-template-columns:1fr;
    min-height:auto;
    gap:26px;
    padding:34px 18px 46px;
  }
  .hero-art{order:-1;aspect-ratio:16/10}
  .hero::before{height:64px;bottom:3%}
  h1{font-size:clamp(1.85rem,8vw,2.6rem)}
  .lead{font-size:17px}
  .grid{grid-template-columns:1fr;gap:22px;padding:18px 14px 48px}
  .side{position:static}
  .prose > div{padding:20px 16px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none !important;animation:none !important}
}

button[aria-expanded]{min-width:44px;min-height:44px}
