/* ==========================================================================
   Cyberspida — main stylesheet
   Tokens -> base -> layout -> components -> sections -> pages -> utilities
   Specificity rule: one class per selector wherever possible; spacing between
   sections is owned ONLY by .section / .section-* modifiers.
   ========================================================================== */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-vf.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument";
  src: url("../fonts/instrument-vf.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "JBMono";
  src: url("../fonts/jbmono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #05070c;
  --carbon: #0e121b;
  --carbon-2: #151a26;
  --silk: #ede9e1;
  --ash: #8b92a1;
  --amber: #f5b13d;
  --amber-deep: #c98a1f;
  --steel: #5e7fa8;
  --line: rgba(237, 233, 225, 0.12);
  --line-strong: rgba(237, 233, 225, 0.22);

  --f-display: "Bricolage", "Segoe UI", system-ui, sans-serif;
  --f-body: "Instrument", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JBMono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* type scale (perfect fourth, fluid at the top end) */
  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-md: 1.25rem;
  --t-lg: clamp(1.4rem, 1.1rem + 1.1vw, 1.85rem);
  --t-xl: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem);
  --t-2xl: clamp(2.5rem, 1.4rem + 4.6vw, 5.2rem);
  --t-hero: clamp(2.75rem, 1.2rem + 6.6vw, 7rem);

  --gutter: clamp(20px, 5vw, 56px);
  --max: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--silk);
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.65;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
p { text-wrap: pretty; }

::selection { background: var(--amber); color: var(--ink); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

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

.muted { color: var(--ash); }
[hidden] { display: none !important; }

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

.section { padding-block: clamp(80px, 10vw, 140px); position: relative; }
.section-tight { padding-block: clamp(64px, 8vw, 112px); position: relative; }
.section-line { border-top: 1px solid var(--line); }

.measure { max-width: 62ch; }
.measure-narrow { max-width: 46ch; }

.split {
  display: grid;
  gap: clamp(32px, 5vw, 80px);
}
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; }
  .split-even { grid-template-columns: 1fr 1fr; }
  .split-wide-left { grid-template-columns: 7fr 5fr; }
}

/* ---------- type helpers ---------- */
.display-hero {
  font-size: var(--t-hero);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.96;
}
.display-xl { font-size: var(--t-2xl); letter-spacing: -0.035em; line-height: 1; }
.display-l { font-size: var(--t-xl); }
.display-m { font-size: var(--t-lg); line-height: 1.15; letter-spacing: -0.015em; }

.lede {
  font-size: var(--t-md);
  line-height: 1.55;
  color: var(--silk);
  max-width: 52ch;
}
.lede-muted { color: var(--ash); }

.kicker {
  display: block;
  font-size: var(--t-sm);
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.prose p + p { margin-top: 1.1em; }
.prose h2 { font-size: var(--t-lg); margin: 2.2em 0 0.7em; line-height: 1.2; }
.prose h3 { font-size: var(--t-md); margin: 1.8em 0 0.5em; line-height: 1.25; }
.prose ul { margin: 0.9em 0; }
.prose ul li {
  position: relative;
  padding-left: 1.4em;
  margin-top: 0.45em;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0.1em;
  top: 0.72em;
  width: 0.5em;
  height: 1px;
  background: var(--amber);
}
.prose a { color: var(--amber); }
.prose strong { color: var(--silk); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--f-body);
  font-size: var(--t-base);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: #ffc35c; }
.btn-ghost { border-color: var(--line-strong); color: var(--silk); background: transparent; }
.btn-ghost:hover { border-color: var(--silk); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: var(--t-sm); border-radius: 8px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.text-link {
  color: var(--silk);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
  transition: color 0.2s;
}
.text-link:hover { color: var(--amber); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(5, 7, 12, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--silk);
}
.brand-mark { width: 30px; height: 30px; color: var(--silk); }
.header-inner .brand { position: relative; z-index: 2; }
.brand-dot { fill: var(--amber); }
.brand-word {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.site-nav ul { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ash);
  transition: color 0.2s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--silk); }
.site-nav .btn,
.site-nav .btn:hover,
.site-nav .btn[aria-current="page"] { color: var(--ink); }
.site-nav .btn { margin-left: 10px; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 1.5px;
  background: var(--silk);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle-lines { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle-lines::before,
.nav-toggle-lines::after { content: ""; transform: translateX(-50%); }
.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--ink);
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s, visibility 0s linear 0.25s;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.25s;
  }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a {
    font-family: var(--f-display);
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--silk);
    min-height: 72px;
    padding: 0;
  }
  .site-nav .nav-cta { border-bottom: 0; margin-top: 32px; }
  .site-nav .btn {
    font-family: var(--f-body);
    font-size: var(--t-base);
    min-height: 56px;
    width: 100%;
    margin-left: 0;
    padding: 0 24px;
  }
}

