/* ==========================================================================
   Ashburn Software site stylesheet
   Single file, no build step, no external dependencies.
   Sections: 1 tokens · 2 base · 3 layout · 4 header · 5 hero · 6 components
             7 dark bands · 8 forms · 9 footer · 10 motion · 11 responsive
   ========================================================================== */

/* 1. Design tokens */

:root {
  /* Brand blues, sampled from the Ashburn Software mark */
  --brand-900: #06223c;
  --brand-800: #08304f;
  --brand-700: #0d4f86;
  --brand-600: #1069a8;
  --brand-500: #1a83c9;
  --brand-400: #3ea3e0;
  --brand-300: #7cc5ee;
  --brand-200: #b9dff7;
  --brand-100: #e2f1fb;

  /* Warm accent, used sparingly, for heritage/legacy cues */
  --accent-600: #b7690a;
  --accent-500: #e08b1e;
  --accent-300: #f5c26b;

  /* Neutrals */
  --ink:        #071a2b;

  /* Semantic tokens, light context (default) */
  --bg:         #ffffff;
  --bg-alt:     #f5f8fb;
  --surface:    #ffffff;
  --surface-2:  #eef4fa;
  --text:       #0f2438;
  --text-muted: #4c6076;
  --border:     #dde6ef;
  --border-soft:#e9f0f7;
  --link:       var(--brand-600);
  --shadow-sm:  0 1px 2px rgba(7, 26, 43, .06), 0 1px 3px rgba(7, 26, 43, .08);
  --shadow-md:  0 4px 12px rgba(7, 26, 43, .07), 0 12px 32px rgba(7, 26, 43, .08);
  --shadow-lg:  0 8px 24px rgba(7, 26, 43, .10), 0 32px 64px rgba(7, 26, 43, .12);

  /* Type */
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "Cascadia Code", "Cascadia Mono",
               Menlo, Consolas, "Liberation Mono", monospace;

  /* Rhythm */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 116px);
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
}

/* 2. Base */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.12;
  letter-spacing: -.022em;
  font-weight: 750;
  color: var(--text);
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 1.35rem + 3.4vw, 3.85rem); letter-spacing: -.032em; }
h2 { font-size: clamp(1.65rem, 1.15rem + 2.1vw, 2.6rem);  letter-spacing: -.028em; }
h3 { font-size: clamp(1.12rem, 1.02rem + .45vw, 1.32rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--link); text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

img, svg { max-width: 100%; height: auto; vertical-align: middle; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; color: var(--text); }
code { font-family: var(--font-mono); font-size: .9em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--brand-200); color: var(--brand-900); }

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

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

/* 3. Layout */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 800px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.section--alt { background: var(--bg-alt); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p {
  font-size: clamp(1.02rem, .98rem + .35vw, 1.18rem);
  color: var(--text-muted);
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 1.1em;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: currentColor; opacity: .55;
}

.lead {
  font-size: clamp(1.08rem, 1rem + .5vw, 1.28rem);
  line-height: 1.6;
  color: var(--text-muted);
}

.grid { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(276px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }

/* Decorative blueprint grid, echoes the mosaic in the logo */
.gridlines::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, currentColor 1px, transparent 1px),
    linear-gradient(to bottom, currentColor 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .045;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
}

/* 4. Header / navigation */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, #ffffff 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 20px rgba(7, 26, 43, .06);
}

