/* =================================================================
   Powder Devices — Design System
   Hand-authored, dependency-free CSS. Organized as:
   1. Tokens  2. Reset/Base  3. Layout  4. Typography
   5. Components  6. Page sections  7. Utilities  8. Motion/Responsive
   ================================================================= */

/* ----------------------------------------------------------------
   1. DESIGN TOKENS
   ---------------------------------------------------------------- */
:root {
  /* Brand */
  --brand:        #2d5bff;   /* electric azure */
  --brand-600:    #1f47e0;
  --brand-700:    #1a3bc0;
  --brand-400:    #5c83ff;
  --brand-300:    #93acff;
  --volt:         #22e1e8;   /* high-voltage cyan accent */
  --volt-600:     #12c2cc;

  /* Neutrals (slate) */
  --n-950: #070b16;
  --n-900: #0b1426;
  --n-850: #0f1a30;
  --n-800: #16223d;
  --n-700: #243352;
  --n-600: #3a4a6b;
  --n-500: #5b6b8c;
  --n-400: #8493b0;
  --n-300: #aebbd1;
  --n-200: #d2dae8;
  --n-150: #e2e8f2;
  --n-100: #eef2f8;
  --n-50:  #f6f8fc;
  --white: #ffffff;

  /* Semantic */
  --bg:         #ffffff;
  --bg-alt:     #f6f8fc;
  --bg-ink:     #0b1426;
  --bg-ink-2:   #070b16;
  --text:       #101a2e;
  --text-2:     #3c4a63;
  --text-mut:   #5b6b8c;
  --text-faint: #8493b0;
  --border:     #e4eaf3;
  --border-2:   #d2dae8;
  --line-dark:  rgba(255,255,255,.09);

  /* Effects */
  --grad-brand: linear-gradient(120deg, var(--brand) 0%, var(--volt) 100%);
  --grad-ink:   linear-gradient(160deg, #0e1a33 0%, #070b16 100%);
  --ring:       0 0 0 4px rgba(45,91,255,.18);
  --shadow-xs:  0 1px 2px rgba(16,26,46,.06);
  --shadow-sm:  0 2px 8px rgba(16,26,46,.06), 0 1px 2px rgba(16,26,46,.04);
  --shadow-md:  0 12px 28px -10px rgba(16,26,46,.16), 0 4px 10px -6px rgba(16,26,46,.10);
  --shadow-lg:  0 30px 60px -22px rgba(16,26,46,.28), 0 12px 24px -16px rgba(16,26,46,.14);
  --shadow-volt:0 18px 50px -16px rgba(45,91,255,.45);

  /* Radii */
  --r-sm: 8px;
  --r:    12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 72px;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Space Grotesk", var(--font-sans);
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fluid-h1: clamp(2.3rem, 1.4rem + 3.6vw, 4rem);
  --fluid-h2: clamp(1.8rem, 1.2rem + 2.2vw, 2.9rem);
  --fluid-h3: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
}

/* ----------------------------------------------------------------
   2. RESET / BASE
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-600); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--brand-700); }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 3px;
}
::selection { background: rgba(45,91,255,.18); }
hr { border: none; border-top: 1px solid var(--border); margin: 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 18px;
  border-radius: var(--r-sm); font-weight: 600; transition: top .2s ease;
}
.skip-link:focus { top: 12px; color:#fff; }

/* ----------------------------------------------------------------
   3. LAYOUT
   ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(64px, 8vw, 116px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--ink { background: var(--grad-ink); color: var(--n-200); }
.section--alt { background: var(--bg-alt); }
.section--line-top { border-top: 1px solid var(--border); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* ----------------------------------------------------------------
   4. TYPOGRAPHY
   ---------------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: var(--fluid-h1); letter-spacing: -0.03em; }
h2 { font-size: var(--fluid-h2); }
h3 { font-size: var(--fluid-h3); line-height: 1.2; }
h4 { font-size: 1.12rem; letter-spacing: -0.01em; }
p { color: var(--text-2); }
strong { color: var(--text); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .76rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1.5px;
  background: var(--grad-brand); border-radius: 2px;
}
.section--ink .eyebrow { color: var(--volt); }

.lede { font-size: clamp(1.05rem, 1rem + .4vw, 1.27rem); line-height: 1.6; color: var(--text-2); }
.section--ink .lede { color: var(--n-300); }
.measure { max-width: 64ch; }
.measure-sm { max-width: 52ch; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ----------------------------------------------------------------
   5. COMPONENTS
   ---------------------------------------------------------------- */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: .98rem; letter-spacing: -0.01em;
  padding: 13px 24px; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(45,91,255,.6); }
