/* ============================================================
   neoscalers.com — "The Thermal Instrument" design system
   Stage 1: home page. Dark is the brand. No purple anywhere.
   ============================================================ */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --bg: #0b0b0c;
  --bg-raise: #111113;
  --bg-sink: #070708;
  --ink: #ece9e2;
  --muted: #8a877f;
  --faint: #7e7c75;
  --hairline: rgba(236, 233, 226, 0.14);
  --hairline-soft: rgba(236, 233, 226, 0.07);
  --signal: #ff5a1f;
  --cool: #2fd6e0;
  --amber: #e8a82e;
  --hot: #fff4e8;
  /* thermal ramp for data text on dark (lightened for AA contrast) */
  --t0: #7fe7ee;
  --t1: #f5c96b;
  --t2: #ff8a50;
  --t3: #fff4e8;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  --body: "Archivo", system-ui, sans-serif;
  --maxw: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
}

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

html {
  background: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

::selection { background: var(--signal); color: #0b0b0c; }

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 300;
  background: var(--signal); color: #0b0b0c;
  font-family: var(--mono); font-size: 12px; padding: 8px 14px;
  text-decoration: none; transition: top 0.15s;
}
.skip-link:focus { top: 12px; }

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 0.98;
  text-wrap: balance;
}
.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.label .sec { color: var(--signal); }

/* ---------- top bar ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 var(--gutter);
  height: 60px;
  background: rgba(11, 11, 12, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.wordmark {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark .dot { color: var(--signal); }
.ticker {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.04em;
}
.ticker b { color: var(--ink); font-weight: 600; }
.ticker .down { color: var(--cool); }
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.nav a:hover { color: var(--ink); }
.btn-quote {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0b0b0c;
  background: var(--signal);
  padding: 10px 18px;
  border: 1px solid var(--signal);
  border-radius: 2px;
  font-weight: 700;
  white-space: nowrap;
}
.btn-quote:hover { background: #ff6f3d; border-color: #ff6f3d; }
.btn-ghost {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--hairline);
  padding: 14px 26px;
  border-radius: 2px;
  font-weight: 600;
  background: transparent;
}
.btn-ghost:hover { border-color: var(--ink); }
@media (max-width: 900px) {
  .nav a:not(.btn-quote) { display: none; }
  .ticker { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img.poster,
.hero-media canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-media canvas { opacity: 0; transition: opacity 1.2s ease; }
.hero-media canvas.live { opacity: 1; }
/* legibility gradient: darkens lower-left where type sits */
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,12,0.55) 0%, rgba(11,11,12,0) 30%, rgba(11,11,12,0) 55%, rgba(11,11,12,0.88) 100%),
    linear-gradient(100deg, rgba(11,11,12,0.72) 0%, rgba(11,11,12,0.25) 55%, rgba(11,11,12,0) 80%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 104px var(--gutter) 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.hero-copy { grid-column: 1 / 9; padding-bottom: 40px; }
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--signal);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 96px);
  margin: 0 0 22px;
  max-width: 12ch;
}
.hero h1 .heat { color: var(--signal); }
.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 28px;
}
.hero-sub b { color: var(--ink); font-weight: 600; }
.hero-readout {
  grid-column: 9 / 13;
  align-self: end;
  padding-bottom: 40px;
  border-left: 1px solid var(--hairline);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.readout-row .k { margin-bottom: 6px; }
.readout-big {
  font-family: var(--mono);
  font-size: clamp(30px, 2.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.readout-big .unit { font-size: 0.42em; color: var(--muted); font-weight: 500; }
.readout-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
  line-height: 1.8;
}
.readout-meta .ok { color: var(--cool); }
/* data-integrity tags: bundle size + marketplace attribution */
.bundle {
  font-family: var(--mono);
  font-size: 0.62em;
  color: var(--muted);
  border: 1px solid var(--hairline);
  padding: 1px 5px;
  margin-left: 8px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  vertical-align: 0.18em;
}
.via {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--cool);
  border: 1px solid var(--hairline);
  padding: 2px 6px;
  margin-left: 8px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.arm {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--amber, #e8a42e);
  border: 1px solid var(--amber, #e8a42e);
  padding: 2px 6px;
  margin-left: 8px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
/* ---------- VSL (quote band video) ---------- */
.vsl-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.vsl-copy .sec-title { margin-bottom: 18px; }
.vsl-copy .sec-note { margin: 0 0 28px; }
.vsl-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--faint);
  letter-spacing: 0.08em;
  margin-top: 16px;
}
.vsl-player {
  border: 1px solid var(--hairline);
  background: #000;
  position: relative;
}
.vsl-player::before {
  content: "FIELD REPORT · 1:15";
  position: absolute;
  top: 12px; left: 14px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ink);
  background: rgba(11,11,12,0.72);
  border: 1px solid var(--hairline);
  padding: 4px 8px;
  pointer-events: none;
}
.vsl-player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
@media (max-width: 900px) {
  .vsl-grid { grid-template-columns: 1fr; }
}
/* corner registration marks */
.crop { position: absolute; z-index: 3; width: 22px; height: 22px; opacity: 0.55; pointer-events: none; }
.crop::before, .crop::after { content: ""; position: absolute; background: var(--ink); }
.crop::before { width: 100%; height: 1px; }
.crop::after { width: 1px; height: 100%; }
.crop.tl { top: 84px; left: var(--gutter); }
.crop.tr { top: 84px; right: var(--gutter); }
.crop.tr::before { right: 0; } .crop.tr::after { right: 0; }
.crop.bl { bottom: 28px; left: var(--gutter); }
.crop.bl::before { bottom: 0; } .crop.bl::after { left: 0; }
.crop.br { bottom: 28px; right: var(--gutter); }
.crop.br::before { bottom: 0; right: 0; } .crop.br::after { bottom: 0; right: 0; }
.hero-coords {
  position: absolute;
  z-index: 3;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--faint);
  text-transform: uppercase;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero-copy { grid-column: 1 / 13; padding-bottom: 8px; }
  .hero-readout {
    grid-column: 1 / 13;
    border-left: none;
    border-top: 1px solid var(--hairline);
    padding: 24px 0 72px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px 48px;
  }
  .hero-coords { display: none; }
}