/* ---------- hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  touch-action: pan-y;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 70%;
  background: linear-gradient(to top, var(--ink) 8%, rgba(5, 7, 12, 0.82) 45%, rgba(5, 7, 12, 0) 100%);
  z-index: -1;
  pointer-events: none;
}
.hero-content {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: clamp(56px, 9vh, 112px);
  pointer-events: none;
}
.hero-content a, .hero-content button { pointer-events: auto; }
.hero-title { max-width: 13ch; }
.hero-title-line { display: block; }
.hero-title-soft { color: var(--ash); }
.hero-sub {
  margin-top: 28px;
  font-size: var(--t-md);
  line-height: 1.55;
  max-width: 50ch;
  color: rgba(237, 233, 225, 0.86);
}
.hero-hint {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--t-xs);
  color: var(--ash);
}
.hero-hint-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(245, 177, 61, 0.6);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-hint-dot { animation: pulse 2.4s var(--ease) infinite; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 177, 61, 0.55); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(245, 177, 61, 0); }
}

/* load sequence: the single orchestrated entrance */
/* pure CSS so content can never get stuck hidden if a script fails */
@media (prefers-reduced-motion: no-preference) {
  .hero-reveal { animation: rise 1s var(--ease) both; }
  .hero-reveal:nth-child(2) { animation-delay: 0.12s; }
  .hero-reveal:nth-child(3) { animation-delay: 0.24s; }
  .hero-reveal:nth-child(4) { animation-delay: 0.36s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(64px, 10vw, 140px));
  padding-bottom: clamp(56px, 7vw, 100px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero-web {
  position: absolute;
  right: -12%;
  top: 0;
  width: min(760px, 90vw);
  height: auto;
  color: var(--steel);
  opacity: 0.35;
  z-index: -1;
  pointer-events: none;
}
.page-hero-web .web-node { fill: var(--amber); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lede { margin-top: 28px; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: var(--t-sm);
  color: var(--ash);
  margin-bottom: 28px;
}
.crumbs a { color: var(--ash); text-decoration: none; }
.crumbs a:hover { color: var(--silk); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }

/* ---------- probes (what bots look for) ---------- */
.probe-list { border-top: 1px solid var(--line); }
.probe {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) {
  .probe { grid-template-columns: minmax(180px, 2fr) 3fr; align-items: baseline; }
}
.probe-path {
  font-family: var(--f-mono);
  font-size: var(--t-sm);
  color: var(--amber);
  overflow-wrap: anywhere;
}
.probe-method { color: var(--ash); margin-right: 10px; }
.probe-what { color: var(--ash); font-size: var(--t-base); }
.probe-what strong { color: var(--silk); font-weight: 600; }
.probe-note { margin-top: 20px; font-size: var(--t-sm); color: var(--ash); }

/* ---------- services rows ---------- */
.service-rows { margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  gap: 24px clamp(32px, 6vw, 96px);
  padding: clamp(40px, 5vw, 72px) 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
  .service-row { grid-template-columns: 5fr 7fr; }
}
.service-name { font-size: var(--t-xl); }
.service-for { margin-top: 16px; color: var(--ash); max-width: 34ch; }
.service-body p { max-width: 58ch; }
.service-gets {
  margin-top: 26px;
  display: grid;
  gap: 10px 28px;
}
@media (min-width: 640px) { .service-gets { grid-template-columns: 1fr 1fr; } }
.service-gets li {
  position: relative;
  padding-left: 22px;
  font-size: var(--t-sm);
  color: rgba(237, 233, 225, 0.88);
}
.service-gets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--amber);
  border-radius: 50%;
}
.service-body .text-link { display: inline-block; margin-top: 30px; }

/* ---------- process timeline ---------- */
.process {
  display: grid;
  gap: clamp(40px, 6vw, 96px);
}
@media (min-width: 900px) {
  .process { grid-template-columns: 4fr 7fr; }
  .process-head { position: sticky; top: calc(var(--header-h) + 48px); align-self: start; }
}
.steps { position: relative; padding-left: 44px; }
.steps-track,
.steps-fill {
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
}
.steps-track { background: var(--line); }
.steps-fill {
  background: var(--amber);
  transform-origin: top;
  transform: scaleY(var(--progress, 1));
}
.step { position: relative; padding-bottom: clamp(40px, 5vw, 64px); }
.step:last-child { padding-bottom: 0; }
.step-num {
  position: absolute;
  left: -44px;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ash);
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.step.is-reached .step-num { border-color: var(--amber); color: var(--ink); background: var(--amber); }
.step h3 { font-size: var(--t-lg); line-height: 1.15; }
.step p { margin-top: 12px; color: var(--ash); max-width: 54ch; }
.step .step-meta { margin-top: 14px; font-size: var(--t-sm); color: var(--silk); }
.step-meta span { color: var(--ash); }

/* ---------- sample report ---------- */
.report {
  background: var(--carbon);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.8);
}
.report-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-sm);
}
.report-bar strong { font-family: var(--f-display); font-size: 1.05rem; font-weight: 650; }
.report-bar span { color: var(--ash); font-family: var(--f-mono); font-size: var(--t-xs); }
.report-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.report-summary div { padding: 18px 26px; border-right: 1px solid var(--line); }
.report-summary div:last-child { border-right: 0; }
.report-summary dt { font-size: var(--t-xs); color: var(--ash); }
.report-summary dd { font-family: var(--f-display); font-size: 1.9rem; font-weight: 650; line-height: 1.2; }
.finding { padding: 26px; border-bottom: 1px solid var(--line); }
.finding:last-child { border-bottom: 0; }
.finding-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.finding-id { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--ash); }
.finding h3 {
  width: 100%;
  font-family: var(--f-body);
  font-size: var(--t-md);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  margin-top: 4px;
}
.sev {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: var(--t-xs);
  font-weight: 600;
}
.sev::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sev-high { color: #ff8a6b; background: rgba(255, 138, 107, 0.1); }
.sev-med { color: var(--amber); background: rgba(245, 177, 61, 0.1); }
.sev-low { color: #8fb4dc; background: rgba(143, 180, 220, 0.1); }
.status-fixed { margin-left: auto; font-size: var(--t-xs); color: #8fd6a8; font-weight: 600; }
.finding dl { margin-top: 14px; display: grid; gap: 12px; }
.finding dt { font-size: var(--t-xs); color: var(--ash); font-weight: 600; }
.finding dd { font-size: var(--t-sm); color: rgba(237, 233, 225, 0.88); max-width: 62ch; }
.report-caption { margin-top: 16px; font-size: var(--t-sm); color: var(--ash); }

/* ---------- promises ---------- */
.promises {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  border-top: 1px solid var(--line);
}
@media (min-width: 760px) {
  .promises { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 96px); }
}
.promise { padding: 32px 0; border-bottom: 1px solid var(--line); }
.promises-flush { margin-top: 0; }
@media (min-width: 760px) {
  .promises-single { grid-template-columns: 1fr; }
}
.promise h3 { font-size: var(--t-md); line-height: 1.25; letter-spacing: -0.01em; }
.promise p { margin-top: 10px; color: var(--ash); max-width: 46ch; }

/* ---------- honest note ---------- */
.honest {
  position: relative;
  padding: clamp(40px, 6vw, 88px);
  border-radius: 24px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(94, 127, 168, 0.18), transparent 55%),
    var(--carbon);
  border: 1px solid var(--line);
  overflow: hidden;
}
.honest-quote {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 22ch;
}
.honest-body { margin-top: 28px; color: var(--ash); max-width: 60ch; }
.honest-body p + p { margin-top: 1em; }

/* ---------- comparison table ---------- */
.compare-wrap { margin-top: 48px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.compare {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: var(--t-sm);
}
.compare th,
.compare td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th {
  font-family: var(--f-display);
  font-size: var(--t-md);
  font-weight: 650;
  background: var(--carbon);
}
.compare tbody th { color: var(--ash); font-weight: 500; width: 22%; }
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }

/* ---------- checklist (service pages) ---------- */
.checks {
  margin-top: 40px;
  display: grid;
  gap: 0 clamp(32px, 5vw, 72px);
  border-top: 1px solid var(--line);
}
@media (min-width: 760px) { .checks { grid-template-columns: 1fr 1fr; } }
.check { padding: 24px 0; border-bottom: 1px solid var(--line); }
.check h3 { font-family: var(--f-body); font-size: var(--t-base); font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.check p { margin-top: 6px; font-size: var(--t-sm); color: var(--ash); }

.deliverables { margin-top: 32px; display: grid; gap: 16px; }
.deliverable {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
  border-radius: 14px;
  background: var(--carbon);
  border: 1px solid var(--line);
}
.deliverable svg { width: 28px; height: 28px; color: var(--amber); }
.deliverable h3 { font-family: var(--f-body); font-size: var(--t-base); font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.deliverable p { margin-top: 4px; font-size: var(--t-sm); color: var(--ash); }

.facts {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 48px;
}
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { background: var(--ink); padding: 26px; }
.fact dt { font-size: var(--t-xs); color: var(--ash); }
.fact dd { margin-top: 6px; font-family: var(--f-display); font-size: var(--t-md); font-weight: 600; line-height: 1.25; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  font-family: var(--f-display);
  font-size: var(--t-md);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--amber), var(--amber)) center / 100% 2px no-repeat,
    linear-gradient(var(--amber), var(--amber)) center / 2px 100% no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: #fff; }
.faq-answer { padding: 0 0 28px; color: var(--ash); max-width: 66ch; }
.faq-answer p + p { margin-top: 0.9em; }
.faq-answer a { color: var(--amber); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; text-align: left; }
.cta-band-web {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1100px, 140vw);
  transform: translate(-30%, -50%);
  color: var(--steel);
  opacity: 0.22;
  z-index: -1;
  pointer-events: none;
}
.cta-band-web .web-node { fill: var(--amber); }
.cta-band h2 { max-width: 15ch; }
.cta-band .lede { margin-top: 24px; color: var(--ash); }
.cta-direct { margin-top: 28px; font-size: var(--t-sm); color: var(--ash); }
.cta-direct a { color: var(--silk); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: clamp(48px, 6vw, 96px); }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 5fr 7fr; } }
.next-steps { margin-top: 40px; display: grid; gap: 22px; }
.next-step { display: grid; grid-template-columns: 32px 1fr; gap: 14px; }
.next-step-n {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--amber);
  color: var(--amber);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.next-step h3 { font-family: var(--f-body); font-size: var(--t-base); font-weight: 600; letter-spacing: 0; line-height: 1.5; }
