/* Nerva Input — landing page. Dark-first, restrained, developer-tool grade. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

.np[data-theme="dark"] {
  --bg: #0a0a0c;
  --bg-1: #101012;
  --bg-2: #161619;
  --bg-3: #1c1c20;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.13);
  --t1: rgba(255,255,255,.96);
  --t2: rgba(255,255,255,.60);
  --t3: rgba(255,255,255,.40);
  --t4: rgba(255,255,255,.24);
  --accent: #ededf0;
  --accent-on: #0a0a0c;
  --accent-soft: rgba(237,237,240,.12);
  --good: #30d158;
  --glow: radial-gradient(60% 50% at 78% -5%, rgba(120,120,140,.18) 0%, transparent 60%);
  --card-shadow: 0 24px 60px -20px rgba(0,0,0,.7), 0 2px 8px rgba(0,0,0,.4);
  --shot-bg: radial-gradient(120% 90% at 80% 0%, #2a2733 0%, transparent 50%), radial-gradient(120% 120% at 10% 100%, #1a1a22 0%, transparent 55%), #0e0e12;
}
.np[data-theme="light"] {
  --bg: #f6f6f8;
  --bg-1: #eeeef1;
  --bg-2: #ffffff;
  --bg-3: #f3f3f6;
  --line: rgba(0,0,0,.09);
  --line-2: rgba(0,0,0,.14);
  --t1: rgba(0,0,0,.90);
  --t2: rgba(0,0,0,.56);
  --t3: rgba(0,0,0,.38);
  --t4: rgba(0,0,0,.20);
  --accent: #161618;
  --accent-on: #ffffff;
  --accent-soft: rgba(22,22,24,.08);
  --good: #28b14c;
  --glow: radial-gradient(60% 50% at 78% -5%, rgba(150,150,170,.22) 0%, transparent 60%);
  --card-shadow: 0 22px 54px -22px rgba(30,30,45,.34), 0 2px 8px rgba(0,0,0,.10);
  --shot-bg: radial-gradient(120% 90% at 80% 0%, #dfe0ea 0%, transparent 50%), radial-gradient(120% 120% at 10% 100%, #e7e7ee 0%, transparent 55%), #eef0f4;
}

.np {
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "PingFang SC", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Monaco, monospace;
  background: var(--bg);
  color: var(--t1);
  font-family: var(--ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.cn { font-family: var(--ui); }
.mono { font-family: var(--mono); }

/* ---------------- NAV ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border-bottom: .5px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 14px; height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; }
.brand .glyph {
  width: 26px; height: 26px; border-radius: 7px; background: var(--accent); color: var(--accent-on);
  display: grid; place-items: center; font-family: var(--mono); font-weight: 800; font-size: 15px;
}
.brand .sub { color: var(--t3); font-weight: 450; font-size: 13px; }
.nav-links { display: flex; gap: 4px; margin-left: 22px; }
.nav-links a { color: var(--t2); font-size: 13.5px; text-decoration: none; padding: 7px 11px; border-radius: 7px; }
.nav-links a:hover { color: var(--t1); background: var(--bg-2); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.theme-btn {
  width: 32px; height: 32px; border-radius: 8px; border: .5px solid var(--line-2);
  background: var(--bg-2); color: var(--t2); cursor: pointer; font-size: 14px;
  display: grid; place-items: center;
}
.theme-btn:hover { color: var(--t1); }
.icon-btn {
  width: 32px; height: 32px; border-radius: 8px; border: .5px solid var(--line-2);
  background: var(--bg-2); color: var(--t2); cursor: pointer; text-decoration: none;
  display: grid; place-items: center;
}
.icon-btn:hover { color: var(--t1); border-color: var(--t3); }

/* community & support */
.scards { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; margin-top: 48px; align-items: stretch; }
.scard {
  background: var(--bg-2); border: .5px solid var(--line); border-radius: 14px; padding: 24px;
  display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: inherit;
}
a.scard { transition: border-color .14s, transform .14s; }
a.scard:hover { border-color: var(--t3); transform: translateY(-2px); }
.scard .sc-ic {
  width: 46px; height: 46px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: var(--accent-soft); border: .5px solid var(--line-2); color: var(--t1);
}
.scard .sc-body { display: flex; flex-direction: column; gap: 6px; }
.scard .sc-t { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.scard .sc-d { font-size: 12.5px; line-height: 1.55; color: var(--t2); text-wrap: pretty; }
.scard .sc-link { margin-top: auto; font-family: var(--mono); font-size: 11.5px; color: var(--t3); }
a.scard:hover .sc-link { color: var(--t1); }
.scard.qr { align-items: center; text-align: center; }
.scard.qr .sc-body { align-items: center; }
.qr-frame {
  width: 152px; height: 152px; border-radius: 12px; padding: 8px; flex: none;
  background: #ffffff; border: .5px solid var(--line-2);
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.5);
}
.qr-slot { width: 100%; height: 100%; display: block; object-fit: contain; border-radius: 8px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: var(--ui); font-size: 13.5px; font-weight: 550;
  height: 36px; padding: 0 16px; border-radius: 9px; border: .5px solid transparent;
  text-decoration: none; white-space: nowrap; transition: filter .12s, background .12s, border-color .12s;
}
.btn.primary { background: var(--accent); color: var(--accent-on); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { background: var(--bg-2); color: var(--t1); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--t3); }
.btn .kbd { margin-left: 2px; }
.btn.lg { height: 44px; padding: 0 22px; font-size: 15px; border-radius: 11px; }

