/* ==========================================================
   实用星球 · papastar.cn — Visual v3 shared tokens & components
   Direction: cool-white tech product, single teal accent
   ========================================================== */

:root {
  /* Core palette (OKLch; teal ≈ #0D7377) */
  --bg:        oklch(0.981 0.003 255);   /* #F7F8FA */
  --surface:   oklch(1 0 0);             /* #FFFFFF */
  --fg:        oklch(0.215 0.012 255);   /* ink */
  --fg-2:      oklch(0.38 0.012 255);
  --muted:     oklch(0.54 0.01 255);
  --border:    oklch(0.915 0.004 255);
  --border-2:  oklch(0.87 0.006 255);
  --accent:    #0D7377;    /* #0D7377 */
  --accent-hi: oklch(0.42 0.08 195);     /* hover (darker) */
  --accent-tint:  oklch(0.965 0.018 195);
  --accent-tint-2:oklch(0.93 0.03 195);
  --ok:        oklch(0.55 0.09 165);
  --warn:      oklch(0.62 0.11 70);

  /* Type */
  --font-display: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Noto Sans SC", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --fs-hero: clamp(44px, 7.2vw, 104px);
  --fs-h2:   clamp(28px, 3.6vw, 48px);
  --fs-h3:   clamp(19px, 1.6vw, 22px);
  --fs-lead: clamp(16px, 1.35vw, 19px);
  --fs-body: 15px;
  --fs-sm:   13px;
  --fs-xs:   12px;

  /* Space & shape */
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec: clamp(80px, 11vw, 160px);
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --shadow-1: 0 1px 2px oklch(0.2 0.02 255 / 0.04), 0 4px 16px -6px oklch(0.2 0.02 255 / 0.06);
  --shadow-2: 0 1px 2px oklch(0.2 0.02 255 / 0.05), 0 18px 48px -18px oklch(0.2 0.02 255 / 0.16);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 var(--fs-body)/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
p { text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--sec) 0; }
.section--white { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Typographic primitives ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 var(--fs-xs)/1 var(--font-mono);
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.eyebrow--accent { color: var(--accent); }
.h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.18; letter-spacing: -0.02em; }
.h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.4; letter-spacing: -0.005em; }
.lead { font-size: var(--fs-lead); color: var(--fg-2); line-height: 1.75; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head .h2 { margin-top: 20px; }
.sec-head .lead { max-width: 30em; justify-self: end; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  font: 500 15px/1 var(--font-body); white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: oklch(1 0 0); box-shadow: 0 6px 20px -8px oklch(0.49 0.085 195 / .55); }
.btn--primary:hover { background: var(--accent-hi); color: oklch(1 0 0); }
.btn--ghost { background: var(--surface); color: var(--fg); border-color: var(--border-2); }
.btn--ghost:hover { border-color: var(--fg); background: var(--surface); color: var(--fg); }
.btn--sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--fg); border-bottom: 1px solid var(--border-2); padding-bottom: 3px; transition: border-color .2s; }
.link-arrow:hover { border-color: var(--accent); color: var(--accent-hi); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.981 0.003 255 / .82);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 40px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 17px/1 var(--font-display); letter-spacing: .02em; flex-shrink: 0; }
.brand-mark { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 4px; margin-right: auto; }
.nav-links a {
  padding: 8px 12px; border-radius: 999px; font-size: 14px; color: var(--fg-2);
  transition: background .2s, color .2s; white-space: nowrap;
}
.nav-links a:hover { background: oklch(0.94 0.004 255); color: var(--fg); }
.nav-links a[aria-current="page"] { color: var(--fg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.nav-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.nav-actions .txt { padding: 8px 12px; font-size: 14px; color: var(--fg-2); border-radius: 999px; }
.nav-actions .txt:hover { color: var(--fg); background: oklch(0.94 0.004 255); }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
}
.card--hover:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); border-color: var(--border-2); }
.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  font: 500 12px/1 var(--font-body); color: var(--fg-2); background: var(--bg); border: 1px solid var(--border);
}
.tag--accent { color: var(--accent-hi); background: var(--accent-tint); border-color: var(--accent-tint-2); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }

