/* ==========================================================================
   aditf.com /services
   Standalone light theme commercial landing page.
   Architectural layout: full width bands, hairline rules, ledger rows.
   No floating card system. No background gradients.
   ========================================================================== */

:root {
  /* surfaces */
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #f1f5f9;
  --surface-4: #eef2f7;

  /* ink */
  --ink: #0f172a;
  --ink-2: #1e293b;
  --body: #475569;
  --muted: #64748b;
  --faint: #64748b;

  /* green that clears AA at small sizes; --green stays for large text and marks */
  --green-text: #065f46;

  /* lines */
  --line: #e2e8f0;
  --line-strong: #cbd5e1;

  /* accent */
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-soft: #eff6ff;
  --blue-line: #bfdbfe;

  /* signal */
  --green: #059669;
  --green-bright: #10b981;
  --green-soft: #ecfdf5;
  --green-line: #a7f3d0;

  /* caution, ledger comparison only */
  --rose: #b91c1c;
  --rose-soft: #fef2f2;
  --rose-line: #fecaca;

  /* spacing */
  --s-0: 0;
  --s-25: 2px;
  --s-50: 4px;
  --s-75: 8px;
  --s-100: 12px;
  --s-200: 16px;
  --s-300: 24px;
  --s-400: 32px;
  --s-500: 40px;
  --s-600: 48px;
  --s-700: 64px;
  --s-800: 80px;
  --s-900: 96px;

  /* radius */
  --r-4: 4px;
  --r-6: 6px;
  --r-8: 8px;
  --r-full: 999px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* fluid page gutter: 24px at 390, 5vw through the middle, 80px on wide */
  --gutter: clamp(24px, 5vw, 80px);
  --shell: 1440px;

  /* full width header height; anchor targets clear it */
  --nav-h: 64px;

  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* the sticky bar owns this much of the viewport; anchors clear it */
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--blue-soft);
  color: var(--blue-hover);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: var(--r-4);
}

/* text styles ----------------------------------------------------------- */
.heading-1,
.heading-2,
.heading-3,
.heading-4,
.heading-5,
.heading-6 {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.heading-1 {
  font-size: 36px;
  line-height: 40px;
}

.heading-2 {
  font-size: 30px;
  line-height: 36px;
}

.heading-3 {
  font-size: 24px;
  line-height: 32px;
}

.heading-4 {
  font-size: 20px;
  line-height: 28px;
}

.heading-5 {
  font-size: 20px;
  line-height: 28px;
}

.heading-6 {
  font-size: 20px;
  line-height: 28px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--body);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.prose {
  color: var(--body);
  text-wrap: pretty;
}

/* display steps --------------------------------------------------------- */
@media (min-width: 768px) {
  .heading-1 {
    font-size: 48px;
    line-height: 48px;
  }

  .heading-2 {
    font-size: 36px;
    line-height: 40px;
  }

  .heading-3 {
    font-size: 30px;
    line-height: 36px;
  }

  .heading-4 {
    font-size: 24px;
    line-height: 32px;
  }

  .heading-5 {
    font-size: 24px;
    line-height: 32px;
  }
}

@media (min-width: 1024px) {
  .heading-1 {
    font-size: 60px;
    line-height: 60px;
  }

  .heading-2 {
    font-size: 48px;
    line-height: 48px;
  }

  .heading-3 {
    font-size: 36px;
    line-height: 40px;
  }

  .heading-4 {
    font-size: 30px;
    line-height: 36px;
  }

  .heading-5 {
    font-size: 24px;
    line-height: 32px;
  }
}

/* anchor clearance for the full width sticky bar */
#top,
#difference,
#services,
#architecture,
#process,
#builder,
#faq {
  scroll-margin-top: 80px;
}

/* layout ---------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--s-700);
}

@media (min-width: 768px) {
  .section {
    padding-block: var(--s-900);
  }
}

.section--tint {
  background: var(--surface-2);
}

.section--deep {
  background: var(--surface-3);
}

/* section heading: headline left, lede in its own measure */
.sec-head {
  display: grid;
  gap: var(--s-300);
  padding-bottom: var(--s-500);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s-600);
}

@media (min-width: 900px) {
  .sec-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: var(--s-700);
    align-items: end;
  }

  .sec-head--split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
}

.sec-head__main {
  min-width: 0;
}

.sec-head__eyebrow {
  margin-bottom: var(--s-200);
}

.sec-head .heading-2 {
  max-width: 760px;
}

.sec-head__lede {
  color: var(--body);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  text-wrap: pretty;
  max-width: 520px;
}

@media (min-width: 900px) {
  .sec-head__lede {
    padding-bottom: var(--s-25);
  }
}