.kbd {
  font-family: var(--mono); font-size: 11px; font-weight: 600; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 17px; height: 18px; padding: 0 5px;
  background: var(--accent-soft); color: var(--t2);
  border: .5px solid var(--line-2); border-radius: 5px;
}
.btn.primary .kbd { background: rgba(0,0,0,.14); color: var(--accent-on); border-color: rgba(0,0,0,.18); }
.np[data-theme="light"] .btn.primary .kbd { background: rgba(255,255,255,.2); color: var(--accent-on); border-color: rgba(255,255,255,.3); }

/* ---------------- HERO ---------------- */
.hero { position: relative; padding: 84px 0 36px; background: var(--glow); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; white-space: nowrap;
  font-size: 12px; color: var(--t2); font-weight: 500;
  padding: 5px 11px 5px 9px; border: .5px solid var(--line-2); border-radius: 999px; background: var(--bg-1);
}
.eyebrow .d { width: 6px; height: 6px; border-radius: 50%; background: var(--good); box-shadow: 0 0 7px var(--good); }
.hero h1 {
  font-size: clamp(38px, 6vw, 72px); line-height: 1.02; letter-spacing: -.035em;
  font-weight: 600; margin: 0 0 22px; max-width: 14ch; text-wrap: balance;
}
.hero h1 .accent-cn { color: var(--t1); }
.hero h1 em { font-style: normal; color: var(--t3); }
.hero .lede { font-size: clamp(16px, 2.1vw, 19px); line-height: 1.55; color: var(--t2); max-width: 56ch; margin: 0 0 30px; text-wrap: pretty; }
.hero .lede b { color: var(--t1); font-weight: 600; }
.hero .lede code { font-family: var(--mono); font-size: .9em; background: var(--bg-2); padding: 2px 6px; border-radius: 5px; border: .5px solid var(--line); }
.hero-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 12.5px; color: var(--t3); display: flex; gap: 16px; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .c { width: 4px; height: 4px; border-radius: 50%; background: var(--t4); }