.btn--primary:hover { background: var(--brand-600); color:#fff; transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(45,91,255,.65); }
.btn--ghost { background: #fff; color: var(--text); border-color: var(--border-2); box-shadow: var(--shadow-xs); }
.btn--ghost:hover { color: var(--text); border-color: var(--brand-300); background: var(--n-50); transform: translateY(-2px); }
.btn--ink { background: var(--n-900); color: #fff; }
.btn--ink:hover { background: var(--n-800); color:#fff; transform: translateY(-2px); }
.btn--on-dark { background: #fff; color: var(--n-900); }
.btn--on-dark:hover { background: var(--n-100); color: var(--n-900); transform: translateY(-2px); }
.btn--outline-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn--outline-dark:hover { background: rgba(255,255,255,.08); color:#fff; border-color: rgba(255,255,255,.5); transform: translateY(-2px); }
.btn--lg { padding: 16px 30px; font-size: 1.04rem; }
.btn--sm { padding: 9px 16px; font-size: .88rem; }
.btn--block { display: flex; width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 600;
  color: var(--brand-600); font-size: .96rem;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }
.section--ink .link-arrow { color: var(--volt); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Pills / badges */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--n-100); color: var(--text-mut); border: 1px solid var(--border);
}
.pill--brand { background: rgba(45,91,255,.09); color: var(--brand-700); border-color: rgba(45,91,255,.2); }
.pill--volt { background: rgba(34,225,232,.12); color: var(--volt-600); border-color: rgba(34,225,232,.32); }
.pill--green { background: rgba(16,160,110,.1); color: #0c8a5d; border-color: rgba(16,160,110,.25); }
.pill--amber { background: rgba(214,141,16,.1); color: #b9760a; border-color: rgba(214,141,16,.25); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill--live .dot { box-shadow: 0 0 0 0 rgba(12,138,93,.5); animation: pulse 2s infinite; }

/* Cards */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.card--hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--brand-300); }
.card__icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(45,91,255,.09); color: var(--brand); margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .98rem; }

/* Feature icon list */
.feature-grid { display: grid; gap: clamp(20px,2.5vw,30px); }
.feature {
  display: flex; gap: 16px; align-items: flex-start;
}
.feature__ic {
  flex: none; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; box-shadow: 0 8px 18px -8px rgba(45,91,255,.6);
}
.feature__ic svg { width: 22px; height: 22px; }
.feature h4 { margin-bottom: 5px; }
.feature p { font-size: .95rem; }
.section--ink .feature p { color: var(--n-400); }
.section--ink .feature h4 { color: #fff; }

/* Check list */
.checklist { display: grid; gap: 13px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 1rem; }
.checklist li svg { flex: none; width: 22px; height: 22px; color: var(--brand); margin-top: 1px; }
.section--ink .checklist li { color: var(--n-300); }
.section--ink .checklist li svg { color: var(--volt); }

/* Stat */
.stat__value { font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--text); }
.stat__value .unit { font-size: .5em; color: var(--text-mut); font-weight: 500; margin-left: 3px; }
.stat__label { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .04em; color: var(--text-mut); margin-top: 9px; text-transform: uppercase; }
.section--ink .stat__value { color: #fff; }
.section--ink .stat__value .unit { color: var(--n-400); }
.section--ink .stat__label { color: var(--n-400); }

/* Spec table */
.spec {
  width: 100%; border-collapse: collapse; font-size: .96rem;
  border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden;
}
.spec caption {
  caption-side: top; text-align: left; font-family: var(--font-display);
  font-weight: 600; font-size: 1.15rem; padding: 4px 2px 16px; color: var(--text);
}
.spec th, .spec td { padding: 13px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.spec tbody tr:last-child th, .spec tbody tr:last-child td { border-bottom: none; }
.spec th[scope="row"] { font-weight: 500; color: var(--text-2); width: 46%; background: var(--n-50); }
.spec td { font-family: var(--font-mono); font-size: .9rem; color: var(--text); font-weight: 500; }
.spec .group th {
  background: var(--n-900); color: #fff; font-family: var(--font-mono); font-size: .74rem;
  letter-spacing: .12em; text-transform: uppercase; font-weight: 500; padding: 11px 18px;
}
.spec tr:hover td, .spec tr:hover th[scope="row"] { background: rgba(45,91,255,.04); }
.spec .group:hover th { background: var(--n-900); }

/* Process steps */
.steps { display: grid; gap: clamp(20px,2.5vw,26px); counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: clamp(20px,2.5vw,26px); background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-xs);
}
.step__num {
  counter-increment: step; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
  background: var(--grad-ink); color: var(--volt); border: 1px solid var(--n-700);
}
.step__num::before { content: counter(step,decimal-leading-zero); }
.step h4 { margin-bottom: 6px; }
.step p { font-size: .96rem; }

/* Standards / badge strip */
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badge-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px;
  border: 1px solid var(--border); border-radius: var(--r); background: #fff;
  font-weight: 600; font-size: .9rem; color: var(--text-2); box-shadow: var(--shadow-xs);
}
.badge-chip svg { width: 18px; height: 18px; color: var(--brand); }
.section--ink .badge-chip { background: rgba(255,255,255,.04); border-color: var(--line-dark); color: var(--n-200); }
.section--ink .badge-chip svg { color: var(--volt); }

/* Accordion */
.accordion { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background:#fff; box-shadow: var(--shadow-sm); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-item:last-child { border-bottom: none; }
.acc-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px clamp(20px,2.5vw,28px); text-align: left; font-family: var(--font-display);
  font-weight: 600; font-size: 1.05rem; color: var(--text);
}
.acc-trigger:hover { color: var(--brand-600); }
.acc-icon { flex: none; width: 22px; height: 22px; position: relative; transition: transform .3s ease; color: var(--brand); }
.acc-icon::before, .acc-icon::after { content:""; position:absolute; background: currentColor; border-radius: 2px; }
.acc-icon::before { width: 16px; height: 2px; top: 10px; left: 3px; }
.acc-icon::after { width: 2px; height: 16px; top: 3px; left: 10px; transition: transform .3s ease; }
.acc-item.open .acc-icon::after { transform: scaleY(0); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-panel-inner { padding: 0 clamp(20px,2.5vw,28px) 24px; color: var(--text-2); font-size: .98rem; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--text); }
.field .req { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px; border: 1px solid var(--border-2); border-radius: var(--r);
  background: #fff; font-size: .97rem; color: var(--text); transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text-2); }
.checkbox input { width: 19px; height: 19px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.form-note { font-size: .85rem; color: var(--text-faint); }

/* Breadcrumb */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; font-family: var(--font-mono); color: var(--text-faint); }
.breadcrumb a { color: var(--text-mut); }
.breadcrumb a:hover { color: var(--brand-600); }
.breadcrumb .sep { color: var(--border-2); }

/* Prose (legal / long-form text) */
.prose { max-width: 76ch; }
.prose h2 { font-size: 1.5rem; margin-top: 44px; margin-bottom: 14px; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 28px; margin-bottom: 8px; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 16px; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; color: var(--text-2); }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.prose .updated { font-family: var(--font-mono); font-size: .82rem; color: var(--text-faint); }

/* Tag list */
.taglist { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-family: var(--font-mono); font-size: .76rem; padding: 5px 11px; border-radius: var(--r-sm); background: var(--n-100); color: var(--text-mut); border: 1px solid var(--border); }

/* ----------------------------------------------------------------
   6. PAGE SECTIONS
   ---------------------------------------------------------------- */

/* Announcement bar */
.topbar {
  background: var(--n-950); color: var(--n-200); font-size: .85rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar__in { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 9px var(--gutter); position: relative; text-align: center; }
.topbar a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--volt); }
.topbar a svg { width: 14px; height: 14px; }
.topbar .pill { background: rgba(34,225,232,.14); color: var(--volt); border-color: rgba(34,225,232,.3); }
.topbar__close { position: absolute; right: var(--gutter); color: var(--n-400); font-size: 1.2rem; line-height: 1; padding: 4px; }
.topbar__close:hover { color: #fff; }
.topbar.hide { display: none; }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background .25s;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); background: rgba(255,255,255,.92); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  color: var(--text-2); font-weight: 500; font-size: .96rem; padding: 9px 14px; border-radius: var(--r-sm);
  transition: color .18s, background .18s;
}
.nav__links a:hover { color: var(--text); background: var(--n-100); }
.nav__links a[aria-current="page"] { color: var(--brand-700); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: transform .25s, opacity .2s;
  margin-inline: auto;
}
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -7px; } .nav__toggle span::after { top: 7px; }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav__toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; letter-spacing: -.02em; color: var(--text); }
.logo:hover { color: var(--text); }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: .56rem; letter-spacing: .26em; color: var(--text-faint); text-transform: uppercase; margin-top: 1px; }
.logo__txt { display: flex; flex-direction: column; line-height: 1.05; }
.site-footer .logo { color: #fff; }
.site-footer .logo small { color: var(--n-400); }

/* Hero */
.hero { position: relative; background: var(--grad-ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 100% at 70% 0%, #000 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 100% at 70% 0%, #000 40%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  right: -12%; top: -22%; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,91,255,.4) 0%, rgba(34,225,232,.16) 35%, transparent 68%);
  filter: blur(20px);
}
.hero__in { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px,5vw,64px); align-items: center; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lede { color: var(--n-300); margin-top: 22px; max-width: 52ch; }
.hero .btn-row { margin-top: 34px; }
.hero__eyebrow { color: var(--volt); }
.hero__eyebrow::before { background: var(--volt); }

.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(24px,4vw,52px); margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--line-dark); }

