/* nexovia.co.in — self-hosted fonts, no third-party requests. Type: Anek Latin (Ek Type, India) for display, Instrument Sans for text. */
@font-face { font-family: "Anek Latin"; src: url("../fonts/anek-latin.woff2") format("woff2"); font-weight: 100 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Anek Latin"; src: url("../fonts/anek-latin-ext.woff2") format("woff2"); font-weight: 100 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-ext.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jbmono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jbmono-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
/* Metric-matched fallbacks keep the layout still while the web fonts load (better Core Web Vitals). */
@font-face { font-family: "Text Fallback"; src: local("Segoe UI"), local("Helvetica Neue"), local("Arial"); size-adjust: 99%; ascent-override: 96%; descent-override: 25%; }
@font-face { font-family: "Display Fallback"; src: local("Segoe UI Semibold"), local("Helvetica Neue"), local("Arial"); size-adjust: 92%; ascent-override: 100%; descent-override: 24%; }

:root {
  --bg: #FAFAF7; --bg-2: #F2F3EE; --surface: #FFFFFF; --surface-2: #F6F7F3;
  --ink: #0D1617; --ink-2: #2B3638; --muted: #5E6A6B; --faint: #8A9495;
  --line: #E4E6E0; --line-2: #D5D9D2;
  --accent: #0B7A75; --accent-ink: #075A56; --accent-soft: #E3F2EF; --on-accent: #FFFFFF;
  --saffron: #E8900C; --saffron-soft: #FCEFD9;
  --ok: #138A4C; --ok-soft: #E2F4EA; --warn: #B76E00; --warn-soft: #FBF0DC; --bad: #C2372C; --bad-soft: #FBE7E4; --plan: #6A5ACD; --plan-soft: #ECEAFA;
  --royal: #4338CA; --royal-ink: #3730A3; --royal-soft: #ECEBFD; --rose: #C8365F; --rose-soft: #FCE8EE;
  --grad: linear-gradient(115deg, #0B7A75 0%, #2E5BD8 55%, #6D3FD8 100%); --grad-warm: linear-gradient(115deg, #E8900C 0%, #C8365F 100%);
  --grad-btn: linear-gradient(115deg, #0B7A75 0%, #3B44C9 100%); --glow-c: rgba(67, 56, 202, .13);
  --code-bg: #0F1A1C; --code-ink: #DCE7E5; --code-dim: #7F9593; --code-key: #7FD6CB; --code-str: #F3C076;
  --shadow-sm: 0 1px 2px rgba(13, 22, 23, .06); --shadow: 0 1px 2px rgba(13, 22, 23, .05), 0 8px 24px -8px rgba(13, 22, 23, .12); --shadow-lg: 0 2px 4px rgba(13, 22, 23, .04), 0 24px 64px -16px rgba(13, 22, 23, .22);
  --glow-a: rgba(11, 122, 117, .16); --glow-b: rgba(232, 144, 12, .10);
  --font-text: "Instrument Sans", "Text Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Anek Latin", "Display Fallback", "Instrument Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #090E0F; --bg-2: #0D1415; --surface: #111A1B; --surface-2: #152022;
    --ink: #EEF3F1; --ink-2: #CAD4D2; --muted: #93A19F; --faint: #6B7A78;
    --line: #1F2B2D; --line-2: #2A3A3C;
    --accent: #3CC2B6; --accent-ink: #7FDCD2; --accent-soft: #0F2E2C; --on-accent: #04201E;
    --saffron: #F4AC3D; --saffron-soft: #33240C;
    --ok: #4CC984; --ok-soft: #0F2A1C; --warn: #F0B04A; --warn-soft: #2E2410; --bad: #F07A6E; --bad-soft: #321714; --plan: #A99BFF; --plan-soft: #1E1A38;
    --royal: #8F90FF; --royal-ink: #B8B9FF; --royal-soft: #1C1B3A; --rose: #F27BA0; --rose-soft: #36141F;
    --grad: linear-gradient(115deg, #3CC2B6 0%, #6E8BFF 55%, #B08CFF 100%); --grad-warm: linear-gradient(115deg, #F4AC3D 0%, #F27BA0 100%);
    --grad-btn: linear-gradient(115deg, #0B7A75 0%, #3B44C9 100%); --glow-c: rgba(143, 144, 255, .13);
    --code-bg: #070C0D; --code-ink: #DCE7E5; --code-dim: #6F8583; --code-key: #7FD6CB; --code-str: #F3C076;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -8px rgba(0, 0, 0, .6); --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 64px -16px rgba(0, 0, 0, .8);
    --glow-a: rgba(60, 194, 182, .14); --glow-b: rgba(244, 172, 61, .07);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #090E0F; --bg-2: #0D1415; --surface: #111A1B; --surface-2: #152022;
  --ink: #EEF3F1; --ink-2: #CAD4D2; --muted: #93A19F; --faint: #6B7A78;
  --line: #1F2B2D; --line-2: #2A3A3C;
  --accent: #3CC2B6; --accent-ink: #7FDCD2; --accent-soft: #0F2E2C; --on-accent: #04201E;
  --saffron: #F4AC3D; --saffron-soft: #33240C;
  --ok: #4CC984; --ok-soft: #0F2A1C; --warn: #F0B04A; --warn-soft: #2E2410; --bad: #F07A6E; --bad-soft: #321714; --plan: #A99BFF; --plan-soft: #1E1A38;
  --royal: #8F90FF; --royal-ink: #B8B9FF; --royal-soft: #1C1B3A; --rose: #F27BA0; --rose-soft: #36141F;
  --grad: linear-gradient(115deg, #3CC2B6 0%, #6E8BFF 55%, #B08CFF 100%); --grad-warm: linear-gradient(115deg, #F4AC3D 0%, #F27BA0 100%);
  --grad-btn: linear-gradient(115deg, #0B7A75 0%, #3B44C9 100%); --glow-c: rgba(143, 144, 255, .13);
  --code-bg: #070C0D; --code-ink: #DCE7E5; --code-dim: #6F8583; --code-key: #7FD6CB; --code-str: #F3C076;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -8px rgba(0, 0, 0, .6); --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 64px -16px rgba(0, 0, 0, .8);
  --glow-a: rgba(60, 194, 182, .14); --glow-b: rgba(244, 172, 61, .07);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; text-wrap: balance; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); line-height: 1.0; font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; font-weight: 650; letter-spacing: -0.02em; }
h3 { font-size: 1.24rem; line-height: 1.25; font-weight: 600; }
h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; font-family: var(--font-text); }
p { margin: 0; }
code, pre, .mono { font-family: var(--font-mono); }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 520px) { .wrap { padding-inline: 16px; } body { font-size: 16px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ───── Header ───── */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 650 1.36rem/1 var(--font-display); color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 28px; height: 28px; }
.lg-a { fill: var(--ink); } .lg-b { fill: var(--accent); } .lg-c { fill: var(--saffron); }
.nav { display: flex; gap: 2px; margin-left: 8px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: var(--ink); background: var(--bg-2); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--line-2); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .menu-btn { display: inline-grid; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 1.05rem; }
  .head-actions .btn { display: none; }
}

/* ───── Buttons and pills ───── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 12px; font: 600 .98rem/1 var(--font-text); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: var(--shadow-sm); }
.btn-primary:hover { color: var(--bg); background: var(--ink-2); box-shadow: var(--shadow); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--ink); border-color: var(--faint); }
.btn-sm { height: 38px; padding: 0 16px; font-size: .92rem; border-radius: 10px; }
.btn .ic { width: 16px; height: 16px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: .88rem; font-weight: 500; text-decoration: none; box-shadow: var(--shadow-sm); }
.pill:hover { color: var(--ink); border-color: var(--line-2); }
.pill .tag { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; font-size: .78rem; padding: 4px 10px; border-radius: 999px; }
.eyebrow { display: inline-block; font: 600 .78rem/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }

/* ───── Hero ───── */
.hero { position: relative; overflow: hidden; padding-block: 72px 104px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 760px; background: radial-gradient(600px 380px at 78% 30%, var(--glow-a), transparent 70%), radial-gradient(520px 340px at 92% 70%, var(--glow-b), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(700px 420px at 75% 35%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(700px 420px at 75% 35%, #000 10%, transparent 75%); opacity: .55; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; min-width: 0; }
.hero h1 .hl { color: var(--accent); display: block; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 10px 28px; color: var(--ink-2); font-size: .95rem; }
.trust li { display: flex; align-items: center; gap: 9px; }
.trust .ic { width: 18px; height: 18px; color: var(--accent); stroke-width: 2.2; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } .hero { padding-block: 48px 80px; } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }

/* Product window (hero) */
.win { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; min-width: 0; }
.win-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.win-dots { display: flex; gap: 6px; } .win-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.win-title { font-size: .82rem; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 8px; min-width: 0; }
.win-title b { color: var(--ink); font-weight: 600; }
.win-body { padding: 20px; display: grid; gap: 18px; }
.app-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.app-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font: 700 1.05rem/1 var(--font-display); }
.app-name { font: 600 1.08rem/1.2 var(--font-display); }
.app-sub { font-size: .78rem; color: var(--muted); font-family: var(--font-mono); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.live { color: var(--ok); background: var(--ok-soft); }
.app-row .badge.live { margin-left: auto; }
.pipe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; padding: 4px 0 2px; }
.pipe::before { content: ""; position: absolute; left: 10%; right: 10%; top: 17px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent) 75%, var(--ok)); border-radius: 2px; }
.pipe-step { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; }
.pipe-dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--accent); color: var(--accent); z-index: 1; }
.pipe-dot .ic { width: 14px; height: 14px; stroke-width: 2.8; }
.pipe-step:last-child .pipe-dot { background: var(--ok); border-color: var(--ok); color: var(--surface); }
.pipe-step b { font-size: .78rem; font-weight: 600; color: var(--ink); }
.pipe-step span { font-size: .7rem; color: var(--muted); font-family: var(--font-mono); }
.meters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.meter { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 8px; background: var(--surface); min-width: 0; }
.meter small { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.meter strong { font: 650 1.24rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.meter strong em { font-style: normal; font-size: .76rem; color: var(--muted); font-weight: 500; font-family: var(--font-text); }
.bar { height: 6px; border-radius: 6px; background: var(--bg-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: var(--accent); }
.w18 { width: 18%; } .w41 { width: 41%; } .w23 { width: 23%; } .w64 { width: 64%; }
.spark { width: 100%; height: 30px; display: block; }
.spark path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark .area { fill: var(--accent-soft); stroke: none; }
.win-foot { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--line); background: var(--surface-2); }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-weight: 500; }
.chip .ic { width: 14px; height: 14px; color: var(--accent); stroke-width: 2; }
.hero-visual { position: relative; min-width: 0; }
.float-card { position: absolute; right: -14px; bottom: -34px; display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 11px 15px; box-shadow: var(--shadow-lg); max-width: 300px; }
.float-card .ic { color: var(--saffron); width: 22px; height: 22px; }
.float-card b { display: block; font-size: .86rem; }
.float-card span { color: var(--muted); font-size: .78rem; }
@media (max-width: 1100px) { .float-card { right: 8px; } }
@media (max-width: 620px) { .meters { grid-template-columns: 1fr 1fr; } .meters .meter:last-child { grid-column: span 2; } .float-card { position: static; margin-top: 14px; max-width: none; } .pipe-step span { display: none; } }

/* ───── Sections ───── */
.band { padding-block: 112px; position: relative; }
.band.tint { background: var(--bg-2); border-block: 1px solid var(--line); }
@media (max-width: 720px) { .band { padding-block: 76px; } }
.head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 52px; justify-items: start; }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.head .lede { font-size: 1.14rem; color: var(--muted); }
.grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cols-2, .cols-4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.stack { display: grid; gap: 18px; align-content: start; justify-items: start; min-width: 0; }

/* ───── Checkpoint journey ───── */
.journey { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.journey::before { content: ""; position: absolute; top: 36px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.journey .packet { position: absolute; top: 31px; left: 10%; width: 12px; height: 12px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 6px var(--saffron-soft); animation: travel 7s cubic-bezier(.6, 0, .4, 1) infinite; }
@keyframes travel { 0% { left: 10%; opacity: 0; } 6% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(90% - 12px); opacity: 0; } }
.jstep { position: relative; display: grid; gap: 12px; align-content: start; justify-items: center; text-align: center; padding: 0 6px; }
.jicon { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--accent); z-index: 1; }
.jicon .ic { width: 30px; height: 30px; stroke-width: 1.6; }
.jstep .n { font: 600 .74rem/1 var(--font-mono); color: var(--saffron); letter-spacing: .06em; text-transform: uppercase; }
.jstep h3 { font-size: 1.14rem; }
.jstep p { font-size: .93rem; color: var(--muted); }
@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; gap: 0; }
  .journey::before { top: 36px; bottom: 36px; left: 36px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 8px, transparent 8px 14px); }
  .journey .packet { display: none; }
  .jstep { grid-template-columns: 72px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 18px; row-gap: 4px; padding: 10px 0; }
  .jstep .jicon { grid-row: span 3; }
}
@media (prefers-reduced-motion: reduce) { .journey .packet { animation: none; display: none; } html { scroll-behavior: auto; } }

