@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Space+Grotesk:wght@500;600;700&display=swap');

:root{
  --ink:#172623;
  --ink-2:#22352f;
  --teal:#5cc6b0;
  --teal-d:#3d9d8a;
  --sand:#d4c4a8;
  --sand-0:#f4efe4;
  --sand-1:#e9dfcd;
  --sand-2:#dcd0b9;
  --clay:#c67b5c;
  --olive:#6b7b3c;
  --line:rgba(23,38,35,.16);
  --line-2:rgba(23,38,35,.32);
  --shadow-s:0 10px 24px -18px rgba(23,38,35,.55);
  --shadow-m:0 24px 54px -34px rgba(23,38,35,.6);
  --sans:"Inter","Space Grotesk",system-ui,-apple-system,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  --disp:"Space Grotesk","Inter",system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  --head-h:118px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:
    radial-gradient(1200px 520px at 8% -8%, #fbf7ef 0%, rgba(251,247,239,0) 62%),
    linear-gradient(178deg, var(--sand-0) 0%, var(--sand-1) 58%, var(--sand-2) 100%);
  background-attachment:fixed;
  color:var(--ink);
  font-family:var(--sans);
  font-size:17px;
  line-height:1.72;
  letter-spacing:.012em;
  overflow-x:clip;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:2;
  pointer-events:none;
  opacity:.42;
  mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
:focus-visible{outline:2px solid var(--teal-d);outline-offset:3px}

/* ---------- top bar ---------- */
.topbar{
  position:sticky;
  top:0;
  z-index:30;
  background:linear-gradient(180deg, #172623 0%, #1b2d28 100%);
  color:var(--sand-1);
  border-bottom:2px solid var(--teal);
  box-shadow:0 16px 40px -30px rgba(0,0,0,.9);
}
.topbar::after{
  content:"";
  position:absolute;
  inset:auto 0 -2px 0;
  height:2px;
  background:linear-gradient(90deg, var(--teal), var(--clay) 55%, rgba(212,196,168,0));
}
.topbar-head{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:14px;
  padding:10px clamp(14px,4vw,34px);
}
.mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  color:var(--teal);
  text-decoration:none;
  border:0;
  transition:color .25s ease, transform .25s ease;
}
.mark:hover{color:var(--sand);transform:rotate(-4deg)}
.mark-svg{width:42px;height:42px;display:block}
.mark-img{width:42px;height:42px;object-fit:contain}

.search{
  display:flex;
  justify-self:end;
  align-items:center;
  gap:0;
  border:1px solid rgba(212,196,168,.32);
  background:rgba(212,196,168,.08);
  max-width:340px;
  width:100%;
}
.search input{
  flex:1 1 auto;
  min-width:0;
  height:42px;
  padding:0 12px;
  border:0;
  background:transparent;
  color:#f6f1e7;
  font:inherit;
  font-size:16px;
}
.search input::placeholder{color:rgba(233,223,205,.62)}
.search input:focus{outline:none}
.search button{
  flex:0 0 auto;
  height:42px;
  padding:0 16px;
  border:0;
  border-left:1px solid rgba(212,196,168,.32);
  background:transparent;
  color:var(--teal);
  font:inherit;
  font-size:16px;
  letter-spacing:.08em;
  cursor:pointer;
  transition:background .2s ease, color .2s ease;
}
.search button:hover{background:var(--teal);color:var(--ink)}
.search.miss input{animation:shake .4s ease}
@keyframes shake{
  0%,100%{transform:translateX(0)}
  25%{transform:translateX(-4px)}
  75%{transform:translateX(4px)}
}

.nav-strip{
  border-top:1px solid rgba(212,196,168,.18);
  overflow-x:auto;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.nav-strip::-webkit-scrollbar{display:none}
.nav-strip p{
  margin:0;
  padding:0 clamp(8px,3vw,26px);
  display:flex;
  align-items:stretch;
  gap:2px;
  min-height:48px;
}
.nav-strip a{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:11px 15px;
  min-height:44px;
  white-space:nowrap;
  font-size:16px;
  letter-spacing:.05em;
  color:rgba(233,223,205,.86);
  text-decoration:none;
  position:relative;
  transition:color .22s ease, background .22s ease;
}
.nav-strip a::before{
  content:"";
  width:7px;
  height:7px;
  flex:0 0 auto;
  background:var(--teal);
  transform:rotate(45deg) scale(.85);
  opacity:.7;
  transition:transform .22s ease, opacity .22s ease, background .22s ease;
}
.nav-strip a::after{
  content:"";
  position:absolute;
  left:15px;
  right:15px;
  bottom:6px;
  height:1px;
  background:var(--teal);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .26s ease;
}
.nav-strip a:hover{color:#fff;background:rgba(92,198,176,.12)}
.nav-strip a:hover::before{transform:rotate(45deg) scale(1.25);opacity:1;background:var(--sand)}
.nav-strip a:hover::after{transform:scaleX(1)}

/* ---------- hero ---------- */
.hero{
  position:relative;
  overflow:clip;
  padding:clamp(40px,7vw,84px) clamp(16px,5vw,56px) clamp(70px,9vw,120px);
  min-height:64vh;
  display:flex;
  align-items:center;
  background:
    radial-gradient(760px 380px at 88% 12%, rgba(92,198,176,.26), rgba(92,198,176,0) 70%),
    linear-gradient(168deg, rgba(251,247,239,.92), rgba(233,223,205,.4) 70%);
}
.hero::before{
  content:"";
  position:absolute;
  left:-16%;
  right:-16%;
  bottom:-46%;
  height:82%;
  background:linear-gradient(96deg, rgba(92,198,176,.5), rgba(107,123,60,.32) 52%, rgba(198,123,92,.42));
  transform:skewY(-7deg);
  z-index:0;
}
.hero::after{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:6px;
  height:100%;
  background:linear-gradient(180deg, var(--teal), var(--clay));
  opacity:.85;
}
.hero-grid{
  position:relative;
  z-index:1;
  width:100%;
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
  align-items:center;
  gap:clamp(20px,4vw,54px);
}
.hero-copy{text-align:left}
.hero h1{
  margin:0;
  font-family:var(--disp);
  font-weight:600;
  font-size:clamp(2rem, 5.6vw, 4rem);
  line-height:1.16;
  letter-spacing:-.012em;
  text-wrap:balance;
  text-shadow:0 1px 0 rgba(251,247,239,.6);
}
.hero h1::after{
  content:"";
  display:block;
  width:78px;
  height:5px;
  margin-top:.62em;
  background:var(--ink);
}
.hero-art{margin:0;justify-self:end;width:min(260px,100%)}
.hero-art svg{width:100%;height:auto;filter:drop-shadow(0 18px 26px rgba(23,38,35,.18))}

/* ---------- layout ---------- */
.wrap{
  max-width:1180px;
  margin:0 auto;
  padding:clamp(26px,5vw,64px) clamp(16px,5vw,56px) clamp(40px,6vw,80px);
  display:grid;
  grid-template-columns:236px minmax(0,1fr);
  gap:clamp(22px,4vw,56px);
  align-items:start;
}

/* ---------- rail ---------- */
.rail{
  position:sticky;
  top:calc(var(--head-h) + 18px);
  border-left:3px solid var(--ink);
  padding:4px 0 4px 16px;
  background:linear-gradient(100deg, rgba(255,255,255,.5), rgba(255,255,255,0));
}
.rail-title{
  margin:0 0 12px;
  font-family:var(--disp);
  font-size:1rem;
  font-weight:600;
  letter-spacing:.22em;
  text-transform:uppercase;
  line-height:1.5;
  display:flex;
}
.rail-title > span{display:inline-flex;align-items:center;gap:8px}
.tick{
  width:8px;
  height:8px;
  background:var(--clay);
  transform:rotate(45deg);
  display:inline-block;
  flex:0 0 auto;
}
.rail-nav ul{list-style:none;margin:0;padding:0}
.rail-nav li + li{border-top:1px dashed var(--line)}
.rail-nav a{
  display:block;
  padding:9px 4px 9px 12px;
  min-height:42px;
  font-size:16px;
  line-height:1.55;
  text-decoration:none;
  color:rgba(23,38,35,.78);
  position:relative;
  transition:color .2s ease, padding-left .2s ease, background .2s ease;
}
.rail-nav a::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:5px;
  height:5px;
  margin-top:-2.5px;
  background:var(--line-2);
  transform:rotate(45deg);
  transition:background .2s ease, transform .2s ease;
}
.rail-nav a:hover{color:var(--ink);padding-left:18px;background:rgba(92,198,176,.14)}
.rail-nav a:hover::before{background:var(--teal-d);transform:rotate(45deg) scale(1.4)}
.rail-nav a.on{color:var(--ink);font-weight:600;padding-left:18px;background:rgba(92,198,176,.2)}
.rail-nav a.on::before{background:var(--clay);transform:rotate(45deg) scale(1.4)}
.to-top{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:16px;
  padding:9px 12px;
  min-height:42px;
  font-size:16px;
  text-decoration:none;
  color:var(--ink);
  border:1px solid var(--line-2);
  box-shadow:var(--shadow-s);
  background:rgba(255,255,255,.42);
  transition:background .2s ease, color .2s ease, transform .2s ease;
}
.to-top::before{content:"";width:7px;height:7px;background:currentColor;transform:rotate(45deg)}
.to-top:hover{background:var(--ink);color:var(--sand-0);transform:translateY(-2px)}

/* ---------- prose ---------- */
.body-col{min-width:0}
.prose{max-width:760px;box-shadow:var(--shadow-m);background:rgba(255,255,255,.44);padding:clamp(22px,4vw,48px);border-top:3px solid var(--ink)}
.prose > section + section{
  margin-top:clamp(30px,5vw,54px);
  padding-top:clamp(24px,4vw,42px);
  border-top:1px dashed var(--line-2);
}
.prose > section:first-child > *:first-child{margin-top:0}
.prose h2,.prose h3{
  font-family:var(--disp);
  letter-spacing:.005em;
  scroll-margin-top:calc(var(--head-h) + 22px);
}
.prose :is(h2,h3){scroll-margin-top:calc(var(--head-h) + 22px)}
.prose h2{
  font-size:clamp(1.32rem,2.5vw,1.72rem);
  font-weight:600;
  line-height:1.34;
  margin:1.05em 0 .62em;
  padding-bottom:.38em;
  border-bottom:2px solid var(--ink);
}
.prose h2 > span{display:inline-block;position:relative}
.prose h2 > span::before{
  content:"";
  display:inline-block;
  width:.6em;
  height:.6em;
  margin-right:.5em;
  background:var(--teal);
  transform:rotate(45deg);
  vertical-align:baseline;
}
.prose h3{
  font-size:clamp(1.08rem,1.8vw,1.22rem);
  font-weight:600;
  line-height:1.45;
  margin:1.6em 0 .5em;
  color:var(--ink-2);
}
.prose p{margin:0 0 1.05em}
.prose ul,.prose ol{margin:0 0 1.1em;padding-left:1.35em}
.prose li{margin:.34em 0}
.prose li::marker{color:var(--teal-d)}
.prose blockquote{
  margin:1.4em 0;
  padding:14px 18px;
  border-left:4px solid var(--clay);
  background:rgba(212,196,168,.35);
  font-style:normal;
}
.prose blockquote p:last-child{margin-bottom:0}
.prose figure{margin:1.5em 0}
.prose figcaption{font-size:16px;line-height:1.6;opacity:.75;margin-top:.5em}
.prose img{box-shadow:var(--shadow-m);width:100%}
.prose a{color:var(--ink);text-decoration-color:var(--teal-d);text-underline-offset:3px}
.prose a:hover{background:rgba(92,198,176,.24)}
.prose strong{font-weight:700}
.prose hr{border:0;border-top:1px dashed var(--line-2);margin:2em 0}
.prose section.hit{outline:2px dashed var(--teal-d);outline-offset:14px;transition:outline-color .3s ease}

/* ---------- CTA ---------- */
.cta-band{
  position:relative;
  overflow:clip;
  background:linear-gradient(120deg, #172623 0%, #1d332c 100%);
  color:var(--sand-0);
  padding:clamp(40px,6vw,72px) clamp(18px,5vw,56px);
}
.cta-band::before{
  content:"";
  position:absolute;
  inset:-30% -10% auto auto;
  width:56%;
  height:180%;
  background:linear-gradient(90deg, rgba(92,198,176,.34), rgba(92,198,176,0));
  transform:skewX(-12deg);
}
.cta-slash{
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:5px;
  background:linear-gradient(90deg, var(--teal), var(--clay) 62%, rgba(212,196,168,.2));
}
.cta-inner{
  position:relative;
  z-index:1;
  max-width:1180px;
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}
.cta-title{
  margin:0;
  font-family:var(--disp);
  font-size:clamp(1.5rem,3.6vw,2.4rem);
  font-weight:600;
  line-height:1.3;
  letter-spacing:.01em;
}
.cta-title > span{display:inline-flex;align-items:center;gap:14px}
.cta-act{display:flex;flex-wrap:wrap;gap:12px}
.cta-act a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:11px 22px;
  font-size:16px;
  letter-spacing:.08em;
  text-decoration:none;
  box-shadow:var(--shadow-s);
  transition:transform .2s ease, background .2s ease, color .2s ease;
}
.cta-solid{background:var(--teal);color:var(--ink);font-weight:600}
.cta-solid:hover{background:var(--sand);transform:translateY(-3px)}
.cta-ghost{border:1px solid rgba(212,196,168,.55);color:var(--sand)}
.cta-ghost:hover{background:rgba(212,196,168,.16);transform:translateY(-3px)}

/* ---------- footer ---------- */
.site-foot{
  background:#101b18;
  color:rgba(233,223,205,.78);
  padding:16px clamp(14px,4vw,34px);
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px 18px;
  border-top:1px solid rgba(92,198,176,.28);
}
.foot-brand{display:flex;align-items:center}
.foot-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  color:var(--teal);
  transition:color .2s ease, transform .2s ease;
}
.foot-mark:hover{color:var(--sand);transform:rotate(-4deg)}
.foot-mark .mark-svg,.foot-mark .mark-img{width:28px;height:28px}
.foot-nav{overflow-x:auto;scrollbar-width:none}
.foot-nav::-webkit-scrollbar{display:none}
.foot-nav p{display:flex;gap:2px;margin:0;padding:0;flex-wrap:wrap}
.foot-nav a{
  display:inline-flex;
  align-items:center;
  padding:10px 11px;
  min-height:42px;
  font-size:16px;
  text-decoration:none;
  color:rgba(233,223,205,.74);
  white-space:nowrap;
  transition:color .2s ease, background .2s ease;
}
.foot-nav a:hover{color:#fff;background:rgba(92,198,176,.14)}
.foot-legal{font-size:16px;line-height:1.5;white-space:nowrap;opacity:.6}

/* ---------- responsive ---------- */
@media (max-width:900px){
  :root{--head-h:112px}
  .wrap{grid-template-columns:minmax(0,1fr)}
  .rail{position:static;border-left:0;border-top:3px solid var(--ink);padding:14px 0 0}
  .rail-title{margin-bottom:8px}
  .rail-nav ul{display:flex;flex-wrap:wrap;gap:6px}
  .rail-nav li + li{border-top:0}
  .rail-nav a{border:1px solid var(--line);padding:8px 12px;min-height:42px;background:rgba(255,255,255,.4)}
  .rail-nav a::before{display:none}
  .rail-nav a:hover,.rail-nav a.on{padding-left:12px}
  .to-top{margin-top:12px}
  .hero{min-height:auto;padding-bottom:clamp(48px,8vw,80px)}
  .hero-grid{grid-template-columns:minmax(0,1fr)}
  .hero-art{justify-self:start;width:150px;order:-1;margin-bottom:6px}
  .hero h1{font-size:clamp(1.85rem,7.4vw,2.6rem)}
  .site-foot{grid-template-columns:auto minmax(0,1fr);row-gap:6px}
  .foot-legal{grid-column:1 / -1;text-align:right;padding-bottom:6px}
}
@media (max-width:520px){
  .topbar-head{grid-template-columns:auto minmax(0,1fr)}
  .search{max-width:none}
  .prose{padding:20px 16px;border-top-width:2px}
  .cta-inner{flex-direction:column;align-items:flex-start}
  .cta-act{width:100%}
  .cta-act a{flex:1 1 auto}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition-duration:.01ms !important;animation-duration:.01ms !important}
}

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