/* ==========================================================
   The AI Automation Company - site styles
   One idea: the business as a live operations log.
   Near-black control room, warm off-white text, one amber signal colour.
   ========================================================== */

:root {
  --bg: #08090a;
  --bg-2: #0d0f10;
  --panel: rgba(18, 20, 22, 0.78);
  --panel-solid: #121416;
  --line: rgba(236, 232, 225, 0.09);
  --line-2: rgba(236, 232, 225, 0.16);
  --text: #ece8e1;
  --muted: #a39e95;
  --faint: #6f6b65;
  --amber: #ffb000;
  --amber-soft: rgba(255, 176, 0, 0.14);
  --amber-glow: rgba(255, 176, 0, 0.35);
  --ok: #8fd694;

  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--amber); color: #000; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: #000; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Background field ---------- */
#field {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  z-index: -1; pointer-events: none;
}
body::before { /* vignette + soft amber horizon */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255, 176, 0, 0.05), transparent 60%),
    radial-gradient(140% 100% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.7));
}

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 var(--font); letter-spacing: 0.005em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: var(--amber); color: #111;
  box-shadow: 0 0 0 0 var(--amber-glow), 0 8px 30px -10px var(--amber-glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 6px var(--amber-soft), 0 14px 40px -12px var(--amber-glow); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--text); background: rgba(236, 232, 225, 0.04); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 9, 10, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-name { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .25s; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }

/* ---------- Shared type ---------- */
.eyebrow, .tag {
  font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--muted);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(18, 20, 22, 0.5); }
.pip { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: pulse 2.4s ease-in-out infinite; }
.tag { color: var(--amber); margin-bottom: 18px; }
.tag::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--amber); vertical-align: middle; margin: -2px 12px 0 0; }
.hl { color: var(--amber); }
.dim { color: #85807a; }

h1 {
  font-size: clamp(38px, 4.7vw, 66px);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.04;
  margin: 26px 0 24px;
}
h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.022em; line-height: 1.1; }
h3 { font-size: 21px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.25; }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 34em; }
.section-lede { font-size: 18px; color: var(--muted); max-width: 38em; margin-top: 20px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.assure { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14.5px; color: var(--muted); }
.assure li { display: flex; align-items: center; gap: 8px; }
.assure li::before { content: ""; width: 5px; height: 5px; background: var(--amber); border-radius: 1px; }

/* ---------- Console (live agent display) ---------- */
.console {
  position: relative;
  background: linear-gradient(180deg, rgba(20, 22, 24, 0.92), rgba(12, 13, 14, 0.92));
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-family: var(--mono);
  overflow: hidden;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.console::before { /* scanline sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px);
}
.console-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 7px; color: var(--amber); letter-spacing: 0.12em; font-weight: 500; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: pulse 1.6s ease-in-out infinite; }
.console-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clock { color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

.stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 14px 18px 4px; font-size: 11px; letter-spacing: 0.04em; color: var(--faint); }
.stages li { display: flex; flex-direction: column; gap: 8px; transition: color .5s var(--ease); }
.stages i { display: block; height: 3px; border-radius: 3px; background: var(--line-2); position: relative; overflow: hidden; }
.stages i::after { content: ""; position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.stages li.on { color: var(--text); }
.stages li.on i::after { transform: scaleX(1); }
.stages li.now { color: var(--amber); }
.stages li.done-all i::after { background: var(--ok); }

.feed { position: relative; height: 336px; padding: 10px 18px 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 70px); mask-image: linear-gradient(180deg, transparent 0, #000 70px); }
.line { display: grid; grid-template-columns: 42px 86px 1fr; gap: 10px; padding: 7px 0; font-size: 12.5px; line-height: 1.5; border-top: 1px dashed rgba(236, 232, 225, 0.05); animation: lineIn .6s var(--ease) both; }
.line .t { color: var(--faint); font-variant-numeric: tabular-nums; }
.line .a { color: var(--amber); letter-spacing: 0.04em; }
.line .m { color: var(--text); }
.line .m q { color: var(--muted); quotes: "\201C" "\201D"; }
.line .m .you { color: var(--ok); }
.line.typing .m::after { content: "▍"; color: var(--amber); margin-left: 2px; animation: blink 1s steps(1) infinite; }
.line.sys .a { color: var(--muted); }
.line.done .a, .line.done .m { color: var(--ok); }
.line.sep { display: block; text-align: center; color: var(--faint); font-size: 11px; letter-spacing: 0.1em; border: 0; padding: 12px 0 6px; }
.console-foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.console-foot > span:last-child { white-space: nowrap; }
.console-foot b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
#job-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console-note { margin-top: 16px; font-size: 13.5px; color: var(--faint); text-align: right; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }

/* Jobs */
.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.job { position: relative; background: var(--bg-2); padding: 32px 28px 28px; display: flex; flex-direction: column; gap: 12px; transition: background-color .5s var(--ease); }
.job::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.job:hover { background: #131518; }
.job:hover::before { transform: scaleX(1); }
.job-id { font-size: 14px; font-weight: 600; color: var(--amber); }
.job p:not(.job-id) { color: var(--muted); font-size: 16px; }
.job-log { margin-top: auto; padding-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--faint); border-top: 1px dashed var(--line); }
.job-log b { color: var(--amber); font-weight: 400; }
.job-log span { color: var(--muted); }

/* Proof */
.proof { background: linear-gradient(180deg, transparent, rgba(255, 176, 0, 0.025) 50%, transparent); }
.proof-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.proof-head { position: sticky; top: 110px; margin-bottom: 0; }
.board { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); overflow: hidden; font-size: 15px; }
.board-head, .board li { display: grid; grid-template-columns: 112px 1fr 92px; gap: 16px; align-items: center; padding: 16px 22px; }
.board-head { font-size: 13px; font-weight: 600; color: var(--faint); border-bottom: 1px solid var(--line); }
.board li { border-bottom: 1px solid var(--line); transition: background-color .4s var(--ease); }
.board li:last-child { border-bottom: 0; }
.board li:hover { background: rgba(255, 176, 0, 0.04); }
.board li b { font-weight: 600; font-size: 15.5px; color: var(--text); }
.board li span { color: var(--muted); }
.board li em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--ok); display: inline-flex; align-items: center; gap: 8px; justify-self: end; }
.board li em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: pulse 2.6s ease-in-out infinite; }
.board li:nth-child(2n) em::before { animation-delay: -0.8s; }
.board li:nth-child(3n) em::before { animation-delay: -1.6s; }