/* ---------- sections ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 140px) var(--gutter);
  border-bottom: 1px solid var(--hairline-soft);
  position: relative;
}
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 4vw, 64px);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  padding-right: clamp(110px, 19vw, 270px);
}
.sec-title {
  font-size: clamp(30px, 3.6vw, 56px);
  margin: 14px 0 0;
  max-width: 16ch;
}
.sec-note {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  max-width: 34ch;
  line-height: 1.8;
}
.sec-note a { color: var(--ink); }

/* giant outline index numerals */
.sec-index {
  position: absolute;
  top: clamp(48px, 6vw, 96px);
  right: var(--gutter);
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(90px, 12vw, 190px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236,233,226,0.16);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ---------- price table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--hairline); border-radius: 2px; }
table.prices {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 13.5px;
}
table.prices caption {
  text-align: left;
  padding: 14px 18px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-raise);
}
table.prices th {
  text-align: left;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 12px 18px;
  border-bottom: 1px solid var(--hairline);
  white-space: nowrap;
}
table.prices td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--hairline-soft);
  white-space: nowrap;
}
table.prices tbody tr { transition: background 0.12s; }
table.prices tbody tr:hover { background: rgba(236,233,226,0.035); }
table.prices tbody tr:last-child td { border-bottom: none; }
td.prov { color: var(--ink); font-weight: 600; }
td.prov a { text-decoration: none; border-bottom: 1px solid var(--hairline); }
td.prov a:hover { border-color: var(--signal); }
td.dim { color: var(--muted); }
td.num { text-align: right; font-variant-numeric: tabular-nums; }
th.num { text-align: right; }
.price-cell { font-weight: 700; font-size: 14.5px; }
.rank {
  display: inline-block;
  width: 26px;
  color: var(--faint);
  font-size: 11px;
}
.table-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--faint);
  letter-spacing: 0.04em;
  line-height: 1.7;
}
.table-foot a { color: var(--muted); }

