@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Colour comes from the product: Qdin blue, the green of a strong FIT,
   the amber of the Interview stage, and the app's own canvas grey. */
:root {
  --ink: #111827;
  --muted: #4b5563;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --navy: #0f1d47;
  --fit: #047857;
  --fit-wash: #e7f6ee;
  --amber: #b45309;
  --amber-wash: #fff1dc;
  --canvas: #f5f6f8;
  --surface: #ffffff;
  --line: #dfe3e9;
  --spring: cubic-bezier(.3, 1.5, .5, 1);
  --glide: cubic-bezier(.2, .7, .2, 1);
  font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 106.25%;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, h4, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { color: #0b2a6f; background: #cfdcff; }
.wrap { width: min(100% - 2 * clamp(20px, 5vw, 72px), 1180px); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: absolute; top: 10px; left: 10px; z-index: 10; background: white; padding: 12px; }
[id] { scroll-margin-top: 92px; }

/* Masthead */
.masthead { position: sticky; top: 0; z-index: 5; background: #fffffff0; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.masthead-inner { min-height: 68px; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.5rem; line-height: 1; letter-spacing: -.03em; }
.brand img { display: block; }
.nav { display: flex; gap: clamp(18px, 2.6vw, 36px); margin-left: auto; font-size: .94rem; font-weight: 500; }
.nav a:hover, .signin:hover, footer nav a:hover { color: var(--blue); }
.signin { font-size: .94rem; font-weight: 600; white-space: nowrap; }
.member { display: inline-block; padding: 0 18px; line-height: 40px; border-radius: 99px; background: var(--blue); color: white; font-size: .92rem; font-weight: 650; white-space: nowrap; transition: background-color .2s; }
.member:hover { background: var(--blue-deep); }

/* Hero */
.hero { position: relative; background: var(--blue); color: white; }
/* A FIT ring the size of the hero, filled to the sample job's 89. */
.hero-ring { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-ring svg { position: absolute; top: 50%; right: -12vw; width: clamp(620px, 66vw, 940px); height: auto; transform: translateY(-46%) rotate(-90deg); }
.hero-ring circle { fill: none; stroke-width: 15; }
.ring-track { stroke: #ffffff12; }
.ring-value { stroke: #ffffff24; stroke-linecap: round; stroke-dasharray: 89 100; }
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding-top: clamp(44px, 6vw, 88px);
}
.hero-copy { align-self: center; padding-bottom: clamp(48px, 7vw, 104px); }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.75rem); line-height: 1.02; font-weight: 700; letter-spacing: -.038em; text-wrap: balance; }
h1 .w { display: inline-block; }
.hero-intro { margin-top: 26px; max-width: 34em; font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.55; color: #e6edff; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 12px; font-size: 1rem; font-weight: 650; transition: transform .2s var(--spring), background-color .2s; }
.button.on-blue { background: white; color: var(--blue-deep); }
.button.on-blue:hover { background: #e6edff; transform: translateY(-2px); }
.hero :focus-visible, .waitlist :focus-visible, .iphone :focus-visible { outline-color: white; }
.hero-link { font-weight: 600; text-decoration: underline; text-decoration-color: #ffffff8c; text-underline-offset: 5px; }
.hero-link:hover { text-decoration-color: white; }

/* The demo: one sample job, stepped through four stages.
   The card hangs out of the blue onto the page below it. */
.demo { align-self: end; margin-bottom: clamp(-72px, -5vw, -40px); color: var(--ink); --d: 4s; }
.demo-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 8px; align-items: end; margin-bottom: 14px; }
.demo-step { position: relative; padding: 6px 0 11px; border: 0; background: none; color: #ffffffb8; font-size: .9rem; font-weight: 650; text-align: left; white-space: nowrap; cursor: pointer; }
.demo-step::before, .demo-step::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; }
.demo-step::before { background: #ffffff42; }
.demo-step::after { background: white; transform: scaleX(0); transform-origin: left; }
.demo-step:hover, .demo-step[aria-pressed="true"], .demo-step.done { color: white; }
.demo-step.done::after, .demo-step[aria-pressed="true"]::after { transform: none; }
.demo-toggle { display: grid; place-items: center; width: 30px; height: 30px; margin: 0 0 4px 4px; padding: 0; border: 1.5px solid #ffffff8c; border-radius: 50%; background: none; color: white; cursor: pointer; }
.demo-toggle[hidden] { display: none; }
.demo-toggle:hover { background: #ffffff26; }
.demo-toggle::before { content: ""; width: 0; height: 0; margin-left: 3px; border-block: 5px solid transparent; border-left: 8px solid currentColor; }
.demo.is-playing .demo-toggle::before { width: 9px; height: 10px; margin: 0; border-block: 0; border-inline: 3px solid currentColor; }

.demo-card { background: var(--surface); border-radius: 22px; padding: clamp(20px, 2.2vw, 30px); box-shadow: 0 28px 60px -30px #0b1f5c8f, 0 2px 6px #0b1f5c1f; cursor: pointer; }
.match-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.match-avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #9f1239; color: white; font-weight: 700; font-size: 1.2rem; }
.match-title strong { display: block; font-size: 1.16rem; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.match-title span { display: block; margin-top: 3px; color: var(--muted); font-size: .9rem; line-height: 1.35; }
.fit { position: relative; display: grid; justify-items: center; width: 64px; color: var(--fit); }
.fit svg { display: block; transform: rotate(-90deg); }
.fit circle { fill: none; stroke-width: 6; }
.fit-track { stroke: #e5e9ee; }
.fit-value { stroke: currentColor; stroke-linecap: round; stroke-dasharray: 89 100; }
.fit b { position: absolute; top: 0; height: 64px; display: grid; place-items: center; font-size: 1.25rem; font-weight: 700; }
.fit span { margin-top: 4px; font-size: .74rem; font-weight: 700; }
.match-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.match-chips span { padding: 3px 11px; border-radius: 8px; background: #eef0f3; font-size: .86rem; font-weight: 600; }
.match-chips .stage-chip { display: none; border-radius: 99px; font-weight: 700; }
.demo[data-step="1"] .s1, .demo[data-step="2"] .s2, .demo[data-step="3"] .s3, .demo[data-step="4"] .s4 { display: inline-block; }
.match-chips :is(.s1, .s3) { background: #e3ebff; color: var(--blue-deep); }
.match-chips .s2 { background: #fff4cf; color: #92400e; }
.match-chips .s4 { background: var(--amber-wash); color: var(--amber); }

/* All panels share one grid cell, so the card never changes height. */
.demo-panels { display: grid; margin-top: 16px; }
.panel { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .4s var(--glide), visibility 0s .25s; }
.demo[data-step="1"] .panel-match,
.demo[data-step="2"] .panel-fill,
.demo[data-step="3"] .panel-track,
.demo[data-step="4"] .panel-track { opacity: 1; visibility: visible; transform: none; transition-delay: .14s, .14s, 0s; }

.match-summary { color: #374151; font-size: .96rem; line-height: 1.5; }
.match-why { margin-top: 16px; padding: 14px 16px 16px; border: 1px solid #d8e2fb; border-radius: 14px; background: #f6f9ff; }
.match-why b { color: var(--blue-deep); font-size: .86rem; font-weight: 700; }
.match-why p { margin-top: 4px; font-size: .94rem; line-height: 1.45; }
.match-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.match-tags span { padding: 2px 11px; border-radius: 99px; font-size: .84rem; font-weight: 650; transition: opacity .3s, transform .4s var(--spring); }
.match-tags .has { background: var(--fit-wash); color: var(--fit); }
.match-tags .has::before { content: "✓ "; }
.match-tags .new { background: var(--amber-wash); color: var(--amber); }
.match-tags .new::before { content: "+ "; }
.demo:not([data-step="1"]) .match-tags span { opacity: 0; transform: scale(.8); }
.demo[data-step="1"] .match-tags span:nth-child(1) { transition-delay: .4s; }
.demo[data-step="1"] .match-tags span:nth-child(2) { transition-delay: .52s; }
.demo[data-step="1"] .match-tags span:nth-child(3) { transition-delay: .64s; }

.thumb { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: white; color: #6b7280; }
.thumb svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.thumb.up { background: #dcf5e7; color: var(--fit); box-shadow: inset 0 0 0 2px #7fd6a8; }
.match-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.match-alert { margin-right: auto; color: var(--muted); font-size: .86rem; }
.match-foot .thumb { width: 40px; height: 40px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); }
.match-foot .thumb svg { width: 19px; height: 19px; }
.match-foot .thumb.up { box-shadow: inset 0 0 0 1.5px #7fd6a8; }

.panel-label { display: block; color: var(--muted); font-size: .84rem; font-weight: 700; }
.done-list { margin-top: 8px; border: 1px solid var(--line); border-radius: 14px; }
.done-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 9px 14px; }
.done-list li + li { border-top: 1px solid var(--line); }
.done-list li::before {
  content: "";
  grid-row: 1 / span 2;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--fit) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .4s var(--spring);
}
.done-list span { font-size: .94rem; font-weight: 650; line-height: 1.3; }
.done-list em { grid-column: 2; color: var(--muted); font-size: .86rem; font-style: normal; line-height: 1.3; }
.demo:not([data-step="2"]) .done-list li::before { transform: scale(0); }
.demo[data-step="2"] .done-list li:nth-child(1)::before { transition-delay: .35s; }
.demo[data-step="2"] .done-list li:nth-child(2)::before { transition-delay: .6s; }
.demo[data-step="2"] .done-list li:nth-child(3)::before { transition-delay: .85s; }
.submit-row { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.fake-button { flex: none; padding: 9px 16px; border-radius: 10px; background: var(--blue); color: white; font-size: .92rem; font-weight: 650; }
.submit-row small { color: var(--muted); font-size: .84rem; line-height: 1.35; }

.panel-track { display: flex; flex-direction: column; }
.track-strip { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 18px 0 22px; color: var(--muted); font-size: .84rem; font-weight: 650; text-align: center; }
.track-strip::before, .track-strip::after { content: ""; position: absolute; top: 8px; left: 12.5%; height: 2px; }
.track-strip::before { right: 12.5%; background: var(--line); }
.track-strip::after { width: 0; background: var(--blue); transition: width .7s .25s var(--glide); }
.demo[data-step="4"] .track-strip::after { width: 50%; }
.track-strip li { position: relative; padding-top: 26px; transition: color .3s; }
.track-strip li::before { content: ""; position: absolute; z-index: 1; top: 0; left: 50%; width: 18px; height: 18px; margin-left: -9px; border: 2px solid var(--line); border-radius: 50%; background: white; transition: background-color .3s, border-color .3s, transform .4s var(--spring); }
.track-strip li:nth-child(1)::before { border-color: var(--blue); background: var(--blue); }
.demo[data-step="3"] .track-strip li:nth-child(1) { color: var(--blue-deep); }
.demo[data-step="3"] .track-strip li:nth-child(1)::before { transform: scale(1.25); }
.demo[data-step="4"] .track-strip li:nth-child(2)::before { border-color: var(--blue); background: var(--blue); transition-delay: .5s; }
.demo[data-step="4"] .track-strip li:nth-child(3) { color: var(--amber); transition-delay: .85s; }
.demo[data-step="4"] .track-strip li:nth-child(3)::before { border-color: var(--amber); background: var(--amber); transform: scale(1.3); transition-delay: .85s; }
.track-notes { flex: 1; display: grid; }
.track-note { grid-area: 1 / 1; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.track-note img { flex: none; }
.track-note b { display: block; font-size: .96rem; line-height: 1.3; }
.track-note p { margin-top: 3px; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.track-note .links { display: flex; gap: 16px; margin-top: 6px; color: var(--blue-deep); font-weight: 650; }
.note-interview { border-color: #f6d9b3; background: #fffaf2; }
.demo[data-step="3"] .note-applied { opacity: 1; visibility: visible; transition-delay: .2s, 0s; }
.demo[data-step="4"] .note-interview { opacity: 1; visibility: visible; transition-delay: .95s, .95s; }
.demo figcaption { margin-top: 14px; padding-inline: 4px; color: var(--muted); font-size: .86rem; line-height: 1.45; }

/* Stages */
.how { padding-top: clamp(120px, 13vw, 184px); }
.how-heading { max-width: 46rem; }
h2 { font-size: clamp(2rem, 3.7vw, 3.1rem); line-height: 1.08; font-weight: 700; letter-spacing: -.032em; text-wrap: balance; }
.how-heading p { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }
.stages { margin-top: clamp(44px, 6vw, 80px); }
.stage { display: grid; grid-template-columns: 164px minmax(0, 1fr); }
.stage-mark {
  position: sticky;
  top: 96px;
  align-self: start;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 16px;
  margin-right: -19px; /* centres the dot on the rail */
  z-index: 1;
}
.stage-dot { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: white; font-weight: 700; font-size: 1rem; box-shadow: 0 0 0 6px var(--canvas); transition: background-color .3s, color .3s; }
.stage-name { font-weight: 700; font-size: 1.06rem; letter-spacing: -.01em; transition: color .3s; }
.stage.last .stage-dot { background: var(--amber); }
.stage.last .stage-name { color: var(--amber); }
/* With the script running, a stage's dot fills in when you reach it. */
.js .stage:not(.reached) .stage-dot { background: var(--canvas); color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 6px var(--canvas); }
.js .stage:not(.reached) .stage-name { color: var(--muted); }
.js .stage.last:not(.reached) .stage-dot { color: var(--amber); box-shadow: inset 0 0 0 2px var(--amber), 0 0 0 6px var(--canvas); }
.stage-body { position: relative; min-width: 0; border-left: 2px solid var(--line); padding: 2px 0 clamp(72px, 9vw, 128px) clamp(40px, 5vw, 72px); }
.stage-body::before { content: ""; position: absolute; top: 0; left: -2px; width: 2px; height: var(--fill, 0px); background: var(--blue); }
.stage.last .stage-body { padding-bottom: 0; border-image: linear-gradient(to bottom, var(--line) 70%, transparent) 1; }
.stage.last .stage-body::before { background: linear-gradient(var(--blue), var(--amber)); }
h3 { font-size: clamp(1.55rem, 2.5vw, 2.15rem); line-height: 1.14; font-weight: 700; letter-spacing: -.025em; max-width: 24em; text-wrap: balance; }
h4 { font-size: 1.14rem; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.stage-body p { max-width: 40em; color: var(--muted); }
.stage-body .lede { margin-top: 14px; font-size: 1.08rem; }
.stage-body h4 + p { margin-top: 6px; }
.stage-body .sub { margin-top: clamp(40px, 5vw, 64px); font-size: 1.4rem; letter-spacing: -.02em; }
.stage-body .note { margin-top: 18px; padding-left: 14px; border-left: 3px solid var(--blue); font-size: .96rem; }

.screen { display: block; margin-top: 30px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); cursor: zoom-in; }
.screen img { display: block; width: 100%; }
.screen:hover { border-color: #b9c2d0; box-shadow: 0 18px 40px -28px #0b1f5c66; }
.shot figcaption { margin-top: 12px; max-width: 44em; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.split .screen { margin-top: 0; }

.boards { width: 100%; margin-top: 30px; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-align: left; }
.boards th, .boards td { padding: 14px 20px; border-top: 1px solid var(--line); vertical-align: middle; }
.boards thead th { border-top: 0; padding-block: 11px; background: #fafbfc; color: var(--muted); font-size: .86rem; font-weight: 600; }
.boards tbody tr { transition: background-color .2s; }
.boards tbody tr:hover { background: #f6f9ff; }
.boards tbody th { font-weight: 650; white-space: nowrap; }
.boards tbody th a { text-decoration: underline; text-decoration-color: #b9c2d0; text-underline-offset: 4px; }
.boards tbody th a:hover { color: var(--blue); text-decoration-color: currentColor; }
.boards td { color: var(--muted); font-size: .95rem; line-height: 1.45; }
.platform { display: block; width: auto; height: 22px; max-width: 124px; object-fit: contain; object-position: left; }
.platform[alt="Workday"] { height: 40px; margin-block: -9px; }
.platform[alt="Lever"] { height: 16px; }
.platform[alt="iCIMS"] { height: 15px; }
.platform[alt="Ashby"] { height: 19px; }
.employer-mark { display: inline-grid; place-items: center; width: 44px; height: 28px; margin-right: 12px; vertical-align: middle; }
.employer-mark img { max-width: 100%; max-height: 28px; width: auto; object-fit: contain; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: 40px; }
.pair p { font-size: .98rem; }
.pair-art { display: flex; flex-direction: column; justify-content: center; height: 78px; margin-bottom: 14px; }
/* Seven bars for the seven-day window. */
.week-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; max-width: 300px; }
.week-bars i { position: relative; height: 12px; border-radius: 6px; background: var(--line); overflow: hidden; }
.week-bars i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--blue); transform-origin: left; transition: transform .3s var(--glide); }
.week-bars i:nth-child(2)::after { transition-delay: .09s; }
.week-bars i:nth-child(3)::after { transition-delay: .18s; }
.week-bars i:nth-child(4)::after { transition-delay: .27s; }
.week-bars i:nth-child(5)::after { transition-delay: .36s; }
.week-bars i:nth-child(6)::after { transition-delay: .45s; }
.week-bars i:nth-child(7)::after { transition-delay: .54s; }
.week-ends { display: flex; justify-content: space-between; max-width: 300px; margin-top: 7px; color: var(--muted); font-size: .82rem; font-weight: 600; }
/* The measured working time, and a résumé with the lines that matter picked out. */
.speed strong { color: var(--blue); font-size: 3.4rem; font-weight: 700; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.tailor { gap: 6px; max-width: 220px; }
.tailor i { height: 7px; border-radius: 4px; background: var(--line); transform-origin: left; transition: background-color .4s, transform .5s var(--glide); }
.tailor i:nth-child(2n) { width: 82%; }
.tailor i:nth-child(3n) { width: 64%; }
.tailor .hit { background: var(--fit); }
.tailor .hit:nth-child(2) { transition-delay: .3s; }
.tailor .hit:nth-child(4) { transition-delay: .5s; }
.tailor .hit:nth-child(5) { transition-delay: .7s; }
/* Two listings joining into one opening. */
.merge { flex-direction: row; justify-content: flex-start; align-items: center; }
.merge-from { display: grid; gap: 8px; }
.merge span { padding: 2px 11px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--surface); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.merge svg { flex: none; width: 34px; height: 60px; fill: none; stroke: #9aa5b8; stroke-width: 1.5; }
.merge path { vector-effect: non-scaling-stroke; stroke-dasharray: 1; transition: stroke-dashoffset .5s .15s var(--glide); }
.merge .merge-to { border-color: var(--blue); background: var(--blue); color: white; transition: opacity .3s .55s, transform .45s .55s var(--spring); }

.gmail { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: clamp(40px, 5vw, 64px); }
.gmail-copy img { display: block; margin-bottom: 14px; }
.gmail .screen { margin-top: 0; }

/* Preferences: one sample panel, with the three ideas beside it. */
.preferences { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(96px, 12vw, 168px) clamp(72px, 9vw, 128px); }
.points { display: grid; gap: 24px; margin-top: 32px; }
.points h3 { max-width: none; font-size: 1.14rem; line-height: 1.3; letter-spacing: -.01em; }
.points p { max-width: 34em; margin-top: 4px; color: var(--muted); font-size: .98rem; }
.prefs-card { border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 30px 60px -44px #0b1f5c80; }
.pp-row { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 8px 20px; align-items: center; padding: 18px clamp(18px, 2.4vw, 28px); }
.pp-row + .pp-row { border-top: 1px solid var(--line); }
.pp-row > b { color: var(--muted); font-size: .9rem; font-weight: 650; }
.pp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-chips span { padding: 4px 14px; border: 1.5px solid var(--line); border-radius: 99px; color: var(--muted); font-size: .9rem; font-weight: 600; transition: background-color .3s, color .3s, border-color .3s; }
.pp-chips .on { border-color: var(--blue); background: #eaf0ff; color: var(--blue-deep); }
.pp-chips .on::before { content: "✓ "; }
.pp-salary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.pp-salary strong { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.pp-track { position: relative; height: 6px; border-radius: 3px; background: var(--line); }
.pp-track::before { content: ""; position: absolute; inset: 0 42% 0 0; border-radius: inherit; background: var(--blue); }
.pp-track::after { content: ""; position: absolute; top: -8px; left: 58%; width: 22px; height: 22px; margin-left: -11px; border: 2px solid var(--blue); border-radius: 50%; background: white; box-shadow: 0 2px 6px #0b1f5c33; }
.pp-list { display: grid; gap: 6px; }
.pp-list span { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 10px; background: var(--canvas); font-size: .9rem; font-weight: 600; }
.pp-list i { padding: 1px 10px; border-radius: 99px; background: #e5e8ed; color: var(--muted); font-size: .8rem; font-style: normal; font-weight: 700; transition: opacity .3s, transform .4s var(--spring); }
.pp-list .good { background: var(--fit-wash); color: var(--fit); }
.prefs-panel figcaption { margin-top: 12px; padding-inline: 4px; color: var(--muted); font-size: .86rem; }

/* iPhone */
.iphone { overflow: hidden; background: var(--navy); color: white; padding-top: clamp(72px, 9vw, 128px); }
.iphone-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.iphone-copy { padding-bottom: clamp(72px, 9vw, 128px); }
.iphone .lede { max-width: 34em; margin-top: 16px; color: #c5cfee; font-size: 1.08rem; }
.iphone .points p { color: #c5cfee; }
.iphone-status { max-width: 34em; margin-top: 32px; padding: 12px 16px; border: 1px solid #ffffff38; border-radius: 14px; color: #e6edff; font-size: .94rem; }
.phone-figure { justify-self: center; }
/* The phone rises out of the bottom edge of the band. */
.device { position: relative; width: min(350px, 84vw); min-height: 560px; padding: 78px 14px 40px; border: 11px solid #060b1f; border-bottom: 0; border-radius: 56px 56px 0 0; background: linear-gradient(165deg, #1a3aa3, #2563eb 55%, #6d9bff); box-shadow: 0 0 0 2px #33427c, 0 40px 90px -30px #000000b3; }
.device-island { position: absolute; top: 14px; left: 50%; width: 100px; height: 30px; margin-left: -50px; border-radius: 99px; background: #060b1f; }
.lock-time { margin-bottom: 30px; font-size: 4.6rem; font-weight: 700; line-height: 1; letter-spacing: -.04em; text-align: center; font-variant-numeric: tabular-nums; }
.notif { margin-bottom: 10px; padding: 13px 15px 14px; border-radius: 22px; background: #fffffff0; color: var(--ink); box-shadow: 0 10px 30px -18px #000000a6; }
.notif-head { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8rem; font-weight: 650; }
.notif-head img { display: block; border-radius: 5px; }
.notif-head span { margin-left: auto; font-weight: 500; }
.notif b { display: block; margin-top: 7px; font-size: .96rem; line-height: 1.3; }
.notif b + p { margin-top: 2px; color: #374151; font-size: .9rem; line-height: 1.35; }
.notif-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.notif-actions span { padding: 7px; border-radius: 12px; background: #e9ecf1; font-size: .88rem; font-weight: 650; text-align: center; }
.notif-actions .like { background: #d3f1e0; color: var(--fit); }

/* Questions */
.questions { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.questions { padding-block: clamp(64px, 8vw, 112px); }
.question-list { border-bottom: 1px solid var(--line); }
details { border-top: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-size: 1.1rem; font-weight: 650; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--glide); }
details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
summary:hover { color: var(--blue); }
details p { max-width: 40em; padding: 0 32px 22px 0; color: var(--muted); }
details p a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 4px; }

/* Waitlist */
.waitlist { position: relative; overflow: hidden; background: var(--blue); color: white; padding-block: clamp(64px, 8vw, 112px); }
.waitlist::after { content: ""; position: absolute; top: 50%; right: -130px; width: 520px; height: 520px; margin-top: -260px; border: 54px solid #ffffff12; border-radius: 50%; pointer-events: none; }
.waitlist-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.waitlist h2 + p { max-width: 30em; margin-top: 14px; color: #e6edff; font-size: 1.08rem; }
.waitlist-form label { display: block; margin-bottom: 8px; font-size: .94rem; font-weight: 650; }
.field-row { display: flex; gap: 10px; }
.waitlist-form input[type="email"] { flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; border: 2px solid transparent; border-radius: 12px; background: white; color: var(--ink); font: inherit; }
.waitlist-form input[type="email"]::placeholder { color: #8a93a3; }
.waitlist-form input[aria-invalid="true"] { border-color: #ffd0a8; }
.waitlist-form .button { min-height: 52px; border: 0; cursor: pointer; white-space: nowrap; }
.waitlist-form .button[disabled] { opacity: .7; cursor: default; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.6em; margin-top: 10px; font-weight: 650; }
.form-note { margin-top: 4px; color: #e6edff; font-size: .88rem; line-height: 1.5; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.waitlist-done { font-size: 1.3rem; font-weight: 650; line-height: 1.35; }

/* Footer */
footer { background: var(--surface); }
.footer-inner { min-height: 84px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 20px; }
.footer-inner .brand { font-size: 1.3rem; }
.owner { color: var(--muted); font-size: .9rem; }
footer nav { display: flex; gap: 26px; margin-left: auto; font-size: .92rem; font-weight: 500; }

/* Screenshot dialog */
dialog { width: min(96vw, 1280px); max-height: 94vh; padding: 0; border: 0; border-radius: 18px; background: var(--surface); color: var(--ink); overflow: hidden; }
dialog[open] { display: flex; flex-direction: column; }
dialog::backdrop { background: #0b1220b3; }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 14px 12px 22px; border-bottom: 1px solid var(--line); }
.dialog-header h2 { font-size: 1.05rem; letter-spacing: -.01em; }
.dialog-close { min-height: 38px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 99px; background: none; color: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.dialog-close:hover { background: var(--ink); color: white; }
.dialog-canvas { overflow: auto; background: var(--canvas); }
.dialog-canvas img { display: block; width: 100%; }

/* Motion. Every rule here starts from, or returns to, the finished state above,
   so the page is complete without it. */
@media (prefers-reduced-motion: no-preference) {
  /* Opening sequence: headline, copy, card, then both FIT rings fill. */
  h1 .w { animation: rise .7s var(--glide) backwards; animation-delay: calc(var(--i) * 55ms + 60ms); }
  .hero-intro { animation: lift .7s .6s var(--glide) backwards; }
  .hero-actions { animation: lift .7s .72s var(--glide) backwards; }
  .demo-steps { animation: lift .6s .95s var(--glide) backwards; }
  .demo-card, .demo figcaption { animation: card-in .9s .3s var(--glide) backwards; }
  .ring-value { animation: ring-fill 1.7s .35s cubic-bezier(.3, .7, .2, 1) backwards; }
  .fit-value { animation: ring-fill 1.1s .85s cubic-bezier(.3, .7, .2, 1) backwards; }
  .match-tags span { animation: pop .45s var(--spring) backwards; }
  .match-tags span:nth-child(1) { animation-delay: 1.35s; }
  .match-tags span:nth-child(2) { animation-delay: 1.48s; }
  .match-tags span:nth-child(3) { animation-delay: 1.61s; }
  @keyframes rise { from { opacity: 0; transform: translateY(.5em) rotate(2deg); } }
  @keyframes lift { from { opacity: 0; transform: translateY(14px); } }
  @keyframes card-in { from { opacity: 0; transform: translateY(44px) rotate(1.5deg); } }
  @keyframes ring-fill { from { stroke-dasharray: 0 100; } }
  @keyframes pop { from { opacity: 0; transform: scale(.7); } }

  /* The demo while it plays. */
  .demo.is-playing .demo-step[aria-pressed="true"]::after { animation: step-fill var(--d) linear both; }
  .demo.is-playing[data-step="1"] .match-foot .up { animation: like .55s calc(var(--d) - .6s) both; }
  .demo.is-playing[data-step="2"] .fake-button { animation: press .5s calc(var(--d) - .55s) both; }
  .stage-chip { animation: pop .35s var(--spring); }
  @keyframes step-fill { from { transform: scaleX(0); } }
  @keyframes press { 40% { transform: scale(.93); background: var(--blue-deep); } }
  @keyframes like { 35% { transform: scale(.86); } 70% { transform: scale(1.14) rotate(-6deg); } }

  /* Screens and drawings arrive as you reach them. */
  .js :is(.screen, .boards, .pair > div, .prefs-panel, .device) { transition: opacity .7s ease, transform .8s var(--glide), border-color .2s, box-shadow .3s; }
  .js :is(.screen, .boards, .pair > div, .prefs-panel, .device):not(.in) { opacity: 0; transform: translateY(28px) scale(.985); }
  .js .pair > div:not(.in) .week-bars i::after { transform: scaleX(0); }
  .js .pair > div:not(.in) .merge path { stroke-dashoffset: 1; }
  .js .pair > div:not(.in) .tailor .hit { background: var(--line); transform: scaleX(.6); }
  .js .pair > div.in .speed strong { animation: pop .6s .2s var(--spring) backwards; }
  .js .pair > div:not(.in) .merge-to { opacity: 0; transform: scale(.7); }
  .js .prefs-panel:not(.in) .pp-chips .on { border-color: var(--line); background: transparent; color: var(--muted); }
  .js .prefs-panel.in .pp-row:nth-child(1) .on:nth-child(1) { transition-delay: .35s; }
  .js .prefs-panel.in .pp-row:nth-child(1) .on:nth-child(2) { transition-delay: .5s; }
  .js .prefs-panel.in .pp-row:nth-child(2) .on:nth-child(1) { transition-delay: .65s; }
  .js .prefs-panel.in .pp-row:nth-child(2) .on:nth-child(2) { transition-delay: .8s; }
  .js .prefs-panel.in .pp-track::before { animation: floor-fill 1s .7s var(--glide) backwards; }
  .js .prefs-panel.in .pp-track::after { animation: floor-thumb 1s .7s var(--glide) backwards; }
  .js .prefs-panel:not(.in) .pp-list i { opacity: 0; transform: scale(.7); }
  .js .prefs-panel.in .pp-row:nth-child(4) i { transition-delay: 1.2s; }
  .js .prefs-panel.in .pp-row:nth-child(5) span:nth-child(1) i { transition-delay: 1.4s; }
  .js .prefs-panel.in .pp-row:nth-child(5) span:nth-child(2) i { transition-delay: 1.55s; }
  @keyframes floor-fill { from { inset: 0 100% 0 0; } }
  @keyframes floor-thumb { from { left: 0; } }
  .notif { transition: opacity .45s, transform .6s var(--spring); }
  .js .device:not(.in) .notif { opacity: 0; transform: translateY(-22px) scale(.94); }
  .js .device.in .notif:nth-of-type(1) { transition-delay: .9s; }
  .js .device.in .notif:nth-of-type(2) { transition-delay: .5s; }
  .stage.reached .stage-dot { animation: dot .45s var(--spring); }
  @keyframes dot { from { transform: scale(.7); } }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .signin { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-bottom: 40px; }
  .hero-ring svg { top: auto; bottom: -12%; right: -34vw; width: 125vw; transform: rotate(-90deg); }
  .demo { max-width: 520px; }
  .split, .gmail, .preferences, .iphone-inner, .waitlist-inner, .questions { grid-template-columns: 1fr; }
  .iphone-copy { padding-bottom: 8px; }
  .device { min-height: 470px; }
  .split .screen.tall { max-width: 520px; }
}
@media (max-width: 760px) {
  .stage { grid-template-columns: 1fr; }
  /* On a phone the stage name stays pinned under the masthead while you read that stage. */
  .stage-mark { top: 68px; z-index: 2; flex-direction: row; gap: 12px; margin: 0 calc(-1 * clamp(20px, 5vw, 72px)) 14px; padding: 10px clamp(20px, 5vw, 72px); background: #f5f6f8f2; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .stage-dot { width: 30px; height: 30px; font-size: .9rem; }
  .stage-dot, .js .stage:not(.reached) .stage-dot { box-shadow: none; }
  .js .stage:not(.reached) .stage-dot { box-shadow: inset 0 0 0 2px currentColor; }
  .stage-body, .stage.last .stage-body { border: 0; padding-left: 0; padding-top: 0; }
  .stage-body::before { display: none; }
  .boards-what { display: none; }
  .boards th, .boards td { padding-inline: 14px; }
  .boards thead tr, .boards tbody tr { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; }
  .boards tbody th { display: flex; align-items: center; white-space: normal; }
  .employer-mark { flex: none; }
  .platform { max-width: 84px; }
  .pair { grid-template-columns: 1fr; }
  .pp-row { grid-template-columns: 1fr; }
  footer nav { margin-left: 0; width: 100%; }
}
@media (max-width: 600px) {
  .screen { max-width: 400px; }
  .member span { display: none; }
  .masthead-inner { min-height: 60px; }
  .stage-mark { top: 60px; }
  .brand { font-size: 1.35rem; }
  .hero-actions .button { flex: 1 1 100%; }
  .field-row { flex-direction: column; }
  .lock-time { font-size: 4rem; }
  .demo-step { font-size: .84rem; }
  .match-top { grid-template-columns: auto minmax(0, 1fr); }
  .fit { grid-column: 1 / -1; grid-row: 2; grid-template-columns: auto auto; justify-content: start; align-items: center; width: auto; gap: 10px; }
  .fit b { left: 0; width: 64px; }
  .fit span { margin: 0; font-size: .9rem; }
  .submit-row { flex-direction: column; align-items: flex-start; gap: 8px; }
}
