/* ApplyMaxx waitlist page.
   Direction: white, blue and black. A white canvas, faint grey-blue bands, black text, one blue accent, one typeface
   (Geist, self-hosted). One light theme only: no dark sections and no dark mode, so text always sits on white or a
   very light band.
   Shape rule: buttons and chips are pills, cards are 28px, nested panels 20px, form fields 12px.
   Z-index layers: nav 100, skip link 200. Nothing else sets a z-index.
   Animation: transform and opacity only. Everything is switched off under prefers-reduced-motion. */

@font-face {
  font-family: "Geist";
  src: url("fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  --bg: #ffffff;
  --band: #f5f8fd;
  --band-2: #e9eff9;
  --surface: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #555b66;
  --line: rgba(10, 10, 10, 0.14);
  --line-soft: rgba(10, 10, 10, 0.08);
  --dot: #ccd5e5;
  --field-bg: #ffffff;
  --field-line: #6f7683;

  --accent: #0b5cff;
  --accent-strong: #0847d1;
  --accent-text: #0a52e0;
  --accent-tint: #e8f0ff;
  --chip-ink: #0a47c2;

  --danger: #b3261e;
  --danger-tint: #fdecea;

  --nav-bg: rgba(255, 255, 255, 0.8);
  --hero-from: #f3f7ff;
  --hero-to: #ffffff;
  --orb-a: rgba(11, 92, 255, 0.16);
  --orb-b: rgba(0, 162, 255, 0.12);
  --grid-dot: rgba(10, 82, 224, 0.15);

  --shadow-window: 0 2px 6px rgba(8, 16, 40, 0.05), 0 40px 80px -30px rgba(8, 16, 40, 0.2);
  --shadow-card: 0 1px 2px rgba(8, 16, 40, 0.04), 0 24px 48px -24px rgba(8, 16, 40, 0.16);
  --glow: 0 10px 28px -10px rgba(11, 92, 255, 0.5);
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23555b66' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --w: 1120px;
  --w-narrow: 720px;
  --nav-h: 52px;
  --gutter: clamp(20px, 5vw, 32px);
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
  font-feature-settings: "ss01" 0, "tnum" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }

a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon { width: 1.25rem; height: 1.25rem; fill: currentColor; flex: none; }
.icon--sm { width: 1rem; height: 1rem; }
.icon--lg { width: 1.75rem; height: 1.75rem; }

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

.skip-link {
  position: absolute;
  left: 16px; top: 8px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* Scroll reveal. script.js adds .reveal only to blocks below the first screen, then removes it again. */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.pains .reveal:nth-child(even), .steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.steps .reveal:nth-child(3) { transition-delay: 0.16s; }
.steps .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Layout ---------- */

.wrap { width: 100%; max-width: calc(var(--w) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(var(--w-narrow) + var(--gutter) * 2); }

.section { padding: clamp(72px, 11vw, 136px) 0; }
.section--band { background: var(--band); }

/* Feature sections that keep the page's signature texture on a light ground: a faint dot grid and a soft blue glow. */
.section--glow {
  position: relative;
  overflow: hidden;
  background: var(--band);
}
.section--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--grid-dot) 1.2px, transparent 1.6px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}
.glow__bg { position: absolute; inset: 0; pointer-events: none; }
.section--glow > .wrap { position: relative; }

.section--share { background: var(--bg); padding: clamp(64px, 9vw, 112px) 0; }

.section__head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section__head .lead { margin-top: 24px; }

/* ---------- Type ---------- */

.h2 {
  font-size: clamp(2rem, 1.25rem + 2.6vw, 3.5rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.1875rem, 1.05rem + 0.55vw, 1.4375rem);
  line-height: 1.45;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

p { text-wrap: pretty; }

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .nav {
    background: var(--nav-bg);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
  max-width: calc(var(--w) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  margin-right: auto;
  color: var(--ink);
  font-size: 1.1875rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav__links { display: flex; gap: 28px; }
.nav__links a {
  color: var(--ink-2);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--accent-text); }
.nav__links a { position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.nav__links a[aria-current="true"] { color: var(--ink); }
.nav__links a[aria-current="true"]::after { transform: scaleX(1); }

/* Reading progress: a thin blue line along the bottom of the nav, in browsers that support scroll timelines. */
.nav__progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
@supports (animation-timeline: scroll()) {
  .nav__progress { animation: progress linear both; animation-timeline: scroll(root block); }
}

/* ---------- Buttons and links ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.3s var(--ease), transform 0.25s var(--ease);
}

.btn--primary { background: var(--accent); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn--primary:hover { background: var(--accent-strong); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), var(--glow); transform: translateY(-1px); text-decoration: none; }
.btn--large.btn--primary { overflow: hidden; }
.btn--large.btn--primary::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 55%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: translateX(-140%) skewX(-18deg);
  pointer-events: none;
}

.btn--secondary { background: transparent; color: var(--accent-text); border-color: var(--accent-text); }
.btn--secondary:hover { background: var(--accent-tint); text-decoration: none; }

.btn:active { transform: scale(0.98); }

.btn--large { min-height: 52px; padding: 0 30px; }
.btn--small { min-height: 36px; padding: 0 16px; font-size: 0.875rem; }
.btn--small::after { content: ""; position: absolute; inset: -4px -2px; } /* 44px hit area */
.btn--block { width: 100%; }

.btn:disabled { cursor: progress; background: var(--accent-strong); transform: none; }

.btn__spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.btn.is-loading .btn__spinner { display: inline-block; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--accent-text);
  font-size: 1.0625rem;
  text-decoration: none;
}
.link:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link .icon { transition: transform 0.3s var(--ease); }
.link:hover .icon { transform: translateX(3px); }

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent-text);
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.3;
  box-shadow: 0 0 0 1px var(--line), 0 8px 20px -12px rgba(8, 16, 40, 0.3);
}
.pill__text { text-align: left; }
.pill strong { color: var(--ink); font-weight: 600; margin-right: 0.15em; }

.pill__dot, .live-dot {
  position: relative;
  width: 8px; height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
}
.pill__dot::after, .live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 96px);
  text-align: center;
  background: linear-gradient(180deg, var(--hero-from) 0%, var(--hero-to) 72%);
}
.hero > .wrap { position: relative; }