/* skip link ------------------------------------------------------------- */
.skip {
  position: absolute;
  left: var(--gutter);
  top: calc(-1 * var(--s-900));
  z-index: 200;
  padding: var(--s-100) var(--s-200);
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--r-8);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  transition: transform 300ms var(--ease);
}

.skip:focus-visible {
  top: calc(var(--nav-h) + var(--s-100));
}

/* navigation ------------------------------------------------------------
   Full width enterprise bar. Snapped to the top edge, hairline under it,
   three zones: identity, section links, status plus primary action.
   ----------------------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--nav-h);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  transition: border-color 300ms var(--ease), background-color 300ms var(--ease);
}

.site-nav.is-stuck {
  border-bottom-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.95);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-300);
  width: 100%;
  max-width: var(--shell);
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

/* identity: monogram, name, role divider ------------------------------- */
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-100);
  flex: 0 0 auto;
  min-width: 0;
  height: 100%;
}

.nav-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: var(--r-8);
  background: var(--ink);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background-color 300ms var(--ease);
}

.nav-brand:hover .nav-brand__mark {
  background: var(--blue);
}

.nav-brand__name {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.nav-brand__role {
  display: none;
  padding-left: var(--s-100);
  border-left: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

@media (min-width: 1440px) {
  .nav-brand__role {
    display: inline-block;
  }
}

/* section links: full bar height, hairline indicator on the bottom edge */
.nav__links {
  display: none;
  align-items: center;
  gap: var(--s-300);
  height: 100%;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  height: 100%;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--body);
  white-space: nowrap;
  transition: color 300ms var(--ease), border-color 300ms var(--ease);
}

.nav__link:hover {
  color: var(--ink);
}

.nav__link[aria-current="true"] {
  color: var(--blue);
  font-weight: 600;
  border-bottom-color: var(--blue);
}

/* actions: live status, primary CTA, mobile toggle ---------------------- */
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--s-200);
  flex: 0 0 auto;
}

.nav-status {
  display: none;
  align-items: center;
  gap: var(--s-75);
  padding: var(--s-25) var(--s-100);
  border: 1px solid var(--green-line);
  border-radius: var(--r-full);
  background: var(--green-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-text);
  white-space: nowrap;
}

.nav-status__dot {
  width: 6px;
  height: 6px;
  border-radius: var(--r-full);
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.14);
}

@media (min-width: 1280px) {
  .nav-status {
    display: inline-flex;
  }
}

/* under 520 the drawer carries the action, so the brand keeps room */
@media (max-width: 519px) {
  .nav__cta.btn {
    display: none;
  }
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-8);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 300ms var(--ease), background-color 300ms var(--ease);
}

.nav__toggle:hover {
  border-color: var(--faint);
  background: var(--surface-2);
}

.nav__toggle-icon {
  position: relative;
  width: 16px;
  height: 12px;
}

.nav__toggle-icon span {
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: var(--r-full);
  background: currentColor;
  transition: transform 300ms var(--ease), opacity 300ms var(--ease);
}

.nav__toggle-icon span:nth-child(1) {
  top: 0;
}

.nav__toggle-icon span:nth-child(2) {
  top: 5px;
}

.nav__toggle-icon span:nth-child(3) {
  top: 10px;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-icon span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.4);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-icon span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

@media (min-width: 1080px) {
  .nav__links {
    display: flex;
  }

  .nav__toggle {
    display: none;
  }
}

/* below 1200 the bar is still tight; trade link gap for the CTA */
@media (min-width: 1080px) and (max-width: 1199px) {
  .nav__links {
    gap: var(--s-200);
  }
}

/* mobile drawer ---------------------------------------------------------
   Full height panel beneath the bar, hairline rows, no card chrome.
   ----------------------------------------------------------------------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  /* top row replaces the header in place, so no top padding; bottom padding respects safe area */
  padding: 0 clamp(20px, 4vw, 56px) calc(var(--s-300) + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease), visibility 300ms var(--ease);
}

.drawer[hidden] {
  display: none;
}

.drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-200);
  height: var(--nav-h);
  border-bottom: 1px solid var(--line);
}

.drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-8);
  background: var(--surface);
}

.drawer__list {
  display: flex;
  flex-direction: column;
  margin-top: 0;
}

.drawer__item {
  opacity: 0;
  transform: translateY(24px);
  border-bottom: 1px solid var(--line);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}

.drawer.is-open .drawer__item {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--i) * 60ms);
}

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-200);
  min-height: 56px;
  padding: var(--s-200) 0;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  color: var(--ink);
  transition: color 300ms var(--ease), transform 300ms var(--ease);
}

