/* Excutia marketing site.
   Design system: the platform's soft aurora ("The Lit Desk"), at marketing scale.
   Tokens follow adOps-agent/frontend/src/styles/tokens.css. Light is the only
   theme here; dark bands re-declare the platform's hand-checked dark values. */

@property --ang {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  /* Surfaces */
  --canvas: #f4f5f8;
  --surface: #ffffff;
  --mist: #f1f2f6;
  --mist-2: #e9ebf1;
  --glass: rgba(255, 255, 255, 0.82);

  /* Ink */
  --ink: #1b1f2a;
  --ink-2: #4b5263;
  --ink-3: #636a7b;
  --hair: #e6e8ee;
  --line: #d9dde5;

  /* Meaning: violet navigates and selects, green verifies, amber limits, red fails */
  --accent: #5b4dd6;
  --accent-ink: #4636c2;
  --accent-soft: #efedfc;
  --ok: #1e7a55;
  --ok-soft: #e5f4ec;
  --warn: #8f570c;
  --warn-soft: #fbf0df;
  --bad: #b42318;
  --bad-soft: #fdecea;

  /* Aurora: live or working. Never a status. */
  --a1: #6fe0c2;
  --a2: #86beff;
  --a3: #ae9bff;
  --a4: #ff9fc4;
  --a5: #ffc08f;
  --aurora: conic-gradient(from var(--ang), var(--a1), var(--a2), var(--a3), var(--a4), var(--a5), var(--a1));

  /* Radius: one continuous scale, nothing square */
  --r-xs: 8px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* Space: 4px base */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;

  /* Depth */
  --shadow-1: 0 1px 2px rgba(20, 24, 36, 0.05);
  --shadow-rest: 0 1px 2px rgba(20, 24, 36, 0.04), 0 4px 16px -10px rgba(20, 24, 36, 0.1);
  --shadow-float: 0 1px 2px rgba(20, 24, 36, 0.04), 0 10px 30px -10px rgba(20, 24, 36, 0.14);
  --shadow-panel: 0 1px 2px rgba(20, 24, 36, 0.05), 0 24px 60px -18px rgba(20, 24, 36, 0.22);
  --shadow-pop: 0 1px 2px rgba(20, 24, 36, 0.06), 0 16px 40px -12px rgba(20, 24, 36, 0.28);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-pop: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 120ms;
  --t-mid: 200ms;
  --t-slow: 320ms;

  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --focus: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent), 0 0 0 9px color-mix(in srgb, var(--accent) 16%, transparent);

  /* Marketing scale: larger than the workspace, same family and tracking logic */
  --fs-display: clamp(2.6rem, 5.4vw, 4.25rem);
  --fs-h2: clamp(1.85rem, 3.2vw, 2.85rem);
  --fs-h3: clamp(1.2rem, 1.5vw, 1.4rem);
  --fs-lede: clamp(1.05rem, 1.3vw, 1.25rem);

  --maxw: 1180px;
  --gutter: clamp(20px, 4.2vw, 48px);
  --section-pad: clamp(64px, 8vw, 116px);

  color-scheme: light;
  accent-color: var(--accent);
}

/* Dark bands re-declare the platform's dark surface set, so every component
   inside them adapts without a second rule. */
.band-dark {
  --canvas: #0d0f14;
  --surface: #14171e;
  --mist: #1b1f28;
  --mist-2: #232733;
  --glass: rgba(24, 28, 37, 0.82);
  --ink: #edeff4;
  --ink-2: #a8afbe;
  --ink-3: #868d9c;
  --hair: #262b36;
  --line: #333947;
  --accent: #a79bff;
  --accent-ink: #c7beff;
  --accent-soft: #241f3d;
  --ok: #6fd3a5;
  --ok-soft: #14291f;
  --warn: #e9b166;
  --warn-soft: #2a2013;
  --bad: #f58e86;
  --bad-soft: #2d1917;
  --a1: #56c9aa;
  --a2: #6ba8f0;
  --a3: #9a85f5;
  --a4: #f084b0;
  --a5: #f0a97a;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-float: 0 1px 2px rgba(0, 0, 0, 0.35), 0 12px 32px -12px rgba(0, 0, 0, 0.7);
  --shadow-panel: 0 1px 2px rgba(0, 0, 0, 0.4), 0 28px 64px -20px rgba(0, 0, 0, 0.8);
  --btn-fg: #14171e;
  background: var(--canvas);
  color: var(--ink);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  scrollbar-color: var(--line) var(--canvas);
  scrollbar-width: thin;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--accent);
}

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

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: var(--canvas);
}
::-webkit-scrollbar-thumb {
  background: var(--line);
  border: 3px solid var(--canvas);
  border-radius: var(--r-pill);
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

/* The halo focus rule: the same two-layer ring on every focusable control */
:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: var(--r-sm);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  text-wrap: balance;
}