.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--grid-dot) 1.2px, transparent 1.6px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 26%, #000 0%, transparent 72%);
  mask-image: radial-gradient(60% 55% at 50% 26%, #000 0%, transparent 72%);
}
.orb { position: absolute; aspect-ratio: 1; border-radius: 50%; will-change: transform; }
.orb--a { width: min(780px, 92vw); left: -14%; top: -36%; background: radial-gradient(closest-side, var(--orb-a), transparent); }
.orb--b { width: min(700px, 84vw); right: -12%; top: -24%; background: radial-gradient(closest-side, var(--orb-b), transparent); }
.orb--c { width: min(720px, 90vw); right: -14%; top: -30%; background: radial-gradient(closest-side, var(--orb-a), transparent); }
.orb--d { width: min(560px, 80vw); left: -12%; bottom: -34%; background: radial-gradient(closest-side, var(--orb-b), transparent); }

.hero__title {
  max-width: 16em;
  margin: 24px auto 0;
  font-size: clamp(2.25rem, 1.3rem + 4.4vw, 4.75rem);
  line-height: 1.04;
  font-weight: 650;
  letter-spacing: -0.04em;
}
.hero__line { display: block; text-wrap: balance; --o: 0; }
.hero__line--accent { color: var(--accent-text); --o: 4; }
.hero__title .w { display: inline-block; }
.hero__title .w:nth-child(1) { --n: 0; }
.hero__title .w:nth-child(2) { --n: 1; }
.hero__title .w:nth-child(3) { --n: 2; }
.hero__title .w:nth-child(4) { --n: 3; }
.hero__title .w:nth-child(5) { --n: 4; }
.hero__title .w:nth-child(6) { --n: 5; }
.hero__title .w:nth-child(7) { --n: 6; }
.hero__title .w:nth-child(8) { --n: 7; }

.hero__lead {
  max-width: 34em;
  margin: 24px auto 0;
  font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink-2);
  text-wrap: balance;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 32px;
  margin-top: 36px;
}

.hero__fine { margin-top: 16px; color: var(--ink-2); font-size: 0.875rem; }

@media (prefers-reduced-motion: no-preference) {
  [data-rise] { animation: rise 1s var(--ease) both; }
  [data-rise="2"] { animation-delay: 0.6s; }
  [data-rise="3"] { animation-delay: 0.72s; }
  [data-rise="4"] { animation-delay: 0.86s; }

  /* The headline arrives one word at a time. */
  .hero__title .w { animation: word-in 1s var(--ease) both; animation-delay: calc(0.1s + (var(--n) + var(--o)) * 0.045s); }

  .orb--a { animation: drift-a 22s ease-in-out infinite alternate; }
  .orb--b { animation: drift-b 26s ease-in-out infinite alternate; }
  .orb--c { animation: drift-b 24s ease-in-out infinite alternate; }
  .orb--d { animation: drift-a 28s ease-in-out infinite alternate; }

  /* A soft sheen crosses the large blue buttons every few seconds. */
  .btn--large.btn--primary::before { animation: sheen 6s var(--ease) 2s infinite; }
}