.drawer__link:hover {
  color: var(--blue);
  transform: translateX(4px);
}

.drawer__index {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  color: var(--faint);
}

.drawer__foot {
  margin-top: auto;
  padding-top: var(--s-300);
  display: flex;
  flex-direction: column;
  gap: var(--s-200);
}

.drawer__note {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

body.is-locked {
  overflow: hidden;
}

/* buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-75);
  padding: var(--s-75) var(--s-100);
  border: 1px solid transparent;
  border-radius: var(--r-8);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease),
    color 300ms var(--ease), box-shadow 300ms var(--ease), transform 300ms var(--ease);
}

.btn--lg {
  font-size: 18px;
  line-height: 28px;
}

.btn--sm {
  font-size: 14px;
  line-height: 20px;
}

.btn--primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.14);
}

.btn--primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 8px 16px -8px rgba(37, 99, 235, 0.65);
}

.btn--primary:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  background: var(--surface-2);
  border-color: var(--faint);
}

.btn--ghost:active {
  transform: translateY(1px);
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.btn__arrow {
  display: inline-block;
  transition: transform 300ms var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* chips ----------------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-50);
  padding: var(--s-25) var(--s-75);
  border: 1px solid var(--line-strong);
  border-left-width: 2px;
  border-radius: 0;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  white-space: nowrap;
}

.chip--signal {
  background: var(--green-soft);
  border-color: var(--green-line);
  color: #065f46;
}

/* reveal ---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .drawer__item,
  .drawer.is-open .drawer__item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   HERO — full width band, structural grid, expansive product stage
   ========================================================================== */
.hero {
  position: relative;
  /* full width header height + spacing so the content never hides under the bar */
  padding-top: calc(var(--nav-h) + var(--s-400));
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding-top: calc(var(--nav-h) + var(--s-600));
  }
}

.shell--grid {
  position: relative;
}

.hero__meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-100);
}

.hero__stamp {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.04em;
  color: var(--faint);
}

.pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-50) var(--s-75);
  padding: var(--s-50) var(--s-100);
  border: 1px solid var(--blue-line);
  border-radius: var(--r-full);
  background: var(--blue-soft);
  color: var(--blue-hover);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-wrap: balance;
}

.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: var(--r-full);
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.14);
}

.hero__title {
  position: relative;
  margin-top: var(--s-400);
  max-width: 680px;
  background: linear-gradient(90deg, #0f172a 0%, #475569 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__title {
    color: var(--ink);
    -webkit-text-fill-color: currentColor;
    background: none;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    max-width: 900px;
  }
}

/* copy on the left, hard facts on the right, split by a hairline */
.hero__specs {
  position: relative;
  display: grid;
  gap: var(--s-500);
  margin-top: var(--s-500);
  padding-top: var(--s-400);
  border-top: 1px solid var(--line);
}

@media (min-width: 1024px) {
  .hero__specs {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: var(--s-800);
    align-items: start;
  }
}

.hero__pitch {
  min-width: 0;
}

.hero__lede {
  max-width: 680px;
  color: var(--body);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  text-wrap: pretty;
}

@media (min-width: 768px) {
  .hero__lede {
    font-size: 18px;
    line-height: 28px;
  }
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-100);
  margin-top: var(--s-400);
}

.hero__fineprint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-100);
  margin-top: var(--s-200);
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.hero__fineprint li {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
}

.hero__fineprint li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  margin-right: var(--s-75);
  border-radius: var(--r-full);
  background: var(--line-strong);
}

/* engagement facts as a ledger, not a card */
.hero__facts {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  /* first ledger row sits on the lede's first baseline */
  margin-top: 2px;
}

@media (min-width: 1024px) {
  /* the vertical structural rule between pitch and terms, anchored top and bottom */
  .hero__facts {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding-left: var(--s-500);
    margin-top: 0;
    align-self: stretch;
    justify-content: flex-start;
  }
}

.hero__fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-200);
  padding-block: var(--s-100);
  border-bottom: 1px solid var(--line);
}

.hero__fact dt {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__fact dd {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--ink);
  text-align: right;
}

@media (max-width: 559px) {
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .hero__fineprint {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-25);
  }

  .hero__fineprint li + li::before {
    display: none;
  }

  .hero__fact {
    flex-direction: column;
    gap: var(--s-25);
  }

  .hero__fact dd {
    text-align: left;
  }
}

/* product stage: wide, unframed, pinned between hairline rules */
.hero__stage {
  margin-top: var(--s-700);
  padding-block: var(--s-500);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.hero__stage picture {
  display: block;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero__stage img {
  width: 100%;
  height: auto;
}

/* proof strip */
.proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-300) var(--s-200);
  padding-block: var(--s-500);
}