/* ───── Bento (platform) ───── */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cell { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: grid; gap: 10px; align-content: start; overflow: hidden; min-width: 0; transition: border-color .2s, box-shadow .2s; }
.cell:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.cell.span-2 { grid-column: span 2; }
.cell.span-3 { grid-column: span 3; }
.cell h3 { display: flex; align-items: center; gap: 10px; }
.cell h3 .ic { color: var(--accent); width: 22px; height: 22px; }
.cell > p { color: var(--muted); font-size: .97rem; }
.art { margin-top: 10px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); padding: 16px; display: grid; gap: 10px; min-width: 0; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cell.span-3 { grid-column: span 2; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .cell.span-2, .cell.span-3 { grid-column: auto; } }
.rows { display: grid; gap: 8px; }
.r { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: .86rem; }
.r .dotc { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.r .dotc.w { background: var(--warn); }
.r b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r .role { font-size: .74rem; color: var(--muted); }
.r .m { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); }
@media (max-width: 520px) { .r .role { display: none; } .r { grid-template-columns: auto minmax(0, 1fr) auto; } }
.term { font: 400 .8rem/1.65 var(--font-mono); color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.term .p { color: var(--accent); }
.term .d { color: var(--muted); }
.nodes { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 4px 0; }
.node { display: grid; justify-items: center; gap: 6px; font-size: .72rem; color: var(--muted); }
.node i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-2); }
.node i .ic { width: 20px; height: 20px; color: var(--muted); }
.node.primary i { border-color: var(--accent); background: var(--accent-soft); }
.node.primary i .ic { color: var(--accent-ink); }
.link-line { flex: 1; max-width: 36px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 8px); margin-bottom: 20px; }
.keys { display: flex; flex-wrap: wrap; gap: 6px; }
.key { font: 500 .76rem/1 var(--font-mono); padding: 7px 9px; border-radius: 7px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.key.own { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }
.key.deny { text-decoration: line-through; color: var(--faint); }
.linkpill { display: flex; align-items: center; gap: 8px; font: 500 .76rem/1.3 var(--font-mono); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; min-width: 0; }
.linkpill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; color: var(--muted); }
.linkpill em { font-style: normal; margin-left: auto; color: var(--saffron); white-space: nowrap; }
.linkpill .ic { color: var(--accent); width: 16px; height: 16px; }
.quota { display: grid; gap: 6px; font-size: .78rem; color: var(--muted); }
.quota .bar i { background: linear-gradient(90deg, var(--accent), var(--saffron)); }
.mini-login { display: grid; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.mini-login .addr { font: 500 .74rem/1 var(--font-mono); color: var(--muted); display: flex; gap: 6px; align-items: center; }
.mini-login .addr .ic { width: 12px; height: 12px; color: var(--ok); }
.mini-login .f { height: 30px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface-2); }
.mini-login .b { height: 30px; border-radius: 8px; background: var(--ink); }
.once { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px dashed var(--line-2); border-radius: 12px; padding: 12px; font-size: .84rem; }
.once .ic { width: 26px; height: 26px; color: var(--accent); }
.once b { display: block; font-weight: 600; }
.once span { color: var(--muted); font-size: .78rem; }
.notif { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: .8rem; box-shadow: var(--shadow-sm); }
.notif .ic { color: var(--saffron); width: 18px; height: 18px; margin-top: 1px; }
.notif b { display: block; font-size: .82rem; }
.notif span { color: var(--muted); }
.retain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.retain h4 { margin-bottom: 8px; }
.dots { display: flex; flex-wrap: wrap; gap: 6px; }
.dots i { width: 22px; height: 22px; border-radius: 7px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.dots i.t { background: var(--accent); border-color: var(--accent); }
@media (max-width: 620px) { .retain { grid-template-columns: 1fr; } }

/* ───── Release log ───── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: s; width: 100%; }
.steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); counter-increment: s; }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 600 .82rem/1 var(--font-mono); color: var(--accent-ink); background: var(--accent-soft); }
.steps li.gate::before { color: var(--warn); background: var(--saffron-soft); }
.steps b { display: block; font-weight: 600; }
.steps span { color: var(--muted); font-size: .94rem; }
.log { background: var(--code-bg); color: var(--code-ink); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; min-width: 0; border: 1px solid color-mix(in srgb, var(--code-ink) 10%, transparent); }
.log .win-bar { background: color-mix(in srgb, var(--code-ink) 5%, var(--code-bg)); border-color: color-mix(in srgb, var(--code-ink) 10%, transparent); }
.log .win-dots i { background: color-mix(in srgb, var(--code-ink) 22%, transparent); }
.log .win-title, .log .win-title b { color: var(--code-dim); }
.log-body { padding: 18px 20px 20px; font: 400 .84rem/1.9 var(--font-mono); overflow-x: auto; }
.ll { display: grid; grid-template-columns: 16px 76px minmax(180px, 1fr) auto; gap: 10px; white-space: nowrap; }
.ll .ok { color: #5BD69A; } .ll .no { color: #FF8A7E; } .ll .go { color: var(--code-str); }
.ll .k { color: var(--code-key); }
.ll .t { color: var(--code-dim); text-align: right; }
.ll .v { overflow: hidden; text-overflow: ellipsis; }
.log hr { border: 0; border-top: 1px dashed color-mix(in srgb, var(--code-ink) 16%, transparent); margin: 12px 0; }
.log .note { color: var(--code-dim); white-space: normal; font-size: .8rem; line-height: 1.6; margin-top: 8px; }

/* ───── Security ───── */
.explorer { display: grid; grid-template-columns: minmax(0, 310px) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.layer-list { display: grid; gap: 8px; align-content: start; }
.layer-btn { text-align: left; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); font: 600 1.02rem/1.25 var(--font-display); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.layer-btn .lico { grid-row: span 2; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-2); color: var(--muted); }
.layer-btn .lico .ic { width: 20px; height: 20px; }
.layer-btn small { font: 400 .82rem/1.3 var(--font-text); color: var(--muted); }
.layer-btn:hover { border-color: var(--line-2); }
.layer-btn[aria-selected="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.layer-btn[aria-selected="true"] .lico { background: var(--accent); color: var(--on-accent); }
.layer-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 4px; align-content: start; min-width: 0; }
.layer-panel h3 { font-size: 1.5rem; }
.panel-lead { margin-bottom: 12px; color: var(--muted); }
.ctl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.ctl b { font-weight: 600; }
.ctl p { grid-column: 1 / -1; color: var(--muted); font-size: .94rem; }
.status { font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; align-self: start; white-space: nowrap; }
.status.live { color: var(--ok); background: var(--ok-soft); }
.status.prog { color: var(--warn); background: var(--warn-soft); }
.status.plan { color: var(--plan); background: var(--plan-soft); }
@media (max-width: 860px) { .explorer { grid-template-columns: 1fr; } .layer-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); } }

