/* =========================================================
   墨舟创作工坊 — concept site
   Ink / paper / jade. Editorial, quiet, engineered.
   ========================================================= */

:root {
  --ink: #0a1310;
  --ink-2: #101c16;
  --ink-3: #16251d;
  --paper: #f2eee5;
  --paper-2: #e9e4d8;
  --paper-3: #faf7f0;
  --text: #15211b;
  --muted: #71766f;
  --muted-dark: #8d978f;
  --jade: #10a474;
  --jade-bright: #4ee0af;
  --jade-pale: #c9f2df;
  --copper: #b28b56;
  --line: rgba(21, 33, 27, .14);
  --line-strong: rgba(21, 33, 27, .24);
  --line-light: rgba(242, 238, 229, .14);
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  --sans: "SF Pro Display", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Menlo, monospace;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
::selection { color: var(--ink); background: var(--jade-bright); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, blockquote { margin: 0; }
button { border: 0; background: none; }

.shell {
  width: min(100% - 96px, var(--max));
  margin-inline: auto;
}
.section { position: relative; padding: 150px 0; }
.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
  color: var(--muted);
  font: 500 10px/1.2 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.section-label i { flex: 1; height: 1px; max-width: 80px; background: var(--line); }
.section-label.light { color: rgba(242,238,229,.52); }
.section-label.light i { background: rgba(242,238,229,.22); }

/* ---------- buttons / links ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .01em;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--jade-bright); }
.button-primary:hover { background: #6beec3; }
.button-jade { color: #04110c; background: var(--jade-bright); }
.button-outline { color: var(--paper); border-color: rgba(242,238,229,.28); background: rgba(255,255,255,.035); }
.button-outline:hover { border-color: rgba(242,238,229,.64); background: rgba(255,255,255,.08); }
.button-ghost { color: var(--text); border-color: var(--line-strong); }
.button-small { min-height: 44px; padding: 0 20px; font-size: 12px; }
.button-large { min-height: 60px; padding: 0 32px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: color .2s, border-color .2s;
}
.text-link span { font-size: 16px; color: var(--jade); }
.text-link:hover { color: var(--jade); border-color: var(--jade); }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 10000;
  padding: 10px 16px; background: var(--jade-bright); color: var(--ink);
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0; left: 0; right: 0;
  height: 86px;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 48px;
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), height .35s var(--ease);
}
.site-header.is-scrolled {
  height: 72px;
  background: rgba(8, 16, 12, .82);
  border-bottom-color: rgba(242,238,229,.1);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.brand-name { font-family: var(--serif); font-size: 22px; letter-spacing: .12em; }
.brand-en { margin-left: 2px; color: rgba(242,238,229,.45); font: 500 8px/1 var(--mono); letter-spacing: .2em; }
.desktop-nav { display: flex; align-items: center; gap: 34px; margin-left: 24px; }
.desktop-nav a, .header-login {
  position: relative; color: rgba(242,238,229,.68); font-size: 12.5px; transition: color .2s;
}
.desktop-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px;
  background: var(--jade-bright); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.desktop-nav a:hover, .header-login:hover { color: var(--paper); }
.desktop-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.site-header .button-jade { color: var(--ink); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 12px; }
.menu-toggle span { display: block; width: 18px; height: 1px; margin: 5px auto; background: var(--paper); transition: transform .25s; }
.mobile-nav {
  position: fixed; z-index: 99; top: 72px; left: 16px; right: 16px;
  padding: 24px; border: 1px solid rgba(242,238,229,.16);
  background: rgba(8,16,12,.96); backdrop-filter: blur(20px);
  color: var(--paper);
}
.mobile-nav a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(242,238,229,.1); font-size: 15px; }
.mobile-nav .button { margin-top: 18px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 158px 0 0;
  color: var(--paper);
  background:
    radial-gradient(90% 80% at 78% 20%, rgba(34, 107, 80, .28), transparent 62%),
    radial-gradient(60% 70% at 16% 88%, rgba(42, 82, 64, .18), transparent 70%),
    var(--ink);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(242,238,229,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(242,238,229,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  pointer-events: none;
}
.hero-glow {
  position: absolute; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px;
  right: -15vw; top: -28vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,227,171,.13), rgba(45,227,171,.03) 42%, transparent 68%);
  filter: blur(20px); pointer-events: none;
}
.hero-rule { position: absolute; top: 158px; bottom: 70px; width: 1px; background: rgba(242,238,229,.08); }
.rule-left { left: 48px; } .rule-right { right: 48px; }
.hero-vertical {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; color: rgba(242,238,229,.28);
  font: 400 10px/1.5 var(--mono); letter-spacing: .24em;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 30px;
  min-height: calc(100svh - 300px);
  padding-bottom: 60px;
}
.hero-copy { position: relative; z-index: 4; padding-left: 20px; }
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  color: rgba(242,238,229,.5); font: 500 9px/1.2 var(--mono); letter-spacing: .2em;
}
.eyebrow i { width: 30px; height: 1px; background: var(--jade-bright); opacity: .7; }
.hero h1 {
  margin: 34px 0 28px;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(52px, 5.2vw, 96px); line-height: 1.07; letter-spacing: -.055em;
}
.hero h1 .line { display: block; white-space: nowrap; }
.hero h1 .line-accent { padding-left: .25em; }
.hero h1 em { font-style: normal; color: var(--jade-bright); }
.hero h1 .line-accent em { position: relative; }
.hero h1 .line-accent em::after {
  content: ""; position: absolute; left: 2%; right: 8%; bottom: 2px; height: 1px;
  background: linear-gradient(90deg, rgba(78,224,175,.65), transparent);
}
.hero-lede { max-width: 390px; color: rgba(242,238,229,.62); font-size: 14px; line-height: 2; letter-spacing: .02em; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.hero .text-link { color: rgba(242,238,229,.7); border-color: rgba(242,238,229,.26); }
.hero .text-link:hover { color: var(--jade-bright); border-color: var(--jade-bright); }
.platform-line {
  display: flex; align-items: center; gap: 9px; margin-top: 52px;
  color: rgba(242,238,229,.38); font: 500 9px/1 var(--mono); letter-spacing: .12em;
}
.platform-line b { color: rgba(242,238,229,.2); font-weight: 400; }
.platform-dot { width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: var(--jade-bright); box-shadow: 0 0 0 4px rgba(78,224,175,.1); }

/* ---------- hero stage / app mock ---------- */
.hero-stage {
  position: relative; width: 100%; min-height: 620px;
  perspective: 1400px;
}
.stage-orbit {
  position: absolute; border: 1px solid rgba(78,224,175,.12); border-radius: 50%;
  pointer-events: none;
}
.orbit-one { width: 620px; height: 620px; right: -80px; top: 18px; transform: rotate(-22deg) scaleY(.62); }
.orbit-two { width: 480px; height: 480px; right: -10px; top: 86px; transform: rotate(28deg) scaleY(.52); border-color: rgba(242,238,229,.08); }
.app-window {
  position: absolute; z-index: 3; top: 60px; left: 10px; width: min(100%, 760px);
  border-radius: 15px; overflow: hidden;
  background: #0d1713; border: 1px solid rgba(242,238,229,.15);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.72), 0 0 0 1px rgba(0,0,0,.2);
  transform: rotateY(-8deg) rotateX(3deg) rotateZ(-1deg);
  transform-origin: 50% 50%;
  transition: transform .8s var(--ease);
  will-change: transform;
}
.app-window::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.08), transparent 24%, transparent 80%, rgba(78,224,175,.035));
}
.window-topbar {
  height: 42px; display: flex; align-items: center; gap: 16px; padding: 0 14px;
  border-bottom: 1px solid rgba(242,238,229,.08); background: rgba(255,255,255,.02);
}
.traffic { display: flex; gap: 5px; }
.traffic i { width: 7px; height: 7px; border-radius: 50%; background: rgba(242,238,229,.2); }
.traffic i:first-child { background: #d37e68; }
.traffic i:nth-child(2) { background: #c6a45e; }
.traffic i:nth-child(3) { background: #6aab88; }
.window-title { color: rgba(242,238,229,.52); font: 10px/1 var(--mono); letter-spacing: .03em; }
.window-title span { color: rgba(242,238,229,.2); padding: 0 5px; }
.window-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.tool-pill { padding: 4px 8px; border: 1px solid rgba(78,224,175,.22); border-radius: 999px; color: #72d9b4; font: 8px/1 var(--mono); }
.tool-avatar { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(78,224,175,.16); color: #8ae6c5; font-size: 8px; }
.window-body { display: flex; min-height: 430px; }
.app-sidebar { width: 150px; padding: 17px 12px 14px; background: rgba(0,0,0,.2); border-right: 1px solid rgba(242,238,229,.07); display: flex; flex-direction: column; }
.side-brand { display: flex; align-items: center; gap: 8px; padding: 0 6px 25px; color: rgba(242,238,229,.8); font-family: var(--serif); font-size: 12px; letter-spacing: .12em; }
.side-brand img { width: 22px; height: 22px; border-radius: 6px; }
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-item { display: flex; align-items: center; gap: 9px; padding: 9px 8px; border-radius: 7px; color: rgba(242,238,229,.44); font-size: 10px; }
.side-item.active { background: rgba(78,224,175,.1); color: #b7f0dc; }
.side-ico { width: 11px; height: 11px; border: 1px solid currentColor; border-radius: 3px; opacity: .7; }
.side-bottom { display: flex; align-items: center; gap: 7px; margin-top: auto; padding: 10px 8px; color: rgba(242,238,229,.32); font: 8px/1 var(--mono); }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--jade-bright); }
.app-main { flex: 1; min-width: 0; padding: 23px 24px; background: radial-gradient(70% 90% at 100% 0%, rgba(34,90,68,.12), transparent 70%); }
.app-head { display: flex; justify-content: space-between; align-items: flex-start; }
.app-kicker { color: rgba(242,238,229,.3); font: 8px/1 var(--mono); letter-spacing: .16em; }
.app-head h3 { margin-top: 4px; font-family: var(--serif); font-weight: 500; font-size: 27px; letter-spacing: -.04em; color: rgba(242,238,229,.9); }
.app-head-actions { display: flex; gap: 6px; padding-top: 5px; }
.mini-btn { padding: 6px 9px; border: 1px solid rgba(242,238,229,.14); border-radius: 5px; color: rgba(242,238,229,.48); font: 8px/1 var(--mono); }
.mini-btn.jade { border-color: rgba(78,224,175,.28); color: #76ddb8; background: rgba(78,224,175,.08); }
.app-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 25px; }
.app-stat { padding: 12px 11px; border: 1px solid rgba(242,238,229,.09); border-radius: 6px; background: rgba(255,255,255,.018); }
.app-stat span { display: block; color: rgba(242,238,229,.34); font: 8px/1.3 var(--mono); }
.app-stat b { display: block; margin: 8px 0 3px; color: rgba(242,238,229,.88); font-family: var(--sans); font-size: 23px; font-weight: 450; letter-spacing: -.04em; }
.app-stat b span { display: inline; margin-left: 1px; color: rgba(242,238,229,.4); font: 9px var(--sans); }
.app-stat small { color: rgba(242,238,229,.28); font-size: 8px; }
.app-stat.accent b { color: var(--jade-bright); }
.app-progress { margin-top: 22px; padding: 13px 14px 15px; border: 1px solid rgba(242,238,229,.08); border-radius: 6px; }
.app-progress-head { display: flex; justify-content: space-between; color: rgba(242,238,229,.42); font: 8px/1 var(--mono); }
.app-progress-head i { color: var(--jade-bright); font-style: normal; }
.progress-track { height: 3px; margin-top: 10px; overflow: hidden; border-radius: 99px; background: rgba(242,238,229,.08); }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--jade), var(--jade-bright)); box-shadow: 0 0 12px rgba(78,224,175,.5); }
.app-lower { display: grid; grid-template-columns: 1.15fr .85fr; gap: 8px; margin-top: 8px; }
.app-chapters, .app-memory { padding: 12px 13px; border: 1px solid rgba(242,238,229,.08); border-radius: 6px; }
.mini-head { display: flex; justify-content: space-between; color: rgba(242,238,229,.32); font: 8px/1 var(--mono); }
.mini-head span:last-child { color: rgba(78,224,175,.66); }
.chapter-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.chapter-row img { width: 22px; height: 31px; border-radius: 2px; object-fit: cover; }
.chapter-info { min-width: 0; }
.chapter-info b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(242,238,229,.78); font-size: 9px; font-weight: 500; }
.chapter-info small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; color: rgba(242,238,229,.3); font-size: 8px; }
.chapter-state { margin-left: auto; padding: 3px 5px; border-radius: 3px; color: #77dcb9; background: rgba(78,224,175,.1); font: 7px/1 var(--mono); }
.chapter-state.muted { color: rgba(242,238,229,.35); background: rgba(255,255,255,.05); }
.app-memory p { margin: 12px 0 10px; color: rgba(242,238,229,.46); font-size: 8.5px; line-height: 1.7; }
.memory-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.memory-tags span { padding: 3px 5px; border: 1px solid rgba(242,238,229,.1); border-radius: 3px; color: rgba(242,238,229,.32); font: 7px/1 var(--mono); }
.phone-window {
  position: absolute; z-index: 5; right: -6px; bottom: 30px; width: 172px; height: 350px;
  padding: 7px; border: 1px solid rgba(242,238,229,.2); border-radius: 27px;
  background: #07100c; box-shadow: 0 32px 65px -20px rgba(0,0,0,.8), 0 0 40px rgba(78,224,175,.07);
  transform: rotate(5deg);
}
.phone-screen { height: 100%; overflow: hidden; padding: 27px 15px 12px; border-radius: 21px; background: linear-gradient(165deg, #14231b, #0c1511 50%, #0a120e); position: relative; }
.phone-speaker { position: absolute; z-index: 2; top: 10px; left: 50%; width: 42px; height: 4px; transform: translateX(-50%); border-radius: 99px; background: rgba(242,238,229,.2); }
.phone-top { display: flex; justify-content: space-between; color: rgba(242,238,229,.38); font: 7px/1 var(--mono); }
.phone-eyebrow { margin-top: 30px; color: rgba(78,224,175,.7); font: 7px/1 var(--mono); letter-spacing: .12em; }
.phone-title { margin-top: 8px; color: rgba(242,238,229,.9); font-family: var(--serif); font-size: 23px; line-height: 1.3; letter-spacing: -.04em; }
.phone-text { margin-top: 17px; color: rgba(242,238,229,.5); font-size: 8.5px; line-height: 1.9; }
.phone-caret { width: 1px; height: 12px; margin-top: 4px; background: var(--jade-bright); animation: blink 1.4s infinite; }
.phone-foot { position: absolute; left: 15px; right: 15px; bottom: 13px; display: flex; justify-content: space-between; padding-top: 8px; border-top: 1px solid rgba(242,238,229,.08); color: rgba(242,238,229,.28); font: 6.5px/1 var(--mono); }
.float-card {
  position: absolute; z-index: 6; display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border: 1px solid rgba(242,238,229,.14); border-radius: 8px;
  background: rgba(12,25,19,.91); box-shadow: 0 20px 45px -20px rgba(0,0,0,.8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.card-sync { top: 18px; right: 22px; animation: float 7s ease-in-out infinite; }
.card-consistency { left: -12px; bottom: 100px; animation: float 8s ease-in-out -2s infinite; }
.float-card b { display: block; color: rgba(242,238,229,.8); font-size: 9px; font-weight: 500; }
.float-card small { display: block; margin-top: 3px; color: rgba(242,238,229,.32); font: 7px/1 var(--mono); }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--jade-bright); box-shadow: 0 0 0 4px rgba(78,224,175,.1); animation: pulse 2.4s infinite; }
.consistency-ring { display: flex; align-items: baseline; justify-content: center; gap: 1px; width: 34px; height: 34px; padding-top: 11px; border-radius: 50%; color: var(--jade-bright); background: conic-gradient(var(--jade-bright) 98%, rgba(242,238,229,.1) 0); font: 8px/1 var(--mono); position: relative; isolation: isolate; }
.consistency-ring::before { content: ""; position: absolute; z-index: -1; inset: 3px; border-radius: 50%; background: #0c1913; }
.consistency-ring span { color: var(--jade-bright); font-size: 5px; }

.hero-foot {
  position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between;
  min-height: 104px; border-top: 1px solid rgba(242,238,229,.1); padding-bottom: 24px;
}
.foot-index { color: rgba(242,238,229,.34); font: 10px/1 var(--mono); letter-spacing: .12em; }
.foot-index span { color: rgba(242,238,229,.16); padding: 0 4px; }
.hero-foot p { color: rgba(242,238,229,.38); font-family: var(--serif); font-size: 12px; line-height: 1.8; letter-spacing: .06em; }
.scroll-cue { display: inline-flex; align-items: center; gap: 9px; color: rgba(242,238,229,.32); font: 8px/1 var(--mono); letter-spacing: .16em; }
.scroll-cue span { width: 1px; height: 24px; background: linear-gradient(var(--jade-bright), transparent); }

/* ---------- manifesto ---------- */
.manifesto { padding-top: 170px; }
.manifesto-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 100px; align-items: end; }
.manifesto-title h2, .workflow-head h2, .feature-intro h2, .devices-head h2, .principles-copy h2, .download h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 5vw, 76px); line-height: 1.16; letter-spacing: -.055em;
}
.manifesto-title h2 em, .workflow-head h2 em, .feature-intro h2 em, .devices-head h2 em, .principles-copy h2 em, .download h2 em { font-style: normal; color: var(--jade); }
.section-lede { max-width: 430px; margin-top: 30px; color: var(--muted); font-size: 14px; line-height: 2; }
.manifesto-side { padding-bottom: 8px; border-left: 1px solid var(--line); padding-left: 34px; }
.serif-quote { font-family: var(--serif); color: var(--text); font-size: 22px; line-height: 1.75; letter-spacing: -.035em; }
.manifesto-meta { margin-top: 30px; color: var(--muted); font: 9px/1 var(--mono); letter-spacing: .14em; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 100px; border-top: 1px solid var(--line); }
.number-card { padding: 30px 26px 0 0; min-height: 215px; border-right: 1px solid var(--line); }
.number-card:not(:first-child) { padding-left: 26px; }
.number-card:last-child { border-right: 0; }
.num { color: var(--copper); font: 10px/1 var(--mono); letter-spacing: .14em; }
.number-card h3 { margin: 34px 0 15px; font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -.04em; }
.number-card p { color: var(--muted); font-size: 12px; line-height: 1.9; }

/* ---------- workflow ---------- */
.workflow { background: var(--paper-2); }
.workflow-head { display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.workflow-head p { max-width: 320px; padding-bottom: 8px; color: var(--muted); font-size: 13px; line-height: 2; }
.workflow-layout { display: grid; grid-template-columns: .62fr 1.38fr; gap: 75px; margin-top: 85px; align-items: start; }
.workflow-steps { border-top: 1px solid var(--line); }
.step { display: flex; align-items: center; gap: 18px; width: 100%; padding: 25px 8px; text-align: left; border-bottom: 1px solid var(--line); color: var(--muted); transition: color .25s, padding .25s; }
.step-no { width: 24px; color: var(--muted); font: 9px/1 var(--mono); }
.step b { display: block; color: var(--text); font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: -.03em; }
.step small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.step-arrow { margin-left: auto; color: var(--muted); transition: color .25s, transform .25s; }
.step:hover, .step.active { color: var(--jade); padding-left: 16px; }
.step.active .step-no, .step.active .step-arrow { color: var(--jade); }
.step:hover .step-arrow, .step.active .step-arrow { transform: translate(3px, -3px); }
.workflow-panels { position: relative; min-height: 510px; }
.work-panel {
  position: absolute; inset: 0; display: none; padding: 24px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 3px; background: rgba(250,247,240,.54);
  box-shadow: 0 30px 70px -50px rgba(21,33,27,.4);
}
.work-panel.active { display: block; animation: panelIn .45s var(--ease); }
.panel-top { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted); font: 9px/1 var(--mono); letter-spacing: .12em; }
.panel-top span:last-child { color: var(--text); font-family: var(--serif); font-size: 12px; letter-spacing: 0; }
.panel-foot { position: absolute; left: 24px; right: 24px; bottom: 20px; display: flex; gap: 13px; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.panel-foot > span:first-child { color: var(--copper); font: 8px/1.2 var(--mono); letter-spacing: .1em; white-space: nowrap; }
.panel-foot p { color: var(--muted); font-size: 10px; line-height: 1.7; }
.panel-cta { margin-left: auto; color: var(--jade); font-size: 10px; white-space: nowrap; }
.plan-board { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 18px; padding-top: 25px; }
.plan-head { margin-bottom: 12px; color: var(--muted); font: 8px/1 var(--mono); letter-spacing: .12em; }
.plan-card { position: relative; padding: 15px 13px; margin-bottom: 8px; border: 1px solid var(--line); background: var(--paper-3); }
.plan-card.tall { padding-bottom: 30px; }
.plan-card span { color: var(--copper); font: 8px/1 var(--mono); }
.plan-card b { display: block; margin-top: 13px; font-family: var(--serif); font-weight: 500; font-size: 14px; }
.plan-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.person-card { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--jade-bright); font-family: var(--serif); font-size: 10px; }
.avatar.alt { background: #6e5f4b; color: #f5ead8; }
.avatar.dim { background: #d3cbbb; color: #665d50; }
.person-card b { display: block; font-size: 10px; font-weight: 500; }
.person-card small { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; }
.thread-card { display: flex; gap: 8px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--line); }
.thread-card i { flex: 0 0 auto; width: 5px; height: 5px; margin-top: 4px; border-radius: 50%; background: var(--copper); }
.thread-card.done i { background: var(--jade); }
.thread-card b { display: block; font-size: 10px; font-weight: 500; }
.thread-card small { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; }
.editor-mock { padding-top: 26px; }
.editor-head { display: flex; align-items: baseline; gap: 13px; }
.editor-head span:first-child { color: var(--copper); font: 9px/1 var(--mono); }
.editor-head b { font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: -.04em; }
.editor-head span:last-child { margin-left: auto; color: var(--muted); font: 8px/1 var(--mono); }
.editor-text { max-width: 520px; margin: 40px auto 0; font-family: var(--serif); font-size: 16px; line-height: 2.25; color: #334039; }
.editor-text p { margin-bottom: 13px; text-indent: 2em; }
.editor-text .typing i { display: inline-block; width: 1px; height: 16px; margin-left: 2px; vertical-align: -3px; background: var(--jade); animation: blink 1.4s infinite; }
.editor-status { display: flex; justify-content: center; gap: 20px; margin-top: 24px; color: var(--muted); font: 8px/1 var(--mono); }
.quality-board { display: flex; gap: 40px; padding-top: 33px; }
.quality-score { flex: 0 0 150px; }
.quality-score span { color: var(--muted); font: 8px/1 var(--mono); }
.quality-score b { display: block; margin-top: 16px; color: var(--jade); font-family: var(--sans); font-size: 70px; line-height: 1; font-weight: 350; letter-spacing: -.08em; }
.quality-score small { display: block; margin-top: 10px; color: var(--muted); font-size: 9px; }
.quality-bars { flex: 1; padding-top: 4px; }
.quality-bars > div { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; color: var(--muted); font-size: 10px; }
.quality-bars > div > span { width: 30px; }
.quality-bars i { flex: 1; height: 3px; background: rgba(21,33,27,.1); }
.quality-bars b { display: block; height: 100%; background: var(--jade); }
.quality-bars em { width: 22px; color: var(--text); font: 9px/1 var(--mono); font-style: normal; text-align: right; }
.quality-note { display: flex; gap: 10px; margin-top: 5px; padding: 12px; border: 1px solid rgba(178,139,86,.4); background: rgba(178,139,86,.06); }
.quality-note span { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--copper); color: var(--paper); font: 10px/1 var(--serif); }
.quality-note p { color: #6e5e45; font-size: 10px; line-height: 1.7; }
.book-board { display: flex; align-items: center; gap: 45px; padding: 40px 10px 0; }
.book-cover-wrap { position: relative; flex: 0 0 135px; }
.book-cover-wrap img { width: 135px; height: 202px; object-fit: cover; border-radius: 2px; box-shadow: 0 24px 32px -18px rgba(21,33,27,.5); }
.book-cover-wrap span { position: absolute; right: -12px; bottom: 14px; padding: 4px 7px; background: var(--jade); color: var(--ink); font: 8px/1 var(--mono); }
.book-info { flex: 1; }
.book-kicker { color: var(--copper); font: 8px/1 var(--mono); letter-spacing: .1em; }
.book-info h4 { margin-top: 14px; font-family: var(--serif); font-weight: 500; font-size: 31px; letter-spacing: -.04em; }
.book-info > p { margin-top: 6px; color: var(--muted); font-size: 10px; }
.export-row { display: flex; gap: 7px; margin-top: 26px; }
.export-row span { padding: 6px 10px; border: 1px solid var(--line); color: var(--muted); font: 8px/1 var(--mono); }
.book-actions { display: flex; gap: 8px; margin-top: 25px; }
.book-actions .button { min-height: 35px; padding: 0 13px; font-size: 9px; }

/* ---------- features ---------- */
.feature-section { background: var(--paper); }
.feature-intro { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.feature-intro p { max-width: 300px; padding-bottom: 8px; color: var(--muted); font-size: 13px; line-height: 2; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 80px; }
.feature-card {
  position: relative; min-height: 330px; padding: 28px; overflow: hidden;
  border: 1px solid var(--line); background: rgba(250,247,240,.44);
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.feature-card:hover { background: var(--paper-3); transform: translateY(-4px); }
.feature-wide { grid-column: span 2; }
.feature-card.feature-last { grid-column: span 2; min-height: 250px; }
.feature-top { display: flex; justify-content: space-between; color: var(--muted); font: 9px/1 var(--mono); letter-spacing: .1em; }
.feature-icon { color: var(--jade); font: 20px/1 var(--serif); }
.feature-card h3 { margin-top: 40px; font-family: var(--serif); font-weight: 500; font-size: 28px; letter-spacing: -.04em; }
.feature-card p { max-width: 390px; margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.model-chips { display: flex; gap: 7px; margin-top: 22px; flex-wrap: wrap; }
.model-chips span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--text); font-size: 9px; }
.model-chips span.muted { color: var(--muted); }
.model-art { position: absolute; right: -25px; bottom: -35px; width: 240px; height: 210px; }
.model-art .core { position: absolute; z-index: 2; left: 50%; top: 50%; display: grid; place-items: center; width: 42px; height: 42px; margin: -21px; border-radius: 50%; background: var(--ink); color: var(--jade-bright); font: 16px var(--serif); box-shadow: 0 0 50px rgba(78,224,175,.28); }
.model-art .orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(16,164,116,.24); border-radius: 50%; transform: translate(-50%, -50%) scaleY(.45) rotate(-25deg); }
.model-art .o1 { width: 180px; height: 180px; }
.model-art .o2 { width: 230px; height: 230px; transform: translate(-50%, -50%) scaleY(.45) rotate(35deg); border-color: rgba(21,33,27,.12); }
.model-art .o3 { width: 130px; height: 130px; transform: translate(-50%, -50%) scaleY(.45) rotate(70deg); }
.model-art .node { position: absolute; color: var(--muted); font: 8px/1 var(--mono); }
.model-art .n1 { left: 14px; top: 82px; color: var(--jade); }
.model-art .n2 { right: 16px; top: 38px; }
.model-art .n3 { right: 8px; bottom: 46px; color: var(--jade); }
.model-art .n4 { left: 40px; bottom: 27px; }
.memory-list { display: flex; flex-direction: column; gap: 11px; margin-top: 28px; }
.memory-list span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; }
.memory-list i { width: 4px; height: 4px; border-radius: 50%; background: var(--jade); }
.score-line { display: flex; align-items: baseline; gap: 7px; margin-top: 30px; }
.score-line b { color: var(--jade); font-family: var(--sans); font-size: 55px; font-weight: 350; letter-spacing: -.08em; }
.score-line > span { color: var(--muted); font: 9px var(--mono); }
.score-line i { flex: 1; height: 2px; margin-left: 12px; background: var(--line); }
.score-line i b { display: block; height: 100%; background: var(--jade); }
.format-row { display: flex; align-items: center; gap: 9px; margin-top: 25px; color: var(--muted); font: 9px/1 var(--mono); }
.format-row span:not(.format-line) { display: grid; place-items: center; width: 46px; height: 34px; border: 1px solid var(--line); color: var(--text); }
.format-row .format-line { flex: 1; height: 1px; background: var(--line); }
.local-visual { display: flex; align-items: center; gap: 8px; margin-top: 30px; color: var(--muted); font: 8px/1 var(--mono); letter-spacing: .06em; }
.local-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 0 4px rgba(16,164,116,.1); }
.local-visual i { flex: 1; height: 1px; background: var(--line); }

/* ---------- devices ---------- */
.devices { overflow: hidden; color: var(--paper); background: var(--ink); }
.devices-bg {
  position: absolute; inset: 0;
  background: radial-gradient(70% 65% at 55% 65%, rgba(24,106,77,.22), transparent 70%), radial-gradient(60% 50% at 90% 15%, rgba(40,78,63,.16), transparent 70%);
}
.devices::before {
  content: ""; position: absolute; inset: 0; opacity: .18;
  background-image: linear-gradient(rgba(242,238,229,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(242,238,229,.06) 1px, transparent 1px);
  background-size: 84px 84px; mask-image: radial-gradient(70% 60% at 50% 50%, black, transparent 80%);
}
.devices .shell { position: relative; z-index: 1; }
.devices-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.devices-head h2 { color: var(--paper); }
.devices-head h2 em { color: var(--jade-bright); }
.devices-head p { max-width: 310px; padding-bottom: 10px; color: rgba(242,238,229,.48); font-size: 13px; line-height: 2; }
.devices-stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 470px; margin-top: 75px; }
.desk-frame { position: relative; width: min(760px, 72%); filter: drop-shadow(0 40px 45px rgba(0,0,0,.45)); }
.desk-screen { padding: 9px; border: 1px solid rgba(242,238,229,.2); border-radius: 9px; background: #07100c; }
.desk-ui { display: flex; min-height: 335px; overflow: hidden; border-radius: 4px; background: #f2eee5; color: var(--text); }
.desk-side { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 44px; padding-top: 16px; background: #14231b; }
.desk-side img { width: 20px; height: 20px; border-radius: 5px; }
.desk-side span { width: 12px; height: 12px; border: 1px solid rgba(242,238,229,.22); border-radius: 3px; }
.desk-side span:nth-child(2) { border-color: var(--jade-bright); background: rgba(78,224,175,.1); }
.desk-content { flex: 1; padding: 46px 55px; }
.desk-kicker { color: var(--copper); font: 8px/1 var(--mono); letter-spacing: .14em; }
.desk-content h4 { margin: 15px 0 26px; font-family: var(--serif); font-size: 29px; font-weight: 500; letter-spacing: -.04em; }
.desk-content p { max-width: 380px; margin-bottom: 12px; color: #627067; font-family: var(--serif); font-size: 12px; line-height: 2.2; text-indent: 2em; }
.desk-caret { width: 1px; height: 15px; margin-top: 12px; background: var(--jade); animation: blink 1.4s infinite; }
.desk-margin { display: flex; flex-direction: column; gap: 11px; width: 120px; padding: 45px 13px; border-left: 1px solid rgba(21,33,27,.08); }
.desk-margin span { color: var(--muted); font: 8px/1 var(--mono); }
.desk-stand { width: 20%; height: 44px; margin: 0 auto; border-bottom: 1px solid rgba(242,238,229,.18); clip-path: polygon(35% 0, 65% 0, 100% 100%, 0 100%); }
.device-phone { position: relative; z-index: 2; width: 132px; height: 270px; margin-left: -48px; margin-bottom: -32px; padding: 5px; border: 1px solid rgba(242,238,229,.26); border-radius: 21px; background: #07100c; box-shadow: 0 24px 45px -15px rgba(0,0,0,.7); transform: rotate(4deg); }
.device-notch { position: absolute; z-index: 3; top: 9px; left: 50%; width: 35px; height: 3px; border-radius: 99px; transform: translateX(-50%); background: rgba(242,238,229,.2); }
.device-screen { height: 100%; padding: 30px 13px 12px; overflow: hidden; border-radius: 16px; background: linear-gradient(160deg, #1b2c22, #0b1510); }
.dp-kicker { color: rgba(78,224,175,.65); font: 6px/1 var(--mono); }
.device-screen h4 { margin-top: 10px; color: rgba(242,238,229,.86); font-family: var(--serif); font-size: 18px; font-weight: 500; }
.device-screen p { margin-top: 17px; color: rgba(242,238,229,.45); font-size: 7px; line-height: 1.9; }
.dp-line { width: 90%; height: 3px; margin-top: 17px; background: rgba(242,238,229,.1); }
.dp-line.short { width: 64%; margin-top: 7px; }
.dp-bottom { position: absolute; left: 18px; right: 18px; bottom: 14px; display: flex; justify-content: space-between; color: rgba(242,238,229,.26); font: 6px/1 var(--mono); }
.devices-caption { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); color: rgba(242,238,229,.25); font: 8px/1 var(--mono); letter-spacing: .16em; white-space: nowrap; }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 35px; border: 1px solid rgba(242,238,229,.13); background: rgba(242,238,229,.13); }
.platform-card { display: flex; align-items: center; gap: 13px; min-height: 92px; padding: 16px 18px; background: #0c1611; transition: background .3s; }
.platform-card:hover { background: #112119; }
.platform-icon { display: grid; place-items: center; width: 31px; height: 31px; flex: 0 0 auto; color: var(--jade-bright); }
.platform-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.platform-card > div:nth-child(2) b { display: block; color: rgba(242,238,229,.84); font-size: 12px; font-weight: 500; }
.platform-card > div:nth-child(2) span { display: block; margin-top: 4px; color: rgba(242,238,229,.33); font: 7.5px/1.3 var(--mono); }
.platform-link { margin-left: auto; color: rgba(242,238,229,.5); font: 8px/1 var(--mono); transition: color .2s; }
.platform-link span { color: var(--jade-bright); }
.platform-link:hover { color: var(--jade-bright); }

/* ---------- principles ---------- */
.principles { background: var(--paper-3); }
.principles-grid { display: grid; grid-template-columns: .87fr 1.13fr; gap: 110px; align-items: start; }
.principles-copy p { max-width: 380px; margin-top: 27px; color: var(--muted); font-size: 13px; line-height: 2; }
.principles-copy .text-link { margin-top: 32px; }
.principles-cards { border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 41px 1fr; gap: 24px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.principle > span { color: var(--copper); font: 9px/1.6 var(--mono); }
.principle h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; letter-spacing: -.03em; }
.principle p { margin-top: 7px; color: var(--muted); font-size: 11.5px; line-height: 1.9; }
.data-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 85px; border: 1px solid var(--line); background: var(--line); }
.data-strip > div { min-height: 90px; padding: 20px; background: var(--paper-3); }
.data-strip b { display: block; margin-top: 12px; font: 9px/1 var(--mono); letter-spacing: .1em; }
.data-strip small { display: block; margin-top: 7px; color: var(--muted); font: 8px/1.4 var(--mono); word-break: break-all; }
.strip-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }
.strip-dot.jade { background: var(--jade); }
.strip-dot.copper { background: var(--copper); }

/* ---------- quote ---------- */
.quote-section { padding: 130px 0 145px; background: var(--paper-2); }
.quote-mark { color: var(--jade); font-family: var(--serif); font-size: 86px; line-height: .6; opacity: .7; }
.quote-section blockquote { margin-top: 35px; font-family: var(--serif); font-size: clamp(37px, 4.2vw, 62px); font-weight: 500; line-height: 1.35; letter-spacing: -.055em; }
.quote-section blockquote em { color: var(--jade); font-style: normal; }
.quote-by { display: flex; align-items: center; gap: 12px; margin-top: 34px; color: var(--muted); font: 8px/1 var(--mono); letter-spacing: .16em; }
.quote-by span { width: 35px; height: 1px; background: var(--jade); }

/* ---------- download ---------- */
.download { overflow: hidden; color: var(--paper); background: var(--ink); padding-bottom: 0; }
.download-glow { position: absolute; width: 80vw; height: 80vw; max-width: 1000px; max-height: 1000px; left: 50%; top: 15%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(30,154,111,.24), transparent 68%); filter: blur(30px); pointer-events: none; }
.download .shell { position: relative; z-index: 1; }
.download-inner { padding: 20px 0 120px; text-align: center; }
.download .eyebrow { justify-content: center; color: rgba(242,238,229,.38); }
.download h2 { margin-top: 30px; font-size: clamp(55px, 7.3vw, 108px); line-height: 1.08; }
.download h2 em { color: var(--jade-bright); }
.download-inner > p:not(.eyebrow) { margin: 30px auto 0; color: rgba(242,238,229,.48); font-size: 13px; line-height: 2; }
.download-actions { display: flex; justify-content: center; gap: 12px; margin-top: 42px; }
.download-platforms { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 30px; color: rgba(242,238,229,.3); font-size: 10px; }
.download-platforms button { color: rgba(242,238,229,.6); font-size: 10px; border-bottom: 1px solid rgba(242,238,229,.2); padding: 0 0 2px; }
.download-platforms button:hover { color: var(--jade-bright); border-color: var(--jade-bright); }
.download-footer { display: flex; justify-content: space-between; padding: 23px 0 28px; border-top: 1px solid rgba(242,238,229,.1); color: rgba(242,238,229,.3); font: 8px/1.4 var(--mono); letter-spacing: .06em; }

/* ---------- footer ---------- */
.site-footer { padding: 70px 0 30px; background: #07100c; color: var(--paper); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 60px; }
.footer-brand p { max-width: 220px; margin-top: 18px; color: rgba(242,238,229,.3); font-size: 11px; }
.footer-links { display: flex; gap: 85px; }
.footer-links > div { display: flex; flex-direction: column; gap: 10px; }
.footer-links b { margin-bottom: 6px; color: rgba(242,238,229,.35); font: 8px/1 var(--mono); letter-spacing: .14em; }
.footer-links a { color: rgba(242,238,229,.66); font-size: 11px; transition: color .2s; }
.footer-links a:hover { color: var(--jade-bright); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(242,238,229,.09); color: rgba(242,238,229,.25); font: 8px/1.4 var(--mono); }
.footer-bottom > div { display: flex; gap: 18px; }
.footer-bottom a:hover { color: rgba(242,238,229,.7); }
.footer-demo { color: rgba(178,139,86,.6); }

/* ---------- modal / toast ---------- */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,10,7,.72); backdrop-filter: blur(9px); }
.modal-card { position: relative; z-index: 1; width: min(100%, 480px); padding: 38px; border: 1px solid var(--line); background: var(--paper-3); color: var(--text); box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); }
.modal-close { position: absolute; top: 14px; right: 16px; width: 30px; height: 30px; color: var(--muted); font-size: 25px; font-weight: 200; }
.modal-kicker { color: var(--copper); font: 8px/1 var(--mono); letter-spacing: .14em; }
.modal-card h3 { margin-top: 15px; font-family: var(--serif); font-weight: 500; font-size: 33px; letter-spacing: -.05em; }
.modal-message { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.modal-form { display: flex; gap: 8px; margin-top: 24px; }
.modal-form input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 2px; outline: 0; color: var(--text); background: transparent; font-size: 12px; }
.modal-form input:focus { border-color: var(--jade); }
.modal-form .button { min-height: 48px; padding: 0 18px; border-radius: 2px; }
.modal-note { margin-top: 14px; color: var(--muted); font: 8px/1.5 var(--mono); }
.toast { position: fixed; z-index: 300; left: 50%; bottom: 30px; transform: translate(-50%, 20px); padding: 12px 18px; border: 1px solid rgba(242,238,229,.18); background: rgba(8,16,12,.94); color: var(--paper); font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal / motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 48% { opacity: 1; } 49%, 100% { opacity: 0; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(78,224,175,.08); } 50% { box-shadow: 0 0 0 8px rgba(78,224,175,.02); } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .shell { width: min(100% - 64px, var(--max)); }
  .site-header { padding: 0 32px; }
  .hero-inner { grid-template-columns: .8fr 1.2fr; gap: 12px; }
  .hero-stage { min-height: 550px; transform: none; }
  .app-window { width: 100%; left: 0; }
  .phone-window { right: 0; }
  .workflow-layout { gap: 40px; grid-template-columns: .55fr 1.45fr; }
  .principles-grid { gap: 60px; }
  .footer-links { gap: 55px; }
}

@media (max-width: 980px) {
  .section { padding: 110px 0; }
  .desktop-nav, .header-login { display: none; }
  .menu-toggle { display: block; }
  .header-actions { gap: 10px; }
  .hero { min-height: auto; padding-top: 145px; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; padding-bottom: 30px; }
  .hero-copy { padding-left: 0; }
  .hero h1 { font-size: clamp(60px, 10vw, 98px); }
  .hero-stage { min-height: 520px; width: min(100%, 760px); margin: 0 auto; transform: none; }
  .app-window { width: min(100%, 760px); }
  .hero-foot { margin-top: 30px; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 55px; }
  .manifesto-side { padding-left: 25px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); margin-top: 65px; }
  .number-card { border-bottom: 1px solid var(--line); padding-bottom: 28px; }
  .number-card:nth-child(2) { border-right: 0; }
  .number-card:nth-child(3) { padding-left: 0; }
  .workflow-head, .feature-intro, .devices-head { display: block; }
  .workflow-head p, .feature-intro p, .devices-head p { margin-top: 22px; }
  .workflow-layout { grid-template-columns: 1fr; gap: 35px; }
  .workflow-steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
  .step { display: block; padding: 15px 10px 18px; }
  .step b { font-size: 18px; }
  .step small { font-size: 9px; }
  .step-arrow { display: none; }
  .step.active { padding-left: 10px; }
  .workflow-panels { min-height: 500px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); margin-top: 55px; }
  .feature-wide { grid-column: span 2; }
  .feature-card.feature-last { grid-column: span 2; }
  .devices-stage { min-height: 390px; margin-top: 50px; }
  .desk-frame { width: 82%; }
  .desk-ui { min-height: 270px; }
  .desk-content { padding: 35px; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .principles-grid { grid-template-columns: 1fr; gap: 45px; }
  .principles-copy .text-link { margin-bottom: 15px; }
  .data-strip { margin-top: 55px; }
  .footer-links { gap: 35px; }
}

@media (max-width: 680px) {
  .shell { width: calc(100% - 40px); }
  .site-header { height: 70px; padding: 0 20px; }
  .site-header.is-scrolled { height: 64px; }
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: 19px; }
  .brand-en { display: none; }
  .header-actions .button { min-height: 38px; padding: 0 15px; font-size: 10px; }
  .mobile-nav { top: 64px; }
  .hero { padding-top: 112px; }
  .hero-rule, .hero-vertical { display: none; }
  .hero h1 { margin-top: 26px; font-size: clamp(42px, 11.5vw, 60px); letter-spacing: -.065em; }
  .hero h1 .line { white-space: normal; }
  .hero h1 .line-accent { padding-left: .2em; }
  .hero-lede { max-width: 330px; font-size: 13px; }
  .hero-actions { gap: 18px; flex-wrap: wrap; margin-top: 30px; }
  .hero-actions .button { min-height: 48px; padding: 0 19px; font-size: 12px; }
  .platform-line { margin-top: 35px; gap: 7px; font-size: 8px; }
  .hero-stage { min-height: 325px; width: 100%; margin-top: 5px; }
  .app-window { top: 20px; left: 0; width: 100%; transform: none; border-radius: 9px; }
  .window-topbar { height: 30px; gap: 8px; padding: 0 9px; }
  .traffic i { width: 5px; height: 5px; }
  .window-title { font-size: 7px; }
  .tool-pill { padding: 3px 5px; font-size: 6px; }
  .tool-avatar { width: 15px; height: 15px; font-size: 6px; }
  .window-body { min-height: 245px; }
  .app-sidebar { width: 80px; padding: 8px 5px; }
  .side-brand { padding: 0 4px 10px; font-size: 8px; gap: 4px; }
  .side-brand img { width: 15px; height: 15px; }
  .side-nav { gap: 2px; }
  .side-item { gap: 5px; padding: 6px 4px; font-size: 7px; }
  .side-ico { width: 7px; height: 7px; }
  .side-bottom { padding: 5px 4px; font-size: 5px; }
  .app-main { padding: 13px 11px; }
  .app-kicker { font-size: 5px; }
  .app-head h3 { font-size: 17px; }
  .app-head-actions { display: none; }
  .app-stats { gap: 3px; margin-top: 12px; }
  .app-stat { padding: 7px 6px; }
  .app-stat span { font-size: 5px; }
  .app-stat b { margin: 4px 0 2px; font-size: 14px; }
  .app-stat b span { font-size: 5px; }
  .app-stat small { font-size: 5px; }
  .app-progress { margin-top: 8px; padding: 8px; }
  .app-progress-head { font-size: 5px; }
  .progress-track { height: 2px; margin-top: 6px; }
  .app-lower { grid-template-columns: 1fr; margin-top: 5px; }
  .app-memory { display: none; }
  .app-chapters { padding: 7px 8px; }
  .mini-head { font-size: 5px; }
  .chapter-row { gap: 5px; margin-top: 7px; }
  .chapter-row img { width: 14px; height: 20px; }
  .chapter-info b { font-size: 6px; }
  .chapter-info small { font-size: 5px; }
  .chapter-state { font-size: 4px; padding: 2px 3px; }
  .phone-window { width: 88px; height: 190px; right: -5px; bottom: 0; padding: 4px; border-radius: 15px; }
  .phone-screen { padding: 16px 8px 8px; border-radius: 11px; }
  .phone-speaker { width: 22px; height: 2px; top: 6px; }
  .phone-top { font-size: 4px; }
  .phone-eyebrow { margin-top: 14px; font-size: 4px; }
  .phone-title { margin-top: 4px; font-size: 12px; }
  .phone-text { margin-top: 9px; font-size: 4.5px; line-height: 1.8; }
  .phone-caret { height: 6px; }
  .phone-foot { left: 8px; right: 8px; bottom: 7px; font-size: 3.5px; }
  .float-card { padding: 7px 8px; gap: 6px; border-radius: 5px; }
  .card-sync { top: 5px; right: 2px; }
  .card-consistency { left: -3px; bottom: 28px; }
  .float-card b { font-size: 6px; }
  .float-card small { font-size: 4px; }
  .consistency-ring { width: 23px; height: 23px; }
  .pulse { width: 4px; height: 4px; }
  .hero-foot { min-height: 74px; padding-bottom: 15px; }
  .hero-foot p { display: none; }
  .foot-index { font-size: 8px; }
  .scroll-cue { font-size: 6px; }
  .scroll-cue span { height: 18px; }
  .section { padding: 88px 0; }
  .section-label { margin-bottom: 35px; font-size: 8px; gap: 10px; }
  .section-label i { max-width: 45px; }
  .manifesto-title h2, .workflow-head h2, .feature-intro h2, .devices-head h2, .principles-copy h2 { font-size: clamp(36px, 10.5vw, 54px); }
  .section-lede { margin-top: 20px; font-size: 12px; }
  .manifesto-side { padding-left: 18px; }
  .serif-quote { font-size: 18px; }
  .numbers-grid { gap: 0; margin-top: 48px; }
  .number-card { min-height: 185px; padding: 20px 15px 20px 0; }
  .number-card:not(:first-child) { padding-left: 15px; }
  .number-card h3 { margin: 22px 0 9px; font-size: 18px; }
  .number-card p { font-size: 10.5px; line-height: 1.8; }
  .workflow-head p, .feature-intro p, .devices-head p { font-size: 11.5px; }
  .workflow-layout { margin-top: 45px; }
  .workflow-steps { grid-template-columns: repeat(2, 1fr); }
  .step { padding: 12px 7px 14px; }
  .step b { font-size: 17px; }
  .step small { font-size: 8px; }
  .workflow-panels { min-height: 465px; }
  .work-panel { padding: 15px; }
  .panel-top { padding-bottom: 12px; font-size: 7px; }
  .panel-foot { left: 15px; right: 15px; bottom: 13px; padding-top: 10px; gap: 8px; }
  .panel-foot > span:first-child { font-size: 6px; }
  .panel-foot p { font-size: 8px; }
  .panel-cta { font-size: 8px; }
  .plan-board { gap: 8px; padding-top: 15px; }
  .plan-head { margin-bottom: 8px; font-size: 6px; }
  .plan-card { padding: 9px 7px; margin-bottom: 5px; }
  .plan-card.tall { padding-bottom: 15px; }
  .plan-card span { font-size: 6px; }
  .plan-card b { margin-top: 8px; font-size: 10px; }
  .plan-card small { font-size: 7px; }
  .person-card { gap: 5px; margin-bottom: 6px; }
  .avatar { width: 19px; height: 19px; font-size: 7px; }
  .person-card b { font-size: 7px; }
  .person-card small { font-size: 6px; }
  .thread-card { padding: 6px 0; gap: 5px; }
  .thread-card b { font-size: 7px; }
  .thread-card small { font-size: 6px; }
  .editor-mock { padding-top: 16px; }
  .editor-head { gap: 7px; }
  .editor-head span:first-child { font-size: 6px; }
  .editor-head b { font-size: 18px; }
  .editor-head span:last-child { font-size: 6px; }
  .editor-text { margin-top: 20px; font-size: 11px; line-height: 2; }
  .editor-status { gap: 8px; margin-top: 12px; font-size: 5.5px; }
  .quality-board { display: block; padding-top: 18px; }
  .quality-score { display: flex; align-items: baseline; gap: 8px; }
  .quality-score span { font-size: 6px; }
  .quality-score b { margin: 0; font-size: 45px; }
  .quality-score small { margin: 0; font-size: 6px; }
  .quality-bars { margin-top: 14px; }
  .quality-bars > div { margin-bottom: 9px; font-size: 7px; gap: 7px; }
  .quality-bars em { font-size: 7px; }
  .quality-note { padding: 8px; margin-top: 4px; }
  .quality-note p { font-size: 7px; }
  .book-board { gap: 18px; padding: 20px 0 0; }
  .book-cover-wrap { flex-basis: 86px; }
  .book-cover-wrap img { width: 86px; height: 129px; }
  .book-cover-wrap span { right: -6px; bottom: 8px; font-size: 6px; }
  .book-kicker { font-size: 5.5px; }
  .book-info h4 { margin-top: 8px; font-size: 22px; }
  .book-info > p { font-size: 7px; }
  .export-row { gap: 4px; margin-top: 14px; }
  .export-row span { padding: 4px 5px; font-size: 6px; }
  .book-actions { margin-top: 14px; }
  .feature-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 40px; }
  .feature-wide { grid-column: span 1; }
  .feature-card.feature-last { grid-column: span 1; }
  .feature-card { min-height: 275px; padding: 20px; }
  .feature-card h3 { margin-top: 30px; font-size: 25px; }
  .feature-card p { font-size: 11px; }
  .model-art { right: -60px; bottom: -50px; transform: scale(.8); }
  .format-row span:not(.format-line) { width: 36px; height: 28px; font-size: 7px; }
  .devices-head p { font-size: 11px; }
  .devices-stage { min-height: 290px; margin-top: 35px; }
  .desk-frame { width: 86%; }
  .desk-screen { padding: 4px; border-radius: 5px; }
  .desk-ui { min-height: 195px; }
  .desk-side { width: 25px; gap: 9px; padding-top: 8px; }
  .desk-side img { width: 13px; height: 13px; }
  .desk-side span { width: 7px; height: 7px; }
  .desk-content { padding: 20px 18px; }
  .desk-kicker { font-size: 5px; }
  .desk-content h4 { margin: 7px 0 11px; font-size: 17px; }
  .desk-content p { margin-bottom: 5px; font-size: 8px; line-height: 1.8; }
  .desk-margin { display: none; }
  .desk-caret { height: 9px; }
  .desk-stand { height: 24px; }
  .device-phone { width: 74px; height: 150px; margin-left: -24px; margin-bottom: -14px; padding: 3px; border-radius: 12px; }
  .device-screen { padding: 17px 6px 6px; border-radius: 9px; }
  .device-notch { width: 20px; height: 2px; top: 5px; }
  .dp-kicker { font-size: 4px; }
  .device-screen h4 { margin-top: 5px; font-size: 11px; }
  .device-screen p { margin-top: 7px; font-size: 4px; line-height: 1.8; }
  .dp-line { height: 2px; margin-top: 8px; }
  .dp-line.short { margin-top: 4px; }
  .dp-bottom { left: 8px; right: 8px; bottom: 7px; font-size: 3.5px; }
  .devices-caption { font-size: 5px; bottom: -8px; }
  .platform-grid { grid-template-columns: 1fr; gap: 1px; margin-top: 30px; }
  .platform-card { min-height: 72px; padding: 12px 15px; }
  .platform-card > div:nth-child(2) b { font-size: 12px; }
  .platform-card > div:nth-child(2) span { font-size: 7px; }
  .platform-link { font-size: 8px; }
  .principles-copy p { font-size: 11.5px; }
  .principle { grid-template-columns: 30px 1fr; gap: 13px; padding: 18px 0; }
  .principle h3 { font-size: 19px; }
  .principle p { font-size: 10.5px; }
  .data-strip { grid-template-columns: 1fr; margin-top: 45px; }
  .data-strip > div { min-height: 76px; padding: 15px; }
  .quote-section { padding: 85px 0 95px; }
  .quote-mark { font-size: 62px; }
  .quote-section blockquote { margin-top: 25px; font-size: clamp(30px, 8.6vw, 43px); line-height: 1.42; }
  .quote-by { margin-top: 25px; font-size: 6.5px; }
  .download-inner { padding: 0 0 80px; }
  .download h2 { margin-top: 20px; font-size: clamp(46px, 13vw, 65px); }
  .download-inner > p:not(.eyebrow) { margin-top: 22px; font-size: 11.5px; }
  .download-actions { flex-direction: column; align-items: stretch; margin-top: 29px; }
  .download-actions .button { width: 100%; }
  .download-platforms { flex-wrap: wrap; gap: 9px; font-size: 8px; }
  .download-platforms button { font-size: 8px; }
  .download-footer { flex-direction: column; gap: 8px; padding: 18px 0 23px; font-size: 6.5px; }
  .site-footer { padding: 48px 0 24px; }
  .footer-top { display: block; padding-bottom: 35px; }
  .footer-brand p { margin-top: 12px; font-size: 10px; }
  .footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 34px; }
  .footer-links b { font-size: 7px; }
  .footer-links a { font-size: 9.5px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; font-size: 6.5px; }
  .footer-bottom > div { gap: 12px; }
  .modal-card { padding: 28px 20px 24px; }
  .modal-card h3 { font-size: 28px; }
  .modal-form { flex-direction: column; }
  .modal-form .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* daily rhythm card */
