/* Ironline — design system.
 *
 * Chrome, silver, black and white. No orange: the master brief's latest
 * direction supersedes the PDF's Ember palette. Three page treatments, so the
 * site is not one card stacked on another: the cinematic dark hero, light paper
 * information panels, and monochrome workflow proofs in mono type.
 *
 * Silver gradients are decoration on display type only, never on body copy, and
 * never where they would cost contrast.
 */

:root {
  --ink: #090b0f;
  --charcoal: #12161d;
  --panel: #1a1f27;
  --steel: #2a313c;
  --chrome-deep: #7f8c9c;
  --chrome-light: #d3d9e2;
  --frost: #edf1f5;
  --paper: #f6f8fa;
  --white: #ffffff;
  --hairline: rgba(218, 225, 234, 0.18);
  --hairline-strong: rgba(218, 225, 234, 0.32);
  --rule-light: #d3d9e2;
  --on-dark: #f1f4f8;
  --muted-dark: #b8c3d1;
  --on-light: #151922;
  --muted-light: #4a5361;      /* 7.4:1 on --frost */
  --focus: #d9e8ff;

  --chrome: linear-gradient(180deg, #ffffff 0%, #d3d9e2 42%, #8a96a6 58%, #e6ebf1 100%);

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --t-hero: clamp(3.2rem, 11vw, 9.5rem);
  --t-h1: clamp(2.2rem, 5.2vw, 4.4rem);
  --t-h2: clamp(1.8rem, 3.6vw, 3rem);
  --t-h3: clamp(1.15rem, 1.6vw, 1.4rem);
  --t-lead: clamp(1.08rem, 1.5vw, 1.3rem);
  --t-body: 1rem;
  --t-small: 0.875rem;
  --t-label: 0.75rem;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px;
  --s8: 32px; --s10: 40px; --s12: 48px; --s16: 64px; --s20: 80px; --s24: 96px; --s32: 128px;
  --gutter: clamp(16px, 4.5vw, 72px);
  --max: 1240px;
  --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-pill: 999px;
  --tap: 44px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --hdr-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0; background: var(--ink); color: var(--on-dark);
  font: 400 var(--t-body)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.light :focus-visible { outline-color: var(--on-light); }

.skip { position: absolute; left: var(--s4); top: -100px; z-index: 100; padding: var(--s3) var(--s4); background: var(--white); color: var(--ink); border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { top: var(--s4); }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 18px; height: 18px; flex: none; }
.kicker { font: 500 var(--t-label)/1.3 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: var(--s4); }
.light .kicker { color: var(--muted-light); }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--muted-dark); max-width: 60ch; text-wrap: pretty; }
.light .lead { color: var(--muted-light); }
.mono { font-family: var(--f-mono); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: var(--tap); padding: 0 var(--s6); border-radius: var(--r-pill);
  font: 600 0.95rem/1 var(--f-body); letter-spacing: -0.005em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn .ic { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover .ic { transform: translateX(2px); }
/* The primary action: a white button, dark text. 18.8:1. */
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--chrome-light); }
.btn--ghost { background: rgba(9, 11, 15, 0.35); color: var(--on-dark); border-color: var(--hairline-strong); }
.btn--ghost:hover { border-color: var(--chrome-light); background: rgba(255, 255, 255, 0.06); }
/* On light sections the primary inverts. */
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--steel); }
.btn--outline-dark { background: transparent; color: var(--on-light); border-color: #9aa5b3; }
.btn--outline-dark:hover { border-color: var(--on-light); }
.btn--full { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ------------------------------------------------------------- header */

.hdr { position: sticky; top: 0; z-index: 50; background: rgba(9, 11, 15, 0.92); border-bottom: 1px solid var(--hairline); }
@supports (backdrop-filter: blur(1px)) { .hdr { background: rgba(9, 11, 15, 0.78); backdrop-filter: blur(16px) saturate(140%); } }
/* Transparent only while sitting on the hero, and only when JS can switch it
   back; without JS the header is solid everywhere and always readable. */
.js .hdr.is-top { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.hdr__in { display: flex; align-items: center; gap: var(--s6); height: var(--hdr-h); max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.hdr__logo { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--on-dark); margin-right: auto; }
.wordmark { width: auto; }
.hdr__nav { display: flex; align-items: center; gap: var(--s2); }
.hdr__nav > a, .dd > summary {
  display: inline-flex; align-items: center; gap: var(--s1); min-height: var(--tap); padding: 0 var(--s3);
  font: 500 0.92rem/1 var(--f-body); color: var(--muted-dark); text-decoration: none; border-radius: var(--r-sm); cursor: pointer;
}
.hdr__nav > a:hover, .dd > summary:hover, .hdr__nav > a[aria-current] { color: var(--on-dark); }
.dd { position: relative; }
.dd > summary { list-style: none; }
.dd > summary::-webkit-details-marker { display: none; }
.dd > summary .ic { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.dd[open] > summary .ic { transform: rotate(180deg); }
.dd__menu { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px; list-style: none; padding: var(--s2); background: var(--charcoal); border: 1px solid var(--hairline-strong); border-radius: var(--r-md); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.dd__menu a { display: grid; gap: 2px; padding: var(--s3) var(--s4); border-radius: var(--r-sm); text-decoration: none; }
.dd__menu a:hover, .dd__menu a[aria-current] { background: var(--panel); }
.dd__menu span { font-weight: 600; color: var(--on-dark); }
.dd__menu small { font-size: var(--t-small); color: var(--muted-dark); }
.hdr__cta { padding-inline: var(--s5); }
.mnav { display: none; }

@media (max-width: 900px) {
  .hdr__nav, .hdr__cta { display: none; }
  .mnav { display: block; position: relative; }
  .mnav > summary { list-style: none; display: grid; place-items: center; width: var(--tap); height: var(--tap); border-radius: var(--r-sm); border: 1px solid var(--hairline-strong); cursor: pointer; }
  .mnav > summary::-webkit-details-marker { display: none; }
  .mnav__panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(320px, calc(100vw - 32px)); display: grid; gap: 2px; padding: var(--s3); background: var(--charcoal); border: 1px solid var(--hairline-strong); border-radius: var(--r-md); box-shadow: 0 24px 60px rgba(0,0,0,.55); }
  .mnav__panel a:not(.btn) { display: flex; align-items: center; min-height: var(--tap); padding: 0 var(--s3); text-decoration: none; border-radius: var(--r-sm); font-weight: 500; }
  .mnav__panel a:not(.btn):hover, .mnav__panel a[aria-current] { background: var(--panel); }
  .mnav__panel .btn { margin-top: var(--s2); }
}

/* --------------------------------------------------------------- hero */

.hero { position: relative; min-height: calc(100svh - var(--hdr-h)); display: grid; place-items: center; overflow: hidden; isolation: isolate; margin-top: calc(var(--hdr-h) * -1); padding-top: var(--hdr-h); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media video { opacity: 0; transition: opacity 0.8s ease; }
.hero__media video.is-playing { opacity: 1; }
/* The scrim: dark where the words sit, so the copy is readable on every frame
   of the footage rather than on the poster alone. */
.hero__scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(48% 46% at 50% 47%, rgba(9,11,15,.82) 0%, rgba(9,11,15,.55) 55%, rgba(9,11,15,0) 100%),
    linear-gradient(180deg, rgba(9,11,15,.55) 0%, rgba(9,11,15,0) 22%, rgba(9,11,15,0) 70%, rgba(9,11,15,.95) 100%); }
.hero__in { position: relative; text-align: center; padding: var(--s16) var(--gutter) var(--s24); max-width: 900px; display: grid; justify-items: center; gap: var(--s5); }
.hero__eyebrow { font: 500 var(--t-label)/1.4 var(--f-mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--chrome-light); }
.hero__mark { font-family: var(--f-display); font-weight: 600; font-stretch: 112%; font-size: var(--t-hero); line-height: 0.9; letter-spacing: 0.06em; text-indent: 0.06em;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__mark .wordmark { height: clamp(44px, 10.5vw, 132px); width: auto; color: var(--white); filter: drop-shadow(0 2px 30px rgba(0,0,0,.6)); }
.hero h1 { font-size: var(--t-h1); color: var(--white); }
.hero__sub { font-size: var(--t-lead); color: #dfe5ec; max-width: 54ch; line-height: 1.5; text-wrap: pretty; }
.hero__note { font-size: var(--t-small); color: var(--muted-dark); }
.hero__ctrl { position: absolute; right: var(--gutter); bottom: var(--s6); display: flex; align-items: center; gap: var(--s3); z-index: 2; }
.hero__ctrl button { display: inline-grid; place-items: center; width: var(--tap); height: var(--tap); border-radius: var(--r-pill); background: rgba(9,11,15,.55); border: 1px solid var(--hairline-strong); color: var(--on-dark); cursor: pointer; }
.hero__ctrl button:hover { border-color: var(--chrome-light); }
.hero__ctrl small { font: 500 0.7rem/1.3 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dark); max-width: 22ch; text-align: right; }
.hero__strip { position: absolute; left: 0; right: 0; bottom: var(--s6); display: flex; justify-content: center; gap: var(--s6); font: 500 var(--t-label)/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); pointer-events: none; }
.hero__strip span + span::before { content: "/"; margin-right: var(--s6); color: var(--chrome-deep); }
@media (max-width: 760px) {
  .hero { min-height: calc(100svh - var(--hdr-h)); align-items: start; }
  .hero__in { padding-top: var(--s12); padding-bottom: var(--s20); gap: var(--s4); }
  .hero__scrim { background:
    linear-gradient(180deg, rgba(9,11,15,.7) 0%, rgba(9,11,15,.6) 55%, rgba(9,11,15,.25) 75%, rgba(9,11,15,.92) 100%); }
  .hero .btn-row { width: 100%; flex-direction: column; }
  .hero .btn-row .btn { width: 100%; }
  .hero__strip { display: none; }
  .hero__ctrl { left: var(--gutter); right: var(--gutter); justify-content: space-between; flex-direction: row-reverse; }
  .hero__ctrl small { text-align: left; }
}

/* ------------------------------------------------------------ sections */

.sec { padding-block: clamp(var(--s16), 9vw, var(--s32)); position: relative; }
.sec--tight { padding-block: clamp(var(--s12), 6vw, var(--s20)); }
.sec__head { display: grid; gap: var(--s4); max-width: 760px; margin-bottom: clamp(var(--s10), 5vw, var(--s16)); }
.sec__head h2 { font-size: var(--t-h2); }
.sec__head--center { margin-inline: auto; text-align: center; justify-items: center; }
/* The perspective lines of the corridor become single horizontal rules. */
.rule { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, var(--hairline-strong) 20%, var(--hairline-strong) 80%, transparent); }

.light { background: var(--frost); color: var(--on-light); }
.light .rule { background: var(--rule-light); }
.paper { background: var(--paper); }

/* Arriving at the vanishing point: two lines resolve into two paths. */
.split { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--s4), 2.4vw, var(--s8)); }
.split::before { content: ""; position: absolute; left: 50%; top: -72px; height: 72px; width: 1px; background: linear-gradient(180deg, transparent, var(--chrome-deep)); }
.path { position: relative; display: grid; gap: var(--s5); align-content: start; padding: clamp(var(--s6), 3vw, var(--s10)); background: var(--charcoal); border: 1px solid var(--hairline); border-radius: var(--r-lg); text-decoration: none; overflow: hidden; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.path::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); }
.path:hover { border-color: var(--hairline-strong); transform: translateY(-2px); }
.path__ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--hairline-strong); color: var(--chrome-light); }
.path__ic .ic { width: 22px; height: 22px; }
.path h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.path p { color: var(--muted-dark); max-width: 42ch; }
.path__go { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; color: var(--on-dark); margin-top: var(--s2); }
.split--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split--3::before { display: none; }
@media (max-width: 960px) { .split--3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split::before { display: none; } }