/* ---------------- PRODUCT SHOT ---------------- */
.shot-stage { margin-top: 56px; }
.shot {
  position: relative; border-radius: 18px; overflow: hidden;
  border: .5px solid var(--line-2); box-shadow: var(--card-shadow);
  background: var(--shot-bg); padding: 0;
}
.shot-bar {
  height: 30px; display: flex; align-items: center; gap: 14px; padding: 0 14px;
  background: color-mix(in oklab, #000 22%, transparent); border-bottom: .5px solid var(--line);
}
.np[data-theme="light"] .shot-bar { background: rgba(255,255,255,.4); }
.shot-bar .tl { display: flex; gap: 7px; }
.shot-bar .tl i { width: 11px; height: 11px; border-radius: 50%; }
.shot-bar .tl i:nth-child(1){ background:#ff5f57 } .shot-bar .tl i:nth-child(2){ background:#febc2e } .shot-bar .tl i:nth-child(3){ background:#28c840 }
.shot-bar .app { font-size: 12px; color: var(--t3); }
.shot-bar .badge { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--t3); display: inline-flex; align-items: center; gap: 6px; }
.shot-bar .badge .d { width: 6px; height: 6px; border-radius: 50%; background: var(--good); box-shadow: 0 0 6px var(--good); }
.shot-body { position: relative; min-height: 360px; padding: 22px; display: flex; justify-content: center; align-items: flex-start; }

/* faux chat behind */
.shot-ghost { position: absolute; inset: 0; padding: 26px 30px; display: flex; flex-direction: column; gap: 10px; opacity: .5; filter: blur(.5px); pointer-events: none; }
.shot-ghost .gm { max-width: 60%; padding: 8px 13px; border-radius: 14px; font-size: 13px; background: var(--bg-3); color: var(--t2); }
.shot-ghost .gm.out { align-self: flex-end; background: var(--accent-soft); }
.shot-ghost .gfield { margin-top: auto; height: 34px; border-radius: 17px; border: .5px solid var(--line-2); background: var(--bg-2); }

/* the real panel */
.panel {
  position: relative; z-index: 2; width: 560px; max-width: 100%;
  border-radius: 14px; overflow: hidden;
  background: color-mix(in oklab, var(--bg-2) 88%, transparent);
  backdrop-filter: blur(40px) saturate(180%); -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: .5px solid var(--line-2);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.6), inset 0 .5px 0 rgba(255,255,255,.08);
}
.np[data-theme="light"] .panel { background: rgba(252,252,254,.9); }
.panel-head { display: flex; align-items: flex-start; gap: 11px; padding: 12px 15px; border-bottom: .5px solid var(--line); }
.panel-head .glyph-bars { display: flex; align-items: flex-end; gap: 2.5px; height: 14px; margin-top: 2px; }
.panel-head .glyph-bars i { width: 2.5px; border-radius: 2px; background: var(--accent); }
.panel-head .glyph-bars i:nth-child(1){height:5px} .panel-head .glyph-bars i:nth-child(2){height:12px} .panel-head .glyph-bars i:nth-child(3){height:8px} .panel-head .glyph-bars i:nth-child(4){height:13px}
.raw { font-family: var(--mono); font-size: 12.5px; line-height: 1.55; color: var(--t2); flex: 1; min-width: 0; word-break: break-word; letter-spacing: .2px; }
.raw .py { color: var(--t1); }
.raw .en { color: var(--t1); border-bottom: 1px solid var(--t4); padding-bottom: 1px; }
.raw .sp { color: var(--t4); padding: 0 2px; }
.panel-head .eng { flex: none; font-size: 11px; color: var(--t3); display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; }
.panel-head .eng .d { width: 6px; height: 6px; border-radius: 50%; background: var(--good); box-shadow: 0 0 6px var(--good); }

.grp { padding: 7px; }
.grp + .grp { border-top: .5px solid var(--line); }
.grp-head { display: flex; align-items: center; gap: 8px; padding: 5px 8px 7px; }
.grp-head .t { font-size: 10.5px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; color: var(--t3); }
.grp-head .tag { font-size: 10px; color: var(--t4); }
.grp-head .pill { margin-left: auto; font-size: 10px; color: var(--t3); display: inline-flex; align-items: center; gap: 5px; }
.grp.active .grp-head .t { color: var(--t1); }
.grp.active .grp-head .pill { color: var(--accent); }
.grp.active .grp-head .pill .i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.cand { display: flex; align-items: flex-start; gap: 11px; padding: 9px 10px; border-radius: 8px; position: relative; }
.cand .num { flex: none; width: 19px; height: 19px; border-radius: 6px; display: grid; place-items: center; margin-top: 1px; font-family: var(--mono); font-size: 11px; font-weight: 700; background: var(--accent-soft); color: var(--t2); border: .5px solid var(--line-2); }
.cand .txt { font-size: 14px; line-height: 1.5; color: var(--t1); word-break: break-word; overflow-wrap: anywhere; text-wrap: pretty; }
.cand .txt .en { font-family: var(--mono); font-size: 12.5px; color: var(--t2); }
.cand .meta { margin-left: auto; flex: none; align-self: center; font-size: 11px; color: var(--t4); font-variant-numeric: tabular-nums; }
.cand.sel { background: var(--accent-soft); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 45%, transparent); }
.cand.sel .num { background: var(--accent); color: var(--accent-on); border-color: transparent; }
.cand.primary .txt { font-weight: 550; }
.cand.primary::after { content: "首选"; position: absolute; right: 11px; top: 50%; transform: translateY(-50%); font-size: 10px; color: var(--accent); letter-spacing: .5px; }
.cand.primary .meta { display: none; }