/* ---------- key models strip ---------- */
.models {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--hairline);
  border-radius: 2px;
}
.model {
  padding: 30px 28px 26px;
  border-right: 1px solid var(--hairline);
  text-decoration: none;
  display: block;
  position: relative;
  transition: background 0.15s;
}
.model:last-child { border-right: none; }
.model:hover { background: rgba(236,233,226,0.03); }
.model .m-name {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.model .m-name .arr { color: var(--faint); transition: transform 0.15s, color 0.15s; }
.model:hover .m-name .arr { transform: translateX(4px); color: var(--signal); }
.model .m-price {
  display: block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(34px, 3.4vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}
.model .m-price .unit { font-size: 0.34em; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.model .m-sub { display: block; margin-top: 12px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: 0.04em; }
@media (max-width: 900px) { .models { grid-template-columns: repeat(2, 1fr); } .model:nth-child(2) { border-right: none; } .model { border-bottom: 1px solid var(--hairline); } .model:nth-child(3), .model:nth-child(4) { border-bottom: none; } }
@media (max-width: 480px) { .models { grid-template-columns: 1fr; } .model { border-right: none; border-bottom: 1px solid var(--hairline); } .model:last-child { border-bottom: none; } }

/* ---------- spread chart (real cross-provider data) ---------- */
.spread { border: 1px solid var(--hairline); border-radius: 2px; }
.spread-row {
  display: grid;
  grid-template-columns: 170px 1fr 110px;
  align-items: center;
  gap: 18px;
  padding: 11px 20px;
  border-bottom: 1px solid var(--hairline-soft);
  font-family: var(--mono);
  font-size: 12.5px;
}
.spread-row:last-child { border-bottom: none; }
.spread-row .p { color: var(--ink); display: flex; align-items: center; gap: 8px; min-width: 0; }
.spread-row .pname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spread-row .via { flex-shrink: 0; margin-left: 0; }
.spread-row .bar-track { position: relative; height: 14px; background: rgba(236,233,226,0.05); border-radius: 2px; }
.spread-row .bar-fill { position: absolute; inset: 0 auto 0 0; border-radius: 2px; width: 0; transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.spread-row .v { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.spread-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--faint);
  text-transform: uppercase;
  padding: 12px 20px 0;
}
@media (max-width: 640px) {
  .spread-row { grid-template-columns: 110px 1fr 84px; gap: 12px; padding: 10px 14px; }
  .spread-row .via { font-size: 8.5px; padding: 1px 4px; letter-spacing: 0.06em; }
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- tools index list ---------- */
.tools-list { border-top: 1px solid var(--hairline); }
.tool-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 30px 8px;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
}
.tool-row:hover { background: rgba(236,233,226,0.025); }
.tool-row .n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.1em;
}
.tool-row h3 {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 34px);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.tool-row p { margin: 0; color: var(--muted); font-size: 15px; max-width: 60ch; }
.tool-row .go {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.tool-row:hover .go { color: var(--signal); }
@media (max-width: 640px) {
  .tool-row { grid-template-columns: 1fr auto; }
  .tool-row .n { display: none; }
}

/* ---------- quote band ---------- */
.band {
  border: 1px solid var(--signal);
  border-radius: 2px;
  padding: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255,90,31,0.07), rgba(255,90,31,0) 70%),
    var(--bg-raise);
  position: relative;
  overflow: hidden;
}
.band h2 {
  font-size: clamp(30px, 4vw, 58px);
  margin: 0 0 16px;
  max-width: 14ch;
}
.band p { color: var(--muted); margin: 0; max-width: 52ch; font-size: 16px; }
.band .btn-quote { font-size: 13px; padding: 18px 34px; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }

/* ---------- newsletter ---------- */
.news {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.news h2 { font-size: clamp(26px, 3vw, 44px); margin: 0 0 14px; }
.news p { color: var(--muted); margin: 0; max-width: 44ch; }
.news-form { display: flex; gap: 0; border: 1px solid var(--hairline); border-radius: 2px; overflow: hidden; }
.news-form input {
  flex: 1;
  min-width: 0;
  background: var(--bg-sink);
  border: none;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  padding: 16px 18px;
}
.news-form input::placeholder { color: var(--faint); }
.news-form button {
  background: var(--ink);
  color: #0b0b0c;
  border: none;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 28px;
  cursor: pointer;
  border-radius: 0;
}
.news-form button:hover { background: var(--signal); }
.news-msg { font-family: var(--mono); font-size: 12.5px; color: var(--cool); margin-top: 12px; min-height: 20px; }
@media (max-width: 760px) { .news { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--hairline);
  background: var(--bg-sink);
}
.foot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px var(--gutter) 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot-brand p { color: var(--faint); font-size: 13.5px; max-width: 34ch; font-family: var(--mono); line-height: 1.8; }
.foot-col h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 18px;
  font-weight: 500;
}
.foot-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
}
.foot-col a:hover { color: var(--ink); }
.foot-base {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px var(--gutter) 32px;
  border-top: 1px solid var(--hairline-soft);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.06em;
}
@media (max-width: 900px) { .foot-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-inner { grid-template-columns: 1fr; } }

