/* 00-tokens.css — the design contract every component reads. */

:root {
  /* ---------- brand ---------- */
  --navy-900: #061040;   /* deepest — footer band, terminal surfaces */
  --navy-800: #0A1A65;   /* PRIMARY brand — hero, deep sections */
  --navy-700: #10103B;   /* near-black band */
  --navy-600: #1B2E86;   /* hover / raised surface on dark */
  --blue-500: #48ABE0;   /* accent — see contrast note below */
  --blue-400: #6CC0EA;
  --blue-600: #2E86B8;
  --glow:     #7FE3F0;

  --slate-050: #F6F8FC;
  --slate-100: #EDF1F8;
  --slate-200: #DCE3F0;
  --slate-300: #C3CDE4;
  --slate-400: #8C99B8;
  --slate-600: #4A5878;
  --slate-800: #1D2440;
  --white: #FFFFFF;

  /* ---------- semantic ---------- */
  --color-bg:            var(--white);
  --color-bg-muted:      var(--slate-050);
  --color-bg-deep:       var(--navy-800);
  --color-bg-deepest:    var(--navy-900);
  --color-bg-band:       var(--navy-700);

  --color-text:          var(--slate-800);
  --color-text-muted:    var(--slate-600);
  --color-text-inverse:  rgba(255,255,255,.88);
  --color-text-inverse-muted: rgba(255,255,255,.66);

  /* ⚠ #48ABE0 is a DARK-background color. It is 2.57:1 on white — below even
     the 3:1 large-text/UI threshold. Use --color-accent only for fills, icons,
     borders, gradients and decorative rules on navy/deep surfaces. For text on
     light backgrounds use --color-link. */
  --color-accent:        var(--blue-500);
  --color-link:          #1B6FA8;   /* AA-compliant on white (5.4:1) */
  --color-link-hover:    #14547F;
  --color-link-inverse:  var(--blue-400);

  --color-border:        var(--slate-200);
  --color-border-strong: var(--slate-300);
  --color-border-inverse:rgba(255,255,255,.16);
  --color-focus:         #FFB020;   /* visible on BOTH navy and white */
  --color-success:       #1B9E6B;
  --color-danger:        #D64545;

  /* ---------- type ---------- */
  --font-display: "Space Grotesk", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --font-sans: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;

  --step--2: clamp(0.6875rem, 0.67rem + 0.09vw, 0.75rem);
  --step--1: clamp(0.8125rem, 0.79rem + 0.12vw, 0.875rem);
  --step-0:  clamp(1rem,     0.96rem + 0.2vw,  1.0625rem);
  --step-1:  clamp(1.125rem, 1.07rem + 0.28vw, 1.25rem);
  --step-2:  clamp(1.375rem, 1.26rem + 0.55vw, 1.625rem);
  --step-3:  clamp(1.75rem,  1.5rem  + 1.15vw, 2.375rem);
  --step-4:  clamp(2.125rem, 1.72rem + 1.9vw,  3.125rem);
  --step-5:  clamp(2.5rem,   1.85rem + 3vw,    4rem);
  --step-6:  clamp(3rem,     1.9rem  + 5vw,    5.25rem);

  --lh-tight: 1.12;  --lh-snug: 1.22;  --lh-body: 1.62;
  --tracking-tight: -0.022em; --tracking-normal: 0; --tracking-wide: 0.08em;
  --weight-regular: 400; --weight-medium: 500; --weight-bold: 700;

  /* ---------- space (4px base) ---------- */
  --space-3xs: 0.25rem; --space-2xs: 0.5rem;  --space-xs: 0.75rem;
  --space-s:   1rem;    --space-m:   1.5rem;  --space-l:  2rem;
  --space-xl:  3rem;    --space-2xl: 4rem;    --space-3xl: 6rem;
  --space-4xl: 8rem;

  --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);
  --gutter:    clamp(1.25rem, 4vw, 2.5rem);
  --stack-s:   var(--space-s); --stack-m: var(--space-m); --stack-l: var(--space-l);

  /* ---------- radii ---------- */
  --radius-xs: 6px; --radius-s: 10px; --radius-m: 16px;
  --radius-l: 24px; --radius-xl: 32px; --radius-pill: 999px;
  --radius-circle: 50%;

  /* ---------- elevation ---------- */
  --shadow-1: 0 1px 2px rgba(10,26,101,.06), 0 1px 3px rgba(10,26,101,.08);
  --shadow-2: 0 4px 12px rgba(10,26,101,.08), 0 2px 4px rgba(10,26,101,.05);
  --shadow-3: 0 18px 40px -12px rgba(10,26,101,.22);
  --shadow-4: 0 32px 64px -20px rgba(6,16,64,.38);
  --shadow-glow: 0 0 0 1px rgba(72,171,224,.35), 0 12px 32px -8px rgba(72,171,224,.30);
  --ring: 0 0 0 3px rgba(72,171,224,.55);

  /* ---------- containers ---------- */
  --container-s:  44rem;
  --container-m:  64rem;
  --container-l:  78rem;
  --container-xl: 88rem;
  --container-pad: var(--gutter);

  /* ---------- motion ---------- */
  --dur-fast: 120ms; --dur: 200ms; --dur-slow: 420ms; --dur-reveal: 640ms;
  --ease:      cubic-bezier(.2, .7, .3, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);

  /* ---------- z-index (single ladder, no gaps) ---------- */
  --z-base: 0; --z-sticky: 50; --z-header: 100; --z-mega: 110;
  --z-drawer: 200; --z-toast: 250; --z-skip-link: 300;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0ms; --dur: 0ms; --dur-slow: 0ms; --dur-reveal: 0ms; }
}


