/* NoClose homepage (noclose-homepage.spec.md). System fonts only; no third-party resources. */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-tint: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #f4f6fb;
  --surface-3: #eef2f8;
  --border: #e5e9f1;
  --border-strong: #cfd6e3;
  --text: #0b1220;
  --text-2: #334155;
  --muted: #5b6577;
  --accent: #2f6bf2;
  --accent-hover: #2459d3;
  --accent-text: #2459d3;
  --accent-soft: #edf2fe;
  --ring: rgba(47, 107, 242, 0.5);
  --brand-a: #5b5cf6;
  --brand-b: #0ea5e9;
  --header-bg: rgba(255, 255, 255, 0.8);
  --ok: #15803d;
  --ok-soft: #e8f6ed;
  --off: #b42318;
  --off-soft: #fdeceb;
  --planned: #8a5300;
  --planned-soft: #fff4dd;
  --window-shadow: 0 1px 1px rgba(15, 23, 42, 0.04), 0 24px 64px -16px rgba(30, 41, 99, 0.22);
  --card-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -18px rgba(15, 23, 42, 0.18);
  --dark-bg: #0a1230;
  --dark-surface: rgba(255, 255, 255, 0.05);
  --dark-border: rgba(255, 255, 255, 0.1);
  --dark-muted: #aab6d3;
  --radius: 16px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070b14;
  --bg-tint: #0b111e;
  --surface: #0f1625;
  --surface-2: #141c2e;
  --surface-3: #1a2337;
  --border: #1f2a3f;
  --border-strong: #2e3b55;
  --text: #e8edf6;
  --text-2: #c3cbda;
  --muted: #98a3b8;
  --accent: #2f6bf2;
  --accent-hover: #4a7ef5;
  --accent-text: #86a9ff;
  --accent-soft: #14213f;
  --ring: rgba(134, 169, 255, 0.6);
  --header-bg: rgba(7, 11, 20, 0.8);
  --ok: #4ade80;
  --ok-soft: #0f2a1b;
  --off: #fca5a5;
  --off-soft: #2c1414;
  --planned: #fbbf24;
  --planned-soft: #2a2010;
  --window-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 24px 64px -16px rgba(0, 0, 0, 0.6);
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  --dark-bg: #0b1328;
}