p,
figure {
  margin: 0;
}

.num {
  font-variant-numeric: tabular-nums;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -80px;
  z-index: 100;
  padding: var(--s-3) var(--s-4);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-float);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: var(--s-4);
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-pad);
}

.h2 {
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.024em;
  max-width: 19ch;
}
.lede {
  margin-top: var(--s-5);
  max-width: 62ch;
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--ink-2);
}
.closing-line {
  margin-top: var(--s-10);
  padding-top: var(--s-6);
  border-top: 1px solid var(--hair);
  font-size: 19px;
  font-weight: 600;
}

/* ---------- Aurora: live, or working ---------- */

.glow-wrap {
  position: relative;
}
.halo {
  position: absolute;
  inset: -10px;
  border-radius: 34px;
  background: var(--aurora);
  filter: blur(20px);
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease);
  pointer-events: none;
}
.glow-wrap.is-live .halo {
  opacity: 0.5;
  animation: aurora 4.5s linear infinite;
}
.ring::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--aurora);
  -webkit-mask: linear-gradient(black 0 0) content-box, linear-gradient(black 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(black 0 0) content-box, linear-gradient(black 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease);
  pointer-events: none;
}
.is-live .ring::before,
.ring.is-live::before,
.ring:focus-within::before {
  opacity: 1;
  animation: aurora 4.5s linear infinite;
}
@keyframes aurora {
  to {
    --ang: 360deg;
  }
}

/* ---------- Brand mark ---------- */

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.mark svg {
  width: 30px;
  height: 30px;
  flex: none;
}
.mark span {
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg, #ffffff);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), box-shadow var(--t-mid) var(--ease), transform var(--t-fast) var(--ease);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform var(--t-mid) var(--ease);
}
.btn:hover {
  --btn-bg: var(--accent-ink);
  box-shadow: var(--shadow-float);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn:active {
  transform: translateY(1px);
}
.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
}
.btn-soft {
  --btn-bg: var(--mist);
  color: var(--ink);
}
.btn-soft:hover {
  --btn-bg: var(--mist-2);
}
.btn-quiet {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.btn-quiet:hover {
  color: var(--ink);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.link-arrow svg {
  width: 17px;
  height: 17px;
  transition: transform var(--t-mid) var(--ease);
}
.link-arrow:hover svg {
  transform: translateY(2px);
}
.band-dark .link-arrow {
  color: var(--accent-ink);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--canvas);
  transition: box-shadow var(--t-mid) var(--ease), background-color var(--t-mid) var(--ease);
}
.site-header.is-past-hero {
  background: var(--surface);
  box-shadow: var(--shadow-rest);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  min-height: 72px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}
.site-nav ul {
  display: flex;
  gap: var(--s-6);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a:not(.btn) {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding: 12px 2px;
  transition: color var(--t-fast) var(--ease);
}
.site-nav a:not(.btn):hover {
  color: var(--ink);
}
.btn-label-short {
  display: none;
}

/* ---------- Hero ---------- */

/* The founder's pinned line, set as a chip rather than an uppercase kicker */
.line-id {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: var(--s-5);
  padding: 7px 16px 7px 11px;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.line-id::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--aurora);
  animation: aurora 4.5s linear infinite;
}


.hero {
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -320px;
  right: -180px;
  width: 900px;
  height: 900px;
  background: var(--aurora);
  filter: blur(120px);
  opacity: 0.32;
  animation: aurora 26s linear infinite;
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(48px, 7vw, 92px) clamp(56px, 8vw, 104px);
}
.hero h1 {
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.032em;
  max-width: 14ch;
}
.hero-sub {
  margin-top: var(--s-5);
  max-width: 38ch;
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--ink-2);
}
.hero-note {
  margin-top: var(--s-3);
  font-size: 14px;
  color: var(--ink-3);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4) var(--s-6);
  margin-top: var(--s-5);
}

/* The capture field borrows the product's composer: one floating surface that
   lights with the aurora while it has focus. */