/* 01-reset.css — minimal modern reset. */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  min-height: 100vh;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }

input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; padding: 0; }

p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

/* The [hidden] trap: [hidden] sets display:none at UA priority, so any author
   rule with display:flex/grid on the same element silently overrides it and
   the "hidden" panel stays visible. Fix once, globally. */
[hidden] { display: none !important; }

/* Native <details>/<summary> disclosure marker control (used by FAQ). */
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }


/* 02-base.css — typography, links, prose, focus, selection. */

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  color: var(--color-text);
  background: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
}

h1 { font-size: var(--step-5); line-height: var(--lh-tight); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

a {
  color: var(--color-link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--dur-fast) var(--ease);
}
a:hover { color: var(--color-link-hover); }

/* Inverse links sit on navy/deep bands. */
.on-dark a, .section--deep a:not(.btn):not(.mega__link):not(.footer-col__link),
.section--band a:not(.btn) { color: var(--color-link-inverse); }
.on-dark a:hover, .section--deep a:not(.btn):hover { color: var(--white); }

strong { font-weight: var(--weight-bold); }

code, kbd, pre { font-family: var(--font-mono); font-size: 0.92em; }
code { background: var(--slate-100); padding: 0.1em 0.35em; border-radius: 4px; }
pre {
  background: var(--navy-900);
  color: #d7e3ff;
  padding: var(--space-m);
  border-radius: var(--radius-m);
  overflow-x: auto;
  line-height: 1.6;
}
pre code { background: none; padding: 0; color: inherit; }

::selection { background: rgba(72,171,224,.28); }

/* Focus is amber because it must be visible on both #FFFFFF and #0A1A65.
   A blue focus ring on a blue hero would be invisible. Never outline:none. */
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- prose ---------- */
.prose { max-width: var(--container-s); }
.prose > * + * { margin-top: var(--space-m); }
.prose h2 { margin-top: var(--space-xl); }
.prose h3 { margin-top: var(--space-l); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: var(--space-2xs); }
.prose--lead { font-size: var(--step-1); line-height: var(--lh-body); color: var(--color-text-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-size: var(--step--1);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-link);
}
.on-dark .eyebrow, .section--deep .eyebrow { color: var(--color-accent); }

.section__title { max-width: 24ch; }
.section__intro { max-width: 60ch; color: var(--color-text-muted); }


/* 03-layout.css — container, section, grid primitives. */

.container {
  width: 100%;
  max-width: var(--container-l);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--s { max-width: var(--container-s); }
.container--m { max-width: var(--container-m); }
.container--xl { max-width: var(--container-xl); }

.section { padding-block: var(--section-y); }
.section--muted { background: var(--color-bg-muted); }
.section--deep { background: var(--color-bg-deep); color: var(--color-text-inverse); }
.section--band { background: var(--color-bg-band); color: var(--color-text-inverse); }
.section--deepest { background: var(--color-bg-deepest); color: var(--color-text-inverse); }

.section--deep .section__title,
.section--deep h1, .section--deep h2, .section--deep h3,
.section--band .section__title,
.section--band h1, .section--band h2, .section--band h3 {
  color: var(--white);
}
.section--deep .section__intro,
.section--band .section__intro { color: var(--color-text-inverse-muted); }

/* Section header cluster: eyebrow + title + intro stacked left. */
.section-head {
  display: grid;
  gap: var(--space-s);
  margin-bottom: var(--space-xl);
}
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .section__title,
.section-head--center .section__intro { margin-inline: auto; }

/* ---------- grids ---------- */
.grid { display: grid; gap: var(--space-l); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 64rem) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 40rem) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ---------- stacks & clusters ---------- */
.stack { display: grid; gap: var(--stack-m); }
.stack--s { gap: var(--stack-s); }
.stack--l { gap: var(--stack-l); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  align-items: center;
}

/* Split: two columns, collapses to one at the small breakpoint. */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.split--narrow { grid-template-columns: 1.05fr 0.95fr; }
@media (max-width: 60rem) {
  .split { grid-template-columns: 1fr; }
}


/* 04-chrome.css — utility bar, header, mega-menu, drawer, footer. */

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: var(--space-s);
  top: -100%;
  z-index: var(--z-skip-link);
  padding: var(--space-s) var(--space-m);
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-s);
  text-decoration: none;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: var(--space-s); }