@media (min-width: 768px) {
  .proof {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.proof__item {
  display: flex;
  flex-direction: column;
  gap: var(--s-25);
  padding-left: var(--s-200);
  border-left: 1px solid var(--line-strong);
}

.proof__value {
  font-family: var(--font-mono);
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
  .proof__value {
    font-size: 30px;
    line-height: 36px;
  }
}

.proof__label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.proof__item--signal .proof__value {
  color: var(--green);
}

/* ==========================================================================
   STACK RIBBON — full bleed band, hairline rules
   ========================================================================== */
.ribbon {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  padding-block: var(--s-300);
}

.ribbon__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-200);
}

.ribbon__label {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ribbon__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-75) var(--s-300);
}

.ribbon__item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--ink-2);
}

.ribbon__item::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: var(--r-full);
  background: var(--line-strong);
}

/* ==========================================================================
   DIFFERENCE — full width comparative ledger
   ========================================================================== */
.ledger {
  border-top: 2px solid var(--ink);
}

.ledger__head {
  display: none;
}

.ledger__row {
  border-bottom: 1px solid var(--line);
}

.ledger__key {
  display: block;
  padding-top: var(--s-300);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.ledger__cell {
  padding-block: var(--s-200);
}

.ledger__cell p {
  font-size: 14px;
  line-height: 20px;
  color: var(--body);
  text-wrap: pretty;
}

.ledger__cell--direct p {
  color: var(--ink-2);
}

.ledger__tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: var(--s-75);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rose);
}

.ledger__tag::before {
  content: "";
  width: 12px;
  height: 1px;
  margin-right: var(--s-75);
  background: var(--rose-line);
}

.ledger__tag--direct {
  color: var(--green-text);
}

.ledger__tag--direct::before {
  background: var(--green);
}

.ledger__row--total {
  border-bottom: 2px solid var(--ink);
}

.ledger__row--total .ledger__cell {
  padding-block: var(--s-300);
}

.ledger__row--total p {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.ledger__row--total .ledger__total-value {
  color: var(--green-text);
}

@media (min-width: 900px) {
  .ledger__head {
    display: grid;
    grid-template-columns: minmax(120px, 200px) minmax(0, 1fr) minmax(0, 1fr);
    border-bottom: 1px solid var(--line-strong);
  }

  .ledger__head > * {
    padding-block: var(--s-100);
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .ledger__col {
    padding-left: var(--s-300);
    border-left: 1px solid var(--line);
  }

  .ledger__col--direct {
    color: var(--blue-hover);
    box-shadow: inset 0 2px 0 0 var(--blue);
  }

  .ledger__row {
    display: grid;
    grid-template-columns: minmax(120px, 200px) minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .ledger__key {
    padding: var(--s-300) var(--s-200) var(--s-300) 0;
    align-self: start;
  }

  .ledger__cell {
    padding: var(--s-300);
    border-left: 1px solid var(--line);
  }

  .ledger__cell--agency {
    padding-left: var(--s-300);
  }

  .ledger__row--total .ledger__cell {
    padding-block: var(--s-300);
  }
}

/* full width supporting figure */
.bleed-figure {
  margin-top: var(--s-600);
}

.bleed-figure--flush {
  margin-top: var(--s-700);
  padding-top: var(--s-600);
  border-top: 1px solid var(--line);
}

.bleed-figure img {
  width: 100%;
  height: auto;
}

.bleed-figure__cap {
  margin-top: var(--s-100);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.04em;
  color: var(--faint);
}

/* ==========================================================================
   TAGLINE REVEAL (B11) — full bleed statement band
   ========================================================================== */
.tagline {
  padding-block: var(--s-800);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-3);
}

@media (min-width: 768px) {
  .tagline {
    padding-block: var(--s-900);
  }
}

.tagline__inner {
  max-width: 1080px;
}

.tagline__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-100);
  padding-bottom: var(--s-300);
  margin-bottom: var(--s-400);
  border-bottom: 1px solid var(--line-strong);
}

.tagline__stamp {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.04em;
  color: var(--body);
}

.tagline__text {
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .tagline__text {
    font-size: 36px;
    line-height: 40px;
  }
}

@media (min-width: 1024px) {
  .tagline__text {
    font-size: 48px;
    line-height: 48px;
  }
}

.tagline__line {
  display: block;
}

.tagline__word {
  display: inline-block;
  color: rgba(15, 23, 42, 0.3);
  transition: color 500ms var(--ease);
}

.tagline__word.is-lit {
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .tagline__word {
    color: var(--ink);
    transition: none;
  }
}