.capture {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-8);
  padding: 7px 7px 7px 18px;
  max-width: 480px;
  background: var(--surface);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-float);
}
.capture input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.capture input::placeholder {
  color: var(--ink-3);
}
.capture input:focus {
  outline: none;
}
.capture input:focus-visible {
  box-shadow: none;
}
.capture .btn {
  flex: none;
}
.capture__note {
  margin-top: var(--s-3);
  font-size: 14px;
  color: var(--ink-3);
}
.capture__error {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--s-3);
  font-size: 14px;
  font-weight: 600;
  color: var(--bad);
}
.capture__error[hidden] {
  display: none;
}
.capture__error svg {
  width: 16px;
  height: 16px;
}

/* The loop: the seven stations a test rides, with the board standing in front */
.loop-frame {
  --ring-w: 3px;
  --ring-t: 40px;
  --ring-l: 10%;
  --ring-r: 10px;
  --ring-c: 34px;
  position: relative;
  padding-block: 74px;
}
.loop-frame__line {
  position: absolute;
  top: var(--ring-t);
  bottom: var(--ring-t);
  left: var(--ring-l);
  right: var(--ring-r);
  background: color-mix(in srgb, var(--accent) 55%, transparent);
  clip-path: polygon(var(--ring-c) 0, calc(100% - var(--ring-c)) 0, 100% var(--ring-c), 100% calc(100% - var(--ring-c)), calc(100% - var(--ring-c)) 100%, var(--ring-c) 100%, 0 calc(100% - var(--ring-c)), 0 var(--ring-c));
  pointer-events: none;
}
.loop-frame__line::after {
  --inner-c: calc(var(--ring-c) - var(--ring-w) * 0.414);
  content: "";
  position: absolute;
  inset: var(--ring-w);
  background: var(--canvas);
  clip-path: polygon(var(--inner-c) 0, calc(100% - var(--inner-c)) 0, 100% var(--inner-c), 100% calc(100% - var(--inner-c)), calc(100% - var(--inner-c)) 100%, var(--inner-c) 100%, 0 calc(100% - var(--inner-c)), 0 var(--inner-c));
}
.loop-frame__stop,
.loop-frame__name {
  --stop-x: calc(var(--ring-l) + (100% - var(--ring-l) - var(--ring-r)) * var(--x));
  position: absolute;
  z-index: 1;
  left: var(--stop-x);
}
.loop-frame [data-stop="0"] { --x: 0.16; }
.loop-frame [data-stop="1"] { --x: 0.39; }
.loop-frame [data-stop="2"] { --x: 0.62; }
.loop-frame [data-stop="3"] { --x: 0.85; }
.loop-frame [data-stop="4"] { --x: 0.85; }
.loop-frame [data-stop="5"] { --x: 0.505; }
.loop-frame [data-stop="6"] { --x: 0.16; }
.loop-frame__stop {
  top: calc(var(--ring-t) + var(--ring-w) / 2);
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--accent) 55%, transparent);
  transition: transform var(--t-slow) var(--ease), background-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.loop-frame__stop[data-stop="4"],
.loop-frame__stop[data-stop="5"],
.loop-frame__stop[data-stop="6"] {
  top: calc(100% - var(--ring-t) - var(--ring-w) / 2);
}
.loop-frame__stop.is-active {
  background: var(--a3);
  box-shadow: inset 0 0 0 3px var(--a3), 0 0 0 6px color-mix(in srgb, var(--a3) 22%, transparent);
  transform: scale(1.5);
}
.loop-frame__name {
  top: 8px;
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-3);
  white-space: nowrap;
  transition: background-color var(--t-mid) var(--ease), color var(--t-mid) var(--ease);
}
.loop-frame__name[data-stop="4"],
.loop-frame__name[data-stop="5"],
.loop-frame__name[data-stop="6"] {
  top: auto;
  bottom: 8px;
}
.loop-frame__name.is-active {
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 600;
}

/* ---------- The platform display: an example experiment ---------- */

