/* Burnt Orange Labs
   Visual system: Nightshift Studio (Framer DESIGN.md, VoltAgent/awesome-design-md),
   recoloured burnt orange. Page structure: "best principles" blueprint. */

/* ---------- Tokens ---------- */
:root {
  --canvas: #090909;
  --surface-1: #141414;
  --surface-2: #1c1c1c;
  --hairline: #262626;
  --hairline-soft: #1a1a1a;
  --ink: #ffffff;
  --ink-muted: #999999;
  --ink-subtle: #808080;   /* placeholders and hints: 4.6:1 on surface-1 */
  --ink-on-light: #0b0b0b;
  --primary: #ff7a3d;       /* black on it: 8:1 */
  --primary-hover: #ff9461;
  --on-primary: #000000;
  --accent: #ff7a3d;        /* links and focus: 7:1 on surface-1 */
  --danger: #ff5577;
  --orange: #ff7a3d;
  --coral: #ff5577;
  --success: #22c55e;

  --font-display: "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 15px;
  --r-xl: 20px;
  --r-xxl: 30px;
  --r-pill: 100px;

  --gutter: 30px;
  --max: 1200px;
  --section: 96px;

  --lift: inset 0 0.5px 0 rgba(255, 255, 255, 0.1), 0 10px 30px rgba(0, 0, 0, 0.25);
  --ring: 0 0 0 2px var(--accent);
  --focus: var(--accent);

  --z-raised: 1;
  --z-sticky-cta: 40;
  --z-nav: 50;
  --z-skip: 100;

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  font-feature-settings: "cv01", "cv05", "cv09", "cv11", "ss03", "ss07";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, blockquote { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
a, button, summary, label { touch-action: manipulation; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

::selection { background: rgba(255, 122, 61, 0.35); color: #fff; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
/* Orange fails 3:1 on the gradient cards, so focus turns white there */
.spotlight { --focus: #ffffff; --ring: 0 0 0 2px #ffffff; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: var(--z-skip);
  padding: 10px 15px;
  border-radius: var(--r-pill);
  background: var(--primary);
  color: var(--on-primary);
}
.skip:focus { top: 12px; }

/* Spam trap: hidden from people, bots fill it in */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Type ---------- */
.display-xxl, .display-xl, .display-lg, .display-md {
  font-family: var(--font-display);
  font-weight: 600;
  font-feature-settings: "ss02";
}
.display-xxl { font-size: clamp(3rem, 9.2vw, 6.875rem); line-height: 0.9; letter-spacing: -0.05em; }
.display-xl  { font-size: clamp(2.5rem, 7vw, 5.3125rem); line-height: 0.95; letter-spacing: -0.05em; }
.display-lg  { font-size: clamp(2.125rem, 5.2vw, 3.875rem); line-height: 1; letter-spacing: -0.05em; }
.display-md  { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.13; letter-spacing: -0.031em; }

.headline { font-size: 1.375rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.036em; font-feature-settings: "cv05"; }
.subhead  { font-size: clamp(1.125rem, 2vw, 1.5rem); line-height: 1.35; letter-spacing: -0.01em; }
.lead     { font-size: 1.125rem; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink-muted); }
.caption  { font-size: 0.8125rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
.micro    { font-size: 0.75rem; line-height: 1.3; }
.label    { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--ink-muted); margin-bottom: 8px; }

.muted { color: var(--ink-muted); }
.center { text-align: center; }
.tnum { font-variant-numeric: tabular-nums; }

p.muted, .section-aside { line-height: 1.5; }

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 20px;
}
.eyebrow-on { color: rgba(255, 255, 255, 0.92); }

.ico { width: 16px; height: 16px; flex: none; }
.ico-ok { color: var(--success); }
.ico-no { color: var(--ink-subtle); }
.ico-brand { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--surface-1); color: var(--ink); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 1rem; }
.btn-block { width: 100%; white-space: normal; text-align: center; line-height: 1.25; }
.btn:disabled { cursor: progress; opacity: 0.6; transform: none; }
.btn[aria-busy="true"]::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.center-row { justify-content: center; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 9999px;
  background: var(--surface-1);
  cursor: pointer;
}
.burger, .burger::before, .burger::after {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -5px; }
.burger::after { top: 5px; }
[aria-expanded="true"] .burger { background: transparent; }
[aria-expanded="true"] .burger::before { transform: translateY(5px) rotate(45deg); }
[aria-expanded="true"] .burger::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Cards ---------- */
.card {
  background: var(--surface-1);
  border-radius: var(--r-xl);
  color: var(--ink);
}

/* ---------- Top bar + nav ---------- */
.topbar {
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-muted);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-muted);
}
a.topbar-item { min-height: 38px; }
.topbar-item strong { color: #fff; font-weight: 600; }
a.topbar-item:hover { color: #fff; text-decoration: none; }

.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(9, 9, 9, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--hairline-soft); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.logo:hover { text-decoration: none; }
.logo-mark { width: 22px; height: 22px; color: var(--accent); }

.nav-links {
  display: flex;
  gap: 4px;
  margin: 0 auto;
}
.nav-links a {
  padding: 8px 12px;
  border-radius: var(--r-pill);
  color: var(--ink-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-1); text-decoration: none; }
.nav-links a[aria-current] { color: var(--ink); background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--hairline); }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.mobile-menu {
  border-top: 1px solid var(--hairline-soft);
  background: var(--canvas);
  height: calc(100dvh - 64px); /* main.js trims this to the space under the nav */
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu:not([hidden]) { animation: menu-in 0.22s var(--ease-out); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
.mobile-menu nav { display: flex; flex-direction: column; padding-top: 16px; padding-bottom: 32px; }
.mobile-menu a:not(.btn) {
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline-soft);
  color: #fff;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.031em;
}
.mobile-menu .btn { margin-top: 24px; }
.menu-open { overflow: hidden; }

.show-md { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 80px; }
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 30px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}
.hero-title { max-width: 11.5em; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: start;
  margin-top: 56px;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.hero-copy .lead { max-width: 34em; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--surface-1);
  font-size: 0.875rem;
  font-weight: 500;
}

.rating-line {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ink-muted);
  font-size: 0.875rem;
}
.rating-line strong { color: #fff; }
.rating-line:hover { color: var(--ink); text-decoration: none; }
.rating-line { min-height: 24px; }

/* Form */
.form-card { padding: 28px; box-shadow: var(--lift); }
.form-fields { display: flex; flex-direction: column; gap: 18px; }
.form-head { display: flex; flex-direction: column; gap: 6px; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.picks legend { margin-bottom: 8px; padding: 0; }
.pick {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--canvas);
  color: var(--ink-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, padding 0.15s ease;
}
.pick input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.pick:hover { color: var(--ink); }
/* Ticked: a check mark as well as the orange outline, so the state isn't colour alone */
.pick:has(input:checked) {
  padding-left: 10px;
  background: var(--surface-2);
  border-color: transparent;
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--accent);
}
.pick:has(input:checked)::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='m4.5 10.5 3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='m4.5 10.5 3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pick:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: block; }
.opt { color: var(--ink-subtle); font-weight: 400; }
.req { color: var(--danger); }
.input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: var(--canvas);
  color: var(--ink);
  font-size: 1rem; /* 16px stops iOS zooming in on focus */
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input::placeholder { color: var(--ink-subtle); }
.input:focus { outline: none; border-color: transparent; box-shadow: var(--ring); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 2px var(--danger); }

