/* ==========================================================================
   AIHardwareIndia.com — v2 "Engineering Blueprint" theme
   Palette: bg #0B0F14 · surfaces #151B23 · cyan #00C2FF · blue #3B82F6
   ========================================================================== */

:root {
  --bg: #0B0F14;
  --surface: #151B23;
  --surface-2: #1A222D;
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.28);
  --cyan: #00C2FF;
  --blue: #3B82F6;
  --text: #F8FAFC;
  --muted: #94A3B8;
  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 76px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: rgba(0, 194, 255, 0.28); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--cyan); color: #04121A; font-weight: 600;
  padding: 10px 18px; border-radius: 8px; transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
  background: transparent; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 0 12px rgba(0, 194, 255, 0.7);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(11, 15, 20, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled {
  background: rgba(11, 15, 20, 0.82);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; color: var(--cyan);
  background: linear-gradient(145deg, rgba(0, 194, 255, 0.16), rgba(59, 130, 246, 0.07));
  border: 1px solid rgba(0, 194, 255, 0.35);
  box-shadow: 0 0 18px rgba(0, 194, 255, 0.18);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.brand-text strong em { font-style: normal; color: var(--cyan); }
.brand-text small {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em;
  color: var(--muted); margin-top: 3px; white-space: nowrap;
}

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a {
  padding: 9px 11px; border-radius: 9px;
  font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.main-nav > a:hover { color: var(--text); background: rgba(148, 163, 184, 0.08); }
.main-nav > a.active { color: var(--cyan); }
.main-nav > a.nav-cta { margin-left: 10px; padding: 9px 18px; color: #04121A; background: linear-gradient(135deg, var(--cyan), #0090D8); }
.main-nav > a.nav-cta:hover { color: #04121A; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 11px; min-width: 44px; min-height: 44px; justify-content: center; align-items: center; cursor: pointer;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #0090D8);
  color: #04121A;
  box-shadow: 0 8px 24px rgba(0, 194, 255, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 194, 255, 0.38); }

.btn-ghost {
  background: rgba(148, 163, 184, 0.06);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

.btn-sm { padding: 11px 18px; min-height: 44px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  color: var(--cyan); letter-spacing: 0.02em;
}
.text-link svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: calc(var(--header-h) + 72px) 0 0; overflow: clip; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 75% at 60% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 60% 20%, #000 30%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.glow-a { width: 560px; height: 560px; right: -140px; top: -160px; background: rgba(0, 194, 255, 0.13); }
.glow-b { width: 420px; height: 420px; left: -180px; top: 240px; background: rgba(59, 130, 246, 0.10); }

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr 0.98fr;
  gap: 56px; align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
  color: var(--cyan);
  padding: 8px 16px; border: 1px solid rgba(0, 194, 255, 0.3); border-radius: 999px;
  background: rgba(0, 194, 255, 0.06);
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(0, 194, 255, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 194, 255, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(0, 194, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 194, 255, 0); }
}

.hero h1 {
  margin: 26px 0 22px;
  font-size: clamp(42px, 5.6vw, 72px);
  font-weight: 700; letter-spacing: -0.025em;
}
.grad-text { color: var(--cyan); }
.hero-sub { max-width: 54ch; color: var(--muted); font-size: 18px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-points {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-top: 38px; padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-points li {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 500; color: var(--muted);
}
.hero-points svg { width: 17px; height: 17px; color: var(--cyan); flex-shrink: 0; }

/* HUD framed visual */
.hero-visual { position: relative; }
.hud-frame {
  position: relative; margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 194, 255, 0.06);
}
.hud-frame img { width: 100%; height: auto; aspect-ratio: 16 / 9.4; object-fit: cover; }
.hud-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(0, 194, 255, 0.08), transparent 45%);
  pointer-events: none;
}
.corner { position: absolute; width: 26px; height: 26px; z-index: 2; border-color: var(--cyan); border-style: solid; border-width: 0; }
.corner.tl { top: 10px; left: 10px; border-top-width: 2px; border-left-width: 2px; }
.corner.tr { top: 10px; right: 10px; border-top-width: 2px; border-right-width: 2px; }
.corner.bl { bottom: 10px; left: 10px; border-bottom-width: 2px; border-left-width: 2px; }
.corner.br { bottom: 10px; right: 10px; border-bottom-width: 2px; border-right-width: 2px; }

.hud-caption {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--text);
  background: rgba(11, 15, 20, 0.72); backdrop-filter: blur(6px);
  padding: 7px 12px; border-radius: 7px; border: 1px solid var(--line-strong);
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 8px rgba(52, 211, 153, 0.8); }

.float-chip {
  position: absolute; z-index: 3;
  display: flex; flex-direction: column; gap: 3px;
  background: rgba(21, 27, 35, 0.88); backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.chip-a { top: -22px; right: 26px; }
.chip-b { bottom: 96px; left: -34px; }
.chip-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--cyan); }
.chip-value { font-size: 13px; font-weight: 500; color: var(--text); }

/* Ecosystem marquee */
.ecosystem {
  position: relative; z-index: 1;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(21, 27, 35, 0.45);
}
.ecosystem-inner { display: flex; align-items: center; gap: 28px; padding: 18px 0; }
.ecosystem-label {
  flex-shrink: 0; font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase;
}
.marquee { overflow: hidden; position: relative; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: scroll-x 36s linear infinite; }
.marquee-track > span {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: 0.06em; color: rgba(248, 250, 252, 0.34);
  transition: color 0.3s;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   Sections (shared)
   ========================================================================== */
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.left { margin-bottom: 36px; }
.section-head.light .section-sub { color: rgba(248, 250, 252, 0.75); }

.section-index {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; color: var(--cyan);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.section-index::after { content: ""; height: 1px; width: 64px; background: linear-gradient(90deg, rgba(0, 194, 255, 0.6), transparent); }
.section-head.center .section-index { justify-content: center; }
.section-head.center .section-index::before { content: ""; height: 1px; width: 64px; background: linear-gradient(270deg, rgba(0, 194, 255, 0.6), transparent); }
.section-head.center .section-index::after { display: none; }

.section h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; letter-spacing: -0.02em; }
.section-sub { color: var(--muted); font-size: 17px; margin-top: 16px; }

/* Reveal on scroll */
/* Only hidden when JS is running (html.js), so content never stays invisible without it */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.d1 { transition-delay: 0.12s; }
.js .reveal.d2 { transition-delay: 0.22s; }
.js .reveal.d3 { transition-delay: 0.32s; }
.js .reveal.d4 { transition-delay: 0.42s; }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Solutions bento
   ========================================================================== */
.solutions { background: linear-gradient(180deg, var(--bg), #0D131A 55%, var(--bg)); }
.bento {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "feat feat b2"
    "feat feat b3"
    "b4 b5 b6";
}
.bento-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 194, 255, 0.45);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 194, 255, 0.12), 0 0 40px rgba(0, 194, 255, 0.06);
}
.bento-card.large { grid-area: feat; }
.bento-card:nth-child(2) { grid-area: b2; }
.bento-card:nth-child(3) { grid-area: b3; }
.bento-card:nth-child(4) { grid-area: b4; }
.bento-card:nth-child(5) { grid-area: b5; }
.bento-card:nth-child(6) { grid-area: b6; }

.bento-media { position: relative; overflow: hidden; flex: 1 1 auto; }
.bento-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.bento-card:hover .bento-media img { transform: scale(1.045); }
.bento-card.large .bento-media { min-height: 300px; }
.bento-card:not(.large):not(.icon-card) .bento-media { height: 200px; flex: 1 1 auto; }
/* Bottom row: equal photo heights; the text area takes up the slack so tags and links line up */
.bento .bento-card:nth-child(n+4) .bento-media { flex: 0 0 auto; }
.bento .bento-card:nth-child(n+4) .bento-body { flex: 1 0 auto; }
.bento-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(21, 27, 35, 0.9)); }