/* ---------- Grid helpers ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 112px) 0 clamp(72px, 9vw, 128px); position: relative; }
.hero::before { /* the single flourish: faint engineering grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 10%, transparent 75%);
  opacity: .7;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: var(--fs-hero); font-weight: 600; line-height: 1.02; letter-spacing: -0.035em; margin: 28px 0 24px; }
.hero .sub { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.6; color: var(--fg); font-weight: 500; max-width: 18em; }
.hero .pillars { margin-top: 18px; font-size: var(--fs-sm); color: var(--muted); letter-spacing: .04em; }
.hero .pillars b { font-weight: 400; color: var(--border-2); margin: 0 8px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }

/* Page hero (inner pages) */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); position: relative; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 76px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.06; margin: 24px 0 22px; }
.page-hero .lead { max-width: 34em; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.crumbs { font-size: var(--fs-xs); color: var(--muted); font-family: var(--font-mono); letter-spacing: .06em; }
.crumbs a:hover { color: var(--fg); }

/* ---------- UI mock window ---------- */
.mock { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--border); background: oklch(0.99 0.002 255); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-2); }
.mock-url { flex: 1; max-width: 260px; margin: 0 auto; height: 24px; border-radius: 6px; background: var(--bg); border: 1px solid var(--border); font: 500 11px/22px var(--font-mono); color: var(--muted); text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mock-body { display: grid; grid-template-columns: 148px minmax(0, 1fr); min-height: 380px; }
.mock-side { border-right: 1px solid var(--border); padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; background: oklch(0.99 0.002 255); }
.mock-side span { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; font-size: 12px; color: var(--fg-2); white-space: nowrap; }
.mock-side span.on { background: var(--surface); color: var(--fg); box-shadow: inset 0 0 0 1px var(--border); font-weight: 500; }
.mock-side span i { width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid currentColor; opacity: .55; flex-shrink: 0; }
.mock-side .lbl { font: 500 10px/1 var(--font-mono); letter-spacing: .12em; color: var(--muted); padding: 14px 10px 6px; }
.mock-main { padding: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mock-title { font: 600 15px/1.3 var(--font-display); }
.mini { font-size: 11px; color: var(--muted); }
.progress { height: 6px; border-radius: 99px; background: var(--bg); border: 1px solid var(--border); overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.stage-list { display: grid; gap: 8px; }
.stage { display: grid; grid-template-columns: 28px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--border); border-radius: 10px; font-size: 13px; background: var(--surface); }
.stage .n { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font: 600 11px/1 var(--font-mono); color: var(--muted); background: var(--bg); border: 1px solid var(--border); }
.stage.done .n { color: var(--accent); background: var(--accent-tint); border-color: var(--accent-tint-2); }
.stage.now { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.stage.now .n { color: oklch(1 0 0); background: var(--accent); border-color: var(--accent); }
.stage .st { font-size: 11px; color: var(--muted); white-space: nowrap; }
.stage b { font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* floating chip on mock */
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-2); padding: 10px 14px; font-size: 12px;
  animation: drift 6s var(--ease) infinite alternate;
}
.float-chip .ic { width: 28px; height: 28px; border-radius: 8px; background: var(--accent-tint); display: grid; place-items: center; color: var(--accent); }
.float-chip .ic svg { width: 15px; height: 15px; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float-chip { animation: none; } * { transition: none !important; } }

/* ---------- Stats (4 grid) ---------- */
.stats { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.stat { padding: clamp(28px, 3.4vw, 44px); border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat .k { font: 500 var(--fs-xs)/1 var(--font-mono); color: var(--muted); letter-spacing: .1em; }
.stat .v { font: 600 clamp(24px, 2.4vw, 32px)/1.2 var(--font-display); margin: 22px 0 10px; letter-spacing: -0.01em; }
.stat .v small { display: inline-block; vertical-align: middle; margin-left: 8px; }
.stat p { font-size: var(--fs-sm); color: var(--fg-2); }

/* ---------- Feature / list rows ---------- */
.feature { padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.feature .ix { font: 500 12px/1 var(--font-mono); color: var(--muted); }
.feature p { color: var(--fg-2); font-size: 14.5px; }
.icon-box { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--accent); background: var(--surface); }
.icon-box svg { width: 20px; height: 20px; }

.checks { display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 14.5px; color: var(--fg-2); line-height: 1.6; }
.checks li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.checks.no li svg { color: var(--muted); }
.checks.no li { color: var(--muted); }

/* ---------- Age track cards ---------- */
.track { display: flex; flex-direction: column; overflow: hidden; }
.track-top { padding: 28px 28px 0; display: flex; justify-content: space-between; align-items: center; }
.track-vis { margin: 24px 28px 0; height: 168px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); position: relative; overflow: hidden; }
.track-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.track-body p { color: var(--fg-2); font-size: 14.5px; }
.track-foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.price-soon { font: 500 13px/1 var(--font-body); color: var(--fg); }
.price-soon::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: middle; }

/* ---------- Split / band ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.band { border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); padding: clamp(32px, 5vw, 64px); }
.band--tint { background: var(--accent-tint); border-color: var(--accent-tint-2); }
.note { font-size: var(--fs-sm); color: var(--fg-2); padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); }
.note b { color: var(--fg); font-weight: 600; }

/* ---------- Tool panel (arsenal) ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.tool { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-size: 13px; min-width: 0; }
.tool .ti { width: 34px; height: 34px; border-radius: 9px; background: var(--bg); border: 1px solid var(--border); display: grid; place-items: center; color: var(--fg-2); flex-shrink: 0; }
.tool .ti svg { width: 16px; height: 16px; }
.tool b { font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tool span { font-size: 11px; color: var(--muted); }
.tool.hl { border-color: var(--accent-tint-2); background: var(--accent-tint); }
.tool.hl .ti { color: var(--accent); background: var(--surface); border-color: var(--accent-tint-2); }
.lock { width: 14px; height: 14px; color: var(--muted); margin-left: auto; flex-shrink: 0; }

/* ---------- Segmented control ---------- */
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.seg button { height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--fg-2); font: 500 13.5px/1 var(--font-body); cursor: pointer; transition: background .2s, color .2s; white-space: nowrap; }
.seg button:hover { color: var(--fg); background: var(--bg); }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--surface); }