/* ---------- Feature strip ---------- */

/* Without JavaScript, or with reduced motion, the strip is a still, centred row. script.js adds .is-live to make it scroll. */
.ribbon { position: relative; padding: 20px 0; background: var(--bg); border-bottom: 1px solid var(--line-soft); }
.ribbon__track { display: flex; justify-content: center; }
.ribbon__group { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; padding: 0 var(--gutter); }
.ribbon__item { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.ribbon__item .icon { color: var(--accent-text); }

.ribbon.is-live .ribbon__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ribbon.is-live .ribbon__track { width: max-content; justify-content: flex-start; will-change: transform; }
.ribbon.is-live .ribbon__group { flex: none; flex-wrap: nowrap; justify-content: flex-start; gap: 48px; padding: 0 48px 0 0; }

.ribbon__toggle {
  position: absolute;
  top: 50%;
  right: var(--gutter);
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 6px 16px -8px rgba(8, 16, 40, 0.3);
  transform: translateY(-50%);
  transition: color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.ribbon__toggle::after { content: ""; position: absolute; inset: -4px; } /* 44px hit area */
.ribbon__toggle:hover { color: var(--accent-text); }
.ribbon__play, .ribbon__toggle[aria-pressed="true"] .ribbon__pause { display: none; }
.ribbon__toggle[aria-pressed="true"] .ribbon__play { display: block; }

/* ---------- Product window (illustrative) ---------- */

.demo { max-width: 1040px; margin: clamp(44px, 6vw, 80px) auto 0; }
.demo__stage { position: relative; }

.demo__float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-card), 0 0 0 1px var(--line-soft);
}
.demo__float--a { right: 36px; top: -22px; animation: float 7s ease-in-out infinite alternate; }
.demo__float--b { right: -22px; bottom: 70px; color: var(--chip-ink); animation: float 8s ease-in-out -3s infinite alternate; }
.demo__float--b .icon { color: var(--accent-text); }

.window {
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-window), 0 0 0 1px var(--line-soft);
  text-align: left;
}

.window__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 46px;
  padding: 0 20px;
  background: var(--band);
  border-bottom: 1px solid var(--line-soft);
}
.window__dots { display: flex; gap: 8px; }
.window__dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--dot); }
.window__title { color: var(--ink-2); font-size: 0.8125rem; font-weight: 500; }

.window__body { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }

.feed { padding: 28px; }
.feed__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.feed__title { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.feed__count { color: var(--ink-2); font-size: 0.875rem; font-variant-numeric: tabular-nums; }

.feed__list { position: relative; display: grid; gap: 10px; --shift: 82px; }

.job {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 20px;
  background: var(--band);
  transition: opacity 0.6s var(--ease), transform 0.9s var(--ease);
}

.job__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--accent-text);
  box-shadow: 0 0 0 1px var(--line-soft);
}

.job__text { display: grid; gap: 2px; min-width: 0; }
.job__title { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.job__meta { color: var(--ink-2); font-size: 0.875rem; line-height: 1.3; }

.job__side { display: flex; align-items: center; gap: 16px; }
.job__time { color: var(--ink-2); font-size: 0.8125rem; white-space: nowrap; }

.job__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--accent-text);
  border-radius: 999px;
  color: var(--accent-text);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.job__tick { display: none; }

.feed__note {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  align-items: center;
  height: calc(var(--shift) - 10px);
  padding: 0 16px;
  color: var(--ink-2);
  font-size: 0.875rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s var(--ease) 0.5s;
}