/* Problem panel on paper. */
.problem { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(var(--s8), 5vw, var(--s20)); align-items: center; }
.problem h2 { font-size: var(--t-h2); margin-bottom: var(--s6); }
.problem p { color: var(--muted-light); font-size: var(--t-lead); line-height: 1.6; max-width: 54ch; }
.tags { display: grid; gap: var(--s3); }
.tag { display: flex; align-items: center; gap: var(--s4); padding: var(--s5) var(--s6); background: var(--white); border: 1px solid var(--rule-light); border-radius: var(--r-md); font-weight: 600; }
.tag .ic { color: var(--on-light); }
.tag span { font: 500 var(--t-label)/1 var(--f-mono); color: var(--muted-light); margin-left: auto; letter-spacing: 0.1em; }
@media (max-width: 860px) { .problem { grid-template-columns: 1fr; } }

/* ---------------------------------------------------- workflow (mono) */

.flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(var(--s8), 5vw, var(--s20)); align-items: start; }
.flow__copy h2 { font-size: var(--t-h2); margin-bottom: var(--s5); }
.thread { background: var(--charcoal); border: 1px solid var(--hairline-strong); border-radius: var(--r-lg); padding: var(--s6); display: grid; gap: var(--s4); position: relative; }
.thread__label { position: absolute; top: calc(var(--s3) * -1); left: var(--s6); padding: var(--s1) var(--s3); background: var(--ink); border: 1px solid var(--hairline-strong); border-radius: var(--r-pill); font: 500 0.7rem/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--chrome-light); }
.step { display: grid; grid-template-columns: 64px 1fr; gap: var(--s4); align-items: start; padding-top: var(--s3); }
.step + .step { border-top: 1px dashed var(--hairline); }
.step__t { font: 500 0.8rem/1.6 var(--f-mono); color: var(--muted-dark); }
.step__k { font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--chrome-light); margin-bottom: var(--s2); display: flex; align-items: center; gap: var(--s2); }
.step__k .ic { width: 14px; height: 14px; }
.bubble { background: var(--panel); border: 1px solid var(--hairline); border-radius: 14px 14px 14px 4px; padding: var(--s3) var(--s4); color: var(--on-dark); font-size: 0.95rem; line-height: 1.5; max-width: 46ch; }
.bubble--out { border-radius: 14px 14px 4px 14px; background: #232a35; }
.bubble--human { border-color: var(--chrome-deep); }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- pricing */

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(var(--s3), 1.6vw, var(--s6)); }
.plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
.plan { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: var(--s5); padding: clamp(var(--s6), 2.4vw, var(--s8)); background: var(--white); color: var(--on-light); border: 1px solid var(--rule-light); border-radius: var(--r-lg); }
.plan--standard { border-color: var(--on-light); box-shadow: 0 0 0 1px var(--on-light); }
.plan__flag { position: absolute; top: calc(var(--s3) * -1); left: var(--s6); padding: var(--s1) var(--s3); background: var(--on-light); color: var(--white); border-radius: var(--r-pill); font: 500 0.7rem/1.5 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.plan h3 { font-size: 1.5rem; }
.plan__problem { color: var(--muted-light); }
.price { display: grid; gap: var(--s3); margin: 0; padding: var(--s4) 0; border-block: 1px solid var(--rule-light); }
.price__row { display: grid; gap: var(--s1); }
.price dt { font: 500 var(--t-label)/1.2 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-light); }
.price dd { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s2); }
.price strong { font: 800 clamp(1.6rem, 2.6vw, 2.1rem)/1 var(--f-display); font-stretch: 112%; letter-spacing: -0.02em; }
.price__per { color: var(--muted-light); font-size: var(--t-small); }
.price__basis { width: 100%; font-size: var(--t-small); color: var(--muted-light); }
.list { list-style: none; display: grid; gap: var(--s3); }
.list li { display: grid; grid-template-columns: 20px 1fr; gap: var(--s3); font-size: 0.95rem; line-height: 1.45; }
.list .ic { width: 18px; height: 18px; margin-top: 1px; }
.list--x li { color: var(--muted-light); }
.plan__sub { font: 500 var(--t-label)/1.2 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-light); margin-bottom: var(--s3); }
.plan__foot { display: grid; gap: var(--s3); }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .plans--2 { grid-template-columns: 1fr; } }