.field-error:not(:empty), .form-error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 8px;
  color: var(--danger);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}
.field-error .ico, .form-error .ico { margin-top: 1px; }
.form-error { margin-top: 0; }
.form-error[hidden] { display: none; }
.field-error-on:not(:empty), .form-error-on { color: var(--ink); }
.field-error-on:not(:empty) { font-weight: 600; }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  outline: none;
}
.form-success[hidden] { display: none; }
.success-ring {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
}
.success-ring .ico { width: 22px; height: 22px; }
.is-sent .form-fields { display: none; }
.is-sent .form-success { animation: fade-up 0.35s var(--ease-out); }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Kinetic grid: whole-page background ---------- */
.kinetic-canvas-page {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---------- Kinetic grid statement ---------- */
.kinetic {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(88vh, 820px);
  min-height: min(88svh, 820px);
  overflow: hidden;
  isolation: isolate;
}
.kinetic-canvas:not(.kinetic-canvas-page) {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
}
.kinetic::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(46% 42% at 50% 50%, rgba(9, 9, 9, 0.6) 0%, rgba(9, 9, 9, 0) 100%);
}
.kinetic-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 120px;
  padding-bottom: 120px;
  text-align: center;
}
.kinetic-inner .display-xl { max-width: 12em; }
.kinetic-inner .lead { max-width: 36em; }
.kinetic-badge {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-pill);
  background: rgba(9, 9, 9, 0.6);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  font-weight: 500;
}
.kinetic-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 880px;
  margin-top: 8px;
}
.kinetic-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 7px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: rgba(20, 20, 20, 0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.875rem;
  font-weight: 500;
}
.kinetic-list span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink-muted);
  font-size: 0.75rem;
}

