/* ==========================================================================
   Curizen · AI IT Help Desk
   1. Tokens   2. Base   3. Layout   4. Components   5. Sections   6. Motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Brand: navy sampled from the Curizen wordmark, blue from the product UI */
  --navy: #0C1031;
  --navy-2: #131947;
  --navy-3: #1C2360;
  --accent: #2F5BEA;
  --accent-hover: #2349C8;
  --accent-soft: #EBF0FE;
  --accent-on-dark: #9DB4FF;

  --ink: #0C1031;
  --text: #3A3F5C;
  --muted: #5F647D;
  --line: #E3E5EC;
  --line-strong: #CBCFDB;
  --bg: #FFFFFF;
  --bg-soft: #F5F6F9;

  --on-dark: #F2F2F2;
  --on-dark-muted: #A9AECB;
  --line-dark: rgba(242, 242, 242, 0.12);

  --success: #147A4B;
  --success-soft: #E7F5EE;
  --danger: #B42D25;
  --danger-soft: #FCEDEC;

  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Tight", var(--font-sans);
  --fs-display: clamp(2.625rem, 1.35rem + 4.6vw, 5rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.2vw, 3.125rem);
  --fs-h2-xl: clamp(2.375rem, 1.4rem + 3.2vw, 4rem);
  --fs-h3: 1.1875rem;
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-body: 1rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-eyebrow: 0.75rem;

  /* Space (4px base) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --section-y: clamp(4.5rem, 2.5rem + 7vw, 8.5rem);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 2.5rem);
  --nav-h: 72px;

  /* Shape */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(12, 16, 49, 0.06);
  --shadow-md: 0 1px 2px rgba(12, 16, 49, 0.05), 0 8px 24px -8px rgba(12, 16, 49, 0.12);
  --shadow-lg: 0 2px 4px rgba(12, 16, 49, 0.06), 0 32px 64px -24px rgba(12, 16, 49, 0.32);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --focus: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent);
}

/* 2. Base ------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:lang(de) { hyphens: auto; }
h1, h2, h3 { hyphens: manual; overflow-wrap: break-word; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
.section--dark :focus-visible,
.footer :focus-visible { --focus: 0 0 0 3px var(--navy), 0 0 0 5px var(--accent-on-dark); }
#main:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

.skip-link {
  position: fixed;
  top: var(--s-3);
  left: var(--s-3);
  z-index: 100;
  padding: var(--s-2) var(--s-4);
  background: var(--navy);
  color: var(--on-dark);
  border-radius: var(--r-sm);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

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

.section { padding-block: var(--section-y); background: var(--bg); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: var(--on-dark-muted); }

.section-head {
  display: grid;
  gap: var(--s-4);
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--wide { max-width: 56rem; }

.split {
  display: grid;
  gap: var(--s-7) var(--s-8);
}
.split__main { display: grid; gap: var(--s-4); align-content: start; }

@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
}

/* 4. Components ------------------------------------------------------------ */
.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.section--dark .eyebrow { color: var(--accent-on-dark); }

.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--ink);
  text-wrap: balance;
}
.h2--xl { font-size: var(--fs-h2-xl); line-height: 1.02; letter-spacing: -0.034em; }
.section--dark .h2 { color: #fff; }

.h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text);
  max-width: 38rem;
  text-wrap: pretty;
}
.section--dark .lead { color: var(--on-dark-muted); }