/* ---------- utility bar ---------- */
.utility-bar {
  background: var(--navy-900);
  color: var(--color-text-inverse-muted);
  font-size: var(--step--1);
}
.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-m);
  min-height: 2.25rem;
}
.utility-bar a { color: var(--color-text-inverse-muted); text-decoration: none; }
.utility-bar a:hover { color: var(--white); }
.utility-bar__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
}
.utility-bar__lang { display: flex; align-items: center; gap: var(--space-2xs); }
@media (max-width: 60rem) { .utility-bar { display: none; } }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--navy-800);
}
.site-header.is-stuck { box-shadow: var(--shadow-2); }
.site-header .primary-nav__trigger { color: var(--white); }
.site-header .nav-bar__cta { border-color: rgba(255,255,255,.4); color: var(--white); }

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-l);
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-s);
  text-decoration: none;
  color: var(--navy-800);
}
.brand__mark { width: 30px; height: 30px; }
.brand__wordmark {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--step-1);
  letter-spacing: var(--tracking-tight);
}
.brand--inverse { color: var(--white); }

/* ---------- primary nav / mega-menu ---------- */
.primary-nav { display: flex; }
.primary-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
}
.primary-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: var(--space-s) var(--space-m);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  border-radius: var(--radius-s);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.primary-nav__trigger:hover { background: var(--slate-100); }
.primary-nav__trigger .chev {
  width: 14px; height: 14px;
  transition: transform var(--dur) var(--ease);
}
.primary-nav__trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }

.mega {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--white);
  box-shadow: var(--shadow-3);
  border-top: 1px solid var(--color-border);
}
.mega__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr) minmax(16rem, 1.2fr);
  gap: var(--space-l);
  padding-block: var(--space-xl);
}
.mega__col { min-width: 0; }
.mega__col-title {
  font-size: var(--step--1);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-s);
  padding-inline: var(--space-2xs);
}
.mega__list { display: grid; gap: 2px; }
.mega__link {
  display: flex;
  gap: var(--space-s);
  align-items: flex-start;
  padding: var(--space-xs) var(--space-2xs);
  border-radius: var(--radius-s);
  text-decoration: none;
  color: var(--color-text);
}
.mega__link:hover { background: var(--slate-050); }
.mega__link-icon {
  flex: none;
  width: 1.25rem; height: 1.25rem;
  margin-top: 1px;
  color: var(--color-link);
}
.mega__link-title { display: block; font-weight: var(--weight-medium); line-height: 1.3; }
.mega__link-blurb { display: block; font-size: var(--step--1); color: var(--color-text-muted); line-height: 1.4; }
.mega__promo {
  align-self: start;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: var(--white);
  border-radius: var(--radius-l);
  padding: var(--space-l);
}
.mega__promo h3 { color: var(--white); font-size: var(--step-1); margin-bottom: var(--space-s); }
.mega__promo p { color: var(--color-text-inverse-muted); font-size: var(--step--1); margin-bottom: var(--space-m); }
.mega__promo .btn { background: var(--color-accent); color: var(--navy-900); }

/* No-JS: the panel is hidden only when JS is present to toggle it. */
.js .mega[hidden] { display: none; }
@media (max-width: 60rem) { .primary-nav { display: none; } }

.nav-bar__actions { display: flex; align-items: center; gap: var(--space-s); }
@media (max-width: 60rem) { .nav-bar__cta { display: none; } }

/* ---------- mobile drawer ---------- */
.nav-toggle {
  display: none;
  width: 2.75rem; height: 2.75rem;
  align-items: center; justify-content: center;
  border-radius: var(--radius-s);
  color: var(--white);
}
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 60rem) { .nav-toggle { display: inline-flex; } }

.mobile-drawer { width: min(22rem, 90vw); height: 100%; margin: 0 0 0 auto; border: 0; padding: 0; }
.mobile-drawer::backdrop { background: rgba(6,16,64,.55); }
.mobile-drawer__inner { padding: var(--space-l); height: 100%; overflow-y: auto; }
.mobile-drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-l); }
.mobile-drawer__group { border-bottom: 1px solid var(--color-border); }
.mobile-drawer__group summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--space-s) 0;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--step-1);
}
.mobile-drawer__group ul { display: grid; gap: var(--space-2xs); padding-bottom: var(--space-s); }
.mobile-drawer__group a {
  display: block; padding: var(--space-xs);
  color: var(--color-text); text-decoration: none;
}
.mobile-drawer__group a:hover { background: var(--slate-050); border-radius: var(--radius-s); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--color-text-inverse-muted);
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: var(--space-xl);
  padding-block: var(--space-3xl) var(--space-2xl);
}
.site-footer__brand { display: grid; gap: var(--space-s); align-content: start; }
.site-footer__tagline { color: var(--color-text-inverse); font-size: var(--step-1); }
.site-footer__address { font-style: normal; font-size: var(--step--1); line-height: 1.6; }
.social-links { display: flex; gap: var(--space-xs); margin-top: var(--space-s); }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--color-border-inverse);
  border-radius: var(--radius-circle);
  color: var(--color-text-inverse-muted);
}
.social-links a:hover { color: var(--white); border-color: var(--color-accent); }
.social-links svg { width: 18px; height: 18px; }

.footer-col__title {
  color: var(--white);
  font-size: var(--step--1);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-m);
}
.footer-col__list { display: grid; gap: var(--space-xs); }
.footer-col__link {
  color: var(--color-text-inverse-muted);
  text-decoration: none;
  font-size: var(--step--1);
  line-height: 1.5;
}
.footer-col__link:hover { color: var(--white); }