/* ==========================================================================
   SERVICES — architectural stack rows
   Full width rows, hairline separated, mono index in the gutter column.
   ========================================================================== */
.stack {
  border-top: 1px solid var(--line);
}

.stack__row {
  border-bottom: 1px solid var(--line);
  transition: background-color 300ms var(--ease);
}

.stack__row:hover {
  background: var(--surface);
}

.stack__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-300);
  padding-block: var(--s-500);
}

@media (min-width: 900px) {
  .stack__grid {
    grid-template-columns: 96px minmax(0, 1.25fr) minmax(0, 1fr);
    gap: var(--s-600);
    padding-block: var(--s-700);
    align-items: start;
  }
}

.stack__index {
  font-size: 30px;
  line-height: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--muted);
}

@media (min-width: 900px) {
  .stack__index {
    font-size: 36px;
    line-height: 40px;
    padding-top: var(--s-25);
  }
}

.stack__row:hover .stack__index {
  color: var(--blue);
}

.stack__body {
  min-width: 0;
}

.stack__kicker {
  display: block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.stack__title {
  margin-top: var(--s-100);
  max-width: 560px;
}

.stack__desc {
  margin-top: var(--s-100);
  max-width: 620px;
  font-size: 16px;
  line-height: 24px;
  color: var(--body);
  text-wrap: pretty;
}

.stack__points {
  display: grid;
  gap: var(--s-75);
  margin-top: var(--s-300);
  max-width: 620px;
}

@media (min-width: 640px) {
  .stack__points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-75) var(--s-300);
  }
}

.stack__points li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: var(--s-75);
  align-items: start;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-2);
  text-wrap: pretty;
}

.stack__points li::before {
  content: "";
  width: 10px;
  height: 1px;
  margin-top: 10px;
  background: var(--blue);
}

.stack__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-75);
  margin-top: var(--s-400);
  padding-top: var(--s-200);
  border-top: 1px solid var(--line);
  max-width: 620px;
}

.stack__visual {
  margin: 0;
  min-width: 0;
}

.stack__visual img {
  width: 100%;
  height: auto;
}

.stack__cap {
  margin-top: var(--s-100);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.04em;
  color: var(--faint);
}

/* ==========================================================================
   ARCHITECTURE — latency ledger + panoramic blueprint
   ========================================================================== */
.budget {
  display: grid;
  border-top: 1px solid var(--line-strong);
  margin-top: var(--s-600);
}

@media (min-width: 768px) {
  .budget {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.budget__item {
  display: flex;
  flex-direction: column;
  gap: var(--s-75);
  padding: var(--s-300) 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 768px) {
  .budget__item {
    padding: var(--s-300);
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }

  .budget__item:first-child {
    border-left: 0;
    padding-left: 0;
  }
}

.budget__item dt {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.budget__value {
  display: block;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: var(--ink);
}

.budget__value--signal {
  color: var(--green);
}

.budget__note {
  display: block;
  margin-top: var(--s-25);
  font-size: 12px;
  line-height: 16px;
  color: var(--faint);
}

.pano {
  margin-top: var(--s-700);
}

.pano__frame {
  padding-block: var(--s-500);
  border-block: 1px solid var(--line);
  background: var(--surface-2);
}

.pano__frame picture {
  display: block;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.pano__frame img {
  width: 100%;
  height: auto;
}

.pano__cap {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-top: var(--s-100);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.04em;
  color: var(--faint);
}

/* ==========================================================================
   PROCESS — edge to edge timeline track
   ========================================================================== */
.track {
  border-top: 1px solid var(--line);
}

.track__stop {
  border-bottom: 1px solid var(--line);
}

.track__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-200);
  padding-block: var(--s-400);
}

@media (min-width: 900px) {
  .track__grid {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: var(--s-600);
    padding-block: var(--s-500);
    align-items: start;
  }
}

/* the horizontal baseline each milestone station sits on */
.track__station {
  display: flex;
  align-items: center;
  gap: var(--s-100);
  padding-bottom: var(--s-200);
  border-bottom: 1px solid var(--line-strong);
}

@media (min-width: 900px) {
  .track__station {
    border-bottom: 0;
    border-top: 2px solid var(--ink);
    padding-top: var(--s-200);
    padding-bottom: 0;
    position: sticky;
    top: calc(var(--nav-h) + var(--s-200));
  }
}

.track__node {
  width: 8px;
  height: 8px;
  border-radius: var(--r-full);
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.track__num {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.track__body {
  min-width: 0;
}

.track__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-100);
}

.track__title {
  max-width: 520px;
}

.track__time {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-text);
  white-space: nowrap;
}

.track__desc {
  margin-top: var(--s-100);
  max-width: 620px;
  font-size: 14px;
  line-height: 20px;
  color: var(--body);
  text-wrap: pretty;
}

.track__list {
  display: grid;
  gap: var(--s-50);
  margin-top: var(--s-200);
  max-width: 620px;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

@media (min-width: 640px) {
  .track__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-100);
  }
}