.display {
  position: relative;
  z-index: 2;
  width: calc(100% - 56px);
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-float);
}
.display__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 14px 20px;
  border-bottom: 1px solid var(--hair);
  font-size: 13px;
  color: var(--ink-3);
}
.display__head span {
  white-space: nowrap;
}
.display__head .id {
  font-weight: 600;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.display__strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin: 0;
  padding: 16px 20px 0;
}
.display__strip li {
  list-style: none;
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--mist-2);
  transition: background-color var(--t-mid) var(--ease);
}
.display__strip li.is-done {
  background: color-mix(in srgb, var(--accent) 45%, var(--mist-2));
}
.display__strip li.is-active {
  background: var(--accent);
}
.display__strip-now {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 10px 20px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.display__strip-now span + span {
  color: var(--ink-3);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.display__body {
  padding: 16px 20px 20px;
}
.display__title {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.016em;
  line-height: 1.2;
  margin-bottom: var(--s-4);
}
.display__rows {
  display: grid;
  gap: 10px;
  margin: 0;
}
.display__rows div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: var(--s-3);
  align-items: baseline;
}
.display__rows dt {
  font-size: 13px;
  color: var(--ink-3);
}
.display__rows dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.display__rows .display__status-row {
  min-height: 3em;
}
.display__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.status-lamp {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--a3);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--a3) 22%, transparent);
  flex: none;
}
.display__status[data-state="result"] .status-lamp,
.display__status[data-state="logged"] .status-lamp {
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 18%, transparent);
}
.display__status-text.is-changing {
  animation: fade-up 420ms var(--ease-pop);
}
@keyframes fade-up {
  from {
    opacity: 0.2;
    transform: translateY(6px);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ---------- Track record ---------- */

.record {
  padding-block: clamp(56px, 7vw, 96px);
}
.record__statement {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
  max-width: 17ch;
}
.record .figure {
  color: var(--ok);
  font-variant-numeric: tabular-nums;
}
.record__second {
  margin-top: var(--s-4);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
/* The product's proof control: a figure is a button, and its receipt is one click away */
.fig {
  display: inline-flex;
  align-items: baseline;
  gap: 0.18em;
  padding: 0 0.08em;
  border: 0;
  border-radius: var(--r-xs);
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.fig__mark {
  display: inline-grid;
  place-items: center;
  min-width: 1.35em;
  height: 1.35em;
  border-radius: var(--r-pill);
  background: var(--mist);
  color: var(--ink-2);
  font-size: 0.32em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.record__second .fig__mark {
  font-size: 0.45em;
}
.fig:hover,
.fig[aria-expanded="true"] {
  background: var(--accent-soft);
}
.fig:hover .figure,
.fig[aria-expanded="true"] .figure {
  color: var(--accent-ink);
}
.fig:hover .fig__mark,
.fig[aria-expanded="true"] .fig__mark {
  background: var(--accent);
  color: var(--surface);
}
.proof {
  margin-top: var(--s-5);
  padding: var(--s-5);
  max-width: 62ch;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.proof__title {
  font-size: 16px;
  font-weight: 600;
}
.proof ul {
  display: grid;
  gap: var(--s-2);
  margin: var(--s-3) 0 0;
  padding: 0 0 0 20px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.5;
}
.record__hint {
  color: var(--ink-3);
}

.record__caption {
  margin-top: var(--s-4);
  font-size: 15px;
  color: var(--ink-3);
}
.record__lines {
  margin-top: var(--s-12);
  padding-top: var(--s-6);
  border-top: 1px solid var(--hair);
}
.record__lines-label {
  font-size: 15px;
  color: var(--ink-2);
}
.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-3);
  margin: var(--s-4) 0 0;
  padding: 0;
  list-style: none;
}
/* The logo wall always sits on white, whatever band it is in */
.platforms li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 16px 0 12px;
  border-radius: var(--r-pill);
  background: #ffffff;
  color: #1b1f2a;
  font-size: 15px;
  font-weight: 500;
}
.platforms svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.record__measured {
  margin-top: var(--s-4);
  font-size: 14px;
  color: var(--ink-3);
}

/* ---------- Three questions ---------- */

.notices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-6);
  margin-top: var(--s-10);
}
.notice {
  padding: var(--s-6);
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}
.notice__q {
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -0.014em;
}
.notice p {
  margin-top: var(--s-3);
  color: var(--ink-2);
  font-size: 15.5px;
}

/* ---------- The loop section ---------- */

.loop-section .loop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 80px);
  margin-top: var(--s-12);
  align-items: start;
}
.loop-map {
  position: sticky;
  top: 104px;
  align-self: start;
  padding: var(--s-6);
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-float);
}
.loop-map svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.loop-map__caption {
  margin-top: var(--s-4);
  font-size: 14px;
  color: var(--ink-3);
}
.loop-map .track {
  stroke: color-mix(in srgb, var(--accent) 55%, transparent);
}
.loop-map .stop circle {
  fill: var(--surface);
  stroke: color-mix(in srgb, var(--accent) 55%, transparent);
  stroke-width: 5;
  transition: fill var(--t-mid) var(--ease), stroke var(--t-mid) var(--ease);
}
.loop-map .stop.is-done circle {
  fill: color-mix(in srgb, var(--accent) 55%, transparent);
}
.loop-map .stop.is-active circle {
  fill: var(--accent);
  stroke: var(--accent);
}
.loop-map .stop text {
  font-size: 17px;
  font-weight: 500;
  fill: var(--ink-3);
}
.loop-map .stop.is-active text {
  font-weight: 600;
  fill: var(--ink);
}
.loop-map .center-name {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  fill: var(--ink);
}
.loop-map .center-get {
  font-size: 16px;
  fill: var(--ink-2);
}
.loop-map .train {
  fill: var(--a3);
  stroke: var(--surface);
  stroke-width: 3;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--s-3);
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: var(--s-4);
  padding: var(--s-4);
  border-radius: var(--r-lg);
  scroll-margin-top: 140px;
  transition: background-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.step.is-active {
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.step__num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--mist);
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background-color var(--t-mid) var(--ease), color var(--t-mid) var(--ease);
}
.step.is-active .step__num {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.step h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -0.014em;
}
.step p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 15.5px;
  max-width: 46ch;
}
.step__get {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-top: var(--s-3);
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--mist);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.after-steps {
  margin-top: var(--s-8);
}