.site-header .container {
  display: flex; align-items: center; gap: 20px;
  min-height: 76px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand svg { display: block; height: 38px; width: auto; }
.brand:focus-visible { outline-offset: 6px; }

.logo-word  { fill: var(--brand-900); }
.logo-sub   { fill: var(--brand-600); }

.nav { margin-left: auto; }
.nav ul {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin: 0; padding: 0;
}
.nav li { margin: 0; }

/* Plain nav links only. The CTA is excluded so .btn styling wins:
   `.nav a` outranks `.btn--primary` on specificity and would otherwise
   repaint the button's text muted, leaving dark-on-dark. */
.nav li:not(.nav-cta) a {
  display: block;
  padding: 9px 11px;
  border-radius: 9px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s ease, background .16s ease;
}
.nav li:not(.nav-cta) a:hover { color: var(--brand-700); background: var(--surface-2); }
.nav li:not(.nav-cta) a[aria-current="page"] { color: var(--brand-700); background: var(--brand-100); }

.nav-cta { margin-left: 8px; }
.nav-cta a { text-decoration: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
}
.nav-toggle span {
  position: relative;
  display: block; width: 19px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .22s ease, background-color .1s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 19px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .22s ease, top .22s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* 5. Hero */

.hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px) clamp(56px, 8vw, 100px);
  color: var(--brand-900);
  background:
    radial-gradient(900px 480px at 88% -12%, var(--brand-100), transparent 62%),
    radial-gradient(700px 420px at 4% 6%,  #f1f7fd, transparent 60%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 72%);
  overflow: hidden;
}
.hero .gridlines::before { color: var(--brand-700); }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.hero h1 { margin-bottom: .42em; }
.hero .lead { max-width: 34em; }

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 2rem;
}

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  margin-top: 2.2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: .88rem; color: var(--text-muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: .5em; }
.hero-meta span::before {
  content: ""; width: 6px; height: 6px; border-radius: 2px;
  background: var(--brand-400);
}

/* Page hero, interior pages */
.page-hero {
  position: relative;
  padding-block: clamp(46px, 6.5vw, 82px) clamp(38px, 5vw, 60px);
  background:
    radial-gradient(760px 380px at 80% -20%, var(--brand-100), transparent 64%),
    linear-gradient(180deg, #fbfdff, var(--bg));
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
.page-hero .lead { max-width: 46em; }

.breadcrumb {
  font-size: .85rem; color: var(--text-muted);
  margin-bottom: 1.4rem;
}
.breadcrumb a { color: inherit; text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--brand-600); text-decoration: underline; }
.breadcrumb span { opacity: .5; margin-inline: .5em; }

/* 6. Components */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 11px;
  font: inherit; font-size: .97rem; font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .18s ease,
              background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn--primary {
  background: linear-gradient(180deg, var(--brand-600), var(--brand-700));
  color: #fff;
  box-shadow: 0 1px 2px rgba(6, 34, 60, .3), 0 8px 22px -8px rgba(16, 105, 168, .6);
}
.btn--primary:hover {
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  box-shadow: 0 2px 4px rgba(6, 34, 60, .28), 0 14px 30px -10px rgba(16, 105, 168, .7);
}

.btn--secondary {
  background: var(--surface);
  color: var(--brand-800);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn--secondary:hover { border-color: var(--brand-300); background: #fff; color: var(--brand-700); }

.btn--ghost { background: transparent; color: var(--brand-700); border-color: color-mix(in srgb, var(--brand-700) 28%, transparent); }
.btn--ghost:hover { background: var(--brand-100); }

.btn--sm { padding: 9px 17px; font-size: .9rem; border-radius: 9px; }
.btn--lg { padding: 16px 30px; font-size: 1.03rem; }
.btn--block { width: 100%; }

/* Cards */
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(22px, 2.4vw, 30px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card p:last-child { margin-bottom: 0; }
.card h3 { margin-bottom: .5em; }

a.card, .card--link { text-decoration: none; color: inherit; }
a.card:hover, .card--interactive:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-300);
}

.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  margin-bottom: 1.15rem;
  border-radius: 12px;
  background: var(--brand-100);
  color: var(--brand-700);
  flex-shrink: 0;
}
.card__icon svg { width: 23px; height: 23px; }

.card__more {
  margin-top: auto; padding-top: 1.25rem;
  font-size: .92rem; font-weight: 650; color: var(--brand-600);
  display: inline-flex; align-items: center; gap: .4em;
}
.card__more svg { width: 15px; height: 15px; transition: transform .18s ease; }
a.card:hover .card__more svg { transform: translateX(3px); }

.card--feature {
  background: linear-gradient(160deg, var(--brand-800), var(--brand-900) 62%);
  border-color: transparent;
  color: #dbe9f5;
}
.card--feature h3, .card--feature h2 { color: #fff; }
.card--feature .card__icon { background: rgba(255, 255, 255, .12); color: var(--brand-200); }

/* Feature list with check marks */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding-left: 1.9em;
  margin-bottom: .72em;
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: .46em;
  width: 15px; height: 15px;
  border-radius: 4px;
  background: var(--brand-500);
  clip-path: polygon(15% 48%, 8% 58%, 38% 88%, 92% 26%, 82% 16%, 38% 66%);
}
.checklist li:last-child { margin-bottom: 0; }

/* Numbered process steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding: 22px 0 22px 68px;
  margin: 0;
  border-top: 1px solid var(--border);
}
.steps > li:first-child { border-top: 0; }
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 22px;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--brand-700);
  font-family: var(--font-mono);
  font-size: .88rem; font-weight: 700;
}
.steps h3 { margin-bottom: .35em; }
.steps p { color: var(--text-muted); margin-bottom: 0; }

/* Tech chips */
.chips { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 0; list-style: none; }
.chips li { margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: .83rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.chip--accent { border-color: color-mix(in srgb, var(--accent-500) 45%, transparent); color: var(--accent-600); background: color-mix(in srgb, var(--accent-500) 8%, transparent); }
.chip--brand  { border-color: var(--brand-300); color: var(--brand-700); background: var(--brand-100); }

/* Stat strip */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--surface); padding: clamp(20px, 2.4vw, 30px); }
.stat dt { font-size: .82rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .5rem; }
.stat dd {
  margin: 0;
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.05rem);
  font-weight: 750; letter-spacing: -.028em; line-height: 1.1;
  color: var(--brand-700);
}
.stat dd small { display: block; font-size: .8rem; font-weight: 500; letter-spacing: 0; color: var(--text-muted); margin-top: .5rem; line-height: 1.5; }