.panel-hints { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; padding: 9px 14px; border-top: .5px solid var(--line); background: color-mix(in oklab, #000 14%, transparent); }
.np[data-theme="light"] .panel-hints { background: rgba(0,0,0,.03); }
.hint { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--t3); }
.hint b { color: var(--t2); font-weight: 500; }
.hint .keys { display: inline-flex; gap: 3px; }
.hint-sep { width: .5px; height: 12px; background: var(--line-2); }

/* floating collapsed bar above the shot */
.float-bar {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%); z-index: 5;
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px 0 13px;
  border-radius: 999px; background: color-mix(in oklab, var(--bg-2) 82%, transparent);
  backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: .5px solid var(--line-2); box-shadow: 0 14px 36px -10px rgba(0,0,0,.6);
}
.float-bar .glyph-bars { display: flex; align-items: flex-end; gap: 2.5px; height: 15px; }
.float-bar .glyph-bars i { width: 2.5px; border-radius: 2px; background: var(--accent); animation: barsanim 1.05s ease-in-out infinite; }
.float-bar .glyph-bars i:nth-child(1){height:6px;animation-delay:0s} .float-bar .glyph-bars i:nth-child(2){height:13px;animation-delay:.14s} .float-bar .glyph-bars i:nth-child(3){height:9px;animation-delay:.28s} .float-bar .glyph-bars i:nth-child(4){height:15px;animation-delay:.42s}
@keyframes barsanim { 0%,100%{transform:scaleY(.45);opacity:.55} 50%{transform:scaleY(1);opacity:1} }
.float-bar .lbl { font-family: var(--mono); font-size: 12px; color: var(--t2); }
.float-bar .lbl .cur { display: inline-block; width: 1.5px; height: 13px; background: var(--accent); vertical-align: -2px; margin-left: 1px; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 0%,50%{opacity:1} 51%,100%{opacity:0} }
.float-bar .len { font-family: var(--mono); font-size: 11px; color: var(--t4); }

/* ---------------- SECTIONS ---------------- */
section { position: relative; }
.sec { padding: 88px 0; border-top: .5px solid var(--line); }
.sec-1 { background: var(--bg-1); }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--t3); text-transform: uppercase; margin: 0 0 14px; }
.h2 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.08; letter-spacing: -.025em; font-weight: 600; margin: 0 0 16px; max-width: 18ch; text-wrap: balance; }
.sub { font-size: 16.5px; line-height: 1.6; color: var(--t2); max-width: 60ch; margin: 0; text-wrap: pretty; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.step { background: var(--bg-2); border: .5px solid var(--line); border-radius: 14px; padding: 22px; }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--t3); margin-bottom: 16px; }
.step h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 7px; }
.step p { font-size: 13.5px; line-height: 1.55; color: var(--t2); margin: 0 0 16px; }
.step .demo { border-top: .5px solid var(--line); padding-top: 14px; font-family: var(--mono); font-size: 12.5px; color: var(--t2); line-height: 1.5; min-height: 44px; }
.step .demo .dim { color: var(--t4); }
.step .demo .en { color: var(--t1); }
.step .demo .cur { display: inline-block; width: 1.5px; height: 13px; background: var(--accent); vertical-align: -2px; animation: blink 1.05s steps(1) infinite; }

/* decode vs rewrite */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; }
.col { background: var(--bg-2); border: .5px solid var(--line); border-radius: 14px; padding: 24px; }
.col .ctag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--t3); margin-bottom: 14px; }
.col .ctag .sq { width: 14px; height: 14px; border-radius: 4px; background: var(--accent-soft); border: .5px solid var(--line-2); }
.col h3 { font-size: 19px; font-weight: 600; letter-spacing: -.015em; margin: 0 0 8px; }
.col p { font-size: 14px; line-height: 1.6; color: var(--t2); margin: 0 0 20px; }
.ex { display: flex; flex-direction: column; gap: 8px; }
.ex .row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 9px; background: var(--bg-3); border: .5px solid var(--line); }
.ex .row.lead { background: var(--accent-soft); border-color: color-mix(in oklab, var(--accent) 30%, transparent); }
.ex .row .k { flex: none; width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; font-family: var(--mono); font-size: 10.5px; font-weight: 700; color: var(--t3); background: var(--bg-2); border: .5px solid var(--line-2); margin-top: 1px; }
.ex .row.lead .k { background: var(--accent); color: var(--accent-on); border-color: transparent; }
.ex .row .v { font-size: 13.5px; line-height: 1.5; color: var(--t1); }
.ex .row .v .en { font-family: var(--mono); font-size: 12px; color: var(--t2); }