/* ---------- The brain ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.points {
  display: grid;
  gap: var(--s-3);
  margin: var(--s-8) 0 0;
  padding: 0;
  list-style: none;
}
.points li {
  position: relative;
  padding-left: 28px;
  max-width: 48ch;
  color: var(--ink-2);
}
.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.points li.is-strong {
  color: var(--ink);
  font-weight: 600;
}

.board {
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.board__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--hair);
}
.board__title strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
}
.tag-illustrative {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: var(--mist);
  color: var(--ink-3);
  font-size: 12.5px;
  white-space: nowrap;
}
.log {
  margin: 0;
  padding: 0;
  list-style: none;
}
.log li {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: var(--s-4);
  align-items: baseline;
  padding: var(--s-4) var(--s-5);
  border-top: 1px solid var(--hair);
}
.log li:first-child {
  border-top: 0;
}
.log .id {
  font-size: 13px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.log p {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.result-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.result-tag svg {
  width: 14px;
  height: 14px;
}
.result-tag--win {
  background: var(--ok-soft);
  color: var(--ok);
}
.result-tag--held {
  background: var(--warn-soft);
  color: var(--warn);
}
.result-tag--learn {
  background: var(--mist);
  color: var(--ink-2);
}

/* ---------- One view of the data ---------- */

.interchange {
  margin-top: var(--s-12);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.interchange figure {
  padding: var(--s-6);
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-1);
}
.interchange svg {
  width: 100%;
  height: auto;
}
.interchange__map--tall {
  display: none;
}
.interchange .line-head {
  font-size: 13px;
  fill: var(--ink-3);
}
.interchange .line-label {
  font-size: 16px;
  font-weight: 500;
  fill: var(--ink);
}
.interchange .line-figure {
  font-size: 16px;
  font-weight: 600;
  fill: var(--ink);
  font-variant-numeric: tabular-nums;
}
.interchange .hub-label {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.016em;
  fill: var(--ink);
}
.interchange__map--tall .line-label {
  font-size: 15px;
}
.interchange__map--tall .line-figure {
  font-size: 15px;
}
.interchange__map--tall .hub-label {
  font-size: 19px;
}
.interchange__note {
  margin-top: var(--s-3);
  font-size: 14px;
  color: var(--ink-3);
}
.interchange__note {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* ---------- What you get ---------- */

.pattern {
  margin: var(--s-12) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-4);
}
.pattern li {
  position: relative;
  padding-right: var(--s-4);
}
.pattern li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 30px;
  width: 100%;
  height: 2px;
  background: var(--line);
}
.pattern__stop {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 0 0 2px var(--line);
}
.pattern__stop::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}
.pattern li:last-child .pattern__stop {
  box-shadow: inset 0 0 0 2px var(--accent);
}
.pattern li:last-child .pattern__stop::after {
  background: var(--accent);
}
.pattern h3 {
  margin-top: var(--s-4);
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -0.014em;
}
.pattern p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 15.5px;
  max-width: 30ch;
}