/* Code panel: the hero visual and inline examples */
.code-panel {
  border-radius: var(--radius-lg);
  background: linear-gradient(158deg, #0c2c48, var(--ink) 68%);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: #cfe0ee;
  font-family: var(--font-mono);
  font-size: .82rem;
  line-height: 1.75;
}
.code-panel__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .035);
}
.code-panel__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.code-panel__title {
  margin-left: 6px;
  font-size: .76rem; letter-spacing: .04em;
  color: #7d9bb5;
}
.code-panel__body { padding: 20px clamp(18px, 2vw, 24px); margin: 0; overflow-x: auto; }
.code-panel pre { margin: 0; font: inherit; }

.tok-c { color: #5f7f9b; font-style: italic; }   /* comment  */
.tok-k { color: #6fb8ec; }                        /* keyword  */
.tok-s { color: #8fd6a8; }                        /* string   */
.tok-t { color: #f0c674; }                        /* type     */
.tok-f { color: #c8a6f0; }                        /* function */
.tok-d { color: #7d9bb5; }                        /* dim      */

.code-panel__split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.code-panel__half { padding: 18px clamp(16px, 1.8vw, 22px); min-width: 0; }
.code-panel__half + .code-panel__half { border-left: 1px solid rgba(255, 255, 255, .09); }
.code-panel__label {
  display: block;
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: #6d8ba6; margin-bottom: .9rem;
}
.code-panel__arrow {
  display: grid; place-items: center;
  padding-inline: 6px;
  border-inline: 1px solid rgba(255, 255, 255, .09);
  color: var(--brand-400);
}
.code-panel__arrow svg { width: 20px; height: 20px; }

/* Quote / callout */
.callout {
  position: relative;
  padding: clamp(22px, 2.6vw, 32px) clamp(24px, 3vw, 38px);
  border-radius: var(--radius);
  background: var(--surface-2);
  border-left: 3px solid var(--brand-500);
}
.callout p { font-size: 1.06rem; }
.callout p:last-child { margin-bottom: 0; }
.callout--accent { border-left-color: var(--accent-500); background: color-mix(in srgb, var(--accent-500) 7%, var(--bg-alt)); }

/* Split media + text */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}
.split--reverse > *:first-child { order: 2; }

/* Definition-style FAQ */
.faq { border-top: 1px solid var(--border); }
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  font-size: 1.06rem; font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 13px; height: 13px; margin-top: 6px;
  border-right: 2px solid var(--brand-500);
  border-bottom: 2px solid var(--brand-500);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details > div { padding-bottom: 24px; color: var(--text-muted); max-width: 62em; }

/* CTA band */
.cta-band {
  position: relative;
  padding-block: clamp(56px, 7vw, 92px);
  background: linear-gradient(140deg, var(--brand-700), var(--brand-900) 70%);
  color: #dbe9f5;
  overflow: hidden;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #a9c6de; margin-inline: auto; max-width: 40em; }
.cta-band .hero-actions { justify-content: center; }
/* The band is dark but isn't .band--dark, so the ghost button doesn't inherit
   the token re-pointing and would otherwise sit brand-700 on brand-900. */
.cta-band .btn--ghost { color: var(--brand-200); border-color: rgba(255, 255, 255, .25); }
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, .09); }
.cta-band .gridlines::before { color: #fff; mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 20%, transparent 76%); }

/* 7. Dark feature bands */

.band--dark {
  /* Re-point the semantic tokens so every nested component adapts */
  --bg:         var(--ink);
  --bg-alt:     var(--brand-900);
  --surface:    #0e2b45;
  --surface-2:  #133552;
  --text:       #eaf2f9;
  --text-muted: #a2bcd2;
  --border:     rgba(255, 255, 255, .13);
  --border-soft:rgba(255, 255, 255, .08);
  --link:       var(--brand-300);
  --shadow-sm:  0 1px 3px rgba(0, 0, 0, .35);
  --shadow-md:  0 8px 26px rgba(0, 0, 0, .4);

  position: relative;
  background:
    radial-gradient(820px 460px at 82% 0%, rgba(26, 131, 201, .22), transparent 62%),
    radial-gradient(620px 420px at 6% 96%, rgba(13, 79, 134, .28), transparent 60%),
    var(--ink);
  color: var(--text);
  overflow: hidden;
}
.band--dark h1, .band--dark h2, .band--dark h3, .band--dark h4 { color: #fff; }
.band--dark strong { color: #fff; }
.band--dark .eyebrow { color: var(--brand-300); }
.band--dark .gridlines::before { color: #fff; }
.band--dark .btn--secondary { background: rgba(255, 255, 255, .07); color: #fff; border-color: rgba(255, 255, 255, .2); }
.band--dark .btn--secondary:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .34); color: #fff; }
.band--dark .btn--ghost { color: var(--brand-200); border-color: rgba(255, 255, 255, .25); }
.band--dark .btn--ghost:hover { background: rgba(255, 255, 255, .09); }
.band--dark .card { background: rgba(255, 255, 255, .045); backdrop-filter: blur(4px); }
.band--dark .card--interactive:hover { border-color: var(--brand-400); background: rgba(255, 255, 255, .075); }
.band--dark .card__icon { background: rgba(122, 197, 238, .15); color: var(--brand-300); }
.band--dark .card__more { color: var(--brand-300); }
.band--dark .chip { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); color: #c3d8e9; }
.band--dark .chip--brand { background: rgba(62, 163, 224, .16); border-color: rgba(62, 163, 224, .45); color: #b9dff7; }
.band--dark .chip--accent { background: rgba(224, 139, 30, .14); border-color: rgba(224, 139, 30, .42); color: var(--accent-300); }
.band--dark .stats { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .12); }
.band--dark .stat { background: #0b2439; }
.band--dark .stat dd { color: var(--brand-300); }
.band--dark .checklist li::before { background: var(--brand-400); }
.band--dark .steps > li { border-color: rgba(255, 255, 255, .1); }
.band--dark .steps > li::before { background: rgba(255, 255, 255, .07); color: var(--brand-300); }
.band--dark .callout { background: rgba(255, 255, 255, .05); border-left-color: var(--brand-400); }
.band--dark .code-panel { border-color: rgba(255, 255, 255, .14); }
.band--dark .faq, .band--dark .faq details { border-color: rgba(255, 255, 255, .12); }
.band--dark .faq summary::after { border-color: var(--brand-300); }

/* Marquee-ish tech rail used at the top of the legacy band */
.rail {
  display: flex; flex-wrap: wrap; gap: 10px 12px;
  padding: 0; margin: 0 0 clamp(30px, 4vw, 46px); list-style: none;
}
.rail li { margin: 0; }
.rail span {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .045);
  font-family: var(--font-mono);
  font-size: .84rem; font-weight: 600;
  color: #cfe2f1;
}
.rail span em {
  font-style: normal;
  color: #7fa4c0;
  margin-left: .55em;
  font-size: .82em;
}

/* 8. Forms */

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }

.field { display: grid; gap: 7px; }
.field > label {
  font-size: .89rem; font-weight: 650; color: var(--text);
}
.field .hint { font-size: .82rem; color: var(--text-muted); }
.field .req { color: var(--accent-600); margin-left: .2em; }

.input, .textarea, .select {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: .97rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color .16s ease, box-shadow .16s ease;
  appearance: none;
}
.textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%234c6076' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px;
  padding-right: 38px;
}
.input:hover, .textarea:hover, .select:hover { border-color: var(--brand-300); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-500) 22%, transparent);
}
.input::placeholder, .textarea::placeholder { color: color-mix(in srgb, var(--text-muted) 70%, transparent); }

.checkgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}
.checkgrid label {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-size: .92rem;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}
.checkgrid label:hover { border-color: var(--brand-300); }
.checkgrid input { accent-color: var(--brand-600); width: 17px; height: 17px; flex-shrink: 0; margin: 0; }
.checkgrid label:has(input:checked) { border-color: var(--brand-500); background: var(--brand-100); }

/* Honeypot: must stay reachable to bots but hidden from humans */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-status {
  display: none;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: .94rem;
  font-weight: 600;
}
.form-status.is-visible { display: block; }
.form-status--ok   { background: #e6f6ec; color: #1b6b3a; border: 1px solid #bfe6cd; }
.form-status--err  { background: #fdecec; color: #9b2c2c; border: 1px solid #f5c6c6; }

.btn[data-loading="true"] { opacity: .65; pointer-events: none; }

/* Contact detail list */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.contact-list li { margin: 0; display: flex; gap: 15px; align-items: flex-start; }
.contact-list svg { width: 20px; height: 20px; color: var(--brand-600); flex-shrink: 0; margin-top: 4px; }
.contact-list dt, .contact-list .label {
  font-size: .78rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 3px;
}
.contact-list .value { font-size: 1.05rem; font-weight: 650; }
.contact-list .value a { text-decoration: none; }
.contact-list .value a:hover { text-decoration: underline; }

/* 9. Footer */

.site-footer {
  background: var(--ink);
  color: #9db6cb;
  padding-block: clamp(48px, 6vw, 72px) 30px;
  font-size: .93rem;
}
.site-footer .logo-word { fill: #ffffff; }
.site-footer .logo-sub  { fill: var(--brand-300); }
.site-footer a { color: #c5d8e8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(30px, 4vw, 52px);
  padding-bottom: 40px;
}
.footer-brand svg { height: 40px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { max-width: 32em; line-height: 1.65; }

.footer-col h4 {
  color: #fff; font-size: .8rem; font-weight: 650;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 1.05rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .62em; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  align-items: center; justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .86rem;
  color: #7d9bb5;
}

/* 10. Motion */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.22, .68, .35, 1),
              transform .6s cubic-bezier(.22, .68, .35, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .07s; }
.js .reveal[data-delay="2"] { transition-delay: .14s; }
.js .reveal[data-delay="3"] { transition-delay: .21s; }
.js .reveal[data-delay="4"] { transition-delay: .28s; }

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

/* 11. Responsive */

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; }
}

/* The nav collapses well before the rest of the layout does: seven links plus
   the RFP button stop fitting beside the logo somewhere around 1050px. */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: 76px 0 auto;
    margin: 0;
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px var(--gutter) 26px;
  }
  .nav li:not(.nav-cta) a { padding: 14px 14px; font-size: 1.02rem; }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta .btn { width: 100%; padding: 14px 22px; }

  body.nav-open { overflow: hidden; }
}

@media (max-width: 900px) {
  .code-panel__split { grid-template-columns: 1fr; }
  .code-panel__half + .code-panel__half { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .09); }
  .code-panel__arrow { border-inline: 0; border-block: 1px solid rgba(255, 255, 255, .09); padding-block: 8px; }
  .code-panel__arrow svg { transform: rotate(90deg); }

  .split--reverse > *:first-child { order: 0; }
}

@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .hero-actions .btn { width: 100%; }
  .steps > li { padding-left: 0; padding-top: 60px; }
  .steps > li::before { top: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media print {
  .site-header, .nav-toggle, .cta-band, .hero-actions { display: none !important; }
  body { color: #000; }
  .band--dark { background: #fff !important; color: #000 !important; }
}