.daily-strip { display: flex; align-items: center; gap: 5px; margin-top: 24px; color: var(--muted); font: 7px/1 var(--mono); }
.daily-strip i { flex: 1; height: 2px; background: var(--line); }
.daily-strip i.on { background: var(--jade); }
.daily-count { display: flex; align-items: baseline; gap: 7px; margin-top: 17px; }
.daily-count b { color: var(--jade); font-family: var(--sans); font-size: 31px; font-weight: 350; letter-spacing: -.06em; }
.daily-count span { color: var(--muted); font-size: 8px; }

/* continuity / client switching */
.continuity {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 44px 60px;
  margin-top: 28px;
  padding-top: 32px;
  border-top: 1px solid rgba(242,238,229,.13);
}
.continuity-head { padding-top: 6px; }
.continuity-kicker { color: rgba(78,224,175,.55); font: 8px/1 var(--mono); letter-spacing: .16em; }
.continuity-head h3 { margin-top: 19px; color: var(--paper); font-family: var(--serif); font-size: 35px; font-weight: 500; line-height: 1.3; letter-spacing: -.045em; }
.continuity-head h3 em { color: var(--jade-bright); font-style: normal; }
.continuity-head p { max-width: 300px; margin-top: 15px; color: rgba(242,238,229,.4); font-size: 10.5px; line-height: 1.9; }
.continuity-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(242,238,229,.12); }
.continuity-item { display: flex; gap: 12px; padding: 17px 18px 16px 0; border-bottom: 1px solid rgba(242,238,229,.12); }
.continuity-item + .continuity-item { padding-left: 18px; border-left: 1px solid rgba(242,238,229,.12); }
.ci-no { color: rgba(242,238,229,.24); font: 8px/1.6 var(--mono); }
.continuity-item b { display: inline-block; color: rgba(242,238,229,.82); font-size: 12px; font-weight: 500; }
.continuity-item em { margin-left: 7px; color: var(--jade-bright); font: 7px/1 var(--mono); letter-spacing: .04em; font-style: normal; }
.continuity-item p { margin-top: 7px; color: rgba(242,238,229,.34); font-size: 9px; line-height: 1.8; }
.continuity-switch { grid-column: 1 / -1; display: flex; align-items: center; gap: 11px; color: rgba(242,238,229,.3); font: 8px/1 var(--mono); letter-spacing: .1em; }
.continuity-switch i { width: 20px; height: 1px; background: rgba(242,238,229,.18); }
.continuity-switch b { margin-left: auto; color: rgba(78,224,175,.7); font-weight: 400; letter-spacing: .04em; }
.continuity-switch b::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: var(--jade-bright); box-shadow: 0 0 0 3px rgba(78,224,175,.1); }