.iso { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: stretch; }
.tenant { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 8px; min-width: 0; }
.tenant header { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; font: 600 1.02rem/1 var(--font-display); }
.tenant header i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-size: .84rem; color: var(--on-accent); background: var(--accent); }
.tenant.b header i { background: var(--saffron); color: #2A1A00; }
.res { display: flex; align-items: center; gap: 10px; font-size: .88rem; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); min-width: 0; }
.res .ic { width: 16px; height: 16px; color: var(--accent); }
.tenant.b .res .ic { color: var(--saffron); }
.res span { color: var(--muted); margin-left: auto; font-size: .76rem; white-space: nowrap; font-family: var(--font-mono); }
.wall { position: relative; display: grid; place-items: center; }
.wall::before { content: ""; position: absolute; top: 8px; bottom: 8px; width: 6px; border-radius: 6px; background: repeating-linear-gradient(180deg, var(--line-2) 0 10px, transparent 10px 16px); }
.wall .ic { position: relative; width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); color: var(--bad); stroke-width: 2.2; }
@media (max-width: 620px) { .iso { grid-template-columns: 1fr; } .wall { height: 52px; } .wall::before { top: 50%; bottom: auto; left: 10%; right: 10%; width: auto; height: 6px; background: repeating-linear-gradient(90deg, var(--line-2) 0 10px, transparent 10px 16px); } .res span { display: none; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 720px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 .76rem/1.2 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; }
td.us { color: var(--accent-ink); font-weight: 600; background: color-mix(in srgb, var(--accent-soft) 55%, transparent); }
.foot-note { font-size: .82rem; color: var(--faint); margin-top: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.card > p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; color: var(--ink-2); font-size: .96rem; }
.ticks .ic { width: 18px; height: 18px; color: var(--accent); stroke-width: 2.2; margin-top: 3px; }
.ticks.dim .ic { color: var(--faint); }

/* ───── Developers ───── */
.feat { display: grid; gap: 10px; align-content: start; min-width: 0; }


.feat p { color: var(--muted); font-size: .95rem; }
.feat .kv { font: 500 .76rem/1.4 var(--font-mono); color: var(--accent-ink); overflow-wrap: anywhere; }
.code-win { background: var(--code-bg); border-radius: 16px; overflow: hidden; min-width: 0; box-shadow: var(--shadow); border: 1px solid color-mix(in srgb, var(--code-ink) 10%, transparent); }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; font: 500 .8rem/1.2 var(--font-mono); color: var(--code-dim); border-bottom: 1px solid color-mix(in srgb, var(--code-ink) 10%, transparent); }
.copy { font: 600 .74rem/1 var(--font-text); color: var(--code-ink); background: color-mix(in srgb, var(--code-ink) 10%, transparent); border: 0; border-radius: 7px; padding: 7px 10px; cursor: pointer; flex: none; }
.copy:hover { background: color-mix(in srgb, var(--code-ink) 18%, transparent); }
.code-win pre { margin: 0; padding: 18px; color: var(--code-ink); font-size: .84rem; line-height: 1.75; overflow-x: auto; }
pre .k { color: var(--code-key); } pre .c { color: var(--code-dim); } pre .s { color: var(--code-str); }