/* Logo cloud / context strip */
.context-strip { padding-block: 34px; border-bottom: 1px solid var(--border); }
.context-strip__label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); text-align: center; margin-bottom: 20px; }
.context-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(16px,3vw,40px); }
.context-row span { font-family: var(--font-display); font-weight: 600; font-size: clamp(.95rem,2.5vw,1.15rem); color: var(--text-faint); letter-spacing: -.01em; display: inline-flex; align-items:center; gap:10px; }
.context-row span svg { width: 20px; height: 20px; color: var(--brand-300); }

/* Product card */
.product-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.product-card__visual { position: relative; padding: 30px 30px 0; background: linear-gradient(165deg, var(--n-900), var(--n-950)); aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; }
.product-card__visual svg { width: 100%; height: 100%; }
.product-card__status { position: absolute; top: 16px; left: 16px; z-index: 2; }
.product-card__body { padding: clamp(22px,2.6vw,28px); display: flex; flex-direction: column; flex: 1; }
.product-card__series { font-family: var(--font-mono); font-size: .76rem; color: var(--brand-600); letter-spacing: .08em; margin-bottom: 8px; text-transform: uppercase; }
.product-card h3 { margin-bottom: 8px; }
.product-card__desc { font-size: .95rem; color: var(--text-mut); margin-bottom: 18px; flex: 1; }
.kv-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px dashed var(--border); font-size: .9rem; }
.kv-row .k { color: var(--text-mut); }
.kv-row .v { font-family: var(--font-mono); font-weight: 500; color: var(--text); }
.product-card__foot { margin-top: 20px; display:flex; justify-content: space-between; align-items:center; }