@media (max-width: 980px) {
  .continuity { grid-template-columns: 1fr; gap: 25px; }
}
@media (max-width: 680px) {
  .continuity { margin-top: 20px; padding-top: 24px; }
  .continuity-head h3 { font-size: 30px; }
  .continuity-items { grid-template-columns: 1fr; }
  .continuity-item, .continuity-item + .continuity-item { padding: 13px 0; border-left: 0; }
  .continuity-item b { font-size: 11px; }
  .continuity-item p { font-size: 8.5px; }
  .continuity-switch { gap: 7px; font-size: 6px; flex-wrap: wrap; }
  .continuity-switch i { width: 10px; }
  .continuity-switch b { margin-left: 0; width: 100%; margin-top: 3px; font-size: 7px; }
}

/* =========================================================
   Extended motion / proof / showcase
   ========================================================= */

/* top scroll indicator */
.scroll-progress {
  position: fixed; z-index: 120; left: 0; top: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--jade), var(--jade-bright));
  box-shadow: 0 0 12px rgba(78,224,175,.55);
  transition: width .08s linear;
}

/* hero entrance */
.hero .eyebrow, .hero h1, .hero-lede, .hero-actions, .platform-line {
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn 1s var(--ease) forwards;
}
.hero h1 { animation-delay: .08s; }
.hero-lede { animation-delay: .2s; }
.hero-actions { animation-delay: .3s; }
.platform-line { animation-delay: .42s; }
.hero .eyebrow { animation-delay: .02s; }
.app-window { opacity: 0; animation: heroWindowIn 1.25s .2s var(--ease) forwards; }
.phone-window { opacity: 0; animation: heroWindowIn 1.1s .55s var(--ease) forwards; }
.card-sync { opacity: 0; animation: heroWindowIn .9s .85s var(--ease) forwards; }
.card-consistency { opacity: 0; animation: heroWindowIn .9s .95s var(--ease) forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes heroWindowIn { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

/* proof band */
.proof { position: relative; padding: 74px 0 0; overflow: hidden; background: var(--paper); }
.proof::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.proof-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 60px; padding-bottom: 52px; }
.proof-head { flex: 0 0 240px; }
.proof-kicker { color: var(--copper); font: 8px/1 var(--mono); letter-spacing: .16em; }
.proof-head p { margin-top: 14px; color: var(--text); font-family: var(--serif); font-size: 17px; line-height: 1.7; letter-spacing: -.025em; }
.proof-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 42px; width: min(100%, 700px); }
.proof-stat { border-left: 1px solid var(--line); padding-left: 17px; }
.proof-stat b { color: var(--jade); font-family: var(--sans); font-size: clamp(36px, 4vw, 58px); font-weight: 300; line-height: 1; letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.proof-stat span { margin-left: 4px; color: var(--copper); font-family: var(--serif); font-size: 14px; }
.proof-stat small { display: block; margin-top: 13px; color: var(--muted); font: 8px/1.4 var(--mono); letter-spacing: .03em; }
.marquee { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; color: var(--muted); font-family: var(--serif); font-size: 14px; letter-spacing: .1em; animation: marquee 32s linear infinite; }
.marquee-track i { width: 4px; height: 4px; border-radius: 50%; background: var(--jade); opacity: .65; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* showcase */
.showcase { background: var(--paper-2); }
.showcase-head { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.showcase-head h2 { font-family: var(--serif); font-size: clamp(42px, 5vw, 76px); font-weight: 500; line-height: 1.16; letter-spacing: -.055em; }
.showcase-head h2 em { color: var(--jade); font-style: normal; }
.showcase-head p { max-width: 350px; padding-bottom: 9px; color: var(--muted); font-size: 12px; line-height: 2; }
.showcase-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.showcase-tab { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: center; min-height: 72px; padding: 13px 18px; text-align: left; border-right: 1px solid var(--line); color: var(--muted); transition: background .3s, color .3s; }
.showcase-tab:last-child { border-right: 0; }
.showcase-tab span { align-self: start; padding-top: 3px; color: var(--muted); font: 8px/1 var(--mono); }
.showcase-tab b { display: block; color: var(--text); font-family: var(--serif); font-size: 19px; font-weight: 500; letter-spacing: -.03em; }
.showcase-tab em { display: block; margin-top: 4px; color: var(--muted); font: 7px/1 var(--mono); letter-spacing: .12em; font-style: normal; }
.showcase-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--jade); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.showcase-tab:hover { background: rgba(16,164,116,.045); }
.showcase-tab.active { background: rgba(16,164,116,.07); color: var(--text); }
.showcase-tab.active::after { transform: scaleX(1); }
.showcase-frame { display: grid; grid-template-columns: 1fr 305px; min-height: 525px; margin-top: 22px; border: 1px solid var(--line-strong); background: #0c1611; box-shadow: 0 30px 80px -45px rgba(21,33,27,.55); }
.showcase-stage { position: relative; min-height: 525px; overflow: hidden; }
.showcase-panel { position: absolute; inset: 0; display: none; padding: 25px 28px; color: var(--paper); }
.showcase-panel.active { display: block; animation: showcaseIn .5s var(--ease); }
@keyframes showcaseIn { from { opacity: 0; transform: translateY(8px) scale(.995); } to { opacity: 1; transform: none; } }
.sf-top { display: flex; align-items: center; gap: 13px; padding-bottom: 17px; border-bottom: 1px solid rgba(242,238,229,.1); color: rgba(242,238,229,.35); font: 8px/1 var(--mono); letter-spacing: .08em; }
.sf-top > span:nth-child(2) { color: rgba(242,238,229,.8); font-family: var(--serif); font-size: 12px; letter-spacing: 0; }
.sf-top i { color: rgba(242,238,229,.2); font-style: normal; padding: 0 4px; }
.sf-pill { margin-left: auto; padding: 5px 8px; border: 1px solid rgba(78,224,175,.22); border-radius: 99px; color: #73dbb7; font-size: 7px; letter-spacing: .03em; }
.sf-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 20px; }
.sf-kpis > div { padding: 13px 12px; border: 1px solid rgba(242,238,229,.1); background: rgba(255,255,255,.018); }
.sf-kpis span { display: block; color: rgba(242,238,229,.34); font: 7px/1.3 var(--mono); }
.sf-kpis b { display: block; margin: 8px 0 4px; color: rgba(242,238,229,.88); font-size: 25px; font-weight: 400; letter-spacing: -.05em; }
.sf-kpis b span { display: inline; color: rgba(242,238,229,.38); font: 8px var(--sans); }
.sf-kpis small { color: rgba(242,238,229,.26); font-size: 7px; }
.sf-kpis .accent b { color: var(--jade-bright); }
.sf-progress { margin-top: 18px; padding: 12px 13px; border: 1px solid rgba(242,238,229,.09); }
.sf-progress > div { display: flex; justify-content: space-between; color: rgba(242,238,229,.3); font: 7px/1 var(--mono); }
.sf-progress i { display: block; height: 3px; margin-top: 9px; background: rgba(242,238,229,.08); }
.sf-progress i b { display: block; height: 100%; background: var(--jade-bright); box-shadow: 0 0 12px rgba(78,224,175,.45); }
.sf-bottom { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; margin-top: 20px; }
.sf-label { display: block; color: rgba(242,238,229,.28); font: 7px/1 var(--mono); letter-spacing: .07em; }
.heatmap { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 11px; width: 188px; }
.heatmap i { width: 16px; height: 12px; border-radius: 1px; background: rgba(242,238,229,.07); }
.heatmap i.on { background: rgba(78,224,175,.52); }
.sf-books { display: flex; flex-direction: column; gap: 9px; }
.sf-books > div { display: grid; grid-template-columns: 23px 1fr; grid-template-rows: auto auto; column-gap: 8px; }
.sf-books img { grid-row: span 2; width: 23px; height: 33px; object-fit: cover; border-radius: 1px; }
.sf-books b { overflow: hidden; color: rgba(242,238,229,.72); font-size: 8px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.sf-books small { color: rgba(242,238,229,.28); font-size: 7px; }
.showcase-aside { display: flex; flex-direction: column; padding: 30px 26px 22px; border-left: 1px solid rgba(242,238,229,.1); background: #101e16; }
.sa-kicker { color: rgba(78,224,175,.55); font: 7px/1.4 var(--mono); letter-spacing: .14em; }
.showcase-aside h3 { margin-top: 24px; color: rgba(242,238,229,.86); font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.4; letter-spacing: -.04em; }
.showcase-aside h3 em { color: var(--jade-bright); font-style: normal; }
.showcase-aside > p { margin-top: 17px; color: rgba(242,238,229,.36); font-size: 9px; line-height: 1.9; }
.sa-list { display: flex; flex-direction: column; margin-top: 25px; border-top: 1px solid rgba(242,238,229,.1); }
.sa-list span { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(242,238,229,.1); color: rgba(242,238,229,.28); font: 7px/1 var(--mono); }
.sa-list b { color: rgba(242,238,229,.62); font-weight: 400; }
.sa-foot { display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 20px; color: rgba(242,238,229,.28); font: 6.5px/1 var(--mono); }

/* write panel */
.sf-writing { display: grid; grid-template-columns: 1fr 160px; gap: 26px; margin-top: 27px; }
.sf-editor { padding-right: 24px; border-right: 1px solid rgba(242,238,229,.09); }
.sf-editor h4 { margin-top: 9px; color: rgba(242,238,229,.88); font-family: var(--serif); font-size: 27px; font-weight: 500; letter-spacing: -.045em; }
.sf-editor p { margin-top: 17px; color: rgba(242,238,229,.5); font-family: var(--serif); font-size: 12.5px; line-height: 2.1; text-indent: 1.7em; }
.sf-editor .typing i { display: inline-block; width: 1px; height: 13px; margin-left: 2px; vertical-align: -2px; background: var(--jade-bright); animation: blink 1.4s infinite; }
.sf-side { padding-top: 2px; }
.sf-side-block { margin-top: 15px; padding-bottom: 10px; border-bottom: 1px solid rgba(242,238,229,.09); }
.sf-side-block b { display: block; color: rgba(242,238,229,.64); font-size: 8px; font-weight: 500; }
.sf-side-block span { display: block; margin-top: 6px; color: rgba(242,238,229,.3); font-size: 7px; }
.sf-side-note { margin-top: 15px; padding: 10px; border-left: 1px solid rgba(78,224,175,.45); color: rgba(242,238,229,.38); font-size: 8px; line-height: 1.7; }

/* quality panel */
.sf-quality { display: grid; grid-template-columns: 165px 1fr; gap: 30px 44px; padding-top: 28px; align-items: start; }
.sf-score span { color: rgba(242,238,229,.3); font: 7px/1 var(--mono); }
.sf-score b { display: block; margin-top: 17px; color: var(--jade-bright); font-size: 76px; font-weight: 300; line-height: 1; letter-spacing: -.08em; }
.sf-score small { display: block; margin-top: 11px; color: rgba(242,238,229,.28); font-size: 8px; }
.sf-bars > div { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: rgba(242,238,229,.38); font-size: 8px; }
.sf-bars > div > span { width: 60px; }
.sf-bars i { flex: 1; height: 3px; background: rgba(242,238,229,.08); }
.sf-bars i b { display: block; height: 100%; background: var(--jade-bright); }
.sf-bars em { width: 20px; color: rgba(242,238,229,.65); font: 8px/1 var(--mono); font-style: normal; text-align: right; }
.sf-issues { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 13px; padding: 11px 13px; border: 1px solid rgba(178,139,86,.3); background: rgba(178,139,86,.06); }
.sf-issues span { flex: 0 0 auto; color: var(--copper); font: 7px/1 var(--mono); }
.sf-issues p { color: rgba(242,238,229,.44); font-size: 8px; }
.sf-issues b { margin-left: auto; color: rgba(78,224,175,.75); font-size: 8px; font-weight: 400; }

/* publish panel */
.sf-publish { display: flex; align-items: center; gap: 38px; padding-top: 33px; }
.sf-publish > img { width: 145px; height: 217px; object-fit: cover; border-radius: 2px; box-shadow: 0 20px 30px -18px rgba(0,0,0,.6); }
.sf-publish-info h4 { margin-top: 12px; color: rgba(242,238,229,.9); font-family: var(--serif); font-size: 32px; font-weight: 500; letter-spacing: -.045em; }
.sf-publish-info > p { margin-top: 7px; color: rgba(242,238,229,.3); font-size: 8px; }
.sf-formats { display: flex; gap: 6px; margin-top: 23px; }
.sf-formats span { padding: 5px 8px; border: 1px solid rgba(242,238,229,.14); color: rgba(242,238,229,.5); font: 7px/1 var(--mono); }
.sf-publish-checks { display: flex; flex-wrap: wrap; gap: 11px 17px; margin-top: 25px; color: rgba(242,238,229,.4); font-size: 8px; }
.sf-publish-checks span { display: flex; align-items: center; gap: 6px; }
.sf-publish-checks i { width: 4px; height: 4px; border-radius: 50%; background: var(--jade-bright); }

/* particles */
.ink-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .45; mix-blend-mode: screen; }
.devices-bg { z-index: 0; }
.devices .shell { z-index: 2; }

/* feature bar reveal */
.score-line i b[style] { transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) .2s; }
.reveal.is-visible .score-line i b[style] { transform: scaleX(1); }

/* modal entrance */
.modal:not([hidden]) .modal-backdrop { animation: fadeIn .3s ease both; }
.modal:not([hidden]) .modal-card { animation: modalIn .45s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 1180px) {
  .proof-stats { gap: 25px; }
  .proof-stat { padding-left: 13px; }
  .showcase-frame { grid-template-columns: 1fr 270px; }
  .showcase-aside { padding-inline: 20px; }
}
@media (max-width: 980px) {
  .proof-inner { display: block; }
  .proof-head { flex: none; }
  .proof-stats { margin-top: 34px; width: 100%; }
  .proof-head p br { display: none; }
  .showcase-head { display: block; }
  .showcase-head p { margin-top: 22px; }
  .showcase-tabs { margin-top: 40px; }
  .showcase-tab { grid-template-columns: 20px 1fr; padding: 11px 12px; }
  .showcase-frame { grid-template-columns: 1fr; }
  .showcase-aside { border-left: 0; border-top: 1px solid rgba(242,238,229,.1); display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; }
  .showcase-aside h3 { margin-top: 14px; }
  .showcase-aside > p { grid-column: 1; }
  .sa-list { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; align-self: end; }
  .sa-foot { grid-column: 1 / -1; margin-top: 5px; }
  .showcase-stage, .showcase-frame { min-height: 0; }
  .showcase-panel { position: absolute; min-height: 525px; }
  .showcase-panel.active { position: relative; }
}
@media (max-width: 680px) {
  .proof { padding-top: 48px; }
  .proof-inner { padding-bottom: 35px; }
  .proof-head p { font-size: 15px; }
  .proof-stats { grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
  .proof-stat { padding: 15px 0 15px 12px; border-bottom: 1px solid var(--line); }
  .proof-stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof-stat b { font-size: 36px; }
  .proof-stat small { margin-top: 7px; font-size: 7px; }
  .marquee { padding: 12px 0; }
  .marquee-track { gap: 18px; font-size: 12px; }
  .showcase-head h2 { font-size: clamp(36px, 10.5vw, 54px); }
  .showcase-tabs { grid-template-columns: 1fr 1fr; }
  .showcase-tab:nth-child(2) { border-right: 0; }
  .showcase-tab:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .showcase-tab b { font-size: 16px; }
  .showcase-tab em { font-size: 6px; }
  .showcase-frame { border: 0; margin-inline: -20px; }
  .showcase-stage { min-height: 485px; }
  .showcase-panel { min-height: 485px; padding: 17px 15px; }
  .showcase-panel.active { min-height: 485px; }
  .sf-top { gap: 7px; padding-bottom: 11px; font-size: 6px; }
  .sf-top > span:nth-child(2) { font-size: 9px; }
  .sf-pill { font-size: 5px; padding: 3px 5px; }
  .sf-kpis { gap: 3px; margin-top: 11px; }
  .sf-kpis > div { padding: 7px 5px; }
  .sf-kpis span { font-size: 5px; }
  .sf-kpis b { margin: 5px 0 2px; font-size: 16px; }
  .sf-kpis small { font-size: 5px; }
  .sf-progress { margin-top: 8px; padding: 7px; }
  .sf-progress > div { font-size: 5px; }
  .sf-progress i { margin-top: 5px; }
  .sf-bottom { display: block; margin-top: 9px; }
  .sf-label { font-size: 5px; }
  .heatmap { width: 150px; gap: 2px; margin-top: 6px; }
  .heatmap i { width: 12px; height: 9px; }
  .sf-books { display: none; }
  .sf-writing { display: block; margin-top: 14px; }
  .sf-editor { padding-right: 0; border-right: 0; }
  .sf-editor h4 { font-size: 19px; margin-top: 5px; }
  .sf-editor p { margin-top: 8px; font-size: 9px; line-height: 1.9; }
  .sf-side { display: none; }
  .sf-quality { display: block; padding-top: 15px; }
  .sf-score span { font-size: 5px; }
  .sf-score b { margin-top: 8px; font-size: 52px; }
  .sf-score small { margin-top: 6px; font-size: 6px; }
  .sf-bars { margin-top: 12px; }
  .sf-bars > div { margin-bottom: 8px; font-size: 6px; gap: 6px; }
  .sf-bars > div > span { width: 48px; }
  .sf-issues { display: block; padding: 8px; margin-top: 9px; }
  .sf-issues span { font-size: 6px; }
  .sf-issues p { margin-top: 5px; font-size: 7px; }
  .sf-issues b { display: block; margin-top: 5px; margin-left: 0; font-size: 7px; }
  .sf-publish { gap: 17px; padding-top: 19px; }
  .sf-publish > img { width: 88px; height: 132px; }
  .sf-publish-info h4 { margin-top: 7px; font-size: 22px; }
  .sf-publish-info > p { font-size: 6px; }
  .sf-formats { margin-top: 12px; }
  .sf-formats span { padding: 4px 5px; font-size: 5.5px; }
  .sf-publish-checks { margin-top: 14px; font-size: 6px; gap: 7px; }
  .showcase-aside { display: block; padding: 22px 20px; }
  .showcase-aside h3 { font-size: 24px; margin-top: 13px; }
  .showcase-aside > p { font-size: 8px; }
  .sa-list { margin-top: 16px; }
  .sa-cross { display: none; }
}
.ink-canvas { z-index: 1; }

/* text arrows: inline SVG, no iOS emoji rendering */
.text-link .link-arrow,
.platform-link .link-arrow,
.feature-icon .link-arrow,
.button .link-arrow {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s var(--ease);
}
.text-link .link-arrow { color: var(--jade); }
.platform-link .link-arrow { color: var(--jade-bright); }
.feature-icon .link-arrow { width: 18px; height: 18px; color: var(--jade); }
.button .link-arrow { width: 16px; height: 16px; }
.text-link:hover .link-arrow,
.platform-link:hover .link-arrow { transform: translate(2px, -2px); }
.step-arrow .link-arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s var(--ease);
}
.step:hover .step-arrow .link-arrow,
.step.active .step-arrow .link-arrow { transform: translate(3px, -3px); }

/* CSS-drawn UI arrows: consistent on iOS/Android, no emoji or SVG dependency */
.ui-arrow {
  display: inline-block;
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--jade);
  transition: transform .25s var(--ease);
}
.ui-arrow::before {
  content: "";
  position: absolute;
  height: 1px;
  background: currentColor;
}
.ui-arrow.arrow-ne::before {
  left: 1px;
  bottom: 2px;
  width: 11px;
  transform: rotate(-45deg);
  transform-origin: left center;
}
.ui-arrow.arrow-ne::after {
  content: "";
  position: absolute;
  right: 1px;
  top: 1px;
  width: 5px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}
.ui-arrow.arrow-se::before {
  left: 1px;
  top: 2px;
  width: 11px;
  transform: rotate(45deg);
  transform-origin: left center;
}
.ui-arrow.arrow-se::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}
.text-link .ui-arrow { color: var(--jade); }
.platform-link .ui-arrow { color: var(--jade-bright); }
.feature-icon .ui-arrow { width: 18px; height: 18px; color: var(--jade); }
.step-arrow .ui-arrow { width: 16px; height: 16px; }
.text-link:hover .ui-arrow,
.platform-link:hover .ui-arrow { transform: translate(2px, -2px); }
.step:hover .step-arrow .ui-arrow,
.step.active .step-arrow .ui-arrow { transform: translate(3px, -3px); }

/* =========================================================
   Guided website tour (only when ?tour=1)
   ========================================================= */
.tour-rail,
.tour-caption,
.tour-end { display: none; }
body.tour-mode .tour-rail,
body.tour-mode .tour-caption { display: block; }

body.tour-mode { cursor: default; }
body.tour-mode .site-header { box-shadow: 0 12px 40px -22px rgba(0,0,0,.35); }
body.tour-mode .tour-rail { position: fixed; z-index: 95; right: 28px; top: 50%; transform: translateY(-50%); width: 142px; padding: 16px 14px 13px; background: rgba(7,17,13,.88); border: 1px solid rgba(242,238,229,.13); backdrop-filter: blur(18px); box-shadow: 0 24px 50px -25px rgba(0,0,0,.65); }
.tour-rail-kicker { color: rgba(78,224,175,.55); font: 6.5px/1 var(--mono); letter-spacing: .16em; }
.tour-rail-list { margin-top: 13px; border-top: 1px solid rgba(242,238,229,.1); }
.tour-rail-item { display: grid; grid-template-columns: 22px 1fr; gap: 7px; align-items: center; padding: 7px 0; border-bottom: 1px solid rgba(242,238,229,.08); color: rgba(242,238,229,.22); transition: color .35s; }
.tour-rail-item i { font: 6.5px/1 var(--mono); font-style: normal; }
.tour-rail-item b { font: 8px/1.3 var(--sans); font-weight: 400; letter-spacing: .02em; }
.tour-rail-item.active { color: var(--jade-bright); }
.tour-rail-item.active i { color: var(--copper); }
.tour-rail-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; color: rgba(242,238,229,.25); font: 6.5px/1 var(--mono); letter-spacing: .06em; }
.tour-rail-foot i { width: 52px; height: 1px; background: rgba(242,238,229,.13); position: relative; overflow: hidden; }
.tour-rail-foot i b { display: block; width: 0; height: 100%; background: var(--jade-bright); transition: width .8s var(--ease); }