.readout {
  margin-top: var(--s-12);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.readout__sheet {
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.readout__sheet ol {
  margin: 0;
  padding: var(--s-2) var(--s-5) var(--s-4);
  list-style: none;
  counter-reset: readout;
}
.readout__sheet li {
  counter-increment: readout;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: var(--s-3);
  align-items: baseline;
  padding-block: var(--s-3);
  border-top: 1px solid var(--hair);
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.readout__sheet li:first-child {
  border-top: 0;
}
.readout__sheet li::before {
  content: counter(readout);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.readout__close {
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.18;
}
.readout__close + .btn {
  margin-top: var(--s-6);
}

/* ---------- Trust ---------- */

.rules {
  margin: var(--s-10) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3) var(--s-8);
}
.rules li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: var(--s-3);
  align-items: start;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--hair);
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.rules svg {
  width: 22px;
  height: 22px;
  color: var(--ok);
  margin-top: 2px;
}
.rules li.is-strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Founder ---------- */

.founder {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin-top: var(--s-10);
}
/* A dashed outline says placeholder, the way the workspace marks a step still to do */
.founder__photo {
  position: relative;
  width: clamp(180px, 20vw, 240px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--mist);
  border: 2px dashed var(--line);
  display: grid;
  place-items: center;
  text-align: center;
}
.founder__photo span {
  font-size: 14px;
  color: var(--ink-3);
  max-width: 15ch;
  line-height: 1.4;
}
.founder h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  letter-spacing: -0.022em;
  line-height: 1.1;
}
.founder__bio {
  margin-top: var(--s-4);
  display: grid;
  gap: var(--s-3);
  max-width: 56ch;
  color: var(--ink-2);
  font-size: 16.5px;
}
.founder__close {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--hair);
  font-size: 17px;
  font-weight: 600;
  max-width: 52ch;
}

/* ---------- Comparison ---------- */

.compare {
  margin-top: var(--s-10);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}
.compare table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
}
.compare caption {
  text-align: left;
  padding: var(--s-4) var(--s-5) 0;
  font-size: 14px;
  color: var(--ink-3);
}
.compare th,
.compare td {
  text-align: left;
  vertical-align: top;
  padding: var(--s-4) var(--s-4);
  border-bottom: 1px solid var(--hair);
  font-size: 15.5px;
  line-height: 1.45;
}
.compare thead th {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.compare tbody th {
  font-weight: 500;
  width: 20%;
  color: var(--ink);
}
.compare td {
  color: var(--ink-2);
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}
.compare .is-us {
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 600;
}
.compare thead .is-us {
  color: var(--accent-ink);
}
.compare tr > :first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--surface);
}
.compare__hint {
  display: none;
  margin-top: var(--s-6);
  font-size: 14px;
  color: var(--ink-3);
}

/* ---------- FAQ ---------- */

.faq {
  margin-top: var(--s-10);
  max-width: 860px;
}
.faq details {
  border-bottom: 1px solid var(--hair);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  min-height: 64px;
  padding-block: var(--s-4);
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--ink-3);
  transition: transform var(--t-slow) var(--ease), color var(--t-fast) var(--ease);
}
.faq summary:hover svg {
  color: var(--accent);
}
.faq details[open] summary svg {
  transform: rotate(45deg);
}
.faq details > p {
  padding: 0 56px var(--s-5) 0;
  color: var(--ink-2);
  font-size: 16px;
  max-width: 70ch;
}

/* ---------- Final call ---------- */

.finale {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 9vw, 128px);
}
.finale::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 40%;
  width: 1100px;
  height: 700px;
  transform: translate(-50%, -50%);
  background: var(--aurora);
  filter: blur(140px);
  opacity: 0.4;
  animation: aurora 26s linear infinite;
  pointer-events: none;
}
.finale .wrap {
  position: relative;
}
.finale h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.finale p {
  margin-top: var(--s-5);
  max-width: 54ch;
  font-size: var(--fs-lede);
  color: var(--ink-2);
}
.finale .capture {
  margin-top: var(--s-8);
}
.finale__note {
  margin-top: var(--s-3);
  font-size: 14px;
  color: var(--ink-3);
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: var(--s-12) var(--s-10);
  border-top: 1px solid var(--hair);
}
.site-footer .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-8);
  align-items: end;
}
.footer-lines {
  margin-top: var(--s-4);
  display: grid;
  gap: 4px;
  color: var(--ink-2);
  font-size: 15px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-6);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}