/* ───── Sign-in mock ───── */
.signin { max-width: 420px; justify-self: center; width: 100%; }
.signin .win-body { padding: 30px; gap: 14px; }
.sg-logo { display: flex; align-items: center; gap: 10px; font: 700 1.24rem/1 var(--font-display); }
.sg-logo i { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--saffron), #D9480F); }
.sg-h { font: 600 1.1rem/1.3 var(--font-display); }
.sg-field { display: grid; gap: 6px; font-size: .82rem; color: var(--muted); font-weight: 500; }
.sg-field div { height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); display: flex; align-items: center; padding: 0 12px; color: var(--ink); font-size: .92rem; }
.sg-btn { height: 44px; border-radius: 10px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 600; font-size: .94rem; }
.sg-or { display: flex; align-items: center; gap: 10px; color: var(--faint); font-size: .78rem; }
.sg-or::before, .sg-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sg-alt { height: 42px; border-radius: 10px; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .9rem; font-weight: 500; }
.sg-alt .ic { width: 16px; height: 16px; }
.sg-mfa { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--ok); }
.sg-mfa .ic { width: 15px; height: 15px; }

/* ───── Pricing ───── */
.bill-toggle { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); gap: 4px; }
.bill-toggle button { border: 0; background: none; color: var(--muted); font: 600 .92rem/1 var(--font-text); padding: 10px 16px; border-radius: 9px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.bill-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.bill-toggle .save { font-size: .72rem; color: var(--saffron); font-weight: 700; }
.prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 1080px) { .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 620px) { .prices { grid-template-columns: 1fr; } }
.price { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: grid; grid-template-rows: auto auto auto auto 1fr auto; gap: 14px; min-width: 0; }
.price.pop { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg); }
.price .flag { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--on-accent); font-size: .74rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; letter-spacing: .02em; }
.price h3 { font-size: 1.32rem; }
.price .for { color: var(--muted); font-size: .92rem; min-height: 2.9em; }
.amount { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.amount strong { font: 700 2.8rem/1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.amount span { color: var(--muted); font-size: .9rem; }
.price .gst { font-size: .78rem; color: var(--faint); margin-top: -8px; min-height: 1.3em; }
.price .ticks { align-content: start; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.price .ticks li { font-size: .92rem; }
.price .btn { width: 100%; }
.everyplan { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.addons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.addon { padding: 18px 20px; display: grid; gap: 4px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); align-content: start; }
.addon:nth-child(3n) { border-right: 0; }
.addon:nth-last-child(-n+3) { border-bottom: 0; }
.addon b { font-weight: 600; font-size: .95rem; }
.addon span { font: 600 .95rem/1.3 var(--font-display); color: var(--accent-ink); }
.addon small { color: var(--muted); font-size: .8rem; }
@media (max-width: 860px) { .addons { grid-template-columns: 1fr 1fr; } .addon:nth-child(3n) { border-right: 1px solid var(--line); } .addon:nth-child(2n) { border-right: 0; } .addon:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); } .addon:nth-last-child(-n+2) { border-bottom: 0; } }
@media (max-width: 520px) { .addons { grid-template-columns: 1fr; } .addon, .addon:nth-child(3n) { border-right: 0; border-bottom: 1px solid var(--line); } .addon:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); } .addon:last-child { border-bottom: 0; } }
.offers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.offer { border: 1px dashed var(--line-2); border-radius: 14px; padding: 14px 16px; display: grid; gap: 2px; align-content: start; }
.offer b { font: 700 1.32rem/1.1 var(--font-display); color: var(--saffron); }
.offer span { font-size: .88rem; color: var(--ink-2); }
@media (max-width: 860px) { .offers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .offers { grid-template-columns: 1fr; } }