.bento-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 26px; flex: 0 0 auto; }
.bento-card.large .bento-body { padding: 30px 34px 34px; }
.icon-card .bento-body { flex: 1 0 auto; }
.sys-tag {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.2em; color: var(--cyan);
  padding: 5px 10px; border: 1px solid rgba(0, 194, 255, 0.35); border-radius: 6px;
  background: rgba(0, 194, 255, 0.07);
}
.bento-body h3 { font-size: 21px; font-weight: 600; }
.bento-card.large .bento-body h3 { font-size: 27px; }
.bento-body p { color: var(--muted); font-size: 14.5px; }
.bento-card.large .bento-body p { font-size: 15.5px; max-width: 58ch; }
.bento-body .text-link { margin-top: auto; padding-top: 6px; }

.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-chips span {
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(148, 163, 184, 0.05);
}

.icon-tile {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; color: var(--cyan);
  background: linear-gradient(145deg, rgba(0, 194, 255, 0.14), rgba(59, 130, 246, 0.06));
  border: 1px solid rgba(0, 194, 255, 0.3);
  margin-bottom: 4px;
}
.icon-tile svg { width: 26px; height: 26px; }
.icon-card .bento-body { justify-content: flex-start; }
.icon-card .bento-body p { margin-bottom: 8px; }