/* CTA band */
.cta-band { padding: clamp(8px, 2vw, 16px) 0; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
  border: 1px solid rgba(255, 176, 0, 0.28);
  border-radius: 20px;
  background:
    radial-gradient(80% 140% at 0% 0%, rgba(255, 176, 0, 0.10), transparent 60%),
    rgba(14, 15, 16, 0.85);
  max-width: calc(var(--wrap) - 2 * var(--gutter));
}
.cta-title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.cta-text { color: var(--muted); margin-top: 8px; max-width: 36em; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: linear-gradient(90deg, var(--amber), rgba(255, 176, 0, 0.1)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.steps.in::before, html:not(.js) .steps::before { transform: scaleX(1); }
.step { position: relative; }
.step-n { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--bg); border: 1px solid var(--amber); color: var(--amber); font-size: 19px; font-weight: 600; margin-bottom: 26px; position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--bg); }
.step h3 { margin-bottom: 12px; }
.step p { color: var(--muted); }

/* Who */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.who-card { padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: border-color .4s var(--ease), transform .5s var(--ease); }
.who-card:hover { border-color: rgba(255, 176, 0, 0.4); transform: translateY(-3px); }
.who-card h3 { margin-bottom: 12px; }
.who-card p { color: var(--muted); }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; margin-top: 16px; padding: 30px 28px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.fit-title { font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.fit .ok, .fit .no { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: 13px; }
.fit .ok { background: rgba(143, 214, 148, 0.12); color: var(--ok); }
.fit .no { background: rgba(236, 232, 225, 0.06); color: var(--muted); }
.fit li { color: var(--muted); padding: 6px 0 6px 18px; position: relative; }
.fit li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 6px; height: 1px; background: var(--faint); }
.fit-note { margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--amber); }

/* FAQ */
.worries-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.worries-grid .section-head { margin-bottom: 0; }
.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: 20px;
  padding: 24px 0; font-size: clamp(18px, 1.8vw, 21px); font-weight: 600; letter-spacing: -0.01em;
  transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--text), var(--text)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 1.5px 11px no-repeat;
  transition: transform .5s var(--ease), border-color .3s, background-color .3s;
}
.faq summary:hover { color: var(--amber); }
.faq summary:hover::after { border-color: var(--amber); }
.faq details[open] summary::after { transform: rotate(45deg); border-color: var(--amber); }
.faq .answer { padding: 0 48px 26px 0; color: var(--muted); }
.faq details[open] .answer { animation: fadeDown .5s var(--ease); }