/* ---------- digit roll ---------- */
[data-roll] { display: inline-block; overflow: hidden; vertical-align: bottom; }
[data-roll] .rd { display: inline-block; }
@media (prefers-reduced-motion: reduce) {
  .spread-row .bar-fill { transition: none; }
  .hero-media canvas.live { transition: none; }
}

/* ---------- conversion layer (quote CTAs) ---------- */

/* slim in-flow CTA strip between data sections */
.cta-strip {
  margin-top: clamp(36px, 4vw, 56px);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  background: var(--bg-raise);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-strip-copy { max-width: 62ch; }
.cta-strip-copy .label { display: block; margin-bottom: 10px; }
.cta-strip-copy p { margin: 0; color: var(--muted); font-size: 15px; }
.cta-strip .btn-quote { font-size: 12.5px; padding: 16px 30px; flex-shrink: 0; }

/* proof line inside the quote band: real index numbers only */
.band-proof {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--faint);
}

/* FAQ (replaces the dead newsletter slot) */
.faq { border-top: 1px solid var(--hairline); max-width: 880px; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--mono);
  font-weight: 400;
  color: var(--signal);
  font-size: 22px;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0;
  padding: 0 4px 28px;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 64ch;
}
.faq-cta { margin-top: 36px; }
.faq-cta .btn-quote { font-size: 13px; padding: 18px 34px; }

/* sticky mobile CTA: fixed bottom bar, small screens only */
.sticky-cta { display: none; }
@media (max-width: 900px) {
  .sticky-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 150;
    background: var(--signal);
    color: #0b0b0c;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 17px 16px;
    border-radius: 2px;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.55);
  }
  .sticky-cta .arr { font-size: 15px; }
  body:has(.sticky-cta) { padding-bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { box-shadow: none; }
}

/* quote page: what-happens-next steps */
.qsteps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 36px 0 8px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 28px 0;
}
.qstep { display: flex; gap: 14px; align-items: flex-start; }
.qstep .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--signal);
  letter-spacing: 0.1em;
  border: 1px solid var(--hairline);
  padding: 5px 8px;
  flex-shrink: 0;
}
.qstep h3 {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.qstep p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.qreassure {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.03em;
  line-height: 1.7;
  margin: 4px 0 0;
  max-width: 62ch;
}
@media (max-width: 640px) { .qsteps { grid-template-columns: 1fr; } }