.footer-links a {
  color: var(--ink-2);
  display: inline-block;
  padding-block: 12px;
}
.footer-links a:hover {
  color: var(--ink);
}
.footer-copy {
  grid-column: 1 / -1;
  padding-top: var(--s-6);
  border-top: 1px solid var(--hair);
  font-size: 14px;
  color: var(--ink-3);
}
.footer-copy span {
  display: block;
  margin-top: 4px;
}

/* ---------- Book a call ---------- */

.book-header {
  background: var(--canvas);
}
.book-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  gap: var(--s-6);
}
.book-main {
  padding-block: clamp(32px, 5vw, 64px) var(--s-16);
}
.book-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.book-main h1 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
}
.book-intro {
  margin-top: var(--s-3);
  max-width: 52ch;
  font-size: 17px;
  color: var(--ink-2);
}

.legal-copy {
  max-width: 860px;
}
.legal-copy > h2 {
  margin-top: var(--s-10);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  letter-spacing: -0.02em;
}
.legal-copy > p:not(.book-intro) {
  max-width: 72ch;
  margin-top: var(--s-4);
  line-height: 1.7;
  color: var(--ink-2);
}
.legal-copy .legal-review {
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  background: var(--warn-soft);
  color: var(--ink);
}

/* Past the first question the page intro steps aside, so the question leads */
.is-deep .book-intro {
  display: none;
}

/* Progress: one slim track, a step count, and the current step's name */
.progress {
  margin: var(--s-8) 0 var(--s-6);
  max-width: 560px;
}
.progress__track {
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--mist-2);
  overflow: hidden;
}
.progress__fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: var(--r-pill);
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease);
}
.progress__label {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  margin-top: var(--s-3);
  font-size: 14px;
  color: var(--ink-3);
}
.progress__label strong {
  color: var(--ink);
  font-weight: 600;
}

.form-step {
  display: grid;
  gap: var(--s-6);
  max-width: 640px;
}
.form-step[hidden] {
  display: none;
}
.form-step h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.022em;
}
.form-step__head p {
  margin-top: var(--s-2);
  color: var(--ink-2);
  font-size: 16px;
}
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
legend {
  padding: 0;
}
.hint {
  margin: 0 0 var(--s-3);
  font-size: 15px;
  color: var(--ink-3);
}
.choices {
  display: grid;
  gap: var(--s-2);
}
.choice {
  position: relative;
  display: block;
}
.choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.choice__control {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 56px;
  padding: 0 var(--s-5);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 16.5px;
  font-weight: 500;
  transition: box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.choice__control::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--line);
  background: var(--surface);
  flex: none;
  transition: box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.choice input[type="checkbox"] + .choice__control::before {
  border-radius: 7px;
}
.choice__control > svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.choice input:hover + .choice__control {
  box-shadow: inset 0 0 0 1px var(--ink-3);
}
.choice input:checked + .choice__control {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 2px var(--accent);
}
.choice input:checked + .choice__control::before {
  background: var(--accent);
  box-shadow: inset 0 0 0 2px var(--accent), inset 0 0 0 5px var(--surface);
}
.choice input:focus-visible + .choice__control {
  box-shadow: var(--focus);
}
.choices--platforms {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3);
}
.choice--platform .choice__control {
  min-height: 76px;
  padding: var(--s-4);
  gap: var(--s-3);
}
.choice--platform .platform-logo {
  width: 30px;
  height: 30px;
  flex: none;
}
.choice--platform .platform-logo--other {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-2);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}
.choice--platform .choice__label {
  line-height: 1.25;
}

.field {
  display: grid;
  gap: var(--s-2);
  max-width: 520px;
}
.field label {
  font-weight: 600;
  font-size: 16px;
}
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font: inherit;
  font-size: 16.5px;
  color: var(--ink);
  transition: box-shadow var(--t-fast) var(--ease);
}
.field textarea {
  min-height: 108px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-3);
}
.field input:hover,
.field textarea:hover {
  box-shadow: inset 0 0 0 1px var(--ink-3);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px var(--accent), var(--focus);
}
.field [aria-invalid="true"] {
  box-shadow: inset 0 0 0 2px var(--bad);
}

.known-email {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  background: var(--mist);
  font-size: 15.5px;
  color: var(--ink-2);
}
.known-email strong {
  color: var(--ink);
  font-weight: 600;
}

.error {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--bad);
}
.error[hidden] {
  display: none;
}
.error svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.floor-notice {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: var(--s-3);
  padding: var(--s-4);
  border-radius: var(--r-md);
  background: var(--warn-soft);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.5;
  max-width: 620px;
}
.floor-notice[hidden] {
  display: none;
}
.floor-notice svg {
  width: 20px;
  height: 20px;
  color: var(--warn);
  margin-top: 2px;
}