.tour-caption { position: fixed; z-index: 96; left: 48px; bottom: 38px; width: min(430px, 36vw); min-height: 84px; padding: 16px 20px 15px; background: rgba(7,17,13,.88); border-left: 1px solid rgba(78,224,175,.6); backdrop-filter: blur(18px); box-shadow: 0 20px 40px -22px rgba(0,0,0,.6); }
.tour-caption .tc-top { display: flex; align-items: center; gap: 11px; color: rgba(78,224,175,.55); font: 6.5px/1 var(--mono); letter-spacing: .13em; }
.tour-caption .tc-top i { width: 26px; height: 1px; background: rgba(78,224,175,.4); }
.tour-caption h4 { margin: 10px 0 0; color: var(--paper); font-family: var(--serif); font-size: 18px; font-weight: 500; letter-spacing: -.03em; }
.tour-caption p { margin: 5px 0 0; color: rgba(242,238,229,.42); font-size: 9px; line-height: 1.7; }
.tour-caption.swap .tc-top,
.tour-caption.swap h4,
.tour-caption.swap p { animation: tourCopyIn .55s var(--ease) both; }
.tour-caption.swap h4 { animation-delay: .05s; }
.tour-caption.swap p { animation-delay: .1s; }
@keyframes tourCopyIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