/* ---------- Trust strip ---------- */
.trust {
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 20px;
  border-left: 1px solid var(--hairline-soft);
}
.trust-item:first-child { border-left: 0; padding-left: 0; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-tight { padding-top: 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}
.section-head > div { max-width: 760px; }
.section-aside { max-width: 360px; color: var(--ink-muted); font-size: 0.9375rem; }
.section-aside.center { margin: 0 auto; }

.section-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  padding: 20px 20px 20px 28px;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-xl);
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 260px;
  padding: 24px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover, .service-card:focus-visible { background: var(--surface-2); text-decoration: none; }
.service-card p { font-size: 1rem; }
.service-num { font-size: 0.8125rem; font-weight: 500; color: var(--ink-muted); margin-bottom: 20px; }
.service-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  color: var(--ink-muted);
  font-size: 0.875rem;
}
.service-foot strong { color: #fff; font-weight: 600; }
.arrow-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  color: #fff;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.service-card:hover .arrow-btn, .service-card:focus-visible .arrow-btn { background: var(--primary); color: var(--on-primary); }

/* Gradient spotlight cards: max two on the page. Every stop under text is
   checked: white on ember (brightest stop #c2410c, 5.2:1) and near-black on
   orange both clear 4.5:1. */
.spotlight {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xxl);
  color: var(--ink);
  isolation: isolate;
}
.spotlight-ember {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
  padding: clamp(32px, 5vw, 64px);
  background:
    radial-gradient(70% 90% at 92% 8%, rgba(194, 65, 12, 0.95) 0%, rgba(194, 65, 12, 0) 60%),
    radial-gradient(60% 70% at 0% 100%, rgba(41, 12, 3, 0.9) 0%, rgba(41, 12, 3, 0) 70%),
    linear-gradient(150deg, #9a3412 0%, #7c2d12 45%, #431407 100%);
}
/* Orange buttons vanish on the ember card, so they turn white there */
.spotlight-ember .btn-primary { background: #fff; }
.spotlight-ember .btn-primary:hover { background: #ffe8dc; }
.spotlight-orange {
  --focus: var(--ink-on-light);
  color: var(--ink-on-light);
  background:
    radial-gradient(80% 70% at 85% 0%, #ffc08a 0%, rgba(255, 192, 138, 0) 55%),
    radial-gradient(90% 80% at 15% 10%, var(--orange) 0%, rgba(255, 122, 61, 0) 70%),
    linear-gradient(170deg, var(--orange) 0%, #ff8f4a 55%, #ffa95e 100%);
}
.spotlight-copy { display: flex; flex-direction: column; gap: 20px; }
.spotlight-copy .eyebrow { margin-bottom: 0; }
.spotlight-copy .subhead { color: rgba(255, 255, 255, 0.9); max-width: 30em; }

.score-form { margin-top: 8px; max-width: 560px; }
.score-fields { gap: 14px; }
.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.score-grid-one { grid-template-columns: minmax(0, 380px); }
.score-submit { align-self: flex-start; }
.label-on { color: rgba(255, 255, 255, 0.9); }
.input-glass {
  background: rgba(9, 9, 9, 0.32);
  border-color: rgba(255, 255, 255, 0.28);
  border-radius: var(--r-pill);
  padding-left: 20px;
}
.input-glass::placeholder { color: rgba(255, 255, 255, 0.7); }
.input-glass[aria-invalid="true"] { border-color: #fff; border-width: 2px; }
.score-success { flex-direction: row; align-items: center; gap: 10px; font-size: 1rem; }

.score-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border-radius: var(--r-xl);
  background: rgba(9, 9, 9, 0.5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.2);
}
.score-top { display: flex; align-items: flex-end; justify-content: space-between; }
.score-top .caption { color: rgba(255, 255, 255, 0.8); }
.score-value { display: inline-flex; align-items: baseline; gap: 4px; }
.muted-on { color: rgba(255, 255, 255, 0.75); }
/* Example lead panel */
.lead-by { margin-top: 6px; }
.lead-rows { display: flex; flex-direction: column; gap: 12px; font-size: 0.875rem; line-height: 1.4; }
.lead-rows div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.lead-rows dt { color: rgba(255, 255, 255, 0.75); font-weight: 500; }
.lead-rows dd { color: #fff; font-weight: 500; }
.locked { display: inline-flex; align-items: center; gap: 6px; }
.lead-rows .locked { color: rgba(255, 255, 255, 0.85); }
.lead-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.lead-opener { font-style: italic; }
.lead-opener .caption { display: block; margin-top: 6px; font-style: normal; }
.source-link { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; min-height: 24px; color: #fff; }
.tag-dark { background: rgba(255, 255, 255, 0.16); color: #fff; }

/* Market feature + rounds table */
.market-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 48px;
  align-items: end;
  padding: clamp(24px, 4vw, 40px);
}
.market-feature .subhead { max-width: 20em; margin-top: 12px; color: rgba(11, 11, 11, 0.85); }
.market-feature .tag-glass { display: inline-block; margin-bottom: 20px; }
.market-source { grid-column: 1 / -1; color: rgba(11, 11, 11, 0.8); }
.market-source a { color: var(--ink-on-light); text-decoration: underline; text-underline-offset: 3px; }
.work-stat { font-size: clamp(4rem, 10vw, 8.5rem); }
.tag-glass {
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: var(--r-xxl);
  background: rgba(255, 255, 255, 0.4);
  font-size: 0.8125rem;
  font-weight: 600;
}
.work-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(11, 11, 11, 0.2);
}
.work-stats dt { color: rgba(11, 11, 11, 0.75); margin-bottom: 6px; }

.rounds { margin-top: 15px; padding: 8px 24px 24px; overflow-x: auto; }
.rounds-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.rounds-table th, .rounds-table td {
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  vertical-align: top;
  font-weight: 500;
}
.rounds-table thead th { padding-top: 16px; padding-bottom: 14px; color: var(--ink-muted); font-size: 0.8125rem; }
.rounds-table tbody th { display: flex; flex-direction: column; gap: 4px; min-width: 200px; }
.rounds-table tbody th strong { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.02em; }
.rounds-table td { color: var(--ink); }
.rounds-table td .locked { color: var(--ink-muted); white-space: nowrap; }
.rounds-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  counter-reset: none;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}
.step-num { color: #fff; margin-bottom: 12px; }
.step p.muted { max-width: 26em; }
.step-time { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-muted); margin-top: 6px; }

.promise {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 56px;
  padding: 28px;
  background: var(--surface-2);
}
.promise-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--canvas);
}
.promise-icon .ico { width: 24px; height: 24px; color: var(--success); }
.promise p { margin-top: 6px; max-width: 38em; }

/* Compare */
.compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.compare-card { padding: 28px; }
.compare-ours { background: var(--surface-2); box-shadow: var(--lift), inset 0 0 0 1px rgba(255, 122, 61, 0.35); }
.checks-plain { margin-top: 20px; font-size: 0.9375rem; }

/* Pricing */
.pricing-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  margin-bottom: 48px;
}
.pricing-head .eyebrow { margin-bottom: 0; }
.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-top: 8px;
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-pill);
}
.tab {
  min-height: 40px;
  padding: 8px 18px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--canvas);
  color: var(--ink-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}