.tabs { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s10); }
.tabs a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--s5); border-radius: var(--r-pill); border: 1px solid #b9c2ce; text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.tabs a:hover { border-color: var(--on-light); }
.group { scroll-margin-top: calc(var(--hdr-h) + 24px); }
.group + .group { margin-top: clamp(var(--s16), 7vw, var(--s24)); }
.group__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s8); }
.group__head h2 { font-size: var(--t-h2); }
.group__head p { color: var(--muted-light); max-width: 52ch; }

.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s8); }
.note { padding: var(--s6); border-radius: var(--r-md); background: var(--white); border: 1px solid var(--rule-light); }
.note h3 { font-size: 1.05rem; margin-bottom: var(--s2); }
.note p { color: var(--muted-light); font-size: 0.95rem; }
@media (max-width: 900px) { .notes { grid-template-columns: 1fr; } }

.extra { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.extra__item { display: grid; gap: var(--s3); padding: var(--s6); border: 1px solid var(--rule-light); border-radius: var(--r-md); background: var(--white); }
.extra__item h3 { font-size: 1.15rem; }
.extra__item p { color: var(--muted-light); font-size: 0.95rem; }
.extra__price { font: 600 1rem/1.4 var(--f-mono); }
@media (max-width: 760px) { .extra { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------- process */

.stages { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); counter-reset: st; }
.stages--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stage { counter-increment: st; padding: var(--s6); border-top: 1px solid var(--hairline-strong); display: grid; gap: var(--s3); align-content: start; }
.light .stage { border-top-color: var(--on-light); }
.stage::before { content: counter(st, decimal-leading-zero); font: 500 0.8rem/1 var(--f-mono); color: var(--muted-dark); letter-spacing: 0.1em; }
.light .stage::before { color: var(--muted-light); }
.stage h3 { font-size: var(--t-h3); }
.stage p { color: var(--muted-dark); font-size: 0.95rem; }
.light .stage p { color: var(--muted-light); }
@media (max-width: 980px) { .stages, .stages--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stages, .stages--6 { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- screen frames */

.screen { margin: 0; position: relative; border: 1px solid var(--steel); border-radius: var(--r-md); overflow: hidden; background: var(--charcoal); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 30px 70px rgba(0,0,0,.45); }
.screen::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(211,217,226,.12); pointer-events: none; z-index: 1; }
.screen img { width: 100%; height: auto; }
.screen__label { position: absolute; left: var(--s3); top: var(--s3); z-index: 2; padding: var(--s1) var(--s3); border-radius: var(--r-pill); background: rgba(9,11,15,.82); border: 1px solid var(--hairline-strong); font: 500 0.68rem/1.5 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark); }
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(var(--s4), 2.4vw, var(--s8)); }
.work { display: grid; gap: var(--s4); }
.work h3 { font-size: 1.25rem; }
.work p { color: var(--muted-dark); font-size: 0.95rem; }
.work__meta { font: 500 var(--t-label)/1.3 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); }
@media (max-width: 760px) { .works { grid-template-columns: 1fr; } }