.side { padding: 28px; border-left: 1px solid var(--line-soft); background: var(--surface); }
.side__title { margin-bottom: 20px; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { display: grid; gap: 2px; padding: 16px; border-radius: 20px; background: var(--band); }
.stat__n { font-size: 2rem; font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__l { color: var(--ink-2); font-size: 0.8125rem; }
.stat.is-bumped { animation: bump 0.7s var(--ease); }
.stat.is-bumped .stat__n { color: var(--accent-text); }

/* Demo states, driven by script.js */
.demo.is-armed .job { opacity: 0; transform: translateY(12px); }
.demo.is-in .job { opacity: 1; transform: none; }
.demo.is-in .job:nth-child(2) { transition-delay: 0.08s; }
.demo.is-in .job:nth-child(3) { transition-delay: 0.16s; }
.demo.is-in .job:nth-child(4) { transition-delay: 0.24s; }

.demo.is-pressed .job:first-child .job__btn { background: var(--accent); border-color: var(--accent); color: #fff; animation: press 0.5s var(--ease); }
.demo.is-pressed .job:first-child .job__tick { display: block; }
.demo.is-pressed .job:first-child .job__btn::after { content: ""; position: absolute; inset: -1px; border: 2px solid var(--accent); border-radius: inherit; animation: ring-pulse 0.9s var(--ease) both; }

/* A pointer travels to the button and presses it. */
.demo__cursor {
  display: none;
  position: absolute;
  left: 0; top: 0;
  width: 24px; height: 24px;
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translate(calc(var(--cx, 0px) + 130px), calc(var(--cy, 0px) + 80px));
  transition: transform 1.1s var(--ease), opacity 0.35s var(--ease);
  filter: drop-shadow(0 2px 2px rgba(8, 16, 40, 0.28));
}
.demo__cursor .icon { width: 24px; height: 24px; stroke: #fff; stroke-width: 14; paint-order: stroke; }
.demo.is-armed .demo__cursor { display: block; }
.demo.is-aim .demo__cursor { opacity: 1; transform: translate(var(--cx, 0px), var(--cy, 0px)); }
.demo.is-pressed .demo__cursor { transform: translate(var(--cx, 0px), var(--cy, 0px)) scale(0.84); transition-duration: 0.18s, 0.35s; }
.demo.is-played .demo__cursor { opacity: 0; transition-delay: 0.15s; }

.demo.is-played .job { transition-delay: 0s; }
.demo.is-played .job:first-child { opacity: 0; transform: translateX(24px); }
.demo.is-played .job:nth-child(n + 2) { transform: translateY(calc(var(--shift) * -1)); }
.demo.is-played .feed__note { opacity: 1; }

.demo__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 16px;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 0.875rem;
  text-align: center;
}

/* ---------- Pain ---------- */

.pains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 960px; margin: 0 auto; }
.pain {
  padding: clamp(24px, 3vw, 36px);
  border-radius: 28px;
  background: var(--band);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.pain { position: relative; }
.pain > * { position: relative; }
.pain:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.pain::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(11, 92, 255, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.pain:hover::before { opacity: 1; }
.pain:hover .pain__icon { transform: rotate(-8deg) scale(1.08); }
.pain__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--surface);
  color: var(--accent-text);
  box-shadow: 0 0 0 1px var(--line-soft);
  transition: transform 0.5s var(--ease);
}
.pain .h3 { margin-bottom: 8px; }
.pain p { color: var(--ink-2); }

/* ---------- How it works ---------- */

.steps { --gap: clamp(20px, 3vw, 40px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); max-width: 1040px; margin: 0 auto; }
.step { position: relative; display: grid; gap: 10px; align-content: start; }
.step .h3 { font-size: 1.25rem; }
.step p { color: var(--ink-2); font-size: 1rem; }
.step__n {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: var(--glow);
}
.step__n .icon { width: 1.5rem; height: 1.5rem; }
.step__n { position: relative; }
.step__n::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--accent); border-radius: 50%; opacity: 0; pointer-events: none; }

/* A line joins each step to the next and draws itself as the steps arrive. */
.step:not(:last-child)::before,
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 27px;
  left: 72px;
  right: calc(var(--gap) * -1 + 16px);
  height: 2px;
  border-radius: 2px;
}
.step:not(:last-child)::before { background: var(--line); }
.step:not(:last-child)::after { background: var(--accent); transform-origin: left; transition: transform 1.1s var(--ease) 0.3s; }
.step.reveal:not(.is-visible)::after { transform: scaleX(0); }

/* ---------- Feature rows ---------- */

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.feature__copy { display: grid; gap: 22px; justify-items: start; }
.feature__copy .h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); }
.feature__visual { display: grid; gap: 16px; justify-items: center; }
.feature__caption { color: var(--ink-2); font-size: 0.875rem; text-align: center; }

.ticks { display: grid; gap: 14px; }
.ticks li { display: flex; align-items: center; gap: 14px; }
.ticks li:nth-child(1) { --i: 0; }
.ticks li:nth-child(2) { --i: 1; }
.ticks li:nth-child(3) { --i: 2; }
.ticks li:nth-child(4) { --i: 3; }
.tick { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--accent-tint); color: var(--chip-ink); }