.site-footer__legal {
  display: flex; flex-wrap: wrap; gap: var(--space-s);
  align-items: center; justify-content: space-between;
  border-top: 1px solid var(--color-border-inverse);
  padding-block: var(--space-l);
  font-size: var(--step--1);
}
.legal-links { display: flex; flex-wrap: wrap; gap: var(--space-m); }
.legal-links a { color: var(--color-text-inverse-muted); text-decoration: none; }
.legal-links a:hover { color: var(--white); }

@media (max-width: 64rem) {
  .site-footer__top { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 40rem) {
  .site-footer__top { grid-template-columns: 1fr; }
}

/* ---------- back to top ---------- */
.to-top {
  position: fixed;
  right: var(--space-l); bottom: var(--space-l);
  width: 2.75rem; height: 2.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-800);
  color: var(--white);
  border-radius: var(--radius-circle);
  box-shadow: var(--shadow-3);
  z-index: var(--z-sticky);
}
.to-top svg { width: 20px; height: 20px; }
.brand__logo { display: block; height: 48px; width: auto; }


/* 05-components.css — reusable content blocks. */

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  padding: 0.72rem 1.35rem;
  border-radius: var(--radius-pill);
  font-weight: var(--weight-medium);
  font-size: var(--step-0);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 2.75rem;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }

.btn--primary { background: var(--color-accent); color: var(--navy-900); }
.btn--primary:hover { background: var(--blue-400); color: var(--navy-900); box-shadow: var(--shadow-glow); }

.btn--navy { background: var(--navy-800); color: var(--white); }
.btn--navy:hover { background: var(--navy-600); color: var(--white); }

.btn--ghost { background: transparent; color: var(--color-link); border-color: var(--color-border-strong); }
.btn--ghost:hover { border-color: var(--color-link); color: var(--color-link-hover); }

.btn--inverse { background: var(--white); color: var(--navy-800); }
.btn--inverse:hover { background: var(--slate-100); }

.btn--outline-inverse { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--outline-inverse:hover { border-color: var(--white); }

.btn--lg { padding: 0.9rem 1.75rem; font-size: var(--step-1); }
.btn--block { width: 100%; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: var(--color-text-inverse);
  padding-block: calc(var(--section-y) * 1.1);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(42rem 30rem at 85% -10%, rgba(72,171,224,.28), transparent 60%),
    radial-gradient(30rem 24rem at -10% 110%, rgba(127,227,240,.14), transparent 60%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; gap: var(--space-xl); align-items: center; }
.hero--split .hero__inner,
.hero--diagram .hero__inner,
.hero--terminal .hero__inner { grid-template-columns: 1.05fr 0.95fr; }
.hero--centered .hero__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero--centered .hero__actions { justify-content: center; }
.hero--compact .hero__inner { grid-template-columns: 1fr; max-width: var(--container-m); }
@media (max-width: 60rem) {
  .hero--split .hero__inner,
  .hero--diagram .hero__inner,
  .hero--terminal .hero__inner { grid-template-columns: 1fr; }
}

.hero__eyebrow { color: var(--color-accent); }
.hero__title { color: var(--white); font-size: var(--step-5); line-height: var(--lh-tight); }
.hero--centered .hero__title, .hero--compact .hero__title { font-size: var(--step-4); }
.hero__rotate { display: inline-block; color: var(--blue-400); }
.hero__rotate-item { display: block; }
.hero__sub { color: var(--color-text-inverse-muted); font-size: var(--step-1); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-s); margin-top: var(--space-m); }

.hero__chips { display: flex; flex-wrap: wrap; gap: var(--space-2xs); margin-top: var(--space-l); }
.chip {
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-inverse);
  color: var(--color-text-inverse-muted);
  font-size: var(--step--1);
  font-weight: var(--weight-medium);
}
.hero__media { position: relative; }

/* Terminal mock — used by hero--terminal. */
.terminal {
  background: var(--navy-900);
  border: 1px solid var(--color-border-inverse);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-4);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: var(--step--1);
}
.terminal__bar {
  display: flex; gap: 6px; padding: var(--space-s);
  border-bottom: 1px solid var(--color-border-inverse);
}
.terminal__dot { width: 11px; height: 11px; border-radius: 50%; }
.terminal__dot--r { background: #ff5f57; } .terminal__dot--y { background: #febc2e; } .terminal__dot--g { background: #28c840; }
.terminal__body { padding: var(--space-m); line-height: 1.7; }
.terminal__body .ok { color: var(--color-success); }
.terminal__body .dim { color: var(--color-text-inverse-muted); }

/* ---------- dashboard mock (SVG container) ---------- */
.mock { border-radius: var(--radius-l); box-shadow: var(--shadow-4); overflow: hidden; }
.mock svg { width: 100%; height: auto; }

/* ---------- logo strip ---------- */
.logo-strip__label { text-align: center; color: var(--color-text-muted); font-size: var(--step--1); margin-bottom: var(--space-l); }
.logo-strip__row {
  display: flex; flex-wrap: wrap; gap: var(--space-xl);
  align-items: center; justify-content: center;
}
.logo-strip__logo {
  height: 1.75rem; width: auto;
  color: var(--slate-400);
  opacity: .55;
  transition: opacity var(--dur-fast) var(--ease);
}
.logo-strip__logo:hover { opacity: 1; }

/* ---------- feature grid / cards ---------- */
.feature-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-l);
  padding: var(--space-l);
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.feature-card:hover { box-shadow: var(--shadow-3); transform: translateY(-2px); }
.section--muted .feature-card { border-color: var(--color-border); }
.feature-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius-s);
  background: rgba(72,171,224,.14);
  color: var(--color-link);
  margin-bottom: var(--space-m);
}
.feature-card__icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: var(--step-1); margin-bottom: var(--space-2xs); }
.feature-card p { color: var(--color-text-muted); }
.feature-card__link {
  display: inline-flex; align-items: center; gap: var(--space-2xs);
  margin-top: var(--space-m);
  font-weight: var(--weight-medium);
  text-decoration: none;
}
.feature-card__link svg { width: 16px; height: 16px; }