.track__list li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: var(--s-75);
  padding-top: var(--s-75);
  border-top: 1px solid var(--line);
}

.track__list li::before {
  content: "";
  width: 10px;
  height: 1px;
  margin-top: 8px;
  background: var(--line-strong);
}

/* ==========================================================================
   SPEC BUILDER — studio workbench
   Left: configuration console (dividers, no nested cards).
   Right: spec sheet, an architectural document.
   ========================================================================== */
.bench {
  display: grid;
  gap: var(--s-500);
  border-top: 2px solid var(--ink);
  padding-top: var(--s-400);
}

@media (min-width: 1024px) {
  .bench {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 0;
    align-items: start;
  }
}

.bench__console {
  min-width: 0;
}

@media (min-width: 1024px) {
  .bench__console {
    padding-right: var(--s-700);
  }
}

.bench__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-100);
  padding-bottom: var(--s-200);
  margin-bottom: var(--s-400);
  border-bottom: 1px solid var(--line);
}

.bench__bar-label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.bench__bar-state {
  display: inline-flex;
  align-items: center;
  gap: var(--s-50);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.bench__dot {
  width: 6px;
  height: 6px;
  border-radius: var(--r-full);
  background: var(--line-strong);
}

.fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 var(--s-400);
  padding-bottom: var(--s-400);
  border-bottom: 1px solid var(--line);
}

.fieldset:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.fieldset__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s-75);
  padding: 0;
  margin-bottom: var(--s-200);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--ink);
}

.fieldset__legend span {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-75);
}

.pill-opt {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--s-50);
  padding: var(--s-75) var(--s-100);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-4);
  background: var(--surface);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--body);
  cursor: pointer;
  user-select: none;
  transition: border-color 300ms var(--ease), background-color 300ms var(--ease),
    color 300ms var(--ease), transform 300ms var(--ease);
}

.pill-opt:hover {
  border-color: var(--faint);
  background: var(--surface-2);
  color: var(--ink);
}

.pill-opt:active {
  transform: translateY(1px);
}

.pill-opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.pill-opt__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: var(--r-4);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 9px;
  line-height: 1;
  color: transparent;
  transition: all 300ms var(--ease);
}

.pill-opt--radio .pill-opt__mark {
  border-radius: var(--r-full);
}

.pill-opt input:checked + .pill-opt__mark {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.pill-opt:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-hover);
}

.pill-opt:has(input:focus-visible) {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

@media (max-width: 559px) {
  .pills {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-50);
  }

  .pill-opt {
    width: 100%;
    min-height: 40px;
    padding: var(--s-100);
  }
}

/* form fields: underline inputs, document-like, no boxes */
.form-grid {
  display: grid;
  gap: var(--s-300);
  padding-top: var(--s-400);
  border-top: 1px solid var(--line);
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--s-50);
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field__label {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.field__label .req {
  color: var(--blue);
}

.field__input,
.field__textarea {
  width: 100%;
  padding: var(--s-75) 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  transition: border-color 300ms var(--ease);
}

.field__input::placeholder,
.field__textarea::placeholder {
  color: var(--faint);
}

.field__input:hover,
.field__textarea:hover {
  border-bottom-color: var(--faint);
}

.field__input:focus,
.field__textarea:focus {
  outline: none;
  border-bottom-color: var(--blue);
  box-shadow: 0 1px 0 0 var(--blue);
}

.field__textarea {
  min-height: 96px;
  resize: vertical;
}

.field__hint {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

.field__error {
  display: none;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: #b91c1c;
}

.field.is-invalid .field__input,
.field.is-invalid .field__textarea {
  border-bottom-color: #dc2626;
  box-shadow: 0 1px 0 0 #dc2626;
}

.field.is-invalid .field__error {
  display: block;
}

.hp-trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status {
  display: none;
  padding: var(--s-100) 0;
  border-top: 1px solid var(--rose-line);
  border-bottom: 1px solid var(--rose-line);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.form-status--err {
  display: block;
  color: #7f1d1d;
}

.builder__submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-100) var(--s-200);
  margin-top: var(--s-400);
  padding-top: var(--s-300);
  border-top: 1px solid var(--line);
}

.builder__live {
  display: none;
  margin-top: var(--s-300);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

@media (max-width: 1023px) {
  .builder__live {
    display: block;
  }
}

.builder__submit .btn {
  flex: 1 1 220px;
}

.builder__reassure {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

/* spec sheet: sticky document column, hairline rules only */
.sheet {
  position: relative;
  background: var(--surface-2);
  border-top: 2px solid var(--ink);
}

@media (min-width: 1024px) {
  .sheet {
    position: sticky;
    top: calc(var(--nav-h) + var(--s-300));
    border-top: 2px solid var(--ink);
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 0;
  }
}

.sheet__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-100);
  padding: var(--s-200) var(--s-300);
  border-bottom: 1px solid var(--line-strong);
}

.sheet__title {
  display: block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.sheet__sub {
  display: block;
  margin-top: var(--s-25);
  font-size: 12px;
  line-height: 16px;
  color: var(--faint);
}

.sheet__live {
  display: inline-flex;
  align-items: center;
  gap: var(--s-50);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-text);
}

.sheet__live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: var(--r-full);
  background: var(--green-bright);
  animation: pulse 2s var(--ease) infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.sheet__body {
  display: flex;
  flex-direction: column;
}

.sheet__row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: var(--s-100);
  align-items: baseline;
  padding: var(--s-100) var(--s-300);
  border-bottom: 1px solid var(--line);
}