/* ---------- Compare table ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; font-size: 14.5px; }
.compare th, .compare td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font: 500 12px/1.4 var(--font-mono); letter-spacing: .08em; color: var(--muted); background: oklch(0.99 0.002 255); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 22%; }
.yes { color: var(--accent); font-weight: 500; }
.nope { color: var(--muted); }
.yes svg, .nope svg { width: 18px; height: 18px; display: inline-block; vertical-align: middle; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; font: 500 16px/1.5 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 22px/1 var(--font-mono); color: var(--muted); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--fg-2); max-width: 46em; }

/* ---------- CTA band ---------- */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: clamp(56px, 7vw, 96px) 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-grid h4 { font: 500 var(--fs-xs)/1 var(--font-mono); letter-spacing: .12em; color: var(--muted); margin-bottom: 18px; }
.foot-grid li { margin-bottom: 10px; font-size: 14px; color: var(--fg-2); }
.foot-grid li a:hover { color: var(--fg); }
.foot-slogan { margin-top: 16px; color: var(--fg-2); font-size: 14px; max-width: 20em; }
.foot-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.foot-word { font: 600 clamp(56px, 13vw, 184px)/0.9 var(--font-display); letter-spacing: -0.05em; color: var(--bg); -webkit-text-stroke: 1px var(--border-2); margin-top: 56px; user-select: none; white-space: nowrap; overflow: hidden; }

/* ---------- Reveal micro-motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s var(--ease) both; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ==========================================================
   Responsive — tablet (~834) & mobile (~390)
   ========================================================== */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .nav-links a { padding: 8px 9px; font-size: 13.5px; }
}

@media (max-width: 960px) {
  /* Nav becomes two tiers: brand + actions, then a scrollable short-link strip */
  .nav { flex-wrap: wrap; height: auto; padding-top: 12px; gap: 0; }
  .brand { order: 1; height: 40px; }
  .nav-actions { order: 2; margin-left: auto; }
  .nav-links {
    order: 3; width: calc(100% + var(--gutter) * 2); margin: 10px calc(var(--gutter) * -1) 0;
    padding: 6px var(--gutter) 10px; overflow-x: auto; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 32px), transparent);
            mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 32px), transparent);
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { flex-shrink: 0; }

  .hero-grid, .page-hero-grid, .split { grid-template-columns: 1fr; }
  .hero .sub { max-width: 24em; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .lead { justify-self: start; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 > .span-full-tab { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --fs-body: 15px; }
  .nav-actions .hide-sm { display: none; }
  .hero h1 { margin: 22px 0 18px; }
  .hero-cta { flex-direction: column; align-items: stretch; margin-top: 32px; }
  .hero-cta .btn { width: 100%; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-3 > .span-full-tab { grid-column: auto; }
  .stat { padding: 22px 18px; }
  .stat .v { font-size: 20px; margin: 16px 0 6px; }
  .stat .v small { display: block; margin: 8px 0 0; }
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--border); padding: 8px; scrollbar-width: none; }
  .mock-side .lbl { display: none; }
  .mock-main { padding: 16px; }
  .float-chip { display: none; }
  .tool-grid { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 14px 12px; font-size: 13px; }
  .compare td:not(:first-child), .compare th:not(:first-child) { width: 26%; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .seg { width: 100%; overflow-x: auto; }
  .seg button { flex: 1; padding: 0 12px; }
}

/* v3 site additions */
html,body{overflow-x:hidden}
.nav-actions .is-on{color:var(--accent)}
.auth{max-width:440px;margin:0 auto}
.auth .card{padding:32px}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;font-size:14px}
.field input,.field select{height:44px;border:1px solid var(--border-2);border-radius:10px;padding:0 14px;font:inherit;background:var(--surface);width:100%}
.mc-grid{display:grid;grid-template-columns:260px 1fr;gap:24px}
@media (max-width:960px){.mc-grid{grid-template-columns:1fr}}
@media (max-width:640px){.nav-actions .txt{padding:0 6px;font-size:13px}.nav-actions .btn--sm{padding:0 10px;font-size:13px}.auth .card{padding:22px}}