.feature-card--on-dark { background: rgba(255,255,255,.04); border-color: var(--color-border-inverse); }
.feature-card--on-dark h3 { color: var(--white); }
.feature-card--on-dark p { color: var(--color-text-inverse-muted); }
.feature-card--on-dark .feature-card__icon { color: var(--color-accent); background: rgba(72,171,224,.16); }

/* Alternating feature rows (zig-zag) */
.feature-alt { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; }
.feature-alt + .feature-alt { margin-top: var(--space-3xl); }
.feature-alt--reverse .feature-alt__media { order: 2; }
.feature-alt__media { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-3); }
.feature-alt__image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.feature-alt__image--contain { aspect-ratio: auto; object-fit: contain; }
.feature-alt h3 { font-size: var(--step-3); margin-bottom: var(--space-s); }
.feature-alt p { color: var(--color-text-muted); }
.feature-alt ul { margin-top: var(--space-m); display: grid; gap: var(--space-xs); }
.feature-alt li { display: flex; gap: var(--space-s); align-items: flex-start; }
.feature-alt li svg { width: 18px; height: 18px; flex: none; color: var(--color-success); margin-top: 3px; }
@media (max-width: 60rem) {
  .feature-alt { grid-template-columns: 1fr; }
  .feature-alt--reverse .feature-alt__media { order: 0; }
}

/* ---------- tab selector ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: var(--space-2xs); border-bottom: 1px solid var(--color-border); margin-bottom: var(--space-l); }
.tab {
  display: inline-flex; align-items: center; gap: var(--space-2xs);
  padding: var(--space-s) var(--space-m);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  border-radius: var(--radius-s) var(--radius-s) 0 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab svg { width: 18px; height: 18px; }
.tab[aria-selected="true"] { color: var(--color-link); border-bottom-color: var(--color-accent); }
.tabpanel { padding-block: var(--space-m); }
.tabpanel h3 { font-size: var(--step-3); margin-bottom: var(--space-s); }
.tabpanel p { color: var(--color-text-muted); max-width: 60ch; }
.tabpanel ul { margin-top: var(--space-m); display: grid; gap: var(--space-xs); }
.tabpanel li { display: flex; gap: var(--space-s); align-items: flex-start; }
.tabpanel li svg { width: 18px; height: 18px; flex: none; color: var(--color-success); margin-top: 3px; }

/* ---------- stat row ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-l); }
.stat { text-align: center; }
.stat__value {
  font-family: var(--font-display);
  font-size: var(--step-5);
  font-weight: var(--weight-bold);
  line-height: 1;
  color: var(--navy-800);
  font-variant-numeric: tabular-nums;
}
.stat-row--inverse .stat__value { color: var(--white); }
.stat__label { margin-top: var(--space-xs); color: var(--color-text-muted); }
.stat-row--inverse .stat__label { color: var(--color-text-inverse-muted); }
@media (max-width: 60rem) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 40rem) { .stat-row { grid-template-columns: 1fr; } }

/* ---------- testimonial ---------- */
.quote-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-l);
  padding: var(--space-l);
  box-shadow: var(--shadow-1);
  display: grid; gap: var(--space-m);
}
.quote-card__text { font-size: var(--step-1); line-height: var(--lh-body); color: var(--color-text); }
.quote-card__text::before { content: "\201C"; color: var(--color-accent); font-size: 2em; line-height: 0; vertical-align: -0.3em; }
.quote-card__person { display: flex; align-items: center; gap: var(--space-s); }
.quote-card__avatar {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-800); color: var(--white);
  font-weight: var(--weight-bold);
  flex: none;
}
.quote-card__name { font-weight: var(--weight-bold); }
.quote-card__role { font-size: var(--step--1); color: var(--color-text-muted); }
.quote-card__meta { margin-left: auto; font-size: var(--step--1); color: var(--color-text-muted); }

.testimonial--feature .quote-card { grid-template-columns: 1fr; max-width: var(--container-m); margin-inline: auto; }

/* Slider (scroll-snap) */
.slider { position: relative; }
.slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(24rem, 86%);
  gap: var(--space-l);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-block: var(--space-xs);
  scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { scroll-snap-align: start; }