body.tour-mode .tour-end { display: flex; position: fixed; inset: 0; z-index: 200; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(ellipse at 65% 10%, rgba(16,164,116,.2), transparent 52%), #07110d; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
body.tour-mode.tour-finished .tour-end { opacity: 1; visibility: visible; }
.tour-end img { width: 58px; height: 58px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(78,224,175,.18), 0 24px 60px -20px rgba(16,164,116,.45); }
.tour-end .te-kicker { margin-top: 25px; color: rgba(242,238,229,.34); font: 7px/1 var(--mono); letter-spacing: .22em; }
.tour-end h2 { margin: 26px 0 0; color: var(--paper); font-family: var(--serif); font-size: clamp(48px,5.7vw,88px); font-weight: 500; line-height: 1.2; letter-spacing: -.055em; }
.tour-end h2 em { color: var(--jade-bright); font-style: normal; }
.tour-end .te-line { width: 86px; height: 1px; margin-top: 31px; background: var(--jade-bright); transform: scaleX(0); }
body.tour-mode.tour-finished .tour-end .te-line { animation: grow 1s .65s var(--ease) forwards; }
.tour-end .te-sub { margin-top: 23px; color: rgba(242,238,229,.42); font-size: 10px; letter-spacing: .08em; }
.tour-end .te-brand { margin-top: 42px; color: rgba(242,238,229,.3); font: 7px/1.8 var(--mono); letter-spacing: .2em; }
.tour-end .te-fine { position: absolute; left: 45px; right: 45px; bottom: 30px; display: flex; justify-content: space-between; color: rgba(242,238,229,.22); font: 6.5px/1 var(--mono); letter-spacing: .12em; }

@media (max-width: 1180px) {
  .tour-rail { right: 14px; width: 124px; }
  .tour-caption { left: 24px; bottom: 24px; }
}
@media (max-width: 980px) {
  body.tour-mode .tour-rail { display: none; }
  .tour-caption { width: min(390px, calc(100vw - 48px)); }
}

/* tour rail: edge-only number strip, no overlap with the hero visual */
body.tour-mode .tour-rail {
  right: 32px;
  width: 38px;
  padding: 13px 7px 11px;
  text-align: center;
  border-color: rgba(242,238,229,.1);
}
body.tour-mode .tour-rail-kicker { display: none; }
body.tour-mode .tour-rail-list { margin-top: 0; border-top: 0; }
body.tour-mode .tour-rail-item {
  display: block;
  padding: 8px 0;
  border-bottom: 0;
  color: rgba(242,238,229,.22);
}
body.tour-mode .tour-rail-item b { display: none; }
body.tour-mode .tour-rail-item i { display: block; font-size: 7px; letter-spacing: .04em; }
body.tour-mode .tour-rail-item.active { color: var(--jade-bright); }
body.tour-mode .tour-rail-item.active i::before {
  content: "";
  display: block;
  width: 11px;
  height: 1px;
  margin: 0 auto 5px;
  background: var(--jade-bright);
}
body.tour-mode .tour-rail-foot { margin-top: 8px; display: block; }
body.tour-mode .tour-rail-foot span { display: none; }
body.tour-mode .tour-rail-foot i { display: block; width: 100%; }
body.tour-mode .tour-caption { left: 60px; }
@media (max-width: 1180px) {
  body.tour-mode .tour-rail { right: 9px; }
  body.tour-mode .tour-caption { left: 28px; }
}
body.tour-mode { scrollbar-width: none; -ms-overflow-style: none; }
body.tour-mode::-webkit-scrollbar { display: none; width: 0; height: 0; }
html.tour-mode, body.tour-mode { scrollbar-width: none; -ms-overflow-style: none; }
html.tour-mode::-webkit-scrollbar, body.tour-mode::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* =========================================================
   Readability pass — desktop: lift microcopy without changing layout
   ========================================================= */
@media (min-width: 681px) {
  .section-label { font-size: 9.5px; letter-spacing: .14em; }
  .section-label i { width: 62px; }
  .eyebrow, .hero .eyebrow { font-size: 10px; letter-spacing: .16em; }
  .hero-lede { font-size: 14px; }
  .platform-line { font-size: 10px; }
  .hero .foot-index, .scroll-cue { font-size: 9px; }
  .workflow-head p { font-size: 14px; line-height: 1.9; }
  .step-no { font-size: 10px; }
  .step small { font-size: 11.5px; line-height: 1.55; }
  .step b { font-size: 23px; }
  .panel-top { font-size: 10px; }
  .plan-head { font-size: 9px; letter-spacing: .1em; }
  .plan-card span { font-size: 9px; }
  .plan-card b { font-size: 15px; }
  .plan-card small { font-size: 10px; line-height: 1.55; }
  .person-card b { font-size: 11.5px; }
  .person-card small { font-size: 9.5px; line-height: 1.45; }
  .thread-card b { font-size: 11.5px; }
  .thread-card small { font-size: 9.5px; line-height: 1.45; }
  .panel-foot > span:first-child { font-size: 9px; }
  .panel-foot p { font-size: 11px; line-height: 1.75; }
  .panel-cta { font-size: 11px; }
  .editor-head span:first-child, .editor-head span:last-child { font-size: 9.5px; }
  .editor-status { font-size: 9.5px; }
  .quality-score span { font-size: 9px; }
  .quality-score small { font-size: 10px; }
  .quality-bars > div { font-size: 11px; }
  .quality-bars em { font-size: 10px; }
  .quality-note p { font-size: 11px; line-height: 1.75; }
  .plan-card.tall { min-height: 88px; }
  .manifesto-meta, .manifesto-note, .manifesto-side small { font-size: 10px; }
  .number-card p, .feature-card p, .principle p, .devices-head p { font-size: 12px; line-height: 1.8; }
  .number-card .tag, .feature-top, .principle > span { font-size: 10px; }
  .continuity-kicker { font-size: 9px; }
  .continuity-head p { font-size: 11px; line-height: 1.85; }
  .continuity-item b { font-size: 13px; }
  .continuity-item em { font-size: 8px; }
  .continuity-item p { font-size: 10.5px; line-height: 1.75; }
  .continuity-switch { font-size: 9px; }
  .proof-kicker { font-size: 9px; }
  .proof-stat small { font-size: 9px; }
  .data-strip b { font-size: 10px; }
  .data-strip small { font-size: 9px; }
  .download-platforms, .download-platforms button { font-size: 11px; }
  .download-footer, .footer-bottom { font-size: 9px; }
  .footer-links b { font-size: 9px; }
  .modal-note { font-size: 9.5px; }
  .showcase-tab span, .showcase-tab em { font-size: 8.5px; }
  .showcase-tab b { font-size: 20px; }
  .showcase-aside > p { font-size: 10px; }
  .sa-kicker { font-size: 8px; }
  .sf-top { font-size: 9px; }
  .sf-kpis span, .sf-kpis small { font-size: 8px; }
  .sf-label, .sa-list span { font-size: 8px; }
  .sf-books b { font-size: 9px; }
  .sf-books small { font-size: 8px; }
  .sf-editor p { font-size: 13.5px; line-height: 2.05; }
  .sf-side-block b, .sf-side-block span, .sf-side-note { font-size: 9px; }
  .sf-issues span, .sf-issues p, .sf-issues b { font-size: 9px; }
  .sf-publish-info > p, .sf-publish-checks { font-size: 9px; }
}

/* readability+ : second pass, body copy stays comfortable */
@media (min-width: 681px) {
  .section-label { font-size: 10px; }
  .plan-head { font-size: 10px; }
  .plan-card span { font-size: 9.5px; }
  .plan-card small { font-size: 11px; }
  .person-card b, .thread-card b { font-size: 12px; }
  .person-card small, .thread-card small { font-size: 10.5px; }
  .step small { font-size: 12px; }
  .panel-top { font-size: 10.5px; }
  .panel-foot > span:first-child { font-size: 9.5px; }
  .panel-foot p { font-size: 12px; }
  .panel-cta { font-size: 12px; }
  .editor-head span:first-child, .editor-head span:last-child { font-size: 10px; }
  .editor-status { font-size: 10px; }
  .quality-score span { font-size: 9.5px; }
  .quality-score small { font-size: 10.5px; }
  .quality-bars > div { font-size: 12px; }
  .quality-bars em { font-size: 10.5px; }
  .quality-note p { font-size: 12px; }
  .continuity-head p { font-size: 11.5px; }
  .continuity-item p { font-size: 11px; }
  .continuity-item b { font-size: 13.5px; }
  .data-strip b { font-size: 10px; }
  .data-strip small { font-size: 9.5px; }
  .footer-bottom, .download-footer { font-size: 9.5px; }
  .showcase-tab span, .showcase-tab em { font-size: 9px; }
  .sf-top { font-size: 9.5px; }
  .sf-kpis span, .sf-kpis small { font-size: 8.5px; }
  .sf-label, .sa-list span { font-size: 8.5px; }
  .sf-books b { font-size: 9.5px; }
  .sf-books small { font-size: 8.5px; }
  .sf-side-block b, .sf-side-block span, .sf-side-note { font-size: 9.5px; }
  .sf-issues span, .sf-issues p, .sf-issues b { font-size: 9.5px; }
  .sf-publish-info > p, .sf-publish-checks { font-size: 9.5px; }
}

/* readability++ : labels and metadata get one final step */
@media (min-width: 681px) {
  .section-label { font-size: 10.5px; }
  .step small { font-size: 12.5px; }
  .workflow-head p { font-size: 14.5px; }
  .panel-top { font-size: 11px; }
  .plan-head { font-size: 10.5px; font-weight: 500; }
  .plan-card span { font-size: 10px; }
  .plan-card small { font-size: 11.5px; }
  .person-card b, .thread-card b { font-size: 13px; }
  .person-card small, .thread-card small { font-size: 11px; }
  .panel-foot > span:first-child { font-size: 10px; }
  .panel-foot p { font-size: 12.5px; }
  .panel-cta { font-size: 12.5px; }
  .editor-head span:first-child, .editor-head span:last-child { font-size: 10.5px; }
  .editor-status { font-size: 10.5px; }
  .quality-bars > div { font-size: 12.5px; }
  .quality-note p { font-size: 12.5px; }
}

/* mobile readability: readable body copy, preserve compact product mock */
@media (max-width: 680px) {
  .section-label { font-size: 9px; gap: 9px; }
  .section-label i { width: 34px; }
  .workflow-head p, .feature-intro p, .devices-head p { font-size: 12px; line-height: 1.85; }
  .step small { font-size: 9.5px; line-height: 1.55; }
  .number-card p, .feature-card p, .principle p { font-size: 11px; line-height: 1.75; }
  .principle h3 { font-size: 20px; }
  .continuity-item p { font-size: 9.5px; line-height: 1.7; }
  .continuity-item b { font-size: 12px; }
  .data-strip small { font-size: 8px; }
  .platform-card > div:nth-child(2) span { font-size: 8px; }
  .platform-link { font-size: 9px; }
  .download-platforms, .download-platforms button { font-size: 9.5px; }
  .footer-brand p { font-size: 11px; }
  .footer-links b { font-size: 8px; }
  .footer-links a { font-size: 10px; }
  .footer-bottom, .footer-bottom a { font-size: 8.5px; }
  .plan-card small { font-size: 8px; }
  .person-card b, .thread-card b { font-size: 8.5px; }
  .person-card small, .thread-card small { font-size: 7.5px; }
  .panel-foot p { font-size: 9px; }
  .panel-foot > span:first-child { font-size: 7px; }
  .panel-cta { font-size: 9px; }
}

/* 浮烟人物头像：去掉黑色块，改成浅青玉 */
.avatar.lead {
  background: rgba(16, 164, 116, .13);
  color: #0b6f54;
  box-shadow: inset 0 0 0 1px rgba(16, 164, 116, .24);
}

/* hero tonal lift: keep the ink mood, remove the dead-black feeling */
.hero {
  background:
    radial-gradient(92% 82% at 78% 16%, rgba(46, 145, 106, .27), transparent 64%),
    radial-gradient(68% 78% at 14% 92%, rgba(57, 107, 82, .20), transparent 72%),
    linear-gradient(145deg, #0d1a14 0%, #0b1611 54%, #09130e 100%);
}
.hero::before {
  background-image:
    linear-gradient(rgba(242,238,229,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,238,229,.045) 1px, transparent 1px);
}
.hero-glow {
  background: radial-gradient(circle, rgba(48, 220, 166, .15), rgba(48, 220, 166, .04) 42%, transparent 68%);
}
.hero .eyebrow { color: rgba(242,238,229,.58); }
.hero-lede { color: rgba(242,238,229,.68); }
.platform-line { color: rgba(242,238,229,.48); }
.hero-foot p { color: rgba(242,238,229,.48); }
.hero .scroll-cue { color: rgba(242,238,229,.42); }
.hero .foot-index { color: rgba(242,238,229,.42); }
.hero-vertical { color: rgba(242,238,229,.34); }
.hero-rule { background: rgba(242,238,229,.1); }