.tab[aria-pressed="true"] { background: var(--surface-2); color: #fff; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  align-items: stretch;
}
.price-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 0 auto; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
}
.price-featured { background: var(--surface-2); box-shadow: var(--lift); }
.badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: #fff;
  color: #000;
  font-size: 0.75rem;
  font-weight: 600;
}
.price-card > p.muted { min-height: 3em; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 10px 0 6px; }
.price.is-swapping { animation: fade-in 0.25s var(--ease-out); }
@keyframes fade-in { from { opacity: 0; } }
.price .muted { font-size: 0.875rem; }
.checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-size: 0.875rem;
  font-weight: 500;
}
.checks li { display: flex; align-items: center; gap: 10px; }
.checks-plain li { align-items: flex-start; }
.checks-plain .ico { margin-top: 3px; }
.price-note { margin-top: 24px; font-size: 0.875rem; }

/* Coverage */
.areas {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}
.areas .display-lg { margin-bottom: 20px; }
.areas-copy { max-width: 30em; margin-bottom: 28px; }
/* Plain text, not pills: sectors have no pages yet, so they shouldn't look clickable */
.area-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0 24px;
  border-top: 1px solid var(--hairline-soft);
}
.area-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline-soft);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 60px;
  align-items: start;
}
.faq-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.faq-side .eyebrow { margin-bottom: 0; }
.faq-side p.muted { max-width: 22em; }
.faq-list { border-top: 1px solid var(--hairline-soft); }
.faq-row { border-bottom: 1px solid var(--hairline-soft); }
.faq-row summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
.faq-row summary::-webkit-details-marker { display: none; }
.faq-ico { width: 20px; height: 20px; color: var(--ink-muted); transition: transform 0.25s ease; }
.faq-row[open] .faq-ico { transform: rotate(45deg); color: var(--ink); }
.faq-row p { padding: 0 40px 24px 0; color: var(--ink-muted); line-height: 1.6; max-width: 36em; }
/* Answers slide open where the browser supports animating to auto height */
@supports (interpolate-size: allow-keywords) {
  .faq-row { interpolate-size: allow-keywords; }
  .faq-row::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 0.3s var(--ease-out), content-visibility 0.3s allow-discrete;
  }
  .faq-row[open]::details-content { block-size: auto; }
}