.slider__nav { display: flex; gap: var(--space-xs); justify-content: flex-end; margin-top: var(--space-m); }
.slider__btn {
  width: 2.75rem; height: 2.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-circle);
  color: var(--color-text);
}
.slider__btn:hover { border-color: var(--color-link); color: var(--color-link); }
.slider__btn svg { width: 20px; height: 20px; }

/* ---------- review cards (G2-style) ---------- */
.review-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-l);
  padding: var(--space-l);
  display: grid; gap: var(--space-s);
  box-shadow: var(--shadow-1);
}
.review-card__stars { display: flex; gap: 2px; color: #f5a623; }
.review-card__stars svg { width: 18px; height: 18px; }
.review-card__title { font-weight: var(--weight-bold); font-size: var(--step-0); }
.review-card__body { color: var(--color-text-muted); font-size: var(--step--1); }
.review-card__source { display: flex; align-items: center; gap: var(--space-xs); color: var(--color-text-muted); font-size: var(--step--1); }
.review-card__badge {
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--color-success);
  color: var(--white);
  font-size: var(--step--2);
  font-weight: var(--weight-bold);
}
.score-band { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-m); margin-top: var(--space-xl); }
.score-band__item { text-align: center; }
.score-band__value { font-family: var(--font-display); font-size: var(--step-3); font-weight: var(--weight-bold); color: var(--navy-800); }
.score-band__label { font-size: var(--step--1); color: var(--color-text-muted); }
@media (max-width: 60rem) { .score-band { grid-template-columns: repeat(3, 1fr); } }

/* ---------- blog grid ---------- */
.post-card {
  display: grid; gap: var(--space-s);
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-l);
  padding: var(--space-l);
  box-shadow: var(--shadow-1);
  text-decoration: none;
  color: var(--color-text);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.post-card:hover { box-shadow: var(--shadow-3); transform: translateY(-2px); color: var(--color-text); }
.post-card__chip {
  align-self: start;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(72,171,224,.14);
  color: var(--color-link);
  font-size: var(--step--2);
  font-weight: var(--weight-bold);
}
.post-card h3 { font-size: var(--step-1); }
.post-card__dek { color: var(--color-text-muted); font-size: var(--step--1); }
.post-card__meta { display: flex; align-items: center; gap: var(--space-2xs); font-size: var(--step--1); color: var(--color-text-muted); }

/* ---------- dual CTA ---------- */
.dual-cta {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dual-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(32rem 18rem at 50% -20%, rgba(72,171,224,.3), transparent 65%);
}
.dual-cta > * { position: relative; }
.dual-cta h2 { color: var(--white); font-size: var(--step-4); max-width: 20ch; margin-inline: auto; }
.dual-cta p { color: var(--color-text-inverse-muted); max-width: 56ch; margin: var(--space-m) auto 0; }
.dual-cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-s); justify-content: center; margin-top: var(--space-xl); }

/* ---------- comparison table ---------- */
/* Long-form article tables scroll within the reading column on small screens. */
.blog-article .prose { max-width: none; }
.prose .article-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-m); }
.article-table { width: 100%; min-width: 42rem; border-collapse: collapse; font-size: .9375rem; line-height: 1.6; }
.article-table caption { padding: var(--space-m); text-align: left; font-weight: var(--weight-bold); }
.article-table th, .article-table td { padding: var(--space-m); text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-border); overflow-wrap: anywhere; }
.article-table thead th { background: var(--navy-800); color: var(--white); }
.article-table tbody th { font-weight: var(--weight-medium); }
.article-table tbody tr:nth-child(even) { background: var(--slate-050); }
.article-table tbody tr:last-child > * { border-bottom: 0; }
.prose .article-checklist { list-style: none; padding-left: 0; }
.article-checklist li { display: flex; gap: .65rem; align-items: baseline; }
.article-checklist__box { flex: 0 0 auto; color: var(--color-link); font-size: 1.25rem; }
.swarm-diagram { padding: var(--space-l); border: 1px solid var(--color-border); border-radius: var(--radius-l); background: var(--slate-050); }
.swarm-diagram__node { display: flex; flex-direction: column; gap: .35rem; padding: var(--space-m); border: 1px solid var(--color-border); border-radius: var(--radius-m); background: var(--white); text-align: center; }
.swarm-diagram__node span { font-size: .875rem; }
.swarm-diagram__node--orchestrator { background: var(--navy-800); color: var(--white); }
.swarm-diagram__arrow { text-align: center; font-size: 1.75rem; color: var(--color-link); }
.swarm-diagram__roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-s); }
.swarm-diagram__feedback { margin-top: var(--space-m); padding: var(--space-m); border-left: 3px solid var(--color-link); }
.swarm-diagram figcaption { margin-top: var(--space-m); font-size: .875rem; color: var(--color-text-muted); }
@media (max-width: 35rem) { .swarm-diagram { padding: var(--space-m); } .swarm-diagram__roles { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; border-radius: var(--radius-l); box-shadow: var(--shadow-1); }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 40rem; }
.comparison-table caption { text-align: left; padding: var(--space-l); font-weight: var(--weight-bold); font-size: var(--step-2); }
.comparison-table th, .comparison-table td { padding: var(--space-m) var(--space-l); text-align: left; border-bottom: 1px solid var(--color-border); }
.comparison-table thead th { background: var(--navy-800); color: var(--white); font-size: var(--step-0); }
.comparison-table thead th:first-child { background: var(--navy-900); }
.comparison-table tbody th { font-weight: var(--weight-medium); color: var(--color-text); }
.comparison-table tbody tr:nth-child(even) { background: var(--slate-050); }
.comparison-table .cell-yes { color: var(--color-success); font-weight: var(--weight-bold); }
.comparison-table .cell-no { color: var(--slate-400); }
.comparison-table .cell-yes svg, .comparison-table .cell-no svg { width: 18px; height: 18px; display: inline; vertical-align: -3px; }
.row-win { background: rgba(27,158,107,.06) !important; }

