/* Orchard — marketing site
   Tokens mirror the app (docs/design.md §7.6). Coral = risk, mint = already in main / primary action. */

@font-face { font-family: "Geist"; src: url("fonts/Geist-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-SemiBold.ttf") format("truetype"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Medium.ttf") format("truetype"); font-weight: 500 600; font-display: swap; }

:root {
  --bg: #0a0f0d;
  --bg-window: #0e1311;
  --bg-side: #121916;
  --bg-detail: #131a17;
  --card: #161d1a;
  --card-2: #18201c;
  --card-sel: #1e2a25;
  --card-sel-line: #3b5a4d;
  --line: #1f2925;
  --line-2: #2c3833;
  --text: #e8eeea;
  --text-2: #a3b1aa;
  --text-3: #7c8a83;
  --risk: #f2937e;
  --warn: #e5d45c;
  --main: #62d0a2;
  --main-ink: #0b1a13;
  --agent: #b8a2f5;
  --pr: #e9b95f;

  --sans: "Geist", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", "SF Mono", ui-monospace, Menlo, monospace;

  --wrap: 1160px;
  --r-card: 14px;
  --r-btn: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* film grain — keeps big dark areas from looking flat */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(98, 208, 162, .28); color: var(--text); }
:focus-visible { outline: 2px solid var(--main); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 1; }
.t2 { color: var(--text-2); }
.t3 { color: var(--text-3); }
.risk { color: var(--risk); }
.ok { color: var(--main); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────────── Nav ───────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.nav.scrolled {
  background: rgba(10, 15, 13, .72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: rgba(31, 41, 37, .8);
}
.nav-inner { display: flex; align-items: center; height: 68px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--text-2); }
.nav-links a { transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-cta .link { font-size: 14px; color: var(--text-2); padding: 8px 10px; transition: color .2s; }
.nav-cta .link:hover { color: var(--text); }

/* ───────────── Buttons ───────────── */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: var(--h); padding: 0 18px;
  border-radius: var(--r-btn);
  font-size: 15px; font-weight: 500; letter-spacing: -.005em;
  white-space: nowrap; cursor: pointer; border: 0;
  transition: transform .18s var(--ease), box-shadow .25s, background .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { --h: 36px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn-lg { --h: 52px; padding: 0 24px; font-size: 16px; border-radius: 12px; }
.btn-primary {
  background: var(--main); color: var(--main-ink); font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 0 1px rgba(98,208,162,.5), 0 8px 24px -8px rgba(98,208,162,.55);
}
.btn-primary:hover { background: #74dbaf; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 0 0 1px rgba(98,208,162,.7), 0 12px 32px -8px rgba(98,208,162,.7); }
.btn-ghost { background: rgba(255,255,255,.02); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px #3d4b45; }
.btn .sub { font-weight: 400; opacity: .62; font-size: .9em; }
.btn svg { flex: none; }
.apple { width: 15px; height: 15px; margin-top: -2px; }

/* ───────────── Type ───────────── */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.12; }
.h-display { font-size: clamp(42px, 6.6vw, 84px); letter-spacing: -.045em; line-height: 1.04; font-weight: 600; }
.h-section { font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -.035em; line-height: 1.1; }
.h-card { font-size: 19px; letter-spacing: -.015em; line-height: 1.35; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--text-2); line-height: 1.7; max-width: 640px; }
.fade-text {
  background: linear-gradient(180deg, #f2f6f3 30%, #9fb0a8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em;
  color: var(--text-3); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--line-2); }

/* ───────────── Sections ───────────── */
section { position: relative; }
.section { padding: clamp(96px, 12vw, 160px) 0; }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(48px, 6vw, 72px); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent); }

/* ───────────── Hero ───────────── */
.hero { padding: clamp(56px, 8vw, 104px) 0 0; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 900px; z-index: -1;
  background:
    radial-gradient(42% 38% at 50% 30%, rgba(98, 208, 162, .13), transparent 70%),
    radial-gradient(30% 30% at 22% 18%, rgba(242, 147, 126, .06), transparent 70%),
    radial-gradient(30% 30% at 80% 22%, rgba(184, 162, 245, .05), transparent 70%);
}
.hero-orchard { position: absolute; inset: 0 0 auto; height: 720px; z-index: -1; opacity: .55; pointer-events: none;
  mask-image: radial-gradient(70% 70% at 50% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 35%, #000 30%, transparent 75%); }
.hero-orchard svg { width: 100%; height: 100%; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(22, 29, 26, .7); box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 13.5px; color: var(--text-2);
  backdrop-filter: blur(8px);
  transition: box-shadow .2s, color .2s;
}
.pill:hover { box-shadow: inset 0 0 0 1px #3d4b45; color: var(--text); }
.pill b { font-weight: 500; font-family: var(--mono); font-size: 11.5px; color: var(--main); background: rgba(98,208,162,.12); padding: 3px 9px; border-radius: 999px; letter-spacing: .02em; }
.hero h1 { margin: 28px auto 0; max-width: 980px; }
.hero h1 .q { color: var(--risk); -webkit-text-fill-color: var(--risk); }
.hero .lead { margin: 26px auto 0; max-width: 700px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 13.5px; color: var(--text-3); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 14px; height: 14px; color: var(--main); }


.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--main); box-shadow: 0 0 0 0 rgba(98,208,162,.6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(98,208,162,.55); } 70% { box-shadow: 0 0 0 7px rgba(98,208,162,0); } 100% { box-shadow: 0 0 0 0 rgba(98,208,162,0); } }


.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 11px; line-height: 1; padding: 5px 8px; border-radius: 999px; white-space: nowrap; transition: color .4s, background .4s; }
.tag.r { color: var(--risk); background: rgba(242,147,126,.1); }
.tag.w { color: var(--warn); background: rgba(229,212,92,.09); }
.tag.g { color: var(--main); background: rgba(98,208,162,.1); }
.tag.p { color: var(--pr); background: rgba(233,185,95,.1); }
.tag.a { color: var(--agent); background: rgba(184,162,245,.1); }
.tag.n { color: var(--text-3); background: rgba(255,255,255,.04); }
.act { font-size: 12px; padding: 7px 12px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); white-space: nowrap; }
.act.pri { background: var(--main); color: var(--main-ink); font-weight: 600; box-shadow: none; }
.dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }


/* Branch rail */
.rail { width: 40px; height: 40px; position: relative; flex: none; }
.rail svg { width: 100%; height: 100%; overflow: visible; }
.rail .trunk { stroke: var(--line-2); stroke-width: 1.6; fill: none; stroke-linecap: round; }
.rail .limb { stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset 1.1s var(--ease); }
.rail .fruit { fill: currentColor; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s var(--ease); }
.rail .bud { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-dasharray: 2.2 1.8; opacity: 0; transition: opacity .5s; }
.rail.grown .limb { stroke-dashoffset: 0; }
.rail.grown .fruit { transform: scale(1); }
.rail.grown .bud { opacity: 1; animation: spin 8s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.rail { color: var(--risk); }
.rail.calm { color: var(--text-3); }
[data-tip] { position: relative; }
[data-tip]:hover::after {
  content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%);
  white-space: nowrap; font-size: 11.5px; padding: 6px 9px; border-radius: 8px; z-index: 10;
  background: #222c28; color: var(--text); box-shadow: 0 0 0 1px var(--line-2), 0 8px 24px rgba(0,0,0,.4);
  font-family: var(--sans); pointer-events: none;
}

/* ───────────── Stats band ───────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stat { padding: 34px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .n { font-family: var(--mono); font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -.04em; font-weight: 500; line-height: 1; }
.stat .l { margin-top: 10px; color: var(--text-2); font-size: 14px; }

/* ───────────── Before / after ───────────── */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { border-radius: 18px; background: linear-gradient(180deg, var(--card), #121815); box-shadow: inset 0 0 0 1px var(--line); padding: 28px; overflow: hidden; position: relative; }
.panel-cap { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.panel-cap h3 { font-size: 18px; }
.term { font-family: var(--mono); font-size: 12.3px; line-height: 1.85; color: var(--text-3); white-space: pre; overflow: hidden; mask-image: linear-gradient(180deg, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); }
.term .c { color: var(--text-2); } .term .h { color: #5f6d67; } .term .b { color: var(--text-2); }
.sum-list { display: grid; gap: 10px; }
.sum-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 14px; border-radius: 12px; background: rgba(14,19,17,.7); box-shadow: inset 0 0 0 1px var(--line); }
.sum-row .k { font-size: 14px; } .sum-row .k b { font-weight: 600; }
.sum-row .d { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.big-n { font-family: var(--mono); font-size: 28px; font-weight: 500; letter-spacing: -.04em; width: 40px; text-align: center; }

/* ───────────── Three questions ───────────── */
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qcard { padding: 30px 28px 32px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .3s; }
.qcard:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2); }
.qcard .num { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.qcard h3 { margin: 56px 0 10px; font-size: 26px; letter-spacing: -.03em; }
.qcard p { margin: 0; color: var(--text-2); font-size: 15px; }
.qcard .viz { height: 96px; margin-top: 28px; display: flex; align-items: flex-end; gap: 8px; }

/* ───────────── Rail explainer ───────────── */
.explain { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.big-rail-wrap { border-radius: 22px; background: radial-gradient(80% 80% at 30% 20%, #18221e, #111714); box-shadow: inset 0 0 0 1px var(--line); padding: 28px 28px 22px; }
.big-rail { width: 100%; height: auto; }
.big-rail .trunk { stroke: #3a4742; stroke-width: 3; stroke-linecap: round; fill: none; }
.big-rail .limb, .big-rail .ret { fill: none; stroke-width: 3; stroke-linecap: round; transition: stroke .6s; }
.big-rail .limb { stroke: var(--text-3); }
.big-rail .ret { stroke: var(--main); stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.1s var(--ease); }
.big-rail .fruit { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s var(--ease), fill .6s; fill: var(--risk); }
.big-rail .bud { fill: none; stroke: var(--risk); stroke-width: 2.2; stroke-dasharray: 5 4; opacity: 0; transition: opacity .4s, stroke .6s; transform-box: fill-box; transform-origin: center; animation: spin 10s linear infinite; }
.big-rail .mdot { fill: var(--main); transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s .7s var(--ease); }
.big-rail .lbl { font-family: var(--mono); font-size: 13px; fill: var(--text-3); }
.big-rail .ann { font-family: var(--sans); font-size: 13px; fill: var(--text-2); opacity: 0; transition: opacity .4s; }
.big-rail .lead-line { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; transition: opacity .4s; }
.big-rail[data-s="1"] .limb { stroke: var(--risk); }
.big-rail[data-s="1"] .bud, .big-rail[data-s="1"] .ann-bud, .big-rail[data-s="1"] .ll-bud { opacity: 1; }
.big-rail[data-s="2"] .limb { stroke: var(--risk); }
.big-rail[data-s="2"] .f1, .big-rail[data-s="2"] .f2 { transform: scale(1); }
.big-rail[data-s="2"] .ann-fruit, .big-rail[data-s="2"] .ll-fruit { opacity: 1; }
.big-rail[data-s="3"] .limb { stroke: var(--main); }
.big-rail[data-s="3"] .f1, .big-rail[data-s="3"] .f2 { transform: scale(1); fill: var(--main); }
.big-rail[data-s="3"] .ret { stroke-dashoffset: 0; }
.big-rail[data-s="3"] .mdot { transform: scale(1); }
.big-rail[data-s="3"] .ann-merge, .big-rail[data-s="3"] .ll-merge { opacity: 1; }
.rail-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); min-height: 58px; }
.rail-status .br { font-family: var(--mono); font-size: 14px; }
.rail-status .s { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.steps { display: grid; gap: 8px; margin-top: 32px; }
.step {
  display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; text-align: left;
  padding: 16px 18px; border-radius: 14px; border: 0; cursor: pointer; background: transparent;
  box-shadow: inset 0 0 0 1px transparent; transition: background .25s, box-shadow .25s;
}
.step:hover { background: rgba(255,255,255,.02); }
.step.on { background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.step .i { font-family: var(--mono); font-size: 12px; color: var(--text-3); padding-top: 3px; }
.step b { font-weight: 500; font-size: 16px; display: block; }
.step span { color: var(--text-3); font-size: 14px; display: block; margin-top: 2px; transition: color .25s; }
.step.on span { color: var(--text-2); }
.step .bar { grid-column: 2; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; margin-top: 12px; display: none; }
.step.on .bar { display: block; }
.step .bar i { display: block; height: 100%; width: 0; background: var(--text-2); }
.step.on.auto .bar i { animation: fill 3.6s linear forwards; }
@keyframes fill { to { width: 100%; } }

/* ───────────── Six kinds ───────────── */
.six { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.kind { background: var(--bg); padding: 30px 28px 34px; transition: background .3s; }
.kind:hover { background: #0e1412; }
.kind .tag { font-size: 12.5px; padding: 6px 11px; }
.kind h3 { margin: 22px 0 8px; font-size: 18px; letter-spacing: -.015em; }
.kind p { margin: 0; color: var(--text-2); font-size: 14.5px; }

/* ───────────── Landed layers ───────────── */
.layers { display: grid; gap: 14px; }
.layer { display: grid; grid-template-columns: 64px 1fr 1.1fr; gap: 28px; align-items: center; padding: 28px 30px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.layer .lv { font-family: var(--mono); font-size: 34px; font-weight: 500; color: var(--text-3); letter-spacing: -.04em; }
.layer h3 { font-size: 20px; }
.layer h3 small { display: block; margin-top: 6px; font-size: 14px; font-weight: 400; color: var(--text-2); letter-spacing: 0; line-height: 1.6; }
.evidence { display: grid; gap: 8px; justify-items: start; }
.ev { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border-radius: 10px; font-size: 13.5px; color: var(--main); background: rgba(98,208,162,.07); box-shadow: inset 0 0 0 1px rgba(98,208,162,.18); }
.ev svg { width: 14px; height: 14px; flex: none; }
.ai-note { margin-top: 22px; display: flex; gap: 12px; align-items: center; color: var(--text-2); font-size: 14.5px; }
.ai-note .tag { flex: none; }

/* ───────────── Safety ───────────── */
.safety { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.safety .sticky { position: sticky; top: 120px; }
.rules { display: grid; gap: 0; border-top: 1px solid var(--line); }
.rule { display: grid; grid-template-columns: 36px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.rule .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); }
.rule .ic svg { width: 17px; height: 17px; }
.rule h3 { font-size: 17px; letter-spacing: -.01em; }
.rule p { margin: 6px 0 0; color: var(--text-2); font-size: 14.5px; }
code, .code { font-family: var(--mono); font-size: .86em; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.05); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }

/* ───────────── Bento ───────────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { grid-column: span 2; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); padding: 26px; overflow: hidden; position: relative; min-height: 240px; display: flex; flex-direction: column; }
.tile.w3 { grid-column: span 3; } .tile.w4 { grid-column: span 4; } .tile.w6 { grid-column: span 6; }
.tile h3 { font-size: 18px; letter-spacing: -.015em; }
.tile p { margin: 8px 0 0; color: var(--text-2); font-size: 14.5px; max-width: 440px; }
.tile .art { margin-top: auto; padding-top: 22px; }
.menubar { display: flex; justify-content: flex-end; align-items: center; gap: 14px; padding: 7px 14px; border-radius: 10px; background: rgba(255,255,255,.04); font-size: 12.5px; color: var(--text-2); font-family: var(--mono); }
.menubar .mb-o { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.08); color: var(--text); }
.menubar .mb-o img { width: 14px; height: 14px; border-radius: 3px; }
.mini-pop { margin: 10px 0 0 auto; width: min(300px, 100%); border-radius: 12px; background: #141b18; box-shadow: 0 0 0 1px var(--line-2), 0 20px 40px -10px rgba(0,0,0,.6); padding: 10px; }
.mini-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 8px; font-size: 12px; border-radius: 8px; }
.mini-row + .mini-row { border-top: 1px solid var(--line); }
.mini-row .br { font-family: var(--mono); }
.cmds { font-family: var(--mono); font-size: 12px; line-height: 1.9; color: var(--text-2); background: #0d1210; border-radius: 12px; padding: 14px 16px; box-shadow: inset 0 0 0 1px var(--line); white-space: pre; overflow: hidden; }
.cmds .p { color: var(--text-3); }
.space-bar { height: 10px; border-radius: 99px; background: var(--line); display: flex; overflow: hidden; }
.space-bar i { display: block; height: 100%; }
.space-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 12.5px; color: var(--text-3); }
.space-legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; background: var(--c); }
.kbar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #0d1210; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; color: var(--text-2); }
.kbar kbd, kbd { font-family: var(--mono); font-size: 11px; padding: 2px 6px; border-radius: 5px; background: rgba(255,255,255,.06); box-shadow: inset 0 -1px 0 rgba(255,255,255,.04), inset 0 0 0 1px var(--line-2); color: var(--text-2); }
.caret { display: inline-block; width: 1.5px; height: 16px; background: var(--main); animation: blink 1.1s steps(1) infinite; vertical-align: middle; }
@keyframes blink { 50% { opacity: 0; } }

/* ───────────── Pricing ───────────── */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin-inline: auto; }
.plan { border-radius: 22px; padding: 34px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; position: relative; }
.plan.pro { background: radial-gradient(120% 80% at 100% 0%, rgba(98,208,162,.12), transparent 55%), linear-gradient(180deg, #18221e, #141b18); box-shadow: inset 0 0 0 1px rgba(98,208,162,.35), 0 30px 80px -40px rgba(98,208,162,.35); }
.plan .name { font-size: 15px; color: var(--text-2); display: flex; align-items: center; justify-content: space-between; }
.plan .price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 6px; }
.plan .price b { font-family: var(--sans); font-size: 56px; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.plan .price span { color: var(--text-3); font-size: 15px; }
.plan .desc { color: var(--text-2); font-size: 15px; margin: 0 0 26px; min-height: 50px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; font-size: 15px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; }
.plan li svg { width: 16px; height: 16px; margin-top: 4px; color: var(--main); }
.plan li.dim { color: var(--text-3); } .plan li.dim svg { color: var(--text-3); }
.plan .btn { margin-top: auto; width: 100%; }
.plan .fine { text-align: center; color: var(--text-3); font-size: 13px; margin-top: 14px; }
.ribbon { font-family: var(--mono); font-size: 11px; letter-spacing: .03em; color: var(--main); background: rgba(98,208,162,.12); padding: 4px 10px; border-radius: 999px; }

/* ───────────── FAQ ───────────── */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 2px; font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(var(--text-3), var(--text-3)) center/12px 1.5px no-repeat, linear-gradient(var(--text-3), var(--text-3)) center/1.5px 12px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 40px 26px 2px; color: var(--text-2); font-size: 15.5px; }
.faq .ans p { margin: 0 0 10px; }

/* ───────────── Final CTA ───────────── */
.final { text-align: center; padding: clamp(110px, 14vw, 180px) 0; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 50% at 50% 60%, rgba(98,208,162,.12), transparent 70%); }
.final .icon { width: 104px; height: 104px; margin: 0 auto 36px; border-radius: 24px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px -10px rgba(98,208,162,.4); }
.final h2 { max-width: 820px; margin: 0 auto; }
.final .lead { margin: 22px auto 0; }

/* ───────────── Footer ───────────── */
.foot { border-top: 1px solid var(--line); padding: 56px 0 64px; font-size: 14px; color: var(--text-3); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.foot h4 { font-size: 13px; font-weight: 500; color: var(--text-2); margin-bottom: 14px; letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a:hover { color: var(--text); }
.foot .brand { color: var(--text); margin-bottom: 14px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; flex-wrap: wrap; }

/* ───────────── Subpages ───────────── */
.page-hero { padding: clamp(64px, 9vw, 112px) 0 clamp(40px, 5vw, 64px); text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -30% 0 auto; height: 640px; z-index: -1; background: radial-gradient(40% 45% at 50% 40%, rgba(98,208,162,.12), transparent 70%); }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -.04em; line-height: 1.08; margin-top: 22px; }
.page-hero .lead { margin: 20px auto 0; }
.dl-card { max-width: 760px; margin: 0 auto; border-radius: 24px; padding: 40px; background: linear-gradient(180deg, #17201c, #121815); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 100px -40px rgba(0,0,0,.8); display: grid; grid-template-columns: 112px 1fr; gap: 32px; align-items: center; }
.dl-card .icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 20px 50px -10px rgba(98,208,162,.35); }
.dl-card h2 { font-size: 26px; letter-spacing: -.025em; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 22px; font-size: 13.5px; color: var(--text-3); font-family: var(--mono); }
.dl-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.install { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.istep { border-radius: 18px; padding: 26px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.istep .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 12.5px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); }
.istep h3 { font-size: 17px; margin: 22px 0 8px; letter-spacing: -.01em; }
.istep p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.istep .art { margin-top: 20px; }
.drag { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-radius: 12px; background: #0d1210; box-shadow: inset 0 0 0 1px var(--line); }
.drag img { width: 40px; height: 40px; border-radius: 10px; }
.drag .arrow { flex: 1; height: 1px; margin: 0 12px; background: repeating-linear-gradient(90deg, var(--text-3) 0 4px, transparent 4px 8px); position: relative; }
.drag .folder { width: 40px; height: 34px; border-radius: 6px; background: linear-gradient(180deg, #4a8cd8, #2f6fc0); position: relative; }
.drag .folder::before { content: ""; position: absolute; top: -5px; left: 0; width: 16px; height: 8px; border-radius: 3px 3px 0 0; background: #3a7ccc; }
.req { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.req-card { border-radius: 18px; padding: 26px 28px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.req-card h3 { font-size: 16px; margin-bottom: 14px; }
.req-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14.5px; color: var(--text-2); }
.req-list li { display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.req-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.req-list b { font-weight: 500; color: var(--text); text-align: right; }
.codeblock { position: relative; margin-top: 14px; border-radius: 12px; background: #0d1210; box-shadow: inset 0 0 0 1px var(--line); padding: 14px 16px; font-family: var(--mono); font-size: 12.5px; color: var(--text-2); overflow-x: auto; white-space: pre; }
.copy { position: absolute; top: 8px; right: 8px; font-family: var(--sans); font-size: 12px; padding: 4px 10px; border-radius: 7px; border: 0; background: rgba(255,255,255,.06); color: var(--text-2); cursor: pointer; }
.copy:hover { color: var(--text); background: rgba(255,255,255,.1); }
.note { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.02); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--text-2); }
.note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--text-3); }

.buy-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: start; }
.buy-card { border-radius: 24px; padding: 36px; position: sticky; top: 100px; background: radial-gradient(120% 70% at 100% 0%, rgba(98,208,162,.13), transparent 55%), linear-gradient(180deg, #18221e, #131a17); box-shadow: inset 0 0 0 1px rgba(98,208,162,.32), 0 40px 100px -50px rgba(98,208,162,.45); }
.buy-card .price { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 4px; }
.buy-card .price b { font-size: 72px; font-weight: 600; letter-spacing: -.055em; line-height: 1; }
.buy-card .price span { color: var(--text-3); }
.buy-card ul { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 13px; font-size: 15.5px; }
.buy-card li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; }
.buy-card li svg { width: 16px; height: 16px; margin-top: 5px; color: var(--main); }
.buy-card .btn { width: 100%; }
.pay-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: 12.5px; color: var(--text-3); }
.pay-row span { display: inline-flex; align-items: center; gap: 6px; }
.pay-row svg { width: 13px; height: 13px; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare th { font-weight: 500; color: var(--text-3); font-size: 13px; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 120px; }
.compare td:first-child { color: var(--text-2); }
.compare .y { color: var(--main); } .compare .n { color: var(--text-3); }
.compare tr.hl td { color: var(--text); font-weight: 500; }
.flow { display: grid; gap: 0; }
.flow-step { display: grid; grid-template-columns: 32px 1fr; gap: 18px; position: relative; padding-bottom: 28px; }
.flow-step:not(:last-child)::before { content: ""; position: absolute; left: 15.5px; top: 34px; bottom: 4px; width: 1px; background: var(--line-2); }
.flow-step .n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 12.5px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); }
.flow-step h3 { font-size: 16.5px; margin-top: 4px; letter-spacing: -.01em; }
.flow-step p { margin: 5px 0 0; font-size: 14.5px; color: var(--text-2); }
.keybox { display: inline-flex; margin-top: 10px; font-family: var(--mono); font-size: 13px; padding: 7px 12px; border-radius: 9px; background: #0d1210; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); letter-spacing: .04em; }

.prose { max-width: 720px; margin: 0 auto; color: var(--text-2); font-size: 16px; }
.prose h2 { color: var(--text); font-size: 22px; margin: 48px 0 12px; letter-spacing: -.02em; }
.prose p, .prose li { line-height: 1.8; }
.prose ul { padding-left: 1.2em; }
.prose strong { color: var(--text); font-weight: 500; }
.prose a { color: var(--text); border-bottom: 1px solid var(--line-2); }
.prose .updated { font-family: var(--mono); font-size: 13px; color: var(--text-3); }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 12px; background: #1c2521; box-shadow: 0 0 0 1px var(--line-2), 0 20px 50px -10px rgba(0,0,0,.6); font-size: 14px; transition: opacity .3s, transform .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ───────────── Reveal ───────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.load { animation: rise 1s var(--ease) both; }
.load.d1 { animation-delay: .08s; } .load.d2 { animation-delay: .16s; } .load.d3 { animation-delay: .26s; } .load.d4 { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* ───────────── Responsive ───────────── */
@media (max-width: 1080px) {
  .explain, .safety, .buy-grid { grid-template-columns: 1fr; gap: 40px; }
  .safety .sticky, .buy-card { position: static; }
  .layer { grid-template-columns: 48px 1fr; }
  .layer .evidence { grid-column: 2; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .versus, .three, .plans, .install, .req { grid-template-columns: 1fr; }
  .six { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile, .tile.w3, .tile.w4, .tile.w6 { grid-column: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .dl-card { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 32px 24px; }
  .dl-actions { justify-content: center; }
  .dl-meta { justify-content: center; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .six { grid-template-columns: 1fr; }
  .nav-cta .link { display: none; }
  .hero-ctas .btn { width: 100%; }
  .compare td:not(:first-child), .compare th:not(:first-child) { width: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .shot { opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  .pill { padding: 6px 14px; font-size: 12.5px; }
  .pill b { display: none; }
}
.buy-grid > * { min-width: 0; }
@media (max-width: 1080px) {
  .buy-grid { grid-template-columns: minmax(0, 1fr); }
  .buy-card { order: -1; }
}
@media (max-width: 560px) {
  .compare { font-size: 14px; }
  .compare td:not(:first-child), .compare th:not(:first-child) { width: 56px; }
  .buy-card, .plan, .dl-card { padding: 26px 22px; }
  .buy-card .price b { font-size: 56px; }
}
.req > *, .install > *, .versus > *, .three > * { min-width: 0; }

/* ───────────── Real screenshots ───────────── */
.shot {
  position: relative; margin: 0; border-radius: 14px; overflow: hidden;
  background: var(--bg-window);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 1px 0 0 rgba(255,255,255,.06) inset, 0 50px 120px -30px rgba(0,0,0,.85), 0 30px 60px -40px rgba(98,208,162,.22);
}
.shot img { display: block; width: 100%; height: auto; opacity: 0; transition: opacity .8s var(--ease); }
.shot.ready img { opacity: 1; }
.shot::before { /* window controls: the app draws a transparent title bar over its sidebar */
  content: ""; position: absolute; top: 1.6%; left: 1.4%; width: 11px; height: 11px; border-radius: 50%;
  background: #ff5f57; box-shadow: 18px 0 0 #febc2e, 36px 0 0 #28c840; z-index: 1;
}
.shot.popup { border-radius: 12px; max-width: 360px; }
.shot.popup::before { display: none; }
.hero-shot { margin: clamp(56px, 7vw, 88px) auto 0; max-width: 1180px; position: relative; text-align: left;
  transform: rotateX(7deg) translateY(28px) scale(.975); transform-origin: 50% 0; opacity: 0;
  transition: transform 1.4s var(--ease), opacity 1.1s var(--ease); }
.hero-shot.in { transform: none; opacity: 1; }
.hero-stage { perspective: 2400px; position: relative; }
.hero-stage::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -60px; height: 160px; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(98, 208, 162, .16), transparent 70%); filter: blur(20px); }
.callouts { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; margin-top: 26px; font-size: 13.5px; color: var(--text-3); }
.callouts span { display: inline-flex; align-items: center; gap: 8px; }
.callouts i { width: 8px; height: 8px; border-radius: 50%; background: var(--main); }
.callouts i.r { background: var(--risk); } .callouts i.a { background: var(--agent); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.flip > :first-child { order: 2; }
.split .lead { margin-top: 18px; }
.points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.points li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.points li b { color: var(--text); font-weight: 500; }
.points svg { width: 16px; height: 16px; margin-top: 4px; color: var(--main); }
.shot-cap { margin-top: 14px; font-size: 13px; color: var(--text-3); text-align: center; }

/* ───────────── Language ───────────── */
.lang-switch { font-size: 13px; color: var(--text-3); padding: 6px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); transition: color .2s, box-shadow .2s; }
.lang-switch:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.lang-hint { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; border-radius: 12px;
  background: rgba(22, 29, 26, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px var(--line-2), 0 18px 50px rgba(0,0,0,.5); font-size: 14px; color: var(--text-2); }
.lang-hint a { color: var(--main); }
.lang-hint button { background: none; border: 0; color: var(--text-3); font-size: 18px; line-height: 1; padding: 4px 8px; cursor: pointer; }

@media (max-width: 1080px) {
  .split, .split.flip { grid-template-columns: minmax(0, 1fr); }
  .split.flip > :first-child { order: 0; }
}
@media (max-width: 560px) {
  .lang-switch { padding: 6px 8px; }
  .shot::before { width: 7px; height: 7px; box-shadow: 12px 0 0 #febc2e, 24px 0 0 #28c840; }
}
.lang-switch { white-space: nowrap; flex: none; }
@media (max-width: 560px) {
  .nav-inner { gap: 12px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn-sm { padding-inline: 12px; white-space: nowrap; }
}
@media (max-width: 380px) { .brand { font-size: 0; gap: 0; } }