.aside { padding: 20px 24px; border-radius: 20px; background: var(--accent-tint); }
.aside p { color: var(--ink); font-size: 1.0625rem; line-height: 1.45; }
.aside footer { margin-top: 8px; color: var(--ink-2); font-size: 0.875rem; }

/* CV score card (illustrative) */
.cvcard {
  display: grid;
  gap: 22px;
  width: 100%;
  max-width: 440px;
  padding: 28px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-card), 0 0 0 1px var(--line-soft);
}
.cvcard__file { display: flex; align-items: center; gap: 12px; }
.cvcard__fileicon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-text); }
.cvcard__filename { font-weight: 600; letter-spacing: -0.01em; }
.cvcard__role { margin-left: auto; padding: 5px 12px; border-radius: 999px; background: var(--band); color: var(--ink-2); font-size: 0.8125rem; }
.cvcard__score { display: flex; align-items: center; gap: 20px; padding: 20px; border-radius: 20px; background: var(--band); }
.cvcard__label { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; }
.cvcard__sample { color: var(--ink-2); font-size: 0.8125rem; font-weight: 500; }
.cvcard__sub { margin-bottom: -10px; color: var(--ink-2); font-size: 0.875rem; }

.ring { position: relative; width: 92px; height: 92px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring__track { stroke: var(--line); }
.ring__value { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 72 100; }
.ring__n { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.625rem; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

.fix { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: 1rem; }
.fix:first-child { border-top: 0; }
.fix__box {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  flex: none;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.fix__box .icon { transition: opacity 0.3s var(--ease), transform 0.5s var(--ease); }

.cvcard.is-armed .ring__value { stroke-dasharray: 0 100; }
.cvcard.is-on .ring__value { stroke-dasharray: 72 100; transition: stroke-dasharray 1.4s var(--ease) 0.2s; }
.cvcard.is-armed .fix__box { background: transparent; border-color: var(--field-line); }
.cvcard.is-armed .fix__box .icon { opacity: 0; transform: scale(0.5); }
.cvcard.is-armed .fix.is-on .fix__box { background: var(--accent); border-color: var(--accent); }
.cvcard.is-armed .fix.is-on .fix__box .icon { opacity: 1; transform: none; }

/* Queue (illustrative) */
.queue {
  display: grid;
  gap: 30px;
  width: 100%;
  max-width: 480px;
  padding: 28px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-card), 0 0 0 1px var(--line-soft);
}
.queue__label { margin-bottom: 14px; color: var(--ink); font-size: 1rem; font-weight: 600; }
.queue__line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.queue__line i { width: 16px; height: 16px; border-radius: 50%; background: var(--dot); }
.queue__line b {
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 0 0 5px var(--accent-tint);
}
.queue__note { margin-top: 14px; color: var(--ink-2); font-size: 0.875rem; }

.queue.is-armed i, .queue.is-armed b { opacity: 0; transform: scale(0.4); }
.queue.is-on i, .queue.is-on b {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s var(--ease), transform 0.55s var(--ease);
  transition-delay: calc(var(--i, 0) * 45ms);
}

/* Spreadsheet turning into the tracker (illustrative) */
.swap { display: grid; width: 100%; max-width: 500px; }
.swap > * { grid-area: 1 / 1; align-self: center; }

.sheet {
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-card), 0 0 0 1px var(--line);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), filter 0.7s var(--ease);
}
.sheet__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--band-2); color: var(--ink-2); font-size: 0.8125rem; }
.sheet__dot { width: 10px; height: 10px; border-radius: 3px; background: var(--dot); }
.sheet__grid { display: grid; grid-template-columns: 28px 1.3fr 1fr 1fr 1.1fr; }
.cell {
  min-height: 34px;
  padding: 9px 10px;
  overflow: hidden;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cell--h { padding-left: 0; padding-right: 0; background: var(--band); color: var(--ink-2); text-align: center; }
.cell--b { font-weight: 600; }
.cell--bad { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }

.tracker {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-card), 0 0 0 1px var(--line-soft);
  transition: opacity 0.8s var(--ease) 0.2s, transform 1s var(--ease) 0.2s;
}
.tracker__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tracker__title { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; }
.tracker__count { color: var(--ink-2); font-size: 0.875rem; }
.tracker__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tstat { display: grid; gap: 2px; padding: 12px; border-radius: 16px; background: var(--band); }
.tstat__n { font-size: 1.5rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tstat__l { color: var(--ink-2); font-size: 0.75rem; }
.trow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); }
.trow__text { display: grid; min-width: 0; }
.trow__title { font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; }
.trow__meta { color: var(--ink-2); font-size: 0.8125rem; }
.status { padding: 5px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.status--applied { background: var(--accent-tint); color: var(--chip-ink); }
.status--interview { background: var(--accent); color: #fff; }
.status--offer { background: var(--ink); color: #fff; }
.status--rejected { background: var(--band-2); color: var(--ink-2); }

/* The spreadsheet shows first, then gives way to the tracker. Without JS or with reduced motion, only the tracker shows. */
.swap:not(.is-armed) .sheet { display: none; }
.swap.is-armed .tracker { opacity: 0; transform: translateY(28px) scale(0.96); }
.swap.is-armed .trow { opacity: 0; transform: translateX(18px); }
.swap.is-played .sheet { opacity: 0; transform: translateY(-22px) scale(0.94) rotate(-2deg); filter: blur(2px); pointer-events: none; }
.swap.is-played .tracker { opacity: 1; transform: none; }
.swap.is-played .trow { opacity: 1; transform: none; }
.swap.is-played .trow:nth-child(1) { transition-delay: 0.5s; }
.swap.is-played .trow:nth-child(2) { transition-delay: 0.62s; }
.swap.is-played .trow:nth-child(3) { transition-delay: 0.74s; }
.swap.is-played .trow:nth-child(4) { transition-delay: 0.86s; }
.swap.is-played .trow:nth-child(5) { transition-delay: 0.98s; }
.swap.is-armed .status { transform: scale(0.6); }
.swap.is-played .status { transform: none; transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
.swap.is-played .trow:nth-child(1) .status { transition-delay: 0.8s; }
.swap.is-played .trow:nth-child(2) .status { transition-delay: 0.92s; }
.swap.is-played .trow:nth-child(3) .status { transition-delay: 1.04s; }
.swap.is-played .trow:nth-child(4) .status { transition-delay: 1.16s; }
.swap.is-played .trow:nth-child(5) .status { transition-delay: 1.28s; }

/* ---------- Story ---------- */

.story { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.story__copy { display: grid; gap: 24px; justify-items: start; }
.story__copy .h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); }

.prose { display: grid; gap: 18px; color: var(--ink-2); }
.prose__lead { color: var(--ink); font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.35; letter-spacing: -0.02em; font-weight: 500; }
.prose__close { color: var(--ink); font-weight: 500; }
.story__by { margin-top: -8px; color: var(--ink-2); font-size: 0.9375rem; font-weight: 500; }

.story__visual { display: grid; gap: 28px; justify-items: center; }
.pages { position: relative; width: min(290px, 100%); aspect-ratio: 3 / 4; }
.page { position: absolute; inset: 0; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-card), 0 0 0 1px var(--line-soft); }
.page--3 { transform: rotate(-7deg) translate(-16px, 6px); transition: transform 1.2s var(--ease); }
.page--2 { transform: rotate(-3.5deg) translate(-7px, 3px); transition: transform 1.2s var(--ease); }
.page--1 { display: grid; align-content: start; gap: 12px; padding: 32px 28px; }
.page__badge {
  position: absolute;
  top: -14px; right: -14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: var(--glow);
}
.page__name { width: 55%; height: 16px; border-radius: 8px; background: var(--ink); }
.page__role { width: 35%; height: 10px; border-radius: 6px; background: var(--accent); }
.page__rule { height: 1px; margin: 6px 0; background: var(--line); }
.page__line { width: 100%; height: 8px; border-radius: 6px; background: var(--band-2); }
.page__line--l { width: 88%; }
.page__line--s { width: 54%; }
.story__caption { color: var(--ink-2); font-size: 0.9375rem; text-align: center; }

.pages.is-armed .page--2, .pages.is-armed .page--3 { transform: none; }

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

.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 1.1875rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.faq__item summary:hover { color: var(--accent-text); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { color: var(--accent-text); transition: transform 0.4s var(--ease); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__item p { padding: 0 48px 24px 0; color: var(--ink-2); }
.faq__item[open] p { animation: fade-in 0.5s var(--ease); }

/* ---------- Signup ---------- */

.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.signup__copy { display: grid; gap: 24px; position: sticky; top: calc(var(--nav-h) + 40px); }
.signup__label { margin-top: 16px; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.expect { display: grid; gap: 16px; margin-top: -8px; }
.expect li { display: flex; align-items: flex-start; gap: 14px; color: var(--ink-2); }
.expect__tick { display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; flex: none; border-radius: 50%; background: var(--accent-tint); color: var(--chip-ink); }

.signup__panel {
  padding: clamp(24px, 4vw, 40px);
  border-radius: 28px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-window), 0 0 0 1px var(--line-soft);
}

.nojs { padding: 16px 18px; border-radius: 12px; background: var(--band); color: var(--ink); font-size: 0.9375rem; }

.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 8px; font-size: 0.9375rem; font-weight: 500; }
.field__optional { color: var(--ink-2); font-weight: 400; }

.field input[type="text"],
.field input[type="email"],
.field select {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--field-line);
  border-radius: 12px;
  background: var(--field-bg);
  color: var(--ink);
  font-size: 1.0625rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder { color: var(--ink-2); opacity: 1; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: var(--select-chevron);
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px 8px;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-text) 30%, transparent);
}

.field input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 30%, transparent); }