/* ---------- control map table ---------- */
.control-map td:last-child a { font-weight: var(--weight-medium); }

/* ---------- FAQ ---------- */
.faq { max-width: var(--container-m); }
.faq__item { border-bottom: 1px solid var(--color-border); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-m);
  padding: var(--space-m) 0;
  font-weight: var(--weight-bold);
  font-family: var(--font-display);
}
.faq__item summary::after {
  content: "+";
  font-size: 1.4em; line-height: 1;
  color: var(--color-link);
  transition: transform var(--dur) var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item .faq__answer { padding-bottom: var(--space-m); color: var(--color-text-muted); }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { font-size: var(--step--1); color: var(--color-text-muted); margin-bottom: var(--space-m); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--space-2xs); align-items: center; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: var(--space-2xs); }
.breadcrumbs li + li::before { content: "/"; color: var(--slate-400); }
.breadcrumbs a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--color-link); }

/* ---------- forms ---------- */
.form { display: grid; gap: var(--space-m); }
.field { display: grid; gap: var(--space-2xs); }
.field__label { font-weight: var(--weight-medium); }
.field__hint { font-size: var(--step--1); color: var(--color-text-muted); }
.field__error { font-size: var(--step--1); color: var(--color-danger); display: flex; gap: var(--space-2xs); align-items: center; }
.field__error svg { width: 15px; height: 15px; }
.field__input {
  padding: 0.7rem 1rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-s);
  background: var(--white);
}
.field__input:focus { border-color: var(--color-link); outline: none; box-shadow: var(--ring); }
.field--invalid .field__input { border-color: var(--color-danger); }
.form__success {
  padding: var(--space-m);
  border-radius: var(--radius-s);
  background: rgba(27,158,107,.1);
  border: 1px solid var(--color-success);
  color: #12633f;
  font-weight: var(--weight-medium);
}

/* ---------- timeline ---------- */
.timeline { display: grid; gap: var(--space-m); }
.timeline__step { display: grid; grid-template-columns: auto 1fr; gap: var(--space-m); }
.timeline__num {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-800); color: var(--white);
  font-family: var(--font-display); font-weight: var(--weight-bold);
}
.timeline__step h3 { font-size: var(--step-1); }
.timeline__step p { color: var(--color-text-muted); }

/* ---------- case study card ---------- */
.case-study {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-xl);
  background: var(--white); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: var(--space-2xl); box-shadow: var(--shadow-2);
  align-items: center;
}
.case-study__logo { font-family: var(--font-display); font-weight: var(--weight-bold); color: var(--navy-800); font-size: var(--step-2); }
.case-study__quote { font-size: var(--step-2); line-height: var(--lh-snug); margin-block: var(--space-m); }
.case-study__attrib { color: var(--color-text-muted); font-size: var(--step--1); }
.case-study__media { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-3); }
@media (max-width: 60rem) { .case-study { grid-template-columns: 1fr; } }

/* ---------- pricing bundles ---------- */
.bundle {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  display: grid; gap: var(--space-m);
  box-shadow: var(--shadow-1);
  position: relative;
}
.bundle--popular { border-color: var(--color-accent); box-shadow: var(--shadow-glow); }
.bundle__flag {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--color-accent); color: var(--navy-900);
  padding: 0.3rem 1rem; border-radius: var(--radius-pill);
  font-weight: var(--weight-bold); font-size: var(--step--1);
}
.bundle h3 { font-size: var(--step-2); }
.bundle__check { display: grid; gap: var(--space-xs); }
.bundle__check li { display: flex; gap: var(--space-s); align-items: flex-start; }
.bundle__check li svg { width: 18px; height: 18px; flex: none; color: var(--color-success); margin-top: 3px; }
.bundle__fit { color: var(--color-text-muted); font-size: var(--step--1); }
.bundle__actions { display: flex; flex-wrap: wrap; gap: var(--space-s); }

/* ---------- device pricing calculator ---------- */
.pricing-calculator {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-2);
  padding: clamp(var(--space-l), 5vw, var(--space-2xl));
}
.pricing-calculator__fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-l); }
.pricing-calculator__result {
  margin-top: var(--space-xl);
  padding: var(--space-l);
  border-radius: var(--radius-m);
  background: var(--navy-800);
  color: var(--white);
}
.pricing-calculator__label { color: var(--color-text-inverse-muted); font-size: var(--step--1); }
.pricing-calculator__price { margin-top: var(--space-2xs); font-family: var(--font-display); font-size: var(--step-5); font-weight: var(--weight-bold); line-height: 1.1; font-variant-numeric: tabular-nums; }
.pricing-calculator__detail { margin-top: var(--space-xs); color: var(--color-text-inverse-muted); }
.pricing-calculator__result .btn { margin-top: var(--space-m); }
.pricing-calculator__note { margin-top: var(--space-m); }
@media (max-width: 40rem) { .pricing-calculator__fields { grid-template-columns: 1fr; } }