/* ==========================================================================
   Why — spec panel
   ========================================================================== */
.why { background: var(--bg); }
.why-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 64px; align-items: start;
}
.why-intro { position: sticky; top: calc(var(--header-h) + 40px); }

.stats-row {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; margin: 40px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--surface); padding: 24px 26px; }
.stat-num {
  display: block;
  font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--cyan);
}
.stat-label { display: block; margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }

.spec-panel {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #0E141B;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.spec-head {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(21, 27, 35, 0.7);
}
.spec-dots { display: flex; gap: 6px; }
.spec-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(148, 163, 184, 0.25); }
.spec-dots i:first-child { background: rgba(0, 194, 255, 0.6); }
.spec-title { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }

.spec-list { padding: 10px 0; }
.spec-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 15px 22px;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.12);
  transition: background 0.25s;
}
.spec-list li:last-child { border-bottom: 0; }
.spec-list li:hover { background: rgba(0, 194, 255, 0.04); }
.tick {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px;
  color: var(--cyan);
  background: rgba(0, 194, 255, 0.1);
  border: 1px solid rgba(0, 194, 255, 0.35);
  border-radius: 50%;
  padding: 3px;
}
.spec-list strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15.5px; }
.spec-list span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 3px; }

/* ==========================================================================
   Infrastructure — stepper
   ========================================================================== */
.infra { overflow: hidden; }
.infra-bg { position: absolute; inset: 0; }
.infra-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.infra-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(11, 15, 20, 0.55) 30%, rgba(11, 15, 20, 0.72) 70%, var(--bg) 100%);
}
.infra .container { position: relative; z-index: 1; }

.stepper {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px; counter-reset: step;
  margin-top: 12px;
}
.step {
  position: relative;
  padding: 30px 26px 28px;
  background: rgba(14, 20, 27, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.step:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 194, 255, 0.5);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
}
.step-node {
  position: absolute; top: -19px; left: 24px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em;
  color: #04121A;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  padding: 7px 14px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 194, 255, 0.35);
}
.step h3 { font-size: 19px; margin: 14px 0 10px; }
.step p { color: rgba(248, 250, 252, 0.72); font-size: 14px; }
.step strong { color: var(--cyan); font-weight: 600; }

/* connector line */
.step:not(:last-child)::after {
  content: ""; position: absolute;
  top: 50%; right: -22px; width: 22px; height: 1px;
  background: linear-gradient(90deg, rgba(0, 194, 255, 0.7), rgba(59, 130, 246, 0.4));
}

/* ==========================================================================
   Use cases — grid
   ========================================================================== */
.usecases { padding-bottom: 96px; }
.usecases .section-head { margin-bottom: 44px; }
.use-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.use {
  padding: 22px 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.use:hover { border-color: rgba(0, 194, 255, 0.45); transform: translateY(-3px); }
.use-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--cyan); }
.use h3 { font-size: 17px; font-weight: 600; margin: 10px 0 6px; }
.use p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.usecases-note { text-align: center; color: var(--muted); margin-top: 34px; font-size: 15px; }
.usecases-note a { color: var(--cyan); font-weight: 500; border-bottom: 1px dashed rgba(0, 194, 255, 0.5); }