.next-step p { font-size: var(--t-sm); color: var(--ash); }
.direct-lines { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.direct-lines dt { font-size: var(--t-xs); color: var(--ash); }
.direct-lines dd a { font-size: var(--t-md); text-decoration: none; }
.direct-lines dd a:hover { color: var(--amber); }
.direct-lines dd span { font-size: var(--t-md); }

.form-card {
  padding: clamp(28px, 4vw, 52px);
  background: var(--carbon);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.form-title { font-size: var(--t-lg); line-height: 1.15; }
.form-intro { margin-top: 8px; color: var(--ash); font-size: var(--t-sm); }
.form { margin-top: 32px; display: grid; gap: 22px; }
.form-row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field label,
.field legend { font-size: var(--t-sm); font-weight: 600; padding: 0; }
.field .opt { color: var(--ash); font-weight: 400; }
.input {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  background: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--silk);
  font-size: 1rem; /* >=16px: no iOS zoom */
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: #5d6472; }
.input:hover { border-color: rgba(237, 233, 225, 0.35); }
.input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245, 177, 61, 0.2); }
textarea.input { min-height: 150px; resize: vertical; line-height: 1.55; }
.field.has-error .input { border-color: #ff8a6b; }
.field-error { font-size: var(--t-xs); color: #ff8a6b; min-height: 0; }
.field-error:empty { display: none; }

fieldset.field { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: var(--t-sm);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
  user-select: none;
}
.chip span:hover { border-color: rgba(237, 233, 225, 0.45); }
.chip input:checked + span { background: var(--amber); border-color: var(--amber); color: var(--ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 3px; }

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.form-privacy { font-size: var(--t-xs); color: var(--ash); max-width: 40ch; }
.form-privacy a { color: var(--silk); }

.form-status {
  display: none;
  padding: 16px 18px;
  border-radius: 12px;
  font-size: var(--t-sm);
}
.form-status.is-error { display: block; background: rgba(255, 138, 107, 0.1); border: 1px solid rgba(255, 138, 107, 0.35); color: #ffc2b2; }

.form-success { display: none; text-align: left; padding: 12px 0; }
.form-success.is-visible { display: block; }
.form-success svg { width: 56px; height: 56px; color: var(--amber); }
.form-success h3 { margin-top: 24px; font-size: var(--t-lg); }
.form-success p { margin-top: 12px; color: var(--ash); max-width: 46ch; }

.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(5, 7, 12, 0.3);
  border-top-color: var(--ink);
  border-radius: 50%;
  display: none;
}
.is-sending .spinner { display: inline-block; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.noscript-note {
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  font-size: var(--t-sm);
}

/* ---------- about ---------- */
.belief-list { margin-top: 40px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.belief { display: grid; gap: 10px 48px; padding: 32px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .belief { grid-template-columns: 5fr 7fr; } }
.belief h3 { font-size: var(--t-lg); line-height: 1.15; }
.belief p { color: var(--ash); max-width: 58ch; }

/* ---------- legal ---------- */
.legal { padding-bottom: clamp(88px, 10vw, 140px); }
.legal .prose { max-width: 70ch; color: rgba(237, 233, 225, 0.86); }
.legal-updated { color: var(--ash); font-size: var(--t-sm); margin-top: 18px; }

/* ---------- 404 / thank-you ---------- */
.center-screen {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.code-big {
  font-family: var(--f-display);
  font-size: clamp(6rem, 22vw, 16rem);
  font-weight: 750;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--steel);
}

/* ---------- guides ---------- */
.guide-list { border-top: 1px solid var(--line); }
.guide { border-bottom: 1px solid var(--line); }
.guide-link {
  display: grid;
  gap: 10px;
  padding: clamp(28px, 4vw, 44px) 0;
  text-decoration: none;
  color: var(--silk);
}
.guide-meta { font-size: var(--t-sm); color: var(--amber); font-weight: 600; }
.guide-title {
  font-family: var(--f-display);
  font-size: var(--t-lg);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.015em;
  max-width: 30ch;
  transition: color 0.2s;
}
.guide-desc { color: var(--ash); max-width: 62ch; }
.guide-link:hover .guide-title { color: var(--amber); }

.prose ul ul { margin: 0.4em 0 0.2em; }
.prose code {
  font-family: var(--f-mono);
  font-size: 0.88em;
  padding: 0.1em 0.4em;
  border-radius: 6px;
  background: var(--carbon-2);
  color: var(--silk);
}
.prose ol.prose-steps { counter-reset: step; margin: 1em 0; }
.prose ol.prose-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.4em;
  margin-top: 0.8em;
}
.prose ol.prose-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  border: 1.5px solid var(--amber);
  color: var(--amber);
  font-size: 0.8em;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.article-cta {
  margin-top: 3em;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 18px;
  background: var(--carbon);
  border: 1px solid var(--line);
}
.prose .article-cta h2 { margin-top: 0; }
.article-cta .btn { margin-top: 0.6em; }
.prose .article-cta a.btn { color: var(--ink); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(64px, 8vw, 104px) 0 32px;
  font-size: var(--t-sm);
}
.footer-top { display: grid; gap: 48px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 4fr 7fr; } }
.footer-tagline { margin-top: 18px; color: var(--ash); max-width: 36ch; }
.footer-cols { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.footer-h { font-family: var(--f-body); font-size: var(--t-sm); font-weight: 600; letter-spacing: 0; color: var(--silk); margin-bottom: 14px; }
.footer-cols li + li { margin-top: 10px; }
.footer-cols a { color: var(--ash); text-decoration: none; overflow-wrap: anywhere; }
.footer-cols a:hover { color: var(--silk); }
.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  color: var(--ash);
  font-size: var(--t-xs);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a { color: var(--ash); text-decoration: none; }
.footer-legal a:hover { color: var(--silk); }

/* ---------- utilities ---------- */
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 48px; }
.mt-xl { margin-top: clamp(56px, 7vw, 96px); }
.color-ash { color: var(--ash); }
.color-amber { color: var(--amber); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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