.field__help, .field__hint { margin-top: 6px; color: var(--ink-2); font-size: 0.875rem; }
.field__error { margin-top: 6px; color: var(--danger); font-size: 0.875rem; font-weight: 500; }

.field--check { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 4px 14px; align-items: start; margin-bottom: 26px; }
.field--check label { margin: 0; font-size: 0.9375rem; font-weight: 400; line-height: 1.45; }
.field--check .field__error { grid-column: 1 / -1; }

.field input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 26px; height: 26px;
  margin: 0;
  border: 1.5px solid var(--field-line);
  border-radius: 8px;
  background: var(--field-bg) center / 16px no-repeat;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.field input[type="checkbox"]:checked {
  background-color: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23fff' d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E");
}
.field input[type="checkbox"]:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.field input[type="checkbox"][aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--danger-tint);
  color: var(--danger);
  font-size: 0.9375rem;
  font-weight: 500;
}

.form__fine { margin-top: 14px; color: var(--ink-2); font-size: 0.875rem; text-align: center; }

.joined { display: grid; gap: 20px; justify-items: start; }
.joined__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff; }
.joined__icon .icon { width: 32px; height: 32px; }
.joined__title:focus { outline: none; }
.joined__position { padding: 6px 14px; border-radius: 999px; background: var(--accent-tint); color: var(--chip-ink); font-size: 0.9375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.joined__next { display: grid; gap: 12px; color: var(--ink-2); }
.joined__next li { padding-left: 20px; position: relative; }
.joined__next li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 1.5px; background: var(--ink-2); }
.joined__share { display: grid; gap: 10px; justify-items: start; width: 100%; padding: 22px; border-radius: 20px; background: var(--band); }
.joined__share-title { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; }
.joined__share-text { color: var(--ink-2); font-size: 0.9375rem; }
.joined__share .share__actions { margin-top: 6px; }
.joined__share-status { min-height: 1.5em; color: var(--ink-2); font-size: 0.9375rem; }
.joined:not([hidden]) { animation: pop-in 0.7s var(--ease); }
.joined:not([hidden]) .joined__icon { animation: ring-out 1.4s var(--ease) 0.2s; }