/* Contact */
.contact { padding-bottom: clamp(80px, 10vw, 140px); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-head { margin-bottom: 0; }
.contact-list { margin-top: 36px; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list li > span { font-size: 14px; color: var(--faint); padding-top: 1px; }
.contact-list a { text-decoration: none; color: var(--text); border-bottom: 1px solid var(--line-2); transition: border-color .3s, color .3s; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--amber); border-color: var(--amber); }
.contact-list p { color: var(--muted); }
.booking { margin-top: 24px; }

.form-shell { border: 1px solid var(--line-2); border-radius: 20px; background: var(--panel); padding: clamp(22px, 3.5vw, 40px); box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.9); }
.form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--text); }
.field i { font-style: normal; font-weight: 400; color: var(--faint); }
.field input, .field textarea {
  width: 100%; font: 16px/1.5 var(--font); color: var(--text);
  background: rgba(8, 9, 10, 0.7); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 13px 14px; transition: border-color .3s, box-shadow .3s, background-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:hover, .field textarea:hover { border-color: rgba(236, 232, 225, 0.28); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); background: rgba(8, 9, 10, 0.95); }
.field.invalid input, .field.invalid textarea { border-color: #ff7a59; }
.trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.form-small { font-size: 13.5px; color: var(--faint); }
.form-small a { color: var(--muted); }
.form-error { color: #ffb4a0; background: rgba(255, 122, 89, 0.08); border: 1px solid rgba(255, 122, 89, 0.3); border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.form-error a { color: #ffd2c4; }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn.sending .arrow { animation: blink 0.9s steps(1) infinite; }

.thanks { text-align: left; padding: 10px 0; outline: none; }
.thanks:not([hidden]) { animation: fadeDown .7s var(--ease); }
.thanks-log { display: block; font-family: var(--mono); font-size: 12.5px; color: var(--ok); padding: 12px 14px; border: 1px dashed rgba(143, 214, 148, 0.35); border-radius: 10px; margin-bottom: 26px; }
.thanks-log .t { color: var(--muted); margin-right: 8px; }
.thanks-log b { font-weight: 400; }
.thanks h3 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.thanks p { color: var(--muted); }
.thanks a { color: var(--text); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 52px; font-size: 14px; color: var(--muted); background: rgba(8, 9, 10, 0.6); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.footer-name { color: var(--text); font-weight: 700; font-size: 16px; }
.footer-sub { margin-top: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-links a { text-decoration: none; transition: color .3s; }
.footer-links a:hover { color: var(--amber); }
.footer-copy { grid-column: 1 / -1; font-size: 13px; color: var(--faint); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); filter: blur(3px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes lineIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .console { max-width: 640px; }
  .console-note { text-align: left; }
  .proof-grid, .worries-grid, .contact-grid { grid-template-columns: 1fr; }
  .proof-head { position: static; }
  .jobs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-inner { height: 62px; gap: 12px; }
  .brand-name { font-size: 14px; white-space: normal; line-height: 1.1; max-width: 9.5em; }
  .brand-mark { width: 28px; height: 28px; }
  .btn-sm { padding: 0 14px; font-size: 13.5px; --h: 38px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .jobs { grid-template-columns: 1fr; }
  .job { padding: 26px 22px 22px; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { left: 27px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform: scaleY(0); transform-origin: top; background: linear-gradient(180deg, var(--amber), rgba(255, 176, 0, 0.1)); }
  .steps.in::before, html:not(.js) .steps::before { transform: scaleY(1); }
  .step { padding-left: 76px; }
  .step-n { position: absolute; left: 0; top: -4px; margin: 0; }
  .who { grid-template-columns: 1fr; }
  .fit { grid-template-columns: 1fr; padding: 24px 22px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-inner .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .board-head { display: none; }
  .board li { grid-template-columns: 1fr auto; grid-template-areas: "name status" "desc desc"; gap: 6px 12px; padding: 16px 18px; }
  .board li b { grid-area: name; }
  .board li span { grid-area: desc; font-size: 15px; }
  .board li em { grid-area: status; }
  .faq .answer { padding-right: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 13px; }
  .eyebrow { font-size: 13px; border-radius: 14px; align-items: flex-start; }
  .eyebrow .pip { margin-top: 4px; flex: none; }
  .header-inner .btn-sm { padding: 0 12px; font-size: 13px; }
  .feed { height: 316px; padding: 8px 14px 0; }
  .line { grid-template-columns: 38px 1fr; gap: 2px 10px; }
  .line .a { grid-column: 2; grid-row: 1; }
  .line .m { grid-column: 2; }
  .console-bar, .console-foot { padding-left: 14px; padding-right: 14px; }
  .stages { padding-left: 14px; padding-right: 14px; font-size: 9.5px; gap: 4px; }
}

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

/* ---------- Simple pages (privacy, thanks) ---------- */
.page { padding: clamp(48px, 8vw, 110px) 0 clamp(72px, 10vw, 130px); }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); margin: 18px 0 24px; }
.page h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 44px 0 12px; }
.page p, .page li { color: var(--muted); }
.page p + p { margin-top: 14px; }
.page ul { margin: 12px 0; }
.page ul li { padding: 4px 0 4px 18px; position: relative; }
.page ul li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 6px; height: 1px; background: var(--amber); }
.page a { color: var(--text); }
.page .updated { font-size: 14px; color: var(--faint); }

/* ---------- SEO pages and shared additions ---------- */
.hero-h1 { margin: 0 0 24px; }
.hero-h1 .eyebrow { line-height: 1.4; font-size: 14px; font-weight: 600; letter-spacing: 0; }
.hero-h1 .h1-main { display: block; margin-top: 26px; }
.section-lede a, .who-card a, .faq .answer a, .contact-list p a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 176, 0, 0.5); text-underline-offset: 3px; transition: color .3s, text-decoration-color .3s; }
.section-lede a:hover, .who-card a:hover, .faq .answer a:hover, .contact-list p a:hover { color: var(--amber); text-decoration-color: var(--amber); }
.contact-list p a { border: 0; }
.who-card a { display: inline-block; margin-top: 10px; font-weight: 600; }
.job-link { align-self: flex-start; margin-top: 4px; font-size: 14.5px; font-weight: 600; color: var(--text); text-decoration: none; display: inline-flex; gap: 6px; transition: color .3s, gap .3s var(--ease); }
.job-link:hover { color: var(--amber); gap: 10px; }

.crumbs { font-size: 14px; color: var(--faint); margin-bottom: 30px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { display: flex; gap: 6px; padding: 0 !important; }
.crumbs li::before { display: none; }
.crumbs li + li::before { content: "/"; display: inline; position: static; width: auto; height: auto; background: none; color: var(--faint); }
.crumbs a { color: var(--muted) !important; text-decoration: none; }
.crumbs a:hover { color: var(--amber) !important; }
.page .answer { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: var(--text); max-width: 40em; padding-left: 20px; border-left: 2px solid var(--amber); }
.page h2 { margin-top: 56px; }
.page h3 { font-size: 19px; margin: 28px 0 8px; color: var(--text); }
.page .example { margin: 22px 0; padding: 24px 26px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); }
.page .example p + p { margin-top: 10px; }
.page .example-label { font-size: 14px; font-weight: 600; color: var(--amber); margin-bottom: 8px; }
.page .worry { margin-top: 18px; }
.page .worry b { color: var(--text); display: block; margin-bottom: 4px; }
.page .cta-inner { margin-top: 64px; max-width: none; }
.page .cta-inner .btn { color: #111; }
.related { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.related-title { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 16px; }
.related ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 !important; }
.related li { padding: 0 !important; }
.related li::before { display: none; }
.related a { display: block; height: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); text-decoration: none; transition: border-color .3s, transform .4s var(--ease); }
.related a:hover { border-color: rgba(255, 176, 0, 0.45); transform: translateY(-2px); }
.related b { display: block; color: var(--text); margin-bottom: 4px; }
.related span { color: var(--muted); font-size: 15px; line-height: 1.45; display: block; }

.footer-inner { grid-template-columns: 1fr 2fr; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-h { color: var(--text); font-weight: 600; margin-bottom: 10px; }
.footer-nav ul { display: grid; gap: 6px; }
.footer-nav a { text-decoration: none; transition: color .3s; overflow-wrap: anywhere; }
.footer-nav a:hover { color: var(--amber); }
@media (max-width: 760px) {
  .related ul { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .footer-nav > div:last-child { grid-column: 1 / -1; }
  .hero-h1 .eyebrow { font-size: 13px; }
  .page .answer { padding-left: 16px; }
}