.sheet__row:last-child {
  border-bottom: 0;
}

.sheet__key {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.sheet__val {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--ink);
  word-break: break-word;
}

.sheet__val--empty {
  color: var(--faint);
  font-weight: 400;
}

.sheet__val:has(.sheet__module) {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-50);
}

.sheet__note {
  padding: var(--s-200) var(--s-300);
  border-top: 1px solid var(--line-strong);
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

.sheet__module {
  padding: var(--s-25) var(--s-75);
  border-radius: var(--r-4);
  background: var(--blue-soft);
  border: 1px solid var(--blue-line);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--blue-hover);
  animation: chipIn 320ms var(--ease) both;
}

@keyframes chipIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* voucher: printable receipt, flat document on hairline rules */
.voucher {
  display: none;
  border-top: 2px solid var(--ink);
  text-align: left;
}

.voucher.is-active {
  display: block;
  animation: voucherIn 500ms var(--ease) both;
}

@keyframes voucherIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.voucher__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-100);
  padding: var(--s-100) 0;
  border-bottom: 1px solid var(--line);
}

.voucher__bar-label {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.voucher__bar-ref {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: var(--green-text);
}

.voucher__inner {
  padding-block: var(--s-400);
}

.voucher__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  color: var(--green-text);
  font-size: 16px;
  line-height: 1;
}

.voucher__title {
  margin-top: var(--s-200);
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.voucher__lede {
  margin-top: var(--s-75);
  font-size: 14px;
  line-height: 20px;
  color: var(--body);
  max-width: 480px;
  text-wrap: pretty;
}

.voucher__grid {
  display: grid;
  gap: 0;
  margin-top: var(--s-400);
  border-top: 1px solid var(--line-strong);
}

@media (min-width: 640px) {
  .voucher__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.voucher__field {
  display: flex;
  flex-direction: column;
  gap: var(--s-25);
  padding: var(--s-100) var(--s-200) var(--s-100) 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 640px) {
  .voucher__field:nth-child(even) {
    padding-left: var(--s-200);
    border-left: 1px solid var(--line);
  }
}

.voucher__field span {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.voucher__field strong {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
}

.voucher__scope {
  margin-top: var(--s-400);
  padding: var(--s-200) 0 0;
  border-top: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 20px;
  color: var(--body);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 220px;
  overflow: auto;
}

.voucher__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-75);
  margin-top: var(--s-400);
  padding-top: var(--s-300);
  border-top: 1px solid var(--line);
}

.voucher__foot {
  padding: var(--s-200) 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

/* ==========================================================================
   FAQ — expansive hairline accordion rows
   ========================================================================== */
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-strong);
}

.faq__item {
  border-bottom: 1px solid var(--line);
  transition: background-color 300ms var(--ease);
}

.faq__item:hover {
  background: rgba(255, 255, 255, 0.6);
}

.faq__item.is-open {
  background: var(--surface);
}

.faq__q {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 20px;
  gap: var(--s-200);
  align-items: baseline;
  width: 100%;
  padding: var(--s-300) 0;
  text-align: left;
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  color: var(--ink);
  transition: color 300ms var(--ease);
}

@media (min-width: 768px) {
  .faq__q {
    grid-template-columns: 64px minmax(0, 1fr) 20px;
    gap: var(--s-300);
    padding: var(--s-400) 0;
    font-size: 20px;
    line-height: 28px;
  }
}