/* NH-L4: one language is visible; without JavaScript the page shows zh. */
:root:not([data-lang="en"]) [data-l="en"] { display: none !important; }
:root[data-lang="en"] [data-l="zh"] { display: none !important; }
[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
/* CJK headings break at punctuation and spaces instead of inside words. */
h1, h2, h3, .hero-lead, .section-lead { word-break: keep-all; overflow-wrap: anywhere; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 8px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 10px 16px; background: var(--accent); color: #fff; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
svg.arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 150ms ease; }
a:hover > svg.arrow { transform: translateX(2px); }

/* Header and navigation (NH-N1 to NH-N3). */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 18px; letter-spacing: -0.01em; min-height: 44px; }
.brand-mark { width: 30px; height: 30px; }
.desktop-nav { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.nav-link { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 15px; color: var(--muted); border-radius: 8px; transition: color 150ms ease, background-color 150ms ease; }
.nav-link:hover { color: var(--text); background: var(--surface-2); }
.nav-link[aria-current="page"] { color: var(--text); font-weight: 600; }
.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid transparent; border-radius: 10px; background: transparent; cursor: pointer; color: var(--text-2); transition: background-color 150ms ease, border-color 150ms ease; }
.icon-button:hover { background: var(--surface-2); border-color: var(--border); }
.icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lang-toggle { font-size: 14px; font-weight: 650; }
.icon-moon { display: none !important; }
:root[data-theme="dark"] .icon-sun { display: none !important; }
:root[data-theme="dark"] .icon-moon { display: block !important; }
.header-login, .header-register { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 10px; font-size: 15px; font-weight: 600; white-space: nowrap; transition: background-color 150ms ease, border-color 150ms ease; }
.header-login { color: var(--text); }
.header-login:hover { background: var(--surface-2); }
.header-register { color: #fff; background: var(--text); }
:root[data-theme="dark"] .header-register { color: #0b1220; background: #fff; }
.header-register:hover { opacity: 0.88; }
.header-actions .header-login, .header-actions .header-register { min-height: 44px; }
.menu-button { display: none; flex-direction: column; gap: 5px; }
.menu-button span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 200ms ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { border-top: 1px solid var(--border); background: var(--bg); padding: 8px 16px 16px; }
.mobile-link { display: flex; align-items: center; min-height: 48px; padding: 0 8px; border-bottom: 1px solid var(--border); font-size: 16px; }
.mobile-link[aria-current="page"] { font-weight: 650; color: var(--accent-text); }
.mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 14px; }
.mobile-actions a { min-height: 48px; border: 1px solid var(--border); }
@media (max-width: 1023.98px) {
  .desktop-nav, .header-actions > .header-login, .header-actions > .header-register { display: none; }
  .menu-button { display: inline-flex; }
}
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* Buttons. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 650; font-size: 15px; border: 1px solid transparent; white-space: nowrap; transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease; }
.button-lg { min-height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.button-primary { color: #fff; background: var(--accent); box-shadow: 0 8px 24px -10px rgba(47, 107, 242, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.button-primary:hover { background: var(--accent-hover); }
.button-secondary { color: var(--text); background: var(--surface); border-color: var(--border-strong); }
.button-secondary:hover { border-color: var(--text-2); }
.button-light { color: #0b1d4f; background: #fff; }
.button-light:hover { background: #e9efff; }
.button-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.button-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.7); }
.button-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 650; color: var(--accent-text); }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Sections. */
.section { padding: 112px 0; }
.section-tint { background: var(--bg-tint); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 650; color: var(--accent-text); background: var(--accent-soft); }
.section h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.2; font-weight: 750; letter-spacing: -0.02em; text-wrap: balance; }
.section-lead { margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.hint { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Hero (NH-C1). */
.hero { position: relative; overflow: hidden; padding: 88px 0 0; isolation: isolate; }
.hero-glow { position: absolute; inset: -10% -10% auto; height: 820px; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 42% 46% at 22% 30%, rgba(91, 92, 246, 0.22), transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 22%, rgba(14, 165, 233, 0.2), transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 85%, rgba(47, 107, 242, 0.14), transparent 70%); }
.hero-grid-bg { position: absolute; inset: 0 0 auto; height: 760px; z-index: -1; pointer-events: none; opacity: 0.55;
  background-image: linear-gradient(to right, var(--border) 1px, transparent 1px), linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 25%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 25%, transparent 100%); }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--card-shadow); }