/* ---------- Share ---------- */

.share { display: grid; gap: 20px; justify-items: center; text-align: center; }
.share__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.share__actions--center { justify-content: center; }
.share__status { min-height: 1.5em; color: var(--ink-2); font-size: 0.9375rem; }

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

.footer { padding: 56px 0 48px; background: var(--band); color: var(--ink-2); font-size: 0.875rem; }
.footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.footer__brand { color: var(--ink); font-size: 1.1875rem; font-weight: 650; letter-spacing: -0.03em; }
.footer__line { max-width: 34em; margin-top: 8px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__links a { color: var(--ink-2); text-decoration: none; }
.footer__links a:hover { color: var(--accent-text); text-decoration: underline; }
.footer__copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Privacy page ---------- */

.doc { padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 120px); }
.doc__title { margin-bottom: 24px; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); line-height: 1.08; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.doc h2 { margin: 48px 0 12px; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { display: grid; gap: 10px; padding-left: 1.25em; list-style: disc; }
.doc ul li::marker { color: var(--ink-2); }

/* ---------- Motion ---------- */

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 75%, 100% { transform: scale(2.8); opacity: 0; } }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@keyframes drift-a { to { transform: translate3d(70px, 50px, 0) scale(1.1); } }
@keyframes drift-b { to { transform: translate3d(-60px, 60px, 0) scale(1.08); } }
@keyframes progress { to { transform: scaleX(1); } }
@keyframes word-in { from { opacity: 0; transform: translateY(0.45em); } to { opacity: 1; transform: none; } }
@keyframes sheen { 0%, 55% { transform: translateX(-140%) skewX(-18deg); } 100% { transform: translateX(300%) skewX(-18deg); } }
@keyframes marquee { to { transform: translateX(calc(-100% / var(--n, 2))); } }
@keyframes press { 40% { transform: scale(0.9); } }
@keyframes ring-pulse { from { transform: scale(1); opacity: 0.7; } to { transform: scale(1.6); opacity: 0; } }
@keyframes step-ring { 0% { transform: scale(1); opacity: 0.6; } 12% { transform: scale(1.7); opacity: 0; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes step-pop { 0%, 14%, 100% { transform: scale(1); } 5% { transform: scale(1.1); } }
@keyframes ring-out { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 100% { box-shadow: 0 0 0 22px transparent; } }

/* Entrance states below are set only by script.js, and only when motion is allowed. */
.split.is-armed .w { opacity: 0; transform: translateY(0.5em); }
.split.is-on .w { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.split .w { display: inline-block; }

.ticks.is-armed li { opacity: 0; transform: translateX(-14px); }
.ticks.is-armed .tick { transform: scale(0); }
.ticks.is-on li { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i) * 120ms + 200ms); }
.ticks.is-on .tick { transform: none; transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); transition-delay: calc(var(--i) * 120ms + 380ms); }