/* Conversion / voltage flow diagram */
.flow { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.flow__node {
  border: 1px solid var(--line-dark); background: rgba(255,255,255,.04); border-radius: var(--r);
  padding: 14px 18px; text-align: center; min-width: 92px;
}
.flow__node .v { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: #fff; }
.flow__node .l { font-family: var(--font-mono); font-size: .68rem; color: var(--n-400); text-transform: uppercase; letter-spacing: .08em; margin-top: 2px; }
.flow__node.is-out .v { color: var(--volt); }
.flow__arrow { color: var(--brand-400); display: grid; place-items: center; }
.flow__arrow svg { width: 30px; height: 30px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--grad-ink); color:#fff; border-radius: var(--r-lg); padding: clamp(36px,6vw,68px); isolation: isolate; }
.cta-band::after { content:""; position:absolute; inset:0; z-index:-1; background: radial-gradient(80% 120% at 100% 0%, rgba(45,91,255,.35), transparent 60%); }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--n-300); }

/* Page hero (interior) */
.page-hero { background: var(--grad-ink); color: #fff; position: relative; overflow:hidden; isolation:isolate; }
.page-hero::before {
  content:""; position:absolute; inset:0; z-index:-2;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(110% 120% at 80% -10%, #000 30%, transparent 72%);
  -webkit-mask-image: radial-gradient(110% 120% at 80% -10%, #000 30%, transparent 72%);
}
.page-hero__in { padding-block: clamp(56px, 8vw, 96px); }
.page-hero h1 { color:#fff; max-width: 20ch; }
.page-hero .lede { color: var(--n-300); margin-top: 18px; }
.page-hero .breadcrumb { margin-bottom: 24px; }
.page-hero .breadcrumb a { color: var(--n-400); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb .sep, .page-hero .breadcrumb { color: var(--n-500); }

/* Two-col content (product detail) */
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: clamp(32px,4vw,56px); align-items: start; }
.detail-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
.aside-card { background:#fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 26px; box-shadow: var(--shadow-md); }
.aside-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.aside-card .price-note { font-family: var(--font-mono); font-size: .82rem; color: var(--text-mut); margin-bottom: 18px; }
.mini-spec { display: grid; gap: 0; margin: 18px 0; }
.mini-spec div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--border); font-size: .88rem; }
.mini-spec div:first-child { border-top: none; }
.mini-spec .k { color: var(--text-mut); }
.mini-spec .v { font-family: var(--font-mono); color: var(--text); font-weight:500; text-align:right; }

/* Block diagram frame */
.diagram { background: linear-gradient(165deg, var(--n-900), var(--n-950)); border-radius: var(--r-md); padding: clamp(24px,4vw,44px); border: 1px solid var(--n-800); }
.diagram svg { width: 100%; height: auto; }

/* Footer */
.site-footer { background: var(--bg-ink-2); color: var(--n-300); padding-block: clamp(52px,6vw,76px) 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(28px,4vw,48px); padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand p { color: var(--n-400); font-size: .94rem; margin-top: 18px; max-width: 34ch; }
.footer-brand .contact-line { margin-top: 20px; display:flex; flex-direction:column; gap:8px; font-size:.92rem; }
.footer-brand .contact-line a { color: var(--n-200); display:inline-flex; align-items:center; gap:9px; }
.footer-brand .contact-line a:hover { color: var(--volt); }
.footer-brand .contact-line svg { width:16px; height:16px; color: var(--n-500); }
.footer-col h4 { color: #fff; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--n-400); font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 26px; font-size: .85rem; color: var(--n-500); }
.footer-bottom__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a { color: var(--n-400); }
.footer-bottom a:hover { color: #fff; }
.footer-legal { font-size: .8rem; color: var(--n-600); margin-top: 14px; max-width: 80ch; }

/* ----------------------------------------------------------------
   7. UTILITIES
   ---------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 48px; }
.mb-1 { margin-bottom: 10px; } .mb-2 { margin-bottom: 20px; } .mb-3 { margin-bottom: 32px; }
.muted { color: var(--text-mut); }
.full { grid-column: 1 / -1; }
.nowrap { white-space: nowrap; }
.divider { height:1px; background: var(--border); border:0; margin-block: clamp(40px,6vw,72px); }
.eq { display:flex; flex-direction:column; height:100%; }

/* ----------------------------------------------------------------
   8. MOTION + RESPONSIVE
   ---------------------------------------------------------------- */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(12,138,93,.5);} 70% { box-shadow: 0 0 0 7px rgba(12,138,93,0);} 100% { box-shadow: 0 0 0 0 rgba(12,138,93,0);} }
@keyframes dash { to { stroke-dashoffset: -24; } }
.flow-dash { stroke-dasharray: 6 6; animation: dash 1.2s linear infinite; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 520px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__links, .nav__right .btn { display: none; }
  .nav__toggle { display: grid; place-items: center; }
  .nav__mobile {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg); padding: 18px var(--gutter) 28px; display: none; flex-direction: column; gap: 4px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  body.nav-open .nav__mobile { display: flex; }
  body.nav-open { overflow: hidden; }
  .nav__mobile a { padding: 13px 8px; font-weight: 500; font-size: 1.05rem; color: var(--text); border-bottom: 1px solid var(--border); }
  .nav__mobile a[aria-current="page"] { color: var(--brand-700); }
  .nav__mobile .btn { margin-top: 16px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .step { grid-template-columns: 1fr; gap: 14px; }
  .topbar__in { font-size: .8rem; }
  .topbar .pill { display: none; }
  .hero-stats { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .flow-dash { animation: none; }
  .pill--live .dot { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* Print */
@media print {
  .site-header, .topbar, .site-footer, .cta-band, .nav__toggle { display: none; }
  body { font-size: 12px; }
  .section { padding-block: 18px; }
}