/* The rail that stands in for a review marquee until real reviews exist:
   steps of the work, not endorsements. */
.rail { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rail__row { display: flex; gap: var(--s3); width: max-content; animation: rail 48s linear infinite; }
.rail__row--rev { animation-direction: reverse; margin-top: var(--s3); }
.rail__item { display: inline-flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s5); border: 1px solid var(--hairline); border-radius: var(--r-pill); font: 500 0.8rem/1 var(--f-mono); color: var(--muted-dark); white-space: nowrap; }
.rail__item b { color: var(--on-dark); font-weight: 500; }
.rail:hover .rail__row { animation-play-state: paused; }
@keyframes rail { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ details */

.faq { display: grid; gap: var(--s3); max-width: 860px; }
.faq details { border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--charcoal); }
.light .faq details { border-color: var(--rule-light); background: var(--white); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 60px; padding: var(--s4) var(--s6); font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform 0.2s var(--ease); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details > div { padding: 0 var(--s6) var(--s6); color: var(--muted-dark); display: grid; gap: var(--s3); }
.light .faq details > div { color: var(--muted-light); }

/* --------------------------------------------------------------- page head */

.phead { padding-block: clamp(var(--s16), 9vw, var(--s24)) clamp(var(--s10), 5vw, var(--s16)); border-bottom: 1px solid var(--hairline); position: relative; overflow: hidden; }
.phead::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent); }
.phead h1 { font-size: var(--t-h1); max-width: 18ch; margin-bottom: var(--s5); }
.phead .lead { max-width: 58ch; }
.phead .btn-row { margin-top: var(--s8); }