/* Final CTA + contact */
.final { padding-bottom: 64px; }
.final-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  padding: 40px 0 72px;
}
.final-head .display-xxl { max-width: 9em; }
.final-head .lead { max-width: 30em; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 15px;
}
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
  padding: 28px;
}
.contact-row { display: flex; gap: 12px; color: var(--ink-muted); line-height: 1.45; }
.contact-row .ico { width: 18px; height: 18px; margin-top: 2px; color: #fff; }
.contact-row strong { display: block; color: #fff; font-weight: 600; margin-bottom: 4px; }
.contact-row a { color: var(--ink-muted); }
.contact-row a:hover { color: var(--accent); }

.about-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.about-mark { width: 40px; height: 40px; margin-bottom: 8px; color: var(--accent); }
.about-card p { max-width: 36em; }

/* Footer */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--hairline-soft);
  color: var(--ink-muted);
  font-size: 0.8125rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 30px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 280px; }
.footer-brand p { line-height: 1.5; }
.footer-h { color: var(--ink); font-size: 0.8125rem; font-weight: 500; margin-bottom: 16px; }
.footer ul { display: flex; flex-direction: column; gap: 6px; }
.footer ul a { display: inline-flex; align-items: center; min-height: 24px; }
.footer a:not(.logo) { color: var(--ink-muted); }
.footer a:not(.logo):hover { color: var(--ink); text-decoration: none; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline-soft);
}

/* Sticky mobile CTA */
.mobile-cta { display: none; }

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  transition-delay: var(--stagger, 0ms);
}
.js .reveal.in { opacity: 1; transform: none; }