/* ───── FAQ ───── */
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font: 600 1.08rem/1.35 var(--font-display); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--font-text); color: var(--muted); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; }

/* ───── CTA and form ───── */
.cta { position: relative; overflow: hidden; border-radius: 28px; background: #0B1415; color: #DCE7E5; padding: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 10% 0%, rgba(60, 194, 182, .22), transparent 70%), radial-gradient(420px 260px at 100% 100%, rgba(244, 172, 61, .14), transparent 70%); pointer-events: none; }
.cta > * { position: relative; }
.cta h2 { color: #F3F7F6; }
.cta .lede { color: #B8C6C4; }
.cta .eyebrow { color: #7FDCD2; }
.cta-points { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; color: #CFDAD8; }
.cta-points li { display: flex; gap: 10px; align-items: center; }
.cta-points .ic { color: #7FDCD2; width: 18px; height: 18px; stroke-width: 2.2; }
.contact-addr { font-family: var(--font-mono); color: #F3F7F6; }
.cta p.small { color: #B8C6C4; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; padding: 32px 22px; gap: 32px; border-radius: 22px; } }
.form { display: grid; gap: 14px; background: #FFFFFF; color: #0D1617; border-radius: 20px; padding: 26px; box-shadow: 0 24px 64px -16px rgba(0, 0, 0, .5); min-width: 0; color-scheme: light; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .86rem; font-weight: 600; color: #2B3638; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--font-text); color: #0D1617; background: #F6F7F3; border: 1px solid #D5D9D2; border-radius: 10px; padding: 11px 12px; }
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid #0B7A75; outline-offset: 0; border-color: #0B7A75; background: #fff; }
.two-f { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .two-f { grid-template-columns: 1fr; } }
.form .btn-primary { background: #0D1617; color: #fff; }
.form-note { font-size: .8rem; color: #5E6A6B; }
.form-note a { color: #075A56; }
.form-done { font-size: .9rem; color: #075A56; background: #E3F2EF; border-radius: 10px; padding: 10px 12px; }

/* ───── Footer ───── */
.site-foot { padding-block: 64px 40px; border-top: 1px solid var(--line); margin-top: 112px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-grid ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.foot-grid a { color: var(--ink-2); text-decoration: none; font-size: .94rem; }
.foot-grid a:hover { color: var(--accent); }
.foot-grid p { color: var(--muted); font-size: .94rem; max-width: 28em; margin-top: 14px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: .84rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ───── Legal pages ───── */
.legal { padding-block: 56px 24px; }
.legal article { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 4px; }
.legal h2 { font-size: 1.4rem; margin-top: 22px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul, .legal ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.legal table { min-width: 0; font-size: .92rem; }
.legal .meta { color: var(--muted); font-size: .9rem; }
.legal .site-foot { margin-top: 64px; }
.draft { display: inline-block; justify-self: start; background: var(--warn-soft); color: var(--warn); font-size: .82rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.ph { background: var(--saffron-soft); color: var(--ink); border-radius: 4px; padding: 0 4px; }

/* Reveal on scroll (only when the script runs; content stays visible without it). */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

/* shared */
.h-lg { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; font-weight: 650; letter-spacing: -0.015em; }
.fi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.fi .ic { width: 22px; height: 22px; }
@media (max-width: 520px) { .pipe-step b { font-size: .64rem; } .pipe-dot { width: 24px; height: 24px; } .pipe::before { top: 15px; } }
.prices.cols-3p { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .prices.cols-3p { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.amount strong.ask { font-size: 1.9rem; }

/* AI app hosting page */
table.timing { min-width: 0; }
table.timing td:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.report-why { display: grid; gap: 6px; padding: 14px 16px; border-radius: 12px; background: var(--warn-soft); border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent); font-size: .9rem; color: var(--ink-2); }
.report-why > b { color: var(--ink); }
.report-row { display: grid; grid-template-columns: 74px minmax(0, auto) minmax(0, 1fr); gap: 12px; align-items: center; font-size: .84rem; color: var(--muted); padding-block: 8px; border-top: 1px solid var(--line); }
.report-row code { color: var(--ink); overflow-wrap: anywhere; }
.sev { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-align: center; padding: 3px 0; border-radius: 6px; }
.sev.crit { color: var(--bad); background: var(--bad-soft); } .sev.high { color: var(--warn); background: var(--warn-soft); } .sev.med { color: var(--plan); background: var(--plan-soft); }
@media (max-width: 520px) { .report-row { grid-template-columns: 74px minmax(0, 1fr); } .report-row > span:last-child { grid-column: 2; } }

/* ───── Premium layer (2026-10-23): peacock, royal indigo and saffron, gradients used sparingly ───── */
.hero::before { background: radial-gradient(600px 380px at 78% 28%, var(--glow-a), transparent 70%), radial-gradient(560px 360px at 96% 72%, var(--glow-c), transparent 70%), radial-gradient(420px 300px at 8% 92%, var(--glow-b), transparent 70%); }
.hero h1 .hl, .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.btn-primary { background: var(--grad-btn); color: #FFFFFF; box-shadow: 0 1px 2px rgba(13, 22, 23, .12), 0 10px 28px -12px rgba(59, 68, 201, .55); }
.btn-primary:hover { color: #FFFFFF; background: var(--grad-btn); filter: brightness(1.08) saturate(1.05); box-shadow: 0 1px 2px rgba(13, 22, 23, .12), 0 14px 34px -12px rgba(59, 68, 201, .7); }
.form .btn-primary { background: var(--grad-btn); color: #FFFFFF; }
.pill .tag { background: var(--grad-btn); color: #FFFFFF; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad-warm); }
.head.center .eyebrow::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad-warm); }
.band.tint::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--royal) 70%, transparent); opacity: .45; }
.cell:hover, a.cell:hover { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: 0 18px 44px -22px var(--glow-c), var(--shadow); }
:is(.bento, .grid) > .cell:nth-child(4n+2) h3 .ic { color: var(--royal); }
:is(.bento, .grid) > .cell:nth-child(4n+3) h3 .ic { color: var(--saffron); }
:is(.bento, .grid) > .cell:nth-child(4n+4) h3 .ic { color: var(--rose); }
.site-foot { position: relative; }
.site-foot::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--grad); opacity: .7; }
.nav a[aria-current="page"] { color: var(--ink); background: var(--bg-2); box-shadow: inset 0 -2px 0 var(--royal); }

/* Night band: a deep midnight section for the moments that matter, the same in both themes. */
.band.night {
  --bg: #070B14; --bg-2: #0B1120; --surface: #0F1729; --surface-2: #131D33;
  --ink: #F2F5FB; --ink-2: #CBD3E4; --muted: #96A2BA; --faint: #6E7B94;
  --line: #1E2942; --line-2: #2C3858;
  --accent: #3CC2B6; --accent-ink: #7FDCD2; --accent-soft: #0F2E2C;
  --royal: #8F90FF; --royal-ink: #B8B9FF; --royal-soft: #1C1B3A; --rose: #F27BA0; --rose-soft: #36141F;
  --saffron: #F4AC3D; --saffron-soft: #33240C;
  --ok: #4CC984; --ok-soft: #0F2A1C; --warn: #F0B04A; --warn-soft: #2E2410; --bad: #F07A6E; --bad-soft: #321714; --plan: #A99BFF; --plan-soft: #1E1A38;
  --grad: linear-gradient(115deg, #3CC2B6 0%, #6E8BFF 55%, #B08CFF 100%); --grad-warm: linear-gradient(115deg, #F4AC3D 0%, #F27BA0 100%);
  --glow-c: rgba(143, 144, 255, .2);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -8px rgba(0, 0, 0, .6); --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 64px -16px rgba(0, 0, 0, .8);
  color-scheme: dark; color: var(--ink); border-block: 0;
  background: radial-gradient(820px 420px at 12% 0%, rgba(67, 56, 202, .32), transparent 70%), radial-gradient(720px 380px at 100% 100%, rgba(60, 194, 182, .18), transparent 70%), #070B14;
}
.band.night .lede { color: var(--ink-2); }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.stat { background: var(--surface); padding: 22px 24px; display: grid; gap: 4px; min-width: 0; }
.stat b { font: 700 clamp(1.6rem, 3vw, 2.2rem)/1 var(--font-display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .9rem; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Sub-page hero and breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-block: 18px 0; font-size: .86rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink-2); }
.hero.sub { padding-block: 64px 72px; }
.hero.sub .hero-copy { max-width: 860px; margin-inline: auto; justify-items: center; text-align: center; }
.hero.sub .lede { margin-inline: auto; }
.hero.sub .cta-row { justify-content: center; }

/* Industries: pain and answer */
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ind { scroll-margin-top: 96px; }
.ind .pain, .ind .fix { display: grid; gap: 4px; font-size: .95rem; }
.ind .pain { color: var(--ink-2); }
.ind .fix { color: var(--muted); padding-top: 12px; border-top: 1px dashed var(--line-2); }
.ind .lbl { font: 700 .7rem/1 var(--font-text); letter-spacing: .12em; text-transform: uppercase; }
.ind .pain .lbl { color: var(--rose); }
.ind .fix .lbl { color: var(--accent-ink); }
.ind .fit { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ind .fit span { font-size: .74rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--royal-soft); color: var(--royal-ink); }
@media (max-width: 980px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .ind-grid { grid-template-columns: 1fr; } }

/* Deployment models */
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.model { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.model.featured { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: 0 24px 60px -30px var(--glow-c); }
.model .kicker { font: 700 .72rem/1 var(--font-text); letter-spacing: .12em; text-transform: uppercase; color: var(--royal-ink); }
.model h3 { font-size: 1.5rem; }
.model > p { color: var(--muted); }
.model .who { font-size: .88rem; color: var(--ink-2); padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.model-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #FFFFFF; background: var(--grad-btn); }
.model:nth-child(3) .model-ico { background: var(--grad-warm); }
.model-ico .ic { width: 22px; height: 22px; stroke-width: 2; }
@media (max-width: 980px) { .models { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; } }
table.compare { min-width: 640px; }
table.compare td:not(:first-child) { color: var(--ink-2); }

/* Guides */
.guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
a.cell { text-decoration: none; color: inherit; }
a.cell h3 { color: var(--ink); }
.cell .tagline { font: 700 .7rem/1 var(--font-text); letter-spacing: .12em; text-transform: uppercase; color: var(--royal-ink); }
.cell .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--accent-ink); }
.cell .more .ic { width: 16px; height: 16px; }
@media (max-width: 760px) { .guide-list { grid-template-columns: 1fr; } }
.article { max-width: 760px; margin-inline: auto; padding-block: 40px 24px; display: grid; gap: 20px; }
.article .meta-line { color: var(--muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.article h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); line-height: 1.06; }
.article h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-top: 18px; }
.article p, .article li { color: var(--ink-2); font-size: 1.05rem; line-height: 1.7; }
.article ul, .article ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.article strong { color: var(--ink); }
.answer { border-radius: 16px; padding: 20px 22px; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1px solid transparent; display: grid; gap: 8px; box-shadow: var(--shadow-sm); }
.answer .lbl { font: 700 .72rem/1 var(--font-text); letter-spacing: .12em; text-transform: uppercase; color: var(--royal-ink); }
.article .answer p { color: var(--ink); }
.article .faq { max-width: none; margin: 0; }
.article .table-wrap table { min-width: 560px; }
.next-read { display: grid; gap: 10px; padding: 20px 22px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.article .next-read ul { list-style: none; padding: 0; }
.cta-band { display: grid; gap: 16px; justify-items: center; text-align: center; max-width: 760px; margin-inline: auto; }
.center-row { justify-content: center; margin-top: 28px; }
.models + .table-wrap { margin-top: 28px; }
.split .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.article { grid-template-columns: minmax(0, 1fr); } .article code { overflow-wrap: anywhere; }
.models.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 960px; margin-inline: auto; }
@media (max-width: 860px) { .models.two { grid-template-columns: 1fr; max-width: 620px; } }
.model .amount strong { font-size: 2.4rem; }
.model .btn { justify-self: start; }
.center-note { text-align: center; }
table.compare.wide { min-width: 760px; }
.price-more { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; align-items: center; margin-top: 28px; color: var(--muted); font-size: .95rem; }
.price-more b { color: var(--ink); }

/* Quick Connect */
.qc-fab { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--grad-btn); color: #FFFFFF; font: 600 .95rem/1 var(--font-text); text-decoration: none; box-shadow: 0 12px 32px -10px rgba(59, 68, 201, .65), 0 2px 6px rgba(13, 22, 23, .2); }
.qc-fab:hover { color: #FFFFFF; filter: brightness(1.08); }
.qc-fab .ic { width: 18px; height: 18px; }
dialog.qc { border: 0; padding: 0; background: transparent; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; }
dialog.qc::backdrop { background: rgba(7, 11, 20, .62); backdrop-filter: blur(4px); }
dialog.qc .form { box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }
.qc-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.qc-head h2 { font-size: 1.6rem; color: #0D1617; }
.qc-head p { color: #5E6A6B; font-size: .94rem; margin-top: 4px; }
.qc-x { flex: none; width: 36px; height: 36px; border-radius: 10px; border: 1px solid #D5D9D2; background: #F6F7F3; color: #2B3638; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.field .opt { font-weight: 400; color: #5E6A6B; }
.consent { display: grid; gap: 8px; }
.check { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .82rem; line-height: 1.45; color: #2B3638; cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: #0B7A75; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form-done.err { color: #8E2A20; background: #FBE7E4; }
.form .btn[disabled] { opacity: .7; cursor: progress; }
@media print { .qc-fab { display: none; } }
/* Quick Connect result: shown in place of the form */
.form { gap: 12px; padding: 22px; }
.form.sent > :not(.qc-head):not(.form-ok) { display: none; }
.form-ok { display: grid; gap: 10px; justify-items: start; padding: 18px; border-radius: 14px; background: #E2F4EA; color: #0D3B22; }
.form-ok[hidden] { display: none; }
.form-ok strong { font: 650 1.3rem/1.2 var(--font-display); color: #0D3B22; }
.form-ok strong::before { content: "\2713"; display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 10px; border-radius: 50%; background: #138A4C; color: #FFFFFF; font-size: .95rem; vertical-align: 2px; }
.form-ok p { color: #1E4D33; font-size: .95rem; }
.form-ok .btn { width: auto; background: #FFFFFF; color: #0D3B22; border-color: #B9DEC8; }
.form-err { font-size: .9rem; color: #8E2A20; background: #FBE7E4; border-radius: 10px; padding: 10px 12px; }
.form .field textarea { min-height: 64px; }
.check { font-size: .78rem; }