/* ---------- metrics band ---------- */
.metrics-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-l); }
.metric { text-align: center; }
.metric__value { font-family: var(--font-display); font-size: var(--step-4); font-weight: var(--weight-bold); color: var(--navy-800); }
.metric__label { color: var(--color-text-muted); }
@media (max-width: 60rem) { .metrics-band { grid-template-columns: 1fr; } }

/* ---------- integration grid ---------- */
.integration-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-l); }
.integration-card {
  display: flex; flex-direction: column; gap: var(--space-s);
  background: var(--white); border: 1px solid var(--color-border);
  border-radius: var(--radius-l); padding: var(--space-l); box-shadow: var(--shadow-1);
}
.integration-card__logo { font-family: var(--font-display); font-weight: var(--weight-bold); color: var(--navy-800); }
.integration-card p { color: var(--color-text-muted); font-size: var(--step--1); }
@media (max-width: 60rem) { .integration-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 40rem) { .integration-grid { grid-template-columns: 1fr; } }

/* ---------- related rail ---------- */
.related-rail__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-m); margin-bottom: var(--space-l); }
.related-rail__head a { font-weight: var(--weight-medium); }

/* ---------- awards ---------- */
.award-grid { display: flex; flex-wrap: wrap; gap: var(--space-l); align-items: center; justify-content: center; }
.award {
  display: inline-flex; align-items: center; gap: var(--space-2xs);
  padding: var(--space-s) var(--space-m);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  color: var(--color-text-muted);
  font-weight: var(--weight-medium);
}
.award svg { width: 18px; height: 18px; color: #d4a017; }

/* ---------- platform diagram ---------- */
.platform-diagram { text-align: center; }
.platform-diagram svg { max-width: 56rem; width: 100%; height: auto; }

/* ---------- numbered differentiators ---------- */
.diff { display: grid; gap: var(--space-l); }
.diff__item { display: grid; grid-template-columns: auto 1fr; gap: var(--space-m); }
.diff__num {
  font-family: var(--font-display); font-size: var(--step-3); font-weight: var(--weight-bold);
  color: var(--color-accent); line-height: 1;
}
.diff__item h3 { font-size: var(--step-2); }
.diff__item p { color: var(--color-text-muted); }

/* ---------- styleguide ---------- */
.swatch { border: 1px solid var(--color-border); border-radius: var(--radius-m); overflow: hidden; }
.swatch__chip { height: 5rem; }
.swatch__meta { padding: var(--space-s); font-size: var(--step--1); }
.swatch__meta code { display: block; margin-top: 2px; }
.type-spec { border-bottom: 1px solid var(--color-border); padding-block: var(--space-m); }
.type-spec__label { color: var(--color-text-muted); font-size: var(--step--1); margin-bottom: var(--space-2xs); }
.space-spec { display: flex; align-items: center; gap: var(--space-m); margin-block: var(--space-xs); }
.space-spec__bar { background: var(--color-accent); border-radius: 2px; height: 0.6rem; }
.space-spec__label { font-family: var(--font-mono); font-size: var(--step--1); color: var(--color-text-muted); width: 7rem; }


/* 06-animations.css — scroll reveals and rotating headline. All gated on
   .js (so nothing is hidden when JS is off) and prefers-reduced-motion. */

/* Scroll reveals: base state is visible; only hidden when JS is present. */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity var(--dur-reveal) var(--ease-out),
              transform var(--dur-reveal) var(--ease-out);
}

/* Rotating headline. No-JS: only the first phrase shows (via :first-child).
   With JS: only the .is-active phrase is displayed, fading in as it appears. */
.hero__rotate { display: inline-block; }
.hero__rotate-item { display: none; }
.hero__rotate-item:first-child { display: inline; }
.js .hero__rotate-item { display: none; }
.js .hero__rotate-item.is-active {
  display: inline;
  animation: fade-in var(--dur-slow) var(--ease);
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Platform diagram connection strokes */
.platform-diagram .conn { stroke-dasharray: 6 6; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -600; } }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .hero__rotate-item.is-active { animation: none; }
  .platform-diagram .conn { animation: none; }
}


/* 07-utilities.css — deliberately tiny. Anything reused more than twice
   belongs in a real component, not here. */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-right { text-align: right; }

.mt-s { margin-top: var(--space-s); }
.mt-m { margin-top: var(--space-m); }
.mt-l { margin-top: var(--space-l); }
.mt-xl { margin-top: var(--space-xl); }
.mb-m { margin-bottom: var(--space-m); }
.mb-l { margin-bottom: var(--space-l); }
.mb-xl { margin-bottom: var(--space-xl); }

/* Flow: stack children with a vertical gap. */
.flow > * + * { margin-top: var(--stack-m); }
.flow--s > * + * { margin-top: var(--stack-s); }

/* Section band rhythm helper for stacked sections sharing a background. */
.band + .band { padding-top: 0; }