.faq__q:hover .faq__label {
  color: var(--blue-hover);
}

.faq__idx {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.04em;
  color: var(--faint);
}

.faq__label {
  transition: color 300ms var(--ease);
  text-wrap: pretty;
}

.faq__icon {
  position: relative;
  align-self: center;
  width: 20px;
  height: 20px;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  border-radius: var(--r-full);
  background: var(--body);
  transform: translate(-50%, -50%);
  transition: transform 300ms var(--ease), opacity 300ms var(--ease);
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item.is-open .faq__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 400ms var(--ease);
}

.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}

.faq__a-inner {
  overflow: hidden;
}

.faq__a p {
  padding: 0 0 var(--s-400);
  font-size: 16px;
  line-height: 24px;
  color: var(--body);
  max-width: 760px;
  text-wrap: pretty;
}

@media (min-width: 768px) {
  .faq__a p {
    padding-left: 88px;
  }
}

/* ==========================================================================
   FINAL — full bleed band, authoritative type
   ========================================================================== */
.final {
  background: var(--ink);
  color: #ffffff;
  padding-block: var(--s-700);
}

@media (min-width: 768px) {
  .final {
    padding-block: var(--s-900);
  }
}

.final__grid {
  display: grid;
  gap: var(--s-600);
}

@media (min-width: 1024px) {
  .final__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: var(--s-800);
    align-items: start;
  }
}

.final__copy {
  min-width: 0;
}

.final__eyebrow {
  display: block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93c5fd;
}

.final__title {
  margin-top: var(--s-200);
  max-width: 680px;
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .final__title {
    font-size: 48px;
    line-height: 48px;
  }
}

.final__lede {
  margin-top: var(--s-200);
  max-width: 560px;
  font-size: 16px;
  line-height: 24px;
  color: #cbd5e1;
  text-wrap: pretty;
}

.final__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-100) var(--s-200);
  margin-top: var(--s-500);
}

.final__alt {
  font-size: 14px;
  line-height: 20px;
  color: #cbd5e1;
}

.final__alt a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.final__terms {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.final__term {
  display: grid;
  gap: var(--s-50);
  padding-block: var(--s-200);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

@media (min-width: 560px) {
  .final__term {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: var(--s-200);
    align-items: baseline;
  }
}

.final__term dt {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.final__term dd {
  display: flex;
  flex-direction: column;
  gap: var(--s-25);
}

.final__term strong {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: #ffffff;
}

.final__term span {
  font-size: 12px;
  line-height: 16px;
  color: #94a3b8;
  text-wrap: pretty;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-foot {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: var(--s-600) 0 var(--s-400);
}

.foot__grid {
  display: grid;
  gap: var(--s-400);
}

@media (min-width: 768px) {
  .foot__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--s-500);
  }
}

.foot__brand {
  display: flex;
  flex-direction: column;
  gap: var(--s-100);
  max-width: 320px;
}

.foot__name {
  display: inline-block;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.foot__note {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  text-wrap: pretty;
}

.foot__col-title {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: var(--s-100);
}

.foot__links {
  display: flex;
  flex-direction: column;
  gap: var(--s-75);
}

.foot__links a {
  font-size: 14px;
  line-height: 20px;
  color: var(--body);
  transition: color 300ms var(--ease);
}

.foot__links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-100);
  margin-top: var(--s-500);
  padding-top: var(--s-200);
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

/* ==========================================================================
   PRINT — voucher only, flat document
   ========================================================================== */
@media print {
  @page {
    margin: 18mm;
  }

  .site-nav,
  .drawer,
  .site-foot,
  .hero,
  .ribbon,
  .tagline,
  .stack,
  .track,
  .faq,
  .final,
  .ledger,
  .bleed-figure,
  .pano,
  .budget,
  .voucher__actions,
  .sec-head,
  .sheet,
  .form-status,
  .builder__live,
  .bench__bar,
  .no-print {
    display: none !important;
  }

  main > section:not(#builder),
  #builder > .shell > *:not(.bench) {
    display: none !important;
  }

  body {
    background: #ffffff;
  }

  .section {
    padding: 0 !important;
  }

  .section--tint,
  .section--deep {
    background: #ffffff !important;
  }

  .bench {
    display: block !important;
    border-top: 0 !important;
    padding-top: 0 !important;
  }

  .bench__console {
    padding-right: 0 !important;
  }

  #specForm {
    display: none !important;
  }

  .voucher {
    display: block !important;
    border-top: 1px solid #0f172a;
    break-inside: avoid;
  }

  .voucher__scope {
    max-height: none;
    overflow: visible;
  }
}