/* ==========================================================================
   CTA + Contact
   ========================================================================== */
.contact { background: linear-gradient(180deg, var(--bg), #0D131A); }

.cta-banner {
  position: relative; overflow: hidden;
  text-align: center;
  padding: 84px 40px;
  border-radius: 24px;
  border: 1px solid rgba(0, 194, 255, 0.25);
  background:
    radial-gradient(ellipse 60% 90% at 50% -20%, rgba(0, 194, 255, 0.16), transparent 60%),
    linear-gradient(160deg, #10161E, #0C1117);
  margin-bottom: 96px;
}
.cta-glow {
  position: absolute; inset: auto 0 -140px 0; height: 220px;
  background: radial-gradient(ellipse 50% 100% at 50% 0%, rgba(0, 194, 255, 0.25), transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { font-size: clamp(32px, 4.4vw, 54px); }
.cta-banner > p { color: var(--muted); font-size: 17px; margin-top: 16px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 64px; align-items: start;
}

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-cards li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.contact-cards li > a, .contact-cards li > div { display: flex; gap: 14px; align-items: center; padding: 18px 20px; height: 100%; }
.contact-cards li:has(a):hover { border-color: rgba(0, 194, 255, 0.4); transform: translateY(-3px); }
.contact-cards li > a:hover strong { color: var(--cyan); }
.cc-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center;
  color: var(--cyan);
  background: rgba(0, 194, 255, 0.08);
  border: 1px solid rgba(0, 194, 255, 0.25);
  border-radius: 11px;
}
.cc-icon svg { width: 20px; height: 20px; }
.contact-cards strong { display: block; font-family: var(--font-display); font-size: 14px; font-weight: 600; }
.contact-cards span:not(.cc-icon) { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

/* Form */
.quote-form {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 34px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
  background: #0E141B;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 14.5px;
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='m1 1.5 5 5 5-5' stroke='%2394A3B8' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
.field select option { background: #0E141B; }
.field input::placeholder, .field textarea::placeholder { color: rgba(148, 163, 184, 0.5); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.14);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }
.field [aria-invalid="true"] { border-color: #F87171; box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 16px; }
.form-note.ok { color: #34D399; }
.form-note.err { color: #F87171; }
.quote-form .btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  background: #090D12;
  padding: 72px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 20px; max-width: 40ch; }
.footer-brand strong { color: var(--text); font-weight: 600; }
.footer-brand p a:hover strong, .footer-contact-line a:hover { color: var(--cyan); }
.footer-col .footer-h {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.footer-col a {
  display: block; padding: 6px 0;
  color: rgba(248, 250, 252, 0.72); font-size: 14.5px;
  transition: color 0.2s, transform 0.2s var(--ease);
}
.footer-col a:hover { color: var(--cyan); transform: translateX(4px); }
.footer-col a.btn { display: inline-flex; padding: 11px 18px; color: #04121A; }
.footer-col a.btn:hover { color: #04121A; transform: translateY(-2px); }
.footer-contact-line a { padding: 2px 0; }
.footer-cta-line { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.footer-contact-line { color: var(--muted); font-size: 13.5px; margin-top: 18px; line-height: 1.8; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 28px;
  font-size: 13px; color: var(--muted);
}
.footer-partners { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; }

/* WhatsApp chat button */
.wa-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 91;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.06); }

/* Back to top */
.to-top {
  position: fixed; right: 30px; bottom: 92px; z-index: 90;
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface-2); color: var(--cyan);
  border: 1px solid var(--line-strong);
  cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s, border-color 0.3s;
}
.to-top svg { width: 17px; height: 17px; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--cyan); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 150;
  transform: translate(-50%, 20px);
  background: #0E1F16; color: #A7F3D0;
  border: 1px solid rgba(52, 211, 153, 0.4);
  padding: 14px 26px; border-radius: 12px;
  font-size: 14.5px; font-weight: 500;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s, transform 0.35s var(--ease), visibility 0.35s;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  max-width: min(92vw, 480px); text-align: center;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast.err { background: #2A1215; color: #FECACA; border-color: rgba(248, 113, 113, 0.45); }

/* ==========================================================================
   Inner pages: topic hubs, guides, company pages (rendered by build/build.py)
   ========================================================================== */
.page-hero { position: relative; padding: calc(var(--header-h) + 52px) 0 64px; overflow: clip; border-bottom: 1px solid var(--line); }
.page-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
.page-hero-inner.has-media { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; letter-spacing: -0.02em; margin: 2px 0 18px; max-width: 22ch; }
.kind-article .page-hero h1 { max-width: none; font-size: clamp(32px, 3.4vw, 48px); }
/* Articles: featured image sits top-right beside the title; the summary runs on below it in the left column */
.kind-article .page-hero-inner.has-media { align-items: start; }
.kind-article .page-hero-media { margin-top: 44px; }
.page-lead { color: var(--muted); font-size: 18px; max-width: 64ch; }
.page-hero .hero-ctas { margin-top: 28px; }
.page-hero .hud-frame img { aspect-ratio: 3 / 2; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin-bottom: 22px; font-size: 13px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 9px; color: rgba(148, 163, 184, 0.45); }
.crumbs a { transition: color 0.2s; }
.crumbs a:hover { color: var(--cyan); }
.crumbs [aria-current] { color: var(--text); }

.meta-line {
  display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 22px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted);
}
.meta-line a { color: var(--text); border-bottom: 1px dashed rgba(0, 194, 255, 0.5); }
.meta-line a:hover { color: var(--cyan); }

.summary-box {
  margin-top: 28px; max-width: 760px;
  border: 1px solid rgba(0, 194, 255, 0.3); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(0, 194, 255, 0.07), rgba(21, 27, 35, 0.65));
  padding: 22px 26px;
}
.summary-title { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.summary-box li { position: relative; padding-left: 26px; font-size: 15.5px; color: rgba(248, 250, 252, 0.86); }
.summary-box li + li { margin-top: 9px; }
.summary-box li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 10px rgba(0, 194, 255, 0.6); }
.summary-box strong { color: var(--text); }

.article-figure-wrap { margin-top: 44px; }
.article-figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); }
.article-figure img { width: 100%; height: auto; }
.article-figure figcaption { padding: 12px 18px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }

.content-section { padding: 72px 0 40px; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.page-aside { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 20px; }
.toc { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 20px 22px; }
.toc-title, .aside-title { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 6px 0; font-size: 14px; color: rgba(248, 250, 252, 0.78); transition: color 0.2s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: 11px; color: var(--cyan); padding-top: 3px; }
.toc a:hover { color: var(--cyan); }
.aside-cta { border: 1px solid rgba(0, 194, 255, 0.28); border-radius: 14px; padding: 22px; background: linear-gradient(160deg, rgba(0, 194, 255, 0.08), var(--surface)); }
.aside-cta .aside-title { color: var(--cyan); }
.aside-cta p:not(.aside-title) { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.aside-wa { display: block; text-align: center; margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.aside-wa:hover { color: var(--cyan); }

/* Long-form text */
.prose { font-size: 17px; line-height: 1.75; color: rgba(248, 250, 252, 0.86); min-width: 0; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(25px, 2.6vw, 32px); font-weight: 700; color: var(--text); margin-top: 2.1em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; color: var(--text); margin-top: 1.7em; }
.prose a { color: var(--cyan); border-bottom: 1px solid rgba(0, 194, 255, 0.35); transition: border-color 0.2s; }
.prose a:hover { border-bottom-color: var(--cyan); }
/* Section images inside article text (/private-ai/ PA2–PA5). */
.prose .prose-figure { margin: 22px 0 26px; }
.prose .prose-figure img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.prose .prose-figure figcaption { margin: 0; }
/* Buttons inside article text keep their own colours (the .prose link rule made btn-primary cyan-on-cyan). */
.prose a.btn { border-bottom: 1px solid transparent; }
.prose a.btn-primary, .prose a.btn-primary:hover { color: #04121A; }
.prose a.btn-ghost, .prose a.btn-ghost:hover { color: var(--text, #E6EDF3); }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--cyan); }
.prose li + li { margin-top: 0.5em; }
.prose pre { margin: 0 0 1.2em; max-width: 100%; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.prose pre code { background: none; border: 0; padding: 0; white-space: pre; }
.prose code { font-family: var(--font-mono); font-size: 0.86em; background: rgba(148, 163, 184, 0.1); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; }
.callout { border-left: 3px solid var(--cyan); background: var(--surface); padding: 16px 20px; border-radius: 0 12px 12px 0; font-size: 15.5px; }
.formula {
  font-family: var(--font-mono); font-size: 15px; color: var(--text);
  background: #0E141B; border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 16px 20px; overflow-x: auto;
}
.table-note { font-size: 14px; color: var(--muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline-offset: 2px; }
.data-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table thead th { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: rgba(148, 163, 184, 0.05); white-space: nowrap; }
.data-table tbody th { font-family: var(--font-display); font-weight: 600; color: var(--text); }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table td:first-child { color: var(--text); font-weight: 500; }
.data-table a { border-bottom-style: dashed; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color 0.25s; }
.faq details[open] { border-color: rgba(0, 194, 255, 0.35); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 16.5px; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 20px; color: var(--cyan); flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq-a { padding: 0 20px 18px; font-size: 15.5px; color: var(--muted); }

/* Article end matter */
.sources { margin-top: 2.6em; padding-top: 24px; border-top: 1px solid var(--line); }
.sources h2 { font-size: 20px; margin-top: 0; }
.sources ol { margin-top: 12px; font-size: 14px; color: var(--muted); }
.sources a { word-break: break-word; }
.topic-link { font-size: 15px; color: var(--muted); }
.author-box { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 14.5px; }
.author-box .brand-mark { flex-shrink: 0; }
.author-box p { color: var(--muted); }
.author-box .author-name { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--text); margin-bottom: 4px; }

/* Guide + topic cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.guide-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.guide-card:hover { border-color: rgba(0, 194, 255, 0.45); transform: translateY(-4px); }
.guide-card h3 { font-size: 19px; font-weight: 600; }
.guide-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.guide-card > p:not(.guide-meta):not(.guide-foot) { color: var(--muted); font-size: 14.5px; }
.guide-meta { display: flex; flex-direction: column; gap: 4px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.guide-type { color: var(--cyan); }
.guide-hub { color: var(--muted); }
.guide-foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); font-family: var(--font-mono); }

.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.hub-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.hub-card:hover { border-color: rgba(0, 194, 255, 0.45); transform: translateY(-4px); }
.hub-card strong { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.hub-card > span:not(.sys-tag):not(.text-link) { color: var(--muted); font-size: 14px; }
.hub-card .text-link { margin-top: auto; padding-top: 4px; }

.guides-section, .topics-section, .related-section { padding: 72px 0; }
.related-section { border-top: 1px solid var(--line); }
.standards-section { padding: 24px 0 72px; }
.standards { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: 48px; padding: 36px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.standards h2 { font-size: clamp(24px, 2.6vw, 32px); }
.standards-list { display: grid; gap: 14px; }
.standards-list li { color: var(--muted); font-size: 15px; padding-left: 18px; border-left: 2px solid rgba(0, 194, 255, 0.4); }
.standards-list strong { color: var(--text); }
.standards-list a { color: var(--cyan); }
.cta-section { padding: 40px 0 110px; }
.cta-section .cta-banner { margin-bottom: 0; }
.contact-page { padding-top: 64px; }
.contact-prose { margin-top: 36px; font-size: 16px; }
.contact-prose h2 { font-size: 22px; }
.form-note a { color: var(--cyan); }

/* Homepage additions */
.cat-rail { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -20px 0 44px; }
.cat-rail a {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em;
  padding: 9px 16px; border-radius: 999px; min-height: 40px; display: inline-flex; align-items: center;
  border: 1px solid var(--line-strong); background: rgba(148, 163, 184, 0.05); color: var(--text);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.cat-rail a:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0, 194, 255, 0.07); }
.bento-body h3 a, .use h3 a { transition: color 0.2s; }
.bento-body h3 a:hover, .use h3 a:hover { color: var(--cyan); }
.card-links { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.bento-body .card-links .text-link { margin-top: 0; padding-top: 0; }
.quiet-link { font-size: 13px; color: var(--muted); border-bottom: 1px dashed rgba(148, 163, 184, 0.45); transition: color 0.2s, border-color 0.2s; }
.quiet-link:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.hero-guide-link { margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero-guide-link a { color: var(--cyan); border-bottom: 1px dashed rgba(0, 194, 255, 0.5); }
.home-guides { padding-top: 40px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1440px) {
  .site-header .brand-text small { display: none; }
}

@media (max-width: 1240px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(11, 15, 20, 0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 26px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s, visibility 0.3s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav > a { padding: 13px 14px; font-size: 16px; }
  .main-nav > a.nav-cta { margin: 10px 0 0; justify-content: center; padding: 14px 18px; }
  .site-header .brand-text small { display: block; }
}

@media (max-width: 1080px) {
  .use-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero-inner.has-media { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .page-hero-media { max-width: none; }
  .page-hero .hud-frame img { aspect-ratio: 16 / 9; }
  .summary-box { max-width: none; }
  .page-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .page-aside { display: none; }
  .standards { grid-template-columns: 1fr; gap: 24px; }

  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas, .hero-points { justify-content: center; }
  .hero-visual { max-width: 640px; margin-inline: auto; width: 100%; }
  .chip-b { left: 8px; }
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "feat feat"
      "b2 b3"
      "b4 b5"
      "b6 b6";
  }
  /* two-column rows: equal photo heights here too */
  .bento .bento-card:not(.large) .bento-media { flex: 0 0 auto; }
  .bento .bento-card:not(.large) .bento-body { flex: 1 0 auto; }
  .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-intro { position: static; }
  .stepper { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; }
  .step:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .container { width: calc(100% - 40px); }
  .section { padding: 78px 0; }

  .brand-text small, .site-header .brand-text small { display: none; }
  .use-grid { grid-template-columns: 1fr; }

  .page-hero { padding: calc(var(--header-h) + 32px) 0 44px; }
  .page-lead { font-size: 16.5px; }
  .content-section { padding: 48px 0 24px; }
  .prose { font-size: 16px; }
  .summary-box { padding: 18px 18px; }
  .summary-box li { font-size: 15px; }
  .article-figure-wrap { margin-top: 28px; }
  .standards { padding: 24px; }
  .guides-section, .topics-section, .related-section { padding: 52px 0; }
  .cta-section { padding: 24px 0 78px; }
  .cat-rail { margin: -12px 0 32px; justify-content: flex-start; }
  .author-box { flex-direction: column; }
  .wa-float { right: 18px; bottom: 18px; width: 50px; height: 50px; }
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero h1 { font-size: clamp(32px, 9.6vw, 52px); }
  .hero-sub { font-size: 16px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.1em; padding: 7px 13px; }
  .hero-inner > *, .why-grid > *, .contact-grid > * { min-width: 0; }
  .float-chip { display: none; }
  .ecosystem-inner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 0; }

  .bento {
    grid-template-columns: 1fr;
    grid-template-areas: "feat" "b2" "b3" "b4" "b5" "b6";
  }
  .bento-card.large .bento-media { min-height: 220px; }
  .section-head { margin-bottom: 40px; }

  .stats-row { grid-template-columns: 1fr 1fr; }
  .stepper { grid-template-columns: 1fr; }
  .step:not(:last-child)::after {
    top: auto; bottom: -30px; left: 38px; right: auto;
    width: 1px; height: 30px;
    background: linear-gradient(180deg, rgba(0, 194, 255, 0.7), rgba(59, 130, 246, 0.4));
  }

  .cta-banner { padding: 60px 24px; }
  .contact-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .quote-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .to-top { right: 20px; bottom: 80px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .pulse-dot { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