/* The hero quote button jumps to the form, which sits right beside it on desktop */
@media (min-width: 1024px) {
  .hero-jump { display: none; }
}
/* The nav shows the phone number from here up, so the top bar doesn't repeat it */
@media (min-width: 1200px) {
  .hide-lg { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .burger, .burger::before, .burger::after, .faq-ico, .pick, .mobile-cta { transition: none; }
  .mobile-menu:not([hidden]), .is-sent .form-success, .price.is-swapping { animation: none; }
  .btn[aria-busy="true"]::before { animation-duration: 2.4s; }
  .faq-row::details-content { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .hide-md { display: none; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-item:nth-child(4) { border-left: 0; padding-left: 0; }
  .trust-item:nth-child(n + 4) { border-top: 1px solid var(--hairline-soft); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .spotlight-ember, .market-feature { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .areas, .faq { grid-template-columns: 1fr; gap: 40px; }
  .faq-side { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 809px) {
  :root { --gutter: 16px; --section: 64px; }
  html { scroll-padding-top: 68px; scroll-padding-bottom: 96px; } /* keep focus clear of the sticky bars */
  .hide-sm { display: none; }
  .topbar-inner { gap: 12px; }
  .topbar-item { white-space: nowrap; font-size: 0.75rem; }
  .nav-links { display: none; }
  .show-md { display: inline-grid; }
  .nav-actions { margin-left: auto; }
  .nav-inner { height: 60px; }
  .mobile-menu { height: calc(100dvh - 60px); }

  .hero { padding: 48px 0 56px; }
  .hero-grid { margin-top: 36px; }
  .lead { font-size: 1.0625rem; }
  .btn-row .btn-lg { flex: 1 1 auto; }
  .form-card { padding: 20px; }
  .field-row { grid-template-columns: 1fr; }

  .kinetic { min-height: 0; }
  .kinetic-inner { gap: 20px; padding-top: 88px; padding-bottom: 88px; }
  .kinetic-list { flex-direction: column; align-items: stretch; width: 100%; }
  .kinetic-list li { text-align: left; }
  .kinetic-inner .btn-row { width: 100%; }

  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item, .trust-item:nth-child(4) { padding: 22px 16px; border-left: 1px solid var(--hairline-soft); border-top: 1px solid var(--hairline-soft); }
  .trust-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trust-item:nth-child(-n + 2) { border-top: 0; }
  .trust-item:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 32px; }
  .section-cta { flex-direction: column; align-items: stretch; padding: 20px; }
  .section-cta .btn { flex: 1; }

  .service-grid, .compare-grid, .steps { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-num { margin-bottom: 8px; }
  .steps { gap: 32px; }

  .score-grid { grid-template-columns: 1fr; }
  .score-submit { align-self: stretch; }
  .score-grid-one { grid-template-columns: 1fr; }
  .lead-rows div { grid-template-columns: 1fr; gap: 4px; }

  .work-stats { grid-template-columns: 1fr 1fr; }
  .work-stats div:last-child { grid-column: 1 / -1; }

  /* Rounds table becomes one card per round */
  .rounds { padding: 4px 20px 20px; }
  .rounds-table thead { display: none; }
  .rounds-table, .rounds-table tbody, .rounds-table tr, .rounds-table th, .rounds-table td { display: block; }
  .rounds-table tr { padding: 16px 0; border-bottom: 1px solid var(--hairline); }
  .rounds-table tbody th, .rounds-table td { min-width: 0; padding: 4px 0; border: 0; }
  .rounds-table tbody th { margin-bottom: 8px; }
  .rounds-table td { display: grid; grid-template-columns: 96px 1fr; gap: 12px; font-size: 0.875rem; }
  .rounds-table td::before { content: attr(data-label); color: var(--ink-muted); }
  .rounds-foot { flex-direction: column; align-items: stretch; }
  .compare-card, .about-card { padding: 24px; }

  .promise { grid-template-columns: 1fr; padding: 24px; }

  .faq-row summary { font-size: 1rem; padding: 20px 0; }
  .faq-row p { padding-right: 0; }

  .final-head { padding: 16px 0 48px; }
  .contact-card { grid-template-columns: 1fr; padding: 24px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer { padding-bottom: 104px; }
  .footer ul { gap: 4px; }
  .footer ul a { min-height: 36px; }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-sticky-cta);
    transition: transform 0.25s var(--ease-out), visibility 0.25s;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(9, 9, 9, 0.88);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--hairline-soft);
  }
  .mobile-cta.is-hidden, .is-typing .mobile-cta { transform: translateY(100%); visibility: hidden; }
}

/* The three-word logo leaves no room for the nav button on phones; the hero has its own */
@media (max-width: 459px) {
  .hide-xs { display: none; }
}

@media (max-width: 359px) {
  .nav-inner { gap: 12px; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn { padding: 10px 14px; }
}

/* Privacy and terms pages */
.legal { max-width: 720px; margin: 0 auto; padding: 64px 16px 96px; }
.legal h1 { margin-bottom: 8px; }
.legal h2 { margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-muted); line-height: 1.65; margin-bottom: 12px; }
.legal ul { padding-left: 20px; list-style: disc; }
.legal a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