.pill-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }
.hero h1 { margin-top: 28px; font-size: clamp(44px, 7vw, 84px); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; }
.gradient-text { background: linear-gradient(100deg, var(--brand-a) 0%, var(--accent) 45%, var(--brand-b) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 760px; margin-top: 24px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.contact-hint[hidden] { display: none; }
.hero-contact-hint { margin-top: 12px; font-size: 14px; color: var(--muted); }
.base-url { display: inline-flex; align-items: center; gap: 4px; margin-top: 28px; padding: 6px 6px 6px 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--card-shadow); max-width: 100%; }
.base-url-label { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); padding-right: 10px; margin-right: 6px; border-right: 1px solid var(--border); }
.base-url code { font-family: var(--font-mono); font-size: 15px; color: var(--text); padding: 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--surface-2); color: var(--text-2); font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color 150ms ease; }
.copy-button:hover { background: var(--surface-3); }
.copy-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.copy-button.is-copied { color: var(--ok); background: var(--ok-soft); }
.hero-compat { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Illustrative windows (NH-C1, NH-C5, NH-C6). */
.window { border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--window-shadow); overflow: hidden; text-align: left; }
.window-bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); font-size: 13px; color: var(--muted); }
.dots { display: inline-flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.dots i:nth-child(1) { background: #f87171; } .dots i:nth-child(2) { background: #fbbf24; } .dots i:nth-child(3) { background: #34d399; }
.window-url { flex: 1; min-width: 0; max-width: 320px; margin: 0 auto; padding: 4px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); text-align: center; font-family: var(--font-mono); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-tag { flex: none; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; border: 1px dashed var(--border-strong); color: var(--muted); }
.hero-window { position: relative; width: 100%; max-width: 1080px; margin-top: 64px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.hero-window::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.console { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 440px; }
.console-side { padding: 18px 14px; border-right: 1px solid var(--border); background: var(--surface-2); }
.console-brand { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 18px; }
.console-ws { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 16px; }
.console-ws > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.console-ws b { font-size: 14px; } .console-ws small { font-size: 12px; color: var(--muted); }
.ws-avatar { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--brand-a), var(--brand-b)); }
.console-menu li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 14px; color: var(--muted); }
.console-menu li.is-active { color: var(--text); font-weight: 650; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.mi { width: 14px; height: 14px; border-radius: 4px; border: 1.6px solid currentColor; opacity: 0.7; }
.console-main { padding: 22px 24px 28px; }
.console-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; font-size: 17px; }
.console-range { display: inline-flex; gap: 2px; padding: 3px; border-radius: 9px; background: var(--surface-2); font-size: 12px; color: var(--muted); }
.console-range span { padding: 3px 10px; border-radius: 7px; } .console-range .is-on { background: var(--surface); color: var(--text); font-weight: 650; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.kpi { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--border); border-radius: 14px; }
.kpi small { font-size: 13px; color: var(--muted); }
.kpi b { font-size: 26px; font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: 12px; color: var(--muted); } .kpi em.up { color: var(--ok); }
.console-panels { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.chart-card, .mix-card { padding: 16px; border: 1px solid var(--border); border-radius: 14px; }
.card-title { font-size: 13px; font-weight: 650; color: var(--text-2); margin-bottom: 14px; }
.spark { display: flex; align-items: flex-end; gap: 5px; height: 150px; }
.spark i { flex: 1; height: calc(var(--h) * 1%); border-radius: 4px 4px 2px 2px; background: linear-gradient(to top, var(--accent), #7ba3ff); opacity: 0.9; }
.spark i:nth-child(7n+6), .spark i:nth-child(7n) { opacity: 0.45; }
.mix li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; font-size: 13px; margin-bottom: 10px; }
.mix span { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mix b { font-variant-numeric: tabular-nums; }
.mix i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--surface-3); position: relative; overflow: hidden; }
.mix i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--w) * 2%); max-width: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--brand-a), var(--brand-b)); }

/* Model strip (NH-C2). */
.model-strip { padding: 56px 0 24px; }
.strip-title { text-align: center; font-size: 15px; font-weight: 600; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 8px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-size: 16px; font-weight: 650; color: var(--text-2); }
.chip-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c); color: #fff; font-size: 14px; font-weight: 750; }
.chip-more { padding: 0; border-style: dashed; }
.chip-more a { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 18px; color: var(--accent-text); }

/* Value cards (NH-C3). */
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value-card { position: relative; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--card-shadow); transition: transform 200ms ease, box-shadow 200ms ease; }
.value-card:hover { transform: translateY(-2px); }
.value-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--brand-a), var(--brand-b)); box-shadow: 0 10px 24px -10px rgba(47, 107, 242, 0.8); }
.value-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.value-card h3 { margin-top: 22px; font-size: 19px; font-weight: 700; line-height: 1.35; }
.value-card p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* Steps (NH-C4). */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; padding: 32px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-weight: 750; color: var(--accent-text); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.step h3 { margin-top: 20px; font-size: 19px; font-weight: 700; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -20px; width: 20px; height: 2px; background: var(--border-strong); }