@media (prefers-reduced-motion: no-preference) {
  .ribbon.is-live .ribbon__track { animation: marquee var(--loop, 40s) linear infinite; }
  .ribbon.is-live .ribbon__viewport:hover .ribbon__track,
  .ribbon.is-live.is-paused .ribbon__track { animation-play-state: paused; }

  .step__n { animation: step-pop 10s ease-in-out infinite; }
  .step__n::after { animation: step-ring 10s ease-out infinite; }
  .step:nth-child(2) .step__n, .step:nth-child(2) .step__n::after { animation-delay: 2.5s; }
  .step:nth-child(3) .step__n, .step:nth-child(3) .step__n::after { animation-delay: 5s; }
  .step:nth-child(4) .step__n, .step:nth-child(4) .step__n::after { animation-delay: 7.5s; }

  .pages { animation: float 7s ease-in-out infinite alternate; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .orb, .demo__float, .pill__dot::after, .live-dot::after { animation: none !important; }
  .nav__progress { display: none; }
  .btn__spinner { animation: pulse 1.6s ease-in-out infinite !important; animation-duration: 1.6s !important; animation-iteration-count: infinite !important; }
}
@keyframes pulse { 50% { opacity: 0.35; } }

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

@media (max-width: 1100px) {
  .demo__float { display: none; }
}

@media (max-width: 960px) {
  .feature, .story, .signup { grid-template-columns: 1fr; }
  .feature--flip .feature__copy { order: -1; }
  .feature__copy, .story__copy, .signup__copy { max-width: 640px; }
  .signup__copy { position: static; }
  .feature__visual { justify-items: start; }
  .story__visual { justify-items: start; }
}

@media (max-width: 820px) {
  .window__body { grid-template-columns: 1fr; }
  .side { border-left: 0; border-top: 1px solid var(--line-soft); }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat { padding: 14px 12px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .step:not(:last-child)::before, .step:not(:last-child)::after { display: none; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .pains { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .pill { font-size: 0.8125rem; padding: 7px 14px; }
  .hero__actions { flex-direction: column; gap: 20px; }
  .hero__actions .btn { width: 100%; max-width: 340px; }
  .window { border-radius: 22px; }
  .feed, .side { padding: 20px; }
  .feed__head { flex-direction: column; gap: 2px; }
  .job { grid-template-columns: 40px minmax(0, 1fr); gap: 12px 14px; padding: 14px; }
  .job__icon { width: 40px; height: 40px; border-radius: 12px; }
  .job__side { grid-column: 1 / -1; justify-content: space-between; }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cvcard, .queue, .tracker, .signup__panel, .pain { border-radius: 24px; }
  .cvcard { padding: 22px; }
  .cvcard__role { display: none; }
  .tracker { padding: 20px; }
  .tracker__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet__grid { grid-template-columns: 24px 1.2fr 1fr 1fr 1fr; }
  .cell { padding: 8px 6px; font-size: 0.6875rem; }
  .share__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .share__actions .btn { width: 100%; }
  .faq__item p { padding-right: 0; }
  .footer__grid { grid-template-columns: 1fr; }
}