/* features grid */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; background: var(--line); border: .5px solid var(--line); border-radius: 14px; overflow: hidden; }
.fcell { background: var(--bg-2); padding: 26px 24px; }
.fcell .fi { width: 30px; height: 30px; border-radius: 8px; background: var(--accent-soft); border: .5px solid var(--line-2); display: grid; place-items: center; font-size: 15px; margin-bottom: 16px; color: var(--t1); }
.fcell .fi.cjk { font-size: 15px; font-weight: 600; }
.ic { width: 17px; height: 17px; display: block; color: var(--t1); }
.erow .ei .ic { color: var(--t2); }
.fcell h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 7px; }
.fcell p { font-size: 13px; line-height: 1.55; color: var(--t2); margin: 0; }

/* engines */
.engines { margin-top: 44px; border: .5px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.erow { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.erow + .erow { border-top: .5px solid var(--line); }
.erow .ei { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center; font-size: 16px; background: var(--bg-3); border: .5px solid var(--line); }
.erow .en-name { font-size: 14.5px; font-weight: 550; }
.erow .en-meta { font-size: 12px; color: var(--t3); margin-top: 2px; font-family: var(--mono); }
.erow .en-state { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--t2); }
.erow .en-state .d { width: 7px; height: 7px; border-radius: 50%; }
.d.up { background: var(--good); box-shadow: 0 0 6px var(--good); } .d.idle { background: var(--t4); } .d.warn { background: #ffd60a; }

/* keyboard band */
.kbgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; margin-top: 40px; max-width: 720px; }
.kbrow { display: flex; align-items: center; gap: 12px; padding: 13px 4px; border-bottom: .5px solid var(--line); }
.kbrow .keys { display: inline-flex; gap: 4px; flex: none; min-width: 96px; }
.kbrow .desc { font-size: 14px; color: var(--t2); }
.kbrow .desc b { color: var(--t1); font-weight: 550; }

/* trust / permission */
.trust { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; margin-top: 44px; }
.permcard { background: var(--bg-2); border: .5px solid var(--line); border-radius: 14px; overflow: hidden; }
.permcard .ph { display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.permcard .ph .pic { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center; font-size: 16px; background: var(--accent-soft); border: .5px solid var(--line-2); }
.permcard .ph .pt { font-size: 14px; font-weight: 600; }
.permcard .ph .pd { font-size: 11.5px; color: var(--t3); margin-top: 2px; }
.permcard .ph .pbadge { margin-left: auto; flex: none; font-size: 11.5px; font-weight: 600; color: var(--good); background: color-mix(in oklab, var(--good) 16%, transparent); padding: 4px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.permcard .ph .pbadge .pd2 { width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
.permcard .why { border-top: .5px solid var(--line); padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; }
.permcard .why .wr { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--t2); line-height: 1.45; }
.permcard .why .wr .wn { flex: none; font-family: var(--mono); font-size: 11px; color: var(--t4); margin-top: 1px; }

/* download CTA */
.cta-actions { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta { padding: 96px 0; text-align: center; background: var(--glow); border-top: .5px solid var(--line); }
.cta h2 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; margin: 0 0 18px; text-wrap: balance; }
.cta p { font-size: 17px; color: var(--t2); margin: 0 auto 32px; max-width: 48ch; line-height: 1.55; }
.cta .req { margin-top: 22px; font-size: 12.5px; color: var(--t3); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.cta .req span, .cta .req a { display: inline-flex; align-items: center; gap: 7px; }
.cta .req a { color: var(--t3); text-decoration: none; border-bottom: .5px solid var(--line-2); }
.cta .req a:hover { color: var(--t1); border-color: var(--t3); }
.cta .req .c { width: 4px; height: 4px; border-radius: 50%; background: var(--t4); }

/* footer */
.footer { border-top: .5px solid var(--line); padding: 36px 0 48px; }
.footer-in { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer .brand { font-size: 14px; }
.footer .fl { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.footer .fl a { color: var(--t3); font-size: 13px; text-decoration: none; }
.footer .fl a:hover { color: var(--t1); }
.footer .cr { color: var(--t4); font-size: 12px; width: 100%; margin-top: 8px; }

/* reveal on scroll — default visible; hidden-start only when JS active + motion allowed */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .np.anim .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
  .np.anim .reveal.in { opacity: 1; transform: none; }
}

/* responsive */
@media (max-width: 860px) {
  .steps, .feat { grid-template-columns: 1fr; }
  .scards { grid-template-columns: 1fr; }
  .split, .trust { grid-template-columns: 1fr; }
  .kbgrid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .feat { background: transparent; gap: 14px; border: none; }
  .fcell { border: .5px solid var(--line); border-radius: 14px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 56px 0 24px; }
  .panel { width: 100%; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn.lg { justify-content: center; }
}