/* Feature rows (NH-C5, NH-C6). */
.feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.feature-reverse .feature-copy { order: 2; }
.feature-copy .section-lead { margin-bottom: 24px; }
.checks li { position: relative; padding: 9px 0 9px 34px; font-size: 16px; color: var(--text-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 17px; width: 9px; height: 5px; border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(-45deg); }
.feature-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.keys { padding: 20px; }
.keys-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 16px; }
.fake-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 7px 14px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 650; }
.fake-btn-block { display: flex; width: 100%; padding: 12px; margin-top: 16px; font-size: 14px; }
.keys-table { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.kt-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, 1fr) 72px; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--border); font-size: 14px; }
.kt-th { border-top: 0; background: var(--surface-2); font-size: 12px; font-weight: 650; color: var(--muted); padding: 9px 14px; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who > span { display: flex; flex-direction: column; line-height: 1.3; font-weight: 600; min-width: 0; }
.who small { font-family: var(--font-mono); font-size: 11px; font-weight: 400; color: var(--muted); }
.av { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c); color: #fff; font-style: normal; font-size: 13px; font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tags em { font-style: normal; font-size: 12px; padding: 1px 8px; border-radius: 6px; background: var(--surface-3); color: var(--text-2); }
.bal { display: flex; flex-direction: column; gap: 5px; font-variant-numeric: tabular-nums; font-weight: 600; }
.bal i { height: 4px; border-radius: 2px; background: var(--surface-3); position: relative; overflow: hidden; }
.bal i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--w) * 1%); background: var(--accent); border-radius: 2px; }
.st { justify-self: start; font-size: 12px; font-weight: 650; padding: 2px 9px; border-radius: 999px; }
.st.on { color: var(--ok); background: var(--ok-soft); } .st.off { color: var(--off); background: var(--off-soft); }
.keys-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.fake-link { color: var(--accent-text); font-weight: 600; }
.dev-visual { position: relative; padding-bottom: 150px; }
.client-window { max-width: 520px; }
.client { padding: 20px; }
.client-row { display: flex; align-items: center; justify-content: space-between; font-size: 15px; margin-bottom: 14px; }
.ok { font-size: 12px; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 3px 10px; border-radius: 999px; }
.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tools li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 12px; border: 1px solid var(--border); border-radius: 11px; font-size: 14px; font-weight: 600; }
.tools small { font-size: 11px; font-weight: 650; color: var(--muted); }
.tools small.on { color: var(--ok); }
.code-window { position: absolute; right: 0; bottom: 0; width: min(460px, 90%); border-radius: 14px; background: #0b1120; color: #dbe4f5; box-shadow: 0 24px 48px -16px rgba(2, 6, 23, 0.55); border: 1px solid #1e293b; overflow: hidden; }
.code-bar { display: flex; justify-content: space-between; padding: 9px 14px; font-size: 12px; color: #94a3b8; border-bottom: 1px solid #1e293b; font-family: var(--font-mono); }
.code-lang { color: #7dd3fc; }
.code-window pre { margin: 0; padding: 14px 16px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; white-space: pre; overflow-x: auto; }
.t-c { color: #64748b; } .t-s { color: #a5f3fc; }

/* NH-C3 card link. */
.card-link { margin-top: 10px; font-size: 15px; }

/* Trust (NH-C8). */
.section-dark { position: relative; color: #fff; background: radial-gradient(800px 400px at 85% 0%, rgba(14, 165, 233, 0.18), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(91, 92, 246, 0.22), transparent 60%), var(--dark-bg); }
.trust-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.trust-head h2 { max-width: 640px; }
.kicker-dark { color: #c7d6ff; background: rgba(255, 255, 255, 0.08); }
.sla { display: flex; align-items: baseline; gap: 12px; }
.sla b { font-size: clamp(56px, 7vw, 88px); font-weight: 850; line-height: 1; letter-spacing: -0.04em; background: linear-gradient(100deg, #a5b4fc, #7dd3fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sla span { color: var(--dark-muted); font-size: 15px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust-card { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); background: var(--dark-surface); border: 1px solid var(--dark-border); }
.trust-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); color: #a5c4ff; }
.trust-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-card h3 { margin-top: 18px; font-size: 18px; font-weight: 700; }
.trust-card p { margin-top: 8px; font-size: 15px; color: var(--dark-muted); }
.trust-card .text-link { margin-top: auto; padding-top: 8px; color: #a5c4ff; }
.fineprint { margin-top: 36px; font-size: 13px; color: var(--dark-muted); }

/* Roadmap (NH-C9). */
.roadmap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.road-card { padding: 24px; border-radius: var(--radius); border: 1px dashed var(--border-strong); background: var(--bg); }
.badge-planned { display: inline-flex; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--planned); background: var(--planned-soft); }
.road-card h3 { margin-top: 14px; font-size: 18px; font-weight: 700; }
.road-card p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* FAQ (NH-C10). */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.faq summary { position: relative; display: flex; align-items: center; min-height: 64px; padding: 16px 56px 16px 22px; cursor: pointer; font-size: 17px; font-weight: 650; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 200ms ease; }
.faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }
.faq p a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }

/* Closing CTA (NH-C11). */
.section-cta { padding-top: 0; }
.cta-panel { position: relative; overflow: hidden; padding: 80px 48px; border-radius: 28px; text-align: center; color: #fff;
  background: radial-gradient(60% 90% at 15% 0%, rgba(165, 180, 252, 0.45), transparent 60%), radial-gradient(60% 90% at 90% 100%, rgba(14, 165, 233, 0.55), transparent 60%), linear-gradient(135deg, #3730a3 0%, #2f6bf2 55%, #0369a1 100%); }
.cta-panel::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent); pointer-events: none; }
.cta-panel > * { position: relative; }
.cta-panel h2 { font-size: clamp(30px, 4vw, 48px); }
.cta-panel > p { max-width: 640px; margin: 18px auto 0; font-size: 18px; color: #e0e9ff; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.cta-contact-hint { max-width: 560px; margin: 18px auto 0; font-size: 14px; color: #dbe6ff; }
.inline-link { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.cta-site { margin-top: 22px; font-size: 14px; color: #c8d6ff; }
.cta-site a { color: #fff; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

/* Footer (NH-C12). */
.site-footer { padding: 64px 0 32px; background: #070b14; color: #c3cbda; }
.site-footer .brand { color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; }
.footer-brand p { margin-top: 14px; max-width: 320px; font-size: 15px; color: #98a3b8; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-links div { display: flex; flex-direction: column; }
.footer-title { margin-bottom: 8px; font-size: 13px; font-weight: 700; color: #fff; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: #a9b4c8; }
.footer-links a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #1f2a3f; font-size: 13px; color: #98a3b8; }
.footer-legal p:first-child { max-width: 760px; }

/* Scroll reveal: app.js adds .js-reveal; without JavaScript every element stays visible. */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive layout (NH-33). */
@media (max-width: 1099.98px) {
  .value-grid, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { gap: 48px; }
}
@media (max-width: 959.98px) {
  .feature, .faq-layout, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-reverse .feature-copy { order: 0; }
  .faq-layout { gap: 0; }
  .roadmap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .console { grid-template-columns: minmax(0, 1fr); }
  .console-side { display: none; }
  .trust-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767.98px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .section-lead { font-size: 16px; }
  .header-row { gap: 10px; height: 60px; }
  .header-actions { gap: 4px; }
  .hero { padding-top: 56px; }
  .hero-actions { width: 100%; }
  .hero-actions .button { flex: 1 1 100%; }
  .base-url { width: 100%; }
  .base-url code { flex: 1; min-width: 0; font-size: 14px; padding: 0 4px; }
  .copy-text { display: none; }
  .hero-window { margin-top: 44px; }
  .console-main { padding: 16px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis .kpi:last-child { display: none; }
  .kpi b { font-size: 20px; }
  .console-panels { grid-template-columns: minmax(0, 1fr); }
  .mix-card { display: none; }
  .spark { height: 110px; gap: 3px; }
  .window-url { display: none; }
  .window-bar { justify-content: space-between; }
  .value-grid, .trust-grid, .roadmap-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .value-card, .step, .trust-card { padding: 24px; }
  .kt-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 64px; }
  .kt-row > :nth-child(2) { display: none; }
  .dev-visual { padding-bottom: 0; display: grid; gap: 16px; }
  .code-window { position: static; width: 100%; }
  .client-window { max-width: none; }
  .tools small { font-size: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); flex: none; }
  .tools small.on { background: #22c55e; }
  .cta-panel { padding: 56px 20px; border-radius: 22px; }
  .cta-actions .button { flex: 1 1 100%; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-head { margin-bottom: 32px; }
}
@media (max-width: 400px) {
  .lang-toggle { padding: 0 6px; }
  .brand { font-size: 17px; }
}

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