.list-title {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Buttons */
.btn {
  --btn-h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: var(--btn-h);
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn--sm { --btn-h: 40px; padding: 0 1.125rem; }
.btn--lg { --btn-h: 52px; padding: 0 1.75rem; font-size: var(--fs-body); }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(12, 16, 49, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--primary:active { transform: translateY(1px); }
.btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 600;
  color: var(--accent);
}
.text-link .icon { width: 1rem; height: 1rem; transition: transform 0.2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }
.text-link--dark { color: var(--on-dark); font-weight: 500; font-size: var(--fs-sm); }

.link-play {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 52px;
  font-weight: 600;
  font-size: var(--fs-body);
  color: var(--ink);
}
.link-play__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.link-play__icon .icon { width: 14px; height: 14px; margin-left: 2px; }
.link-play:hover .link-play__icon { background: var(--navy); border-color: var(--navy); color: #fff; }
.link-play__meta { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Product frames */
.frame {
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.frame img { width: 100%; }
.frame--dark { border-color: var(--line-dark); box-shadow: 0 40px 80px -32px rgba(0, 0, 0, 0.6); }

.caption { margin-top: var(--s-4); font-size: var(--fs-xs); color: var(--muted); }
.caption--dark { color: var(--on-dark-muted); }

/* 5. Sections -------------------------------------------------------------- */

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  height: var(--nav-h);
}
.nav__brand { display: block; flex: none; padding: 4px 0; }
.nav__brand img { width: 120px; }

.nav__links { display: none; gap: var(--s-6); }
.nav__links a,
.nav__menu a:not(.btn) {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover,
.nav__menu a:not(.btn):hover { color: var(--ink); }

.nav__actions { display: flex; align-items: center; gap: var(--s-4); }

.lang { display: flex; align-items: center; gap: 2px; }
.lang__btn {
  min-width: 36px;
  height: 36px;
  padding: 0 var(--s-2);
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.lang__btn:hover { color: var(--ink); background: var(--bg-soft); }
.lang__btn[aria-pressed="true"] { color: var(--ink); }
.lang__sep { width: 1px; height: 14px; background: var(--line-strong); }

.nav__cta { display: none; }

.nav__toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink);
}

.nav__menu { border-top: 1px solid var(--line); background: #fff; }
.nav__menu nav { display: grid; padding-block: var(--s-3) var(--s-5); }
.nav__menu a:not(.btn) {
  display: block;
  padding: var(--s-3) 0;
  font-size: var(--fs-body);
  border-bottom: 1px solid var(--line);
}
.nav__menu .btn { margin-top: var(--s-5); }

@media (min-width: 560px) {
  .nav__cta { display: inline-flex; }
}
@media (min-width: 960px) {
  .nav__links { display: flex; }
  .nav__toggle,
  .nav__menu { display: none; }
  .nav__brand img { width: 132px; }
}

/* Hero */
.hero { background: var(--bg); padding-top: clamp(3rem, 1.5rem + 5vw, 6.5rem); }

.hero__grid {
  display: grid;
  gap: var(--s-6);
  padding-bottom: clamp(3rem, 2rem + 3vw, 4.5rem);
}
.hero__head { display: grid; gap: var(--s-5); }
.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.038em;
  color: var(--ink);
  text-wrap: balance;
  max-width: 12ch;
}
:lang(de) .hero__title { max-width: 14ch; }
.hero__aside { display: grid; gap: var(--s-6); align-content: end; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); }

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--s-8); align-items: end; }
  .hero__aside { padding-bottom: 0.5rem; }
}

.hero__stage { position: relative; }
.hero__stage::before {
  content: "";
  position: absolute;
  inset: 38% 0 0;
  background: var(--navy);
}
.hero__figure { position: relative; }
.hero__figure .caption { text-align: center; margin-top: var(--s-5); }

/* Video */
.video-section { padding-top: clamp(3.5rem, 2rem + 5vw, 6.5rem); }
.video-section .h2 { text-wrap: balance; }

.player {
  position: relative;
  max-width: 1080px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-dark);
  background: #05071a;
  box-shadow: 0 48px 96px -40px rgba(0, 0, 0, 0.7);
  aspect-ratio: 16 / 9;
}
.player__video { width: 100%; height: 100%; object-fit: contain; background: #05071a; }

.player__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(0.75rem, 3vw, 2rem);
  border: 0;
  border-radius: 0;
  background: linear-gradient(to top, rgba(5, 7, 26, 0.5), rgba(5, 7, 26, 0) 40%);
  color: var(--ink);
}
.player__overlay:focus-visible { box-shadow: inset 0 0 0 3px var(--accent-on-dark); border-radius: var(--r-lg); }
.player__pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: 6px 20px 6px 6px;
  border-radius: var(--r-pill);
  background: #fff;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.5);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: transform 0.3s var(--ease);
}
.player__button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}
.player__button .icon { width: 16px; height: 16px; margin-left: 2px; }
.player__overlay:hover .player__pill { transform: translateY(-2px); }
.player__meta { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }

@media (max-width: 600px) {
  .player__pill { gap: var(--s-2); padding: 4px 14px 4px 4px; font-size: var(--fs-xs); }
  .player__button { width: 30px; height: 30px; }
  .player__button .icon { width: 12px; height: 12px; }
}

/* Problem */
.request-list { margin-top: var(--s-4); border-top: 1px solid var(--line); }
.request-list li {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}
.request-list .icon { color: var(--muted); }
.split__side { padding-top: var(--s-2); }

/* Solution route */
.route {
  display: grid;
  gap: var(--s-6);
  counter-reset: none;
}
.route__node {
  position: relative;
  display: grid;
  gap: var(--s-1);
  align-content: start;
  padding: var(--s-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.route__node strong { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.route__node span:not(.route__icon) { font-size: var(--fs-sm); color: var(--muted); }
.route__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: var(--s-3);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--ink);
}
.route__icon--ok { background: var(--success-soft); color: var(--success); }
.route__node--core { background: var(--navy); border-color: var(--navy); box-shadow: var(--shadow-md); }
.route__node--core strong { color: #fff; }
.route__node--core span:not(.route__icon) { color: var(--on-dark-muted); }
.route__node--core .route__icon { background: var(--accent); color: #fff; }
.route__outcomes { display: grid; gap: var(--s-4); }

/* Connectors: vertical on mobile, horizontal on desktop */
.route > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(var(--s-6) * -1);
  width: 1px;
  height: var(--s-6);
  background: var(--line-strong);
}
.route > li { position: relative; }

@media (min-width: 900px) {
  .route { grid-template-columns: 1fr 1.15fr 1fr; gap: var(--s-8); align-items: center; }
  .route > li:not(:last-child)::after {
    left: auto;
    right: calc(var(--s-8) * -1);
    top: 50%;
    bottom: auto;
    width: var(--s-8);
    height: 1px;
  }
  /* Fork from the help desk into the two outcomes */
  .route > .route__node--core::after { right: calc(var(--s-8) * -0.5); width: calc(var(--s-8) * 0.5); }
  .route__outcomes::before,
  .route__outcomes .route__node::before {
    content: "";
    position: absolute;
    left: calc(var(--s-8) * -0.5);
    background: var(--line-strong);
  }
  .route__outcomes::before { top: calc((100% - var(--s-4)) / 4); bottom: calc((100% - var(--s-4)) / 4); width: 1px; }
  .route__outcomes .route__node::before { top: 50%; width: calc(var(--s-8) * 0.5); height: 1px; }
}

/* Steps */
.steps { display: grid; gap: var(--s-6); }
.step {
  position: relative;
  display: grid;
  gap: var(--s-3);
  align-content: start;
  padding-left: var(--s-7);
}
.step p { color: var(--text); max-width: 32ch; }
.step__num {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.step::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 2rem;
  bottom: calc(var(--s-6) * -1);
  width: 1px;
  background: var(--line);
}
.step:last-child::before { display: none; }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); position: relative; }
  .steps::before,
  .steps::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0.625rem;
    height: 1px;
    background: var(--line);
  }
  .steps::after { background: var(--accent); transform-origin: left; transform: scaleX(var(--progress, 1)); transition: transform 1.4s var(--ease) 0.2s; }
  .step { padding: var(--s-7) 0 0; }
  .step::before { display: none; }
  .step__num { background: var(--bg); padding-right: var(--s-3); z-index: 1; }
}

/* Capabilities */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  border-top: 1px solid var(--line-strong);
}
.feature {
  display: grid;
  gap: var(--s-3);
  align-content: start;
  padding: var(--s-6) var(--s-5) var(--s-6) 0;
  border-bottom: 1px solid var(--line);
}
.feature p { color: var(--text); max-width: 34ch; }
.feature__icon { width: 24px; height: 24px; margin-bottom: var(--s-3); color: var(--accent); }

@media (min-width: 1024px) {
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature { padding: var(--s-7) var(--s-6) var(--s-7) 0; }
  .feature:not(:nth-child(3n + 1)) { padding-left: var(--s-6); border-left: 1px solid var(--line); }
  .feature:nth-last-child(-n + 3) { border-bottom: 0; }
}

/* Benefits */
.benefits { display: grid; gap: var(--s-5); }
.benefit {
  display: grid;
  gap: var(--s-3);
  align-content: start;
  padding: clamp(1.75rem, 1rem + 2.5vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}
.benefit__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--s-3);
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}
.benefit .h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.benefit__intro { color: var(--muted); }

.checklist { display: grid; margin-top: var(--s-4); border-top: 1px solid var(--line); }
.checklist li {
  position: relative;
  padding: var(--s-4) 0 var(--s-4) 2rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  color: var(--ink);
}
.checklist li:last-child { border-bottom: 0; padding-bottom: 0; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(var(--s-4) + 0.3rem);
  width: 1rem;
  height: 1rem;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.8 12.5l4.7 4.7L19.2 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.8 12.5l4.7 4.7L19.2 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (min-width: 768px) {
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* AI + Human */
.section-head .btn { justify-self: start; margin-top: var(--s-3); }
.partnership { display: grid; gap: var(--s-7); }
.lanes { display: grid; gap: var(--s-4); }
.lane {
  padding: var(--s-5) var(--s-5) var(--s-4);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  background: var(--navy-2);
}
.lane--team { background: transparent; }
.lane__title {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
}
.lane__title .icon { color: var(--accent-on-dark); }
.lane li {
  padding: var(--s-3) 0;
  border-top: 1px solid var(--line-dark);
  color: var(--on-dark);
  font-size: var(--fs-sm);
}
.lane__handoff { display: grid; place-items: center; color: var(--on-dark-muted); }
.lane__handoff .icon { transform: rotate(90deg); }
.partnership__figure .caption { text-align: center; }

@media (min-width: 768px) {
  .lanes { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--s-5); }
  .lane__handoff .icon { transform: none; }
}

/* Final CTA */
.cta__grid { display: grid; gap: var(--s-7); }
.cta__intro { display: grid; gap: var(--s-5); align-content: start; }
.cta__intro .list-title { margin-top: var(--s-5); }

.next-steps { display: grid; gap: var(--s-3); counter-reset: next; }
.next-steps li {
  position: relative;
  padding-left: 2.5rem;
  color: var(--text);
  counter-increment: next;
}
.next-steps li::before {
  content: counter(next);
  position: absolute;
  left: 0;
  top: 0.05rem;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink);
}

.form-card {
  padding: clamp(1.5rem, 0.75rem + 3vw, 3rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.form-card__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; color: var(--ink); }
.form-card__head { display: grid; gap: var(--s-2); }
.form-card__note { font-size: var(--fs-sm); color: var(--muted); }

.lead-form { display: grid; gap: var(--s-5); }
.form-grid { display: grid; gap: var(--s-5); }

@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .cta__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); align-items: start; }
}

.field { display: grid; gap: var(--s-2); align-content: start; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field__optional { font-weight: 400; color: var(--muted); }
.field input {
  width: 100%;
  height: 52px;
  padding: 0 var(--s-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder { color: #8A8FA6; }
.field input:hover { border-color: #AEB3C4; }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 91, 234, 0.2); border-radius: var(--r-sm); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180, 45, 37, 0.18); }
.field__error { font-size: var(--fs-xs); font-weight: 500; color: var(--danger); }

.form-alert {
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm);
  background: var(--danger-soft);
  color: var(--danger);
  font-size: var(--fs-sm);
  font-weight: 500;
}

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

.lead-success { display: grid; gap: var(--s-4); justify-items: start; padding-block: var(--s-6); }
.lead-success:focus { outline: none; }
.lead-success p { color: var(--text); }
.lead-success__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
}
.lead-success__icon .icon { width: 24px; height: 24px; stroke-width: 2; }

/* Footer */
.footer { background: var(--navy); color: var(--on-dark-muted); padding-block: var(--s-8) var(--s-6); }
.footer__top { display: grid; gap: var(--s-7); padding-bottom: var(--s-7); border-bottom: 1px solid var(--line-dark); }
.footer__brand img { width: 128px; }
.footer__product { margin-top: var(--s-3); font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-on-dark); }
.footer__tagline { margin-top: var(--s-4); max-width: 26rem; font-size: var(--fs-sm); }
.footer__nav { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); align-content: start; }
.footer__nav a { font-size: var(--fs-sm); color: var(--on-dark); transition: color 0.2s var(--ease); }
.footer__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-4); padding-top: var(--s-5); font-size: var(--fs-xs); }

@media (min-width: 768px) {
  .footer__top { grid-template-columns: 1fr auto; }
}

/* 6. Motion ---------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .hero__aside[data-reveal] { transition-delay: 0.12s; }
.js .hero__title[data-reveal] { transition-delay: 0.05s; }

.js [data-steps] { --progress: 0; }
.js [data-steps].is-visible { --progress: 1; }

.js [data-hero-frame] {
  opacity: 0;
  transform: translateY(32px) scale(0.985);
  transition: opacity 1.1s var(--ease) 0.25s, transform 1.1s var(--ease) 0.25s;
}
.js [data-hero-frame].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation: none !important; }
  .js [data-reveal],
  .js [data-hero-frame] { opacity: 1; transform: none; }
}