.cta { text-align: center; display: grid; justify-items: center; gap: var(--s5); }
.cta h2 { font-size: var(--t-h2); }
.cta p { color: var(--muted-dark); max-width: 52ch; font-size: var(--t-lead); }

.prose { max-width: 72ch; display: grid; gap: var(--s5); }
.prose h2 { font-size: 1.6rem; margin-top: var(--s8); }
.prose h3 { font-size: 1.15rem; margin-top: var(--s4); }
.prose p, .prose li { color: var(--muted-light); }
.prose ul { padding-left: 1.2rem; display: grid; gap: var(--s2); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(var(--s8), 5vw, var(--s16)); align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

.callout { padding: var(--s6) var(--s8); border-radius: var(--r-lg); border: 1px solid var(--hairline-strong); background: var(--charcoal); display: grid; gap: var(--s3); }
.light .callout { background: var(--white); border-color: var(--rule-light); }

/* ------------------------------------------------------------------ book */

.book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(var(--s8), 5vw, var(--s16)); align-items: start; }
/* minmax(0, …), not 1fr: a plain 1fr track will not shrink below its widest
   content, and the form's widest content is wider than a phone. */
@media (max-width: 960px) { .book { grid-template-columns: minmax(0, 1fr); } .aside { position: static; } }
.form { display: grid; gap: var(--s8); min-width: 0; }
.fs { border: 1px solid var(--rule-light); border-radius: var(--r-lg); padding: var(--s6) var(--s6) var(--s8); margin: 0; background: var(--white); display: grid; gap: var(--s5); min-width: 0; }
.fs legend { padding: 0 var(--s2); font: 800 1.25rem/1.2 var(--f-display); font-stretch: 112%; }
.fs__n { font: 500 var(--t-label)/1 var(--f-mono); letter-spacing: 0.1em; color: var(--muted-light); display: block; margin-bottom: var(--s2); }
.field { display: grid; gap: var(--s2); }
.field label, .field .lbl { font-weight: 600; font-size: 0.95rem; }
.field small { color: var(--muted-light); font-size: var(--t-small); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: var(--s3) var(--s4); border-radius: var(--r-sm); border: 1px solid #9aa5b3; background: var(--white); color: var(--on-light); font: 400 1rem/1.4 var(--f-body);
}
.field textarea { min-height: 96px; resize: vertical; }
.field :is(input, select, textarea):focus-visible { outline: 2px solid var(--on-light); outline-offset: 1px; border-color: var(--on-light); }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s2); }
.choice { display: flex; align-items: center; gap: var(--s3); min-height: var(--tap); padding: var(--s3) var(--s4); border: 1px solid #b9c2ce; border-radius: var(--r-sm); cursor: pointer; font-weight: 500; }
.choice:has(input:checked) { border-color: var(--on-light); box-shadow: inset 0 0 0 1px var(--on-light); }
.choice input { width: 18px; height: 18px; accent-color: var(--on-light); flex: none; margin: 0; }
.consent { display: flex; gap: var(--s3); align-items: start; font-size: 0.92rem; color: var(--muted-light); }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--on-light); }
.fitbox { padding: var(--s5); border-radius: var(--r-md); background: var(--frost); border: 1px solid var(--rule-light); display: grid; gap: var(--s2); }
.fitbox strong { font-family: var(--f-mono); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.aside { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; gap: var(--s4); }
.blocked { padding: var(--s6); border-radius: var(--r-md); border: 1px dashed #8a6a00; background: #fff8e1; color: #3d2f00; display: grid; gap: var(--s2); }
.blocked strong { font-weight: 700; }

/* JS turns the one long form into short steps; without JS every step shows. */
.js .form[data-steps] .fs[hidden] { display: none; }
.steps-nav { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between; }
.steps-nav .btn { flex: 1 1 auto; }
.progress { height: 3px; background: var(--rule-light); border-radius: 999px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--on-light); transition: width 0.3s var(--ease); }

/* --------------------------------------------------------- need chips */

/* A missing fact, shown loudly in a preview build. Never rendered in production. */
.need { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; margin: 0 2px; border-radius: 6px; background: #fff3c4; color: #3d2f00; border: 1px solid #e0b100; font: 500 0.72rem/1.5 var(--f-mono); letter-spacing: 0.02em; vertical-align: middle; white-space: normal; text-transform: none; }
.need__k { font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.pv { position: relative; z-index: 60; padding: 0 var(--gutter); background: #fff3c4; color: #3d2f00; font-size: var(--t-small); text-align: center; border-bottom: 1px solid #e0b100; }
.pv a { color: inherit; font-weight: 600; display: inline-flex; align-items: center; min-height: var(--tap); padding-inline: var(--s2); }

/* --------------------------------------------------------------- footer */

.ftr { border-top: 1px solid var(--hairline); padding-block: var(--s16) var(--s8); background: var(--ink); }
.ftr__in { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: var(--s8); }
.ftr__brand { display: grid; gap: var(--s4); align-content: start; }
.ftr__brand > a { display: inline-flex; align-items: center; min-height: var(--tap); justify-self: start; }
.ftr__brand p { color: var(--muted-dark); max-width: 34ch; font-size: 0.95rem; }
.ftr__col { display: grid; gap: var(--s1); align-content: start; }
.ftr__col h2 { font: 500 var(--t-label)/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: var(--s3); }
.ftr__col a { display: flex; align-items: center; min-height: var(--tap); color: var(--on-dark); text-decoration: none; font-size: 0.95rem; }
.ftr__col a:hover { text-decoration: underline; }
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); margin-top: var(--s12); padding-top: var(--s6); border-top: 1px solid var(--hairline); color: var(--muted-dark); font-size: var(--t-small); }
.ftr__legal a { color: var(--muted-dark); }
@media (max-width: 860px) { .ftr__in { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- motion */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .rail__row { animation: none; flex-wrap: wrap; width: auto; }
  .rail__row--rev { display: none; }
  .hero__media video { display: none; }
}