.consent {
  font-size: 15px;
  color: var(--ink-3);
  max-width: 52ch;
}
.consent a {
  color: var(--ink-2);
}

.step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  align-items: center;
}

.slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
  max-width: 620px;
}
.slot-day {
  display: grid;
  gap: var(--s-2);
  align-content: start;
}
.slot-day strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.slot {
  min-height: 48px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font: inherit;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  cursor: pointer;
  transition: box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.slot:hover {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 2px var(--accent);
}
.draft-note {
  font-size: 14px;
  color: var(--ink-3);
}

.booked {
  position: relative;
  padding: var(--s-8);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-float);
  max-width: 620px;
}
.booked h2 {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.booked h2 svg {
  width: 32px;
  height: 32px;
  flex: none;
  color: var(--ok);
}
.booked p {
  margin-top: var(--s-4);
  color: var(--ink-2);
  font-size: 16.5px;
}

.aside-pattern {
  position: sticky;
  top: var(--s-8);
  padding: var(--s-6);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-float);
}
.aside-pattern h2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
}
.strip-map {
  margin: var(--s-4) 0 0;
  padding: 0;
  list-style: none;
}
.strip-map li {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: var(--s-3);
  align-items: start;
  padding-block: var(--s-2);
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--ink-2);
}
.strip-map li > span {
  padding-top: 1px;
}
.strip-map li::before {
  content: "";
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 0 0 2px var(--line);
}
.strip-map li:last-child::before {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 2px var(--accent);
}
.strip-map li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 24px;
  width: 2px;
  height: 100%;
  background: var(--line);
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .site-nav ul {
    display: none;
  }
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-copy {
    max-width: 680px;
  }
  .loop-frame {
    max-width: 620px;
  }
  .loop-section .loop-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .loop-map {
    display: none;
  }
  .notices {
    grid-template-columns: minmax(0, 1fr);
  }
  .split,
  .interchange,
  .readout {
    grid-template-columns: minmax(0, 1fr);
  }
  .book-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .aside-pattern {
    position: static;
  }
  .step {
    padding-inline: var(--s-3);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16.5px;
  }
  .btn-label-long {
    display: none;
  }
  .btn-label-short {
    display: inline;
  }
  .hero .wrap {
    padding-block: var(--s-8) var(--s-12);
    gap: var(--s-10);
  }
  .capture {
    flex-wrap: wrap;
    padding: var(--s-4);
    border-radius: var(--r-lg);
    gap: var(--s-3);
  }
  .capture input {
    flex: 1 0 100%;
    min-height: 48px;
    padding: 0 var(--s-4);
    background: var(--mist);
    border-radius: var(--r-md);
  }
  .capture .btn {
    width: 100%;
  }
  .loop-frame {
    --ring-t: 24px;
    --ring-l: 14px;
    --ring-r: 14px;
    --ring-c: 28px;
    padding-block: 52px;
  }
  .loop-frame__name {
    display: none;
  }
  .display {
    width: 100%;
  }
  .display__rows div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .record__lines {
    margin-top: var(--s-8);
  }
  .log li {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .log li .id {
    grid-column: 1 / -1;
  }
  .pattern {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-5);
  }
  .pattern li:not(:last-child)::after {
    top: 28px;
    left: 13px;
    width: 2px;
    height: calc(100% + var(--s-5));
  }
  .pattern li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: var(--s-4);
    padding-right: 0;
  }
  .pattern h3 {
    margin-top: 0;
  }
  .interchange__map--wide {
    display: none;
  }
  .interchange__map--tall {
    display: block;
    max-width: 420px;
  }
  .compare__hint {
    display: block;
  }
  .compare__hint + .compare {
    margin-top: var(--s-3);
  }
  .rules {
    grid-template-columns: minmax(0, 1fr);
  }
  .choices--platforms {
    grid-template-columns: minmax(0, 1fr);
  }
  .founder {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }
  .faq details > p {
    padding-right: 0;
  }
  .site-footer .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .slots {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
  /* The aurora stays visible, pinned to one angle, rather than resetting */
  .hero::before,
  .finale::before,
  .line-id::before,
  .glow-wrap.is-live .halo,
  .is-live .ring::before,
  .ring:focus-within::before {
    --ang: 140deg;
  }
}
