/* Caredeck landing page */

:root {
  --paper: #F6F4EF;
  --paper-2: #EDEAE3;
  --paper-3: #E3DFD6;
  --ink: #24221F;
  --ink-2: #5D5952;
  --ink-3: #8A857C;
  --line: #DAD5CB;
  --line-2: #E9E5DD;
  --surface: #FFFFFF;
  --violet: #5944D6;
  --violet-strong: #4433B4;
  --violet-tint: #EFECFC;
  --violet-line: #B9AEF0;
  --ok: #2B7150;
  --ok-tint: #E3F0E7;
  --warn: #92560D;
  --warn-tint: #FAEFD9;
  --error: #A3362A;

  --shadow-ui: 0 1px 0 rgba(36, 34, 31, .04), 0 18px 40px -22px rgba(36, 34, 31, .28);
  --shadow-lift: 0 1px 0 rgba(36, 34, 31, .04), 0 40px 80px -36px rgba(36, 34, 31, .42);
  --font: "Host Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 68px;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--violet-tint); color: var(--violet-strong); }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

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

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px;
  text-decoration: none; font-weight: 600; transition: top .15s;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .9375rem; line-height: 1;
  padding: 12px 16px; border-radius: 10px;
  border: 1px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--violet-strong); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-ghost:hover { background: var(--paper-2); border-color: var(--ink-3); }
.btn-lg { font-size: 1.0625rem; padding: 16px 22px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(1px); }

.text-btn {
  background: none; border: 0; padding: 4px 2px; cursor: pointer;
  font-weight: 600; font-size: inherit; color: var(--ink);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line);
}
.text-btn:hover { text-decoration-color: var(--ink); }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 244, 239, .88);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled, .site-header.menu-is-open { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.25rem; letter-spacing: -.025em;
  text-decoration: none; color: var(--ink);
}
.brand-mark { display: block; flex: none; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .9375rem; font-weight: 500; transition: color .15s; }
.nav a:hover { color: var(--ink); }

.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-icon { display: grid; gap: 6px; width: 18px; }
.menu-icon span { display: block; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] .menu-icon span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu { background: var(--paper); }
.mobile-menu nav { display: flex; flex-direction: column; padding-block: 4px 24px; }
.mobile-menu a:not(.btn) {
  padding: 16px 0; border-bottom: 1px solid var(--line-2);
  font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; text-decoration: none;
}
.mobile-menu .btn { margin-top: 20px; }

@media (max-width: 880px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}

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

.hero { padding-top: clamp(36px, 4.5vw, 64px); padding-bottom: clamp(80px, 10vw, 136px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1rem; font-weight: 500; color: var(--ink-2);
  margin-bottom: clamp(18px, 2.4vw, 28px);
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }

.display {
  font-size: clamp(2.6rem, .9rem + 6.6vw, 6.75rem);
  line-height: .97; letter-spacing: -.045em; font-weight: 600;
  text-wrap: balance; max-width: 13.5em;
}

.hero-row {
  display: grid; grid-template-columns: minmax(0, 38rem) auto;
  justify-content: space-between; align-items: end;
  gap: 24px 48px; margin-top: clamp(24px, 2.8vw, 40px);
}
.lede { font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 880px) {
  .hero-row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Hero stage: animated product demo ---------- */

.stage { margin-top: clamp(44px, 5.5vw, 72px); }
.stage-fit { position: relative; }

.stage-canvas {
  position: relative;
  background: var(--paper-2);
  border-radius: 24px;
  overflow: hidden;
  font-size: 13px; line-height: 1.4; color: var(--ink);
}

@media (min-width: 1000px) {
  .stage-fit { height: calc(640px * var(--s, 1)); }
  .stage-canvas {
    position: absolute; left: 0; top: 0;
    width: 1160px; height: 640px;
    transform: scale(var(--s, 1)); transform-origin: 0 0;
  }
}

/* Recruiter app */
.sa-app {
  position: absolute; left: 48px; top: 48px; width: 712px; height: 478px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: var(--shadow-ui); overflow: hidden;
}
.sa-bar {
  display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 18px;
  border-bottom: 1px solid var(--line-2);
}
.sa-logo { flex: none; }
.sa-job { font-weight: 600; font-size: 14px; }
.sa-count { color: var(--ink-2); }
.sa-team { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }

.sa-board {
  position: relative; height: calc(100% - 52px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
  align-content: start; padding: 16px; background: var(--paper);
}
.sa-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sa-head {
  display: flex; justify-content: space-between; gap: 6px; height: 26px;
  font-size: 11.5px; font-weight: 600; color: var(--ink-2);
  border-bottom: 2px solid var(--paper-3);
}
.sa-head span:last-child { font-variant-numeric: tabular-nums; }
.sk { position: relative; height: 60px; border-radius: 10px; background: #fff; border: 1px solid var(--line-2); flex: none; }
.sk::before, .sk::after { content: ""; position: absolute; left: 12px; height: 7px; border-radius: 4px; background: var(--paper-2); }
.sk::before { top: 17px; width: 58%; }
.sk::after { top: 33px; width: 36%; }

.sa-tanya {
  --col: 0;
  position: absolute; left: 16px; top: 50px; z-index: 2;
  width: calc((100% - 62px) / 4); height: 60px;
  display: flex; align-items: center; gap: 9px; padding: 0 10px;
  background: #fff; border: 1.5px solid var(--violet); border-radius: 10px;
  box-shadow: 0 14px 28px -14px rgba(89, 68, 214, .55);
  transform: translateX(calc(var(--col) * (100% + 10px)));
  transition: transform .95s cubic-bezier(.65, 0, .25, 1), border-color .4s, box-shadow .4s;
}
.stage-canvas[data-step="2"] .sa-tanya { --col: 1; }
.stage-canvas[data-step="3"] .sa-tanya { --col: 3; border-color: var(--ok); box-shadow: 0 14px 28px -14px rgba(43, 113, 80, .5); }
.sa-t-text { min-width: 0; }
.sa-t-text b { display: block; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.sa-t-status { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--violet-strong); white-space: nowrap; }
.stage-canvas[data-step="3"] .sa-t-status { color: var(--ok); }
.mini-wave { display: none; align-items: center; gap: 2px; height: 10px; }
.mini-wave i { display: block; width: 2px; height: 100%; border-radius: 1px; background: currentColor; }
.stage-canvas[data-step="2"] .mini-wave { display: inline-flex; }
.sa-tanya.is-entering { animation: dropIn .6s cubic-bezier(.2, .8, .2, 1); }
@keyframes dropIn { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }

.person { display: flex; align-items: center; gap: 14px; min-width: 0; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--violet-tint); color: var(--violet-strong);
  font-weight: 600; font-size: .875rem;
}
.avatar-xs { width: 24px; height: 24px; font-size: 10px; background: var(--paper-2); color: var(--ink-2); }
.avatar-sm { width: 28px; height: 28px; font-size: 10.5px; }
.avatar-lg { width: 52px; height: 52px; font-size: 1rem; }

/* Summary card */
.sa-summary {
  position: absolute; left: 404px; top: 300px; width: 376px; z-index: 3;
  background: #fff; border: 1px solid var(--line-2); border-radius: 14px;
  padding: 16px 18px 12px;
  box-shadow: 0 30px 60px -28px rgba(36, 34, 31, .5);
  opacity: 0; transform: translateY(18px) scale(.98);
  transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}
.stage-canvas[data-step="3"] .sa-summary { opacity: 1; transform: none; transition-delay: .5s; }
.sa-sum-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.sa-sum-title { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 13.5px; }
.sa-sum div {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px;
  padding: 7px 0; border-top: 1px solid var(--line-2);
  opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .35s;
}
.sa-sum dt { color: var(--ink-2); }
.sa-sum dd { font-weight: 500; }
.sa-sum .is-miss dd, .sa-sum .is-miss dt { color: var(--warn); font-weight: 600; }
.stage-canvas[data-step="3"] .sa-sum div { opacity: 1; transform: none; }
.stage-canvas[data-step="3"] .sa-sum div:nth-child(1) { transition-delay: .8s; }
.stage-canvas[data-step="3"] .sa-sum div:nth-child(2) { transition-delay: .9s; }
.stage-canvas[data-step="3"] .sa-sum div:nth-child(3) { transition-delay: 1s; }
.stage-canvas[data-step="3"] .sa-sum div:nth-child(4) { transition-delay: 1.1s; }
.stage-canvas[data-step="3"] .sa-sum div:nth-child(5) { transition-delay: 1.2s; }
.stage-canvas[data-step="3"] .sa-sum div:nth-child(6) { transition-delay: 1.35s; }

/* Candidate phone */
.sa-phone {
  position: absolute; left: 820px; top: 36px; width: 292px; height: 568px; z-index: 4;
  padding: 10px; border-radius: 46px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}
.sa-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--paper); border: 1px solid var(--line-2); }
.sa-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 14px; background: var(--ink); z-index: 2; }

.ph {
  position: absolute; inset: 0; padding: 50px 18px 22px;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(12px);
  transition: opacity .45s ease, transform .55s cubic-bezier(.2, .7, .2, 1);
}
.stage-canvas[data-step="1"] .ph-1,
.stage-canvas[data-step="2"] .ph-2,
.stage-canvas[data-step="3"] .ph-3 { opacity: 1; transform: none; transition-delay: .15s; }

.ph-app { text-align: center; font-size: 11px; color: var(--ink-2); }
.ph-contact { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 8px 0 14px; font-size: 13px; }
.ph-time { text-align: center; font-size: 10.5px; color: var(--ink-3); margin-bottom: 8px; }
.ph-bubble {
  max-width: 88%; padding: 10px 12px; font-size: 13px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 16px 16px 16px 4px;
}
.ph-linkcard {
  max-width: 88%; margin-top: 6px; border-radius: 14px; overflow: hidden;
  background: #fff; border: 1px solid var(--line-2);
}
.ph-linkcard-art { display: grid; place-items: center; height: 64px; background: var(--violet-tint); color: var(--violet); }
.ph-linkcard-art svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; }
.ph-linkcard b { display: block; padding: 10px 12px 0; font-size: 13px; }
.ph-linkcard span:last-child { display: block; padding: 0 12px 10px; font-size: 11px; color: var(--ink-2); }
.ph-me {
  align-self: flex-end; margin-top: 12px;
  background: var(--violet); color: #fff; border: 0; border-radius: 16px 16px 4px 16px;
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s;
}
.stage-canvas.has-reply .ph-me { opacity: 1; transform: none; }

.ph-org { font-size: 11px; color: var(--ink-2); }
.ph-title { font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.ph-qn { font-size: 11px; color: var(--ink-2); margin-top: 6px; }
.ph-q { font-size: 22px; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; margin-top: 16px; }
.ph-listen { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: var(--violet-strong); }
.ph-listen::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px var(--violet-tint); }
.ph-2 .wave { height: 64px; margin: 14px 0 0; gap: 4px; justify-content: center; }
.ph-2 .wave i { max-width: 5px; }
.ph-tr { min-height: 3em; margin-top: 12px; font-size: 14px; text-align: center; }
.ph-tr::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--violet); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ph-ctrl { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; color: var(--ink-2); font-weight: 600; font-size: 12px; }
.ph-mic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: #fff; box-shadow: 0 0 0 7px var(--violet-tint); }
.ph-mic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }

.ph-3 { align-items: center; justify-content: center; text-align: center; }
.ph-ok { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); margin-bottom: 18px; }
.ph-ok svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stage-canvas[data-step="3"] .ph-ok { animation: pop .55s cubic-bezier(.2, .9, .3, 1.3) .25s both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.ph-b1 { font-size: 13px; color: var(--ink-2); }
.ph-b2 { font-size: 30px; font-weight: 600; line-height: 1.05; letter-spacing: -.03em; margin-top: 6px; }
.ph-b3 { margin-top: 12px; color: var(--ink-2); }
.ph-cta { margin-top: 22px; padding: 11px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 12.5px; }

.stage-canvas.no-anim *, .stage-canvas.no-anim *::before, .stage-canvas.no-anim *::after { transition: none !important; }

/* Rail under the stage */
.stage-foot { margin-top: 22px; }
.rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.rail-btn {
  display: grid; gap: 4px; width: 100%; text-align: left;
  background: none; border: 0; padding: 0 0 4px; cursor: pointer;
}
.rail-bar { display: block; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin-bottom: 10px; }
.rail-bar i { display: block; height: 100%; width: 0; background: var(--violet); border-radius: 3px; }
.rail-time { font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums; }
.rail-label { color: var(--ink-2); font-size: .9375rem; line-height: 1.35; transition: color .2s; }
.rail-btn[aria-pressed="true"] .rail-label, .rail-btn:hover .rail-label { color: var(--ink); }
.stage-note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 18px; font-size: .875rem; color: var(--ink-2); }

@media (max-width: 999.98px) {
  .stage-canvas { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 18px 16px 24px; border-radius: 20px; }
  .sa-app { position: relative; left: auto; top: auto; width: 100%; max-width: 420px; height: auto; }
  .sa-count, .sa-team { display: none; }
  .sa-board { display: block; height: auto; padding: 12px; }
  .sa-col { display: none; }
  .sa-tanya { position: relative; left: auto; top: auto; width: 100%; transform: none; }
  .sa-summary { display: none; }
  .sa-phone { position: relative; left: auto; top: auto; width: 264px; height: 520px; }
  .rail-label { font-size: .875rem; }
}

/* ---------- Shared product UI ---------- */

.pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .75rem; font-weight: 600; line-height: 1;
  padding: 5px 9px; border-radius: 999px; white-space: nowrap;
  background: var(--paper-2); color: var(--ink-2);
}
.pill-violet { background: var(--violet-tint); color: var(--violet-strong); }
.pill-ok { background: var(--ok-tint); color: var(--ok); }
.pill-warn { background: var(--warn-tint); color: var(--warn); }

.tag {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-size: .6875rem; font-weight: 600; line-height: 1;
  padding: 5px 8px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-2); background: #fff;
}
.tag-planned { border-style: dashed; border-color: var(--ink-3); background: transparent; }
.tag-included { background: var(--ok-tint); border-color: transparent; color: var(--ok); }

.i-check { width: 16px; height: 16px; flex: none; }
.i-check circle { fill: var(--ok); }
.i-check path { fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.i-doc { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; }

.progress { height: 4px; border-radius: 4px; background: var(--paper-3); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--violet); border-radius: 4px; }

.wave { display: flex; align-items: center; gap: 3px; height: 30px; }
.wave i { display: block; flex: 1; max-width: 4px; height: var(--h); border-radius: 2px; background: var(--violet); opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .wave.is-live i { animation: wave 1.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
  .stage-canvas[data-step="2"] .mini-wave i { animation: wave .9s ease-in-out infinite; }
  .stage-canvas[data-step="2"] .mini-wave i:nth-child(2) { animation-delay: .15s; }
  .stage-canvas[data-step="2"] .mini-wave i:nth-child(3) { animation-delay: .3s; }
}
@keyframes wave { 0%, 100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }

.panel {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: var(--shadow-ui); font-size: .875rem; line-height: 1.45; overflow: hidden;
}
.panel-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 13px 18px; border-bottom: 1px solid var(--line-2);
  font-weight: 600; font-size: .8125rem;
}
.panel-bar-meta { color: var(--ink-2); font-weight: 500; text-align: right; }
.panel-body { padding: 18px; }
.mini-label { font-size: .75rem; font-weight: 600; color: var(--ink-2); margin: 16px 0 4px; }

.bubble { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: .875rem; line-height: 1.45; }
.bubble-you { margin-left: auto; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.bubble-in { background: #fff; border: 1px solid var(--line-2); border-bottom-left-radius: 4px; max-width: 94%; }
.fake-link { color: var(--violet-strong); text-decoration: underline; text-underline-offset: 2px; }

.criteria li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.criteria li:last-child { border-bottom: 0; padding-bottom: 0; }
.req-toggle {
  flex: none; min-width: 84px; font-size: .75rem; font-weight: 600; line-height: 1;
  padding: 7px 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  transition: background-color .15s, border-color .15s, color .15s;
}
.req-toggle:hover { border-color: var(--ink-3); }
.req-toggle.is-on { background: var(--violet-tint); border-color: var(--violet-line); color: var(--violet-strong); }

/* Fan-in channels */
.fan { position: relative; height: 290px; }
.fan-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fan-lines path { fill: none; stroke: var(--violet-line); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 4 5; }
@media (prefers-reduced-motion: no-preference) {
  .how-panel.is-active .fan-lines path, .how-inline .fan-lines path { animation: flow 1.1s linear infinite; }
}
@keyframes flow { to { stroke-dashoffset: -18; } }
.fan-src {
  position: absolute; left: 0; top: var(--y); transform: translateY(-50%); width: 47%;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 8px;
  padding: 9px 11px; border: 1px solid var(--line-2); border-radius: 11px; background: #fff;
}
.fan-src b { font-size: .8125rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fan-src span:not(.tag) { grid-column: 1; font-size: .6875rem; color: var(--ink-2); }
.fan-src .tag { grid-column: 2; grid-row: 1 / span 2; }
.fan-dst {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 32%;
  padding: 16px; border-radius: 14px; background: var(--ink); color: var(--paper);
}
.fan-n { display: block; font-size: 2.5rem; font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.fan-dst b { display: block; font-weight: 600; margin-top: 4px; }
.fan-dst span:last-child { display: block; font-size: .75rem; color: #BDB7AC; }

.sms { background: var(--paper); }
.start-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left;
  border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.opt svg { width: 20px; height: 20px; margin-bottom: 8px; fill: none; stroke: var(--ink-2); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.opt strong { font-weight: 600; font-size: .9375rem; }
.opt span { color: var(--ink-2); font-size: .75rem; }
.opt:hover { border-color: var(--ink-3); }
.opt.is-selected { border-color: var(--violet); box-shadow: inset 0 0 0 1px var(--violet); background: var(--violet-tint); }
.opt.is-selected svg { stroke: var(--violet); }
.via { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

.summary div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.summary div:first-child { padding-top: 0; }
.summary dt { color: var(--ink-2); }
.summary dd { font-weight: 500; }
.gaps { margin-top: 14px; padding: 12px; border-radius: 10px; background: var(--warn-tint); color: var(--warn); }
.gaps-title { font-weight: 600; font-size: .8125rem; margin-bottom: 4px; }
.gaps ul { display: grid; gap: 2px; }
.gaps li { padding-left: 14px; position: relative; }
.gaps li::before { content: ""; position: absolute; left: 1px; top: .6em; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid currentColor; }

.rule-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 16px 0; }
.cal-day p { font-size: .75rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.slot { display: block; padding: 8px 9px; border-radius: 8px; font-size: .75rem; line-height: 1.25; margin-bottom: 6px; border: 1px solid transparent; font-variant-numeric: tabular-nums; }
.slot.busy { background: var(--paper-2); color: var(--ink-3); }
.slot.open { border: 1px dashed var(--line); color: var(--ink-2); }
.slot.booked { background: var(--violet); color: #fff; font-weight: 600; box-shadow: 0 10px 20px -10px rgba(89, 68, 214, .7); }
.decision { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line-2); }
.decision p b { display: block; font-weight: 600; }
.decision p span { color: var(--ink-2); font-size: .8125rem; }
.decision-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.fake-btn { display: inline-flex; align-items: center; font-size: .8125rem; font-weight: 600; line-height: 1; padding: 9px 12px; border-radius: 8px; background: var(--ink); color: #fff; white-space: nowrap; }
.fake-btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }

/* ---------- Sections ---------- */

.section { padding-block: clamp(88px, 11vw, 160px); }
.section-tint { background: var(--paper-2); }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 20px clamp(32px, 6vw, 96px); align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.h2 { font-size: clamp(2.25rem, 1rem + 4.1vw, 4.75rem); line-height: 1; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.section-intro { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--ink-2); max-width: 26rem; text-wrap: pretty; }

@media (max-width: 880px) {
  .section-head { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- How it works: sticky scroll ---------- */

.how { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); }
.how-steps { padding-bottom: 22vh; }
.how-step {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px;
  min-height: 50vh; padding-top: 6px;
}
.js .how-step { opacity: .28; transition: opacity .4s ease; }
.js .how-step.is-active { opacity: 1; }
.how-num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--ink); font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background-color .3s, color .3s;
}
.how-step.is-active .how-num { background: var(--ink); color: var(--paper); }
.how-text h3 { font-size: clamp(1.625rem, 1.1rem + 1.4vw, 2.5rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
.how-text p { margin-top: 14px; color: var(--ink-2); font-size: 1.125rem; max-width: 26rem; text-wrap: pretty; }

.how-visual { position: relative; }
.how-sticky {
  position: sticky; top: calc(var(--header-h) + max(24px, (100vh - var(--header-h) - 600px) / 2));
  height: 600px; border-radius: 24px; background: var(--paper-2);
}
.how-panel {
  position: absolute; inset: 0; padding: 40px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(18px) scale(.985); pointer-events: none;
  transition: opacity .45s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}
.how-panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.how-panel > .panel { width: 100%; max-width: 500px; }

@media (min-width: 980px) {
  .how-inline { display: none; }
}
@media (max-width: 979.98px) {
  .how { grid-template-columns: minmax(0, 1fr); }
  .how-visual { display: none; }
  .how-steps { padding-bottom: 0; display: grid; gap: 64px; }
  .how-step { min-height: 0; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 0; }
  .js .how-step { opacity: 1; }
  .how-step .how-num { background: var(--ink); color: var(--paper); }
  .how-inline { grid-column: 1 / -1; margin-top: 24px; padding: 16px; border-radius: 20px; background: var(--paper-2); }
  .how-inline:empty { display: none; }
  .fan { height: 300px; }
  .fan-src { width: 58%; grid-template-columns: minmax(0, 1fr); row-gap: 5px; padding: 8px 10px; }
  .fan-src span:not(.tag) { display: none; }
  .fan-src .tag { grid-column: 1; grid-row: auto; justify-self: start; }
  .fan-dst { width: 31%; padding: 12px; }
  .fan-n { font-size: 2rem; }
}

/* ---------- Product: pipeline and record ---------- */

.app {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lift); overflow: hidden; font-size: .875rem; line-height: 1.45;
}
.app-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line-2); }
.app-bar-left { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; min-width: 0; }
.app-job { font-weight: 600; font-size: 1rem; }
.app-count { color: var(--ink-2); }
.app-hint { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--violet-strong); font-weight: 600; }
.app-hint::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px var(--violet-tint); }

.board-wrap { background: var(--paper); border-bottom: 1px solid var(--line-2); }
.board {
  display: grid; grid-template-columns: repeat(6, minmax(150px, 1fr)); gap: 10px;
  padding: 16px 20px 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.col { display: flex; flex-direction: column; gap: 8px; min-width: 0; scroll-snap-align: start; }
.col-head { display: flex; justify-content: space-between; gap: 8px; font-size: .75rem; font-weight: 600; color: var(--ink-2); padding: 0 2px 6px; border-bottom: 2px solid var(--paper-3); margin-bottom: 2px; }
.cand {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cand:hover { border-color: var(--ink-3); transform: translateY(-1px); }
.cand[aria-pressed="true"] { border-color: var(--violet); box-shadow: inset 0 0 0 1px var(--violet), 0 10px 20px -12px rgba(89, 68, 214, .6); }
.cand-name { display: block; font-weight: 600; font-size: .875rem; }
.cand-meta { display: block; color: var(--ink-2); font-size: .75rem; margin-top: 1px; }
.cand-note { display: inline-block; margin-top: 8px; font-size: .6875rem; font-weight: 600; line-height: 1; padding: 4px 7px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.cand-note-violet { background: var(--violet-tint); color: var(--violet-strong); }
.cand-note-warn { background: var(--warn-tint); color: var(--warn); }
.cand-note-ok { background: var(--ok-tint); color: var(--ok); }
.board-hint { display: none; }

.record { padding: clamp(18px, 2.6vw, 32px); }
.record-head { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.record-name { font-size: 1.5rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.record-meta { display: flex; flex-wrap: wrap; gap: 2px 0; margin-top: 3px; color: var(--ink-2); font-size: .8125rem; }
.record-meta span + span { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); }

.facts-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  margin-top: 22px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden;
}
.facts-row div { background: #fff; padding: 12px 14px; }
.facts-row span { display: block; font-size: .75rem; color: var(--ink-2); }
.facts-row b { display: block; margin-top: 2px; font-weight: 600; font-size: .9375rem; line-height: 1.3; }

.record-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(20px, 3vw, 40px); padding-top: 24px; }
.rblock { min-width: 0; }
.rblock h4 { font-size: .75rem; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.rblock h4:not(:first-child) { margin-top: 20px; }
.rblock p + p { margin-top: 10px; }
.status-line { display: flex; align-items: flex-start; gap: 8px; font-weight: 600; }
.status-line .dot { margin-top: .45em; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--ink-3); }
.dot-ok { background: var(--ok); }
.dot-violet { background: var(--violet); }
.flag { padding: 10px 12px; border-radius: 10px; background: var(--warn-tint); color: var(--warn); }
.flag strong { font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .75rem; font-weight: 500; padding: 5px 9px; border-radius: 999px; background: var(--paper-2); }

.docs { display: grid; gap: 6px; }
.docs li { display: flex; align-items: flex-start; gap: 8px; }
.docs li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background-position: center; background-repeat: no-repeat; }
.docs li.is-ok::before {
  background-color: var(--ok);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 8.2l2.2 2.2 4.6-4.8' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.docs li.is-missing { color: var(--warn); font-weight: 500; }
.docs li.is-missing::before { border: 1.5px dashed var(--warn); }
.docs-tight { gap: 9px; }

.checks { display: grid; gap: 6px; }
.checks li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 8px; }
.checks li span:last-child { color: var(--ink-2); white-space: nowrap; font-size: .8125rem; }
.rnote { margin-top: 8px; font-size: .75rem; color: var(--ink-2); }

.record-next { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-top: 28px; padding: 14px 16px; border-radius: 12px; background: var(--violet-tint); }
.next-label { font-size: .75rem; font-weight: 600; color: var(--violet-strong); }
.next-text { font-weight: 600; font-size: .9375rem; }
.next-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.record.is-swapping { animation: recordIn .35s ease; }
@keyframes recordIn { from { opacity: .3; transform: translateY(4px); } to { opacity: 1; transform: none; } }

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

@media (max-width: 1080px) {
  .record-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .record-grid .rblock:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .app { border-radius: 16px; }
  .app-bar { padding: 12px 16px; }
  .app-hint { display: none; }
  .board { grid-template-columns: repeat(6, 70%); padding: 14px 16px 16px; scroll-padding-inline: 16px; }
  .board-hint { display: block; font-size: .75rem; color: var(--ink-2); padding: 8px 16px; background: var(--paper); border-bottom: 1px solid var(--line-2); }
  .facts-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .record-grid { grid-template-columns: minmax(0, 1fr); }
  .record .avatar-lg { width: 44px; height: 44px; font-size: .875rem; }
  .record-name { font-size: 1.3125rem; }
}

/* ---------- Both buyers ---------- */

.h2-solo { max-width: 14em; }
.two-up { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: clamp(48px, 6vw, 88px); border-top: 1.5px solid var(--ink); }
.editorial { padding-top: 32px; padding-right: clamp(24px, 4vw, 64px); display: flex; flex-direction: column; }
.editorial + .editorial { padding-right: 0; padding-left: clamp(24px, 4vw, 64px); border-left: 1px solid var(--line); }
.editorial h3 { font-size: 1rem; font-weight: 600; color: var(--ink-2); }
.ed-visual { min-height: 128px; margin: 28px 0 32px; display: flex; align-items: center; }
.editorial-lede { font-size: clamp(1.375rem, 1.05rem + 1vw, 2rem); line-height: 1.2; letter-spacing: -.025em; font-weight: 500; text-wrap: pretty; }
.editorial-note { margin-top: 20px; color: var(--ink-2); font-weight: 500; }

.scatter { flex-wrap: wrap; gap: 8px; align-content: center; }
.scatter s {
  font-size: .9375rem; padding: 7px 13px; border-radius: 999px;
  border: 1px dashed var(--line); color: var(--ink-3);
  text-decoration-thickness: 1.5px; text-decoration-color: var(--ink-2);
}
.scatter-arrow { width: 40px; height: 16px; margin: 0 4px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.scatter-one { font-size: .9375rem; font-weight: 600; padding: 8px 15px; border-radius: 999px; background: var(--ink); color: var(--paper); }

.track { position: relative; display: block; padding-top: 44px; }
.track-stages { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.track-stages::before { content: ""; position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 5px; height: 2px; background: var(--line); }
.track-stages li { position: relative; text-align: center; font-size: .8125rem; color: var(--ink-2); padding-top: 22px; }
.track-stages li::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: var(--paper); border: 2px solid var(--ink-3);
}
.track-stages li:nth-child(-n+4)::before { border-color: var(--violet); background: var(--violet); }
.track-stages li:nth-child(n+4)::before { border-color: var(--ink); }
.track-stages li:nth-child(4)::before { background: linear-gradient(90deg, var(--violet) 50%, var(--ink) 50%); }
.track-span {
  position: absolute; top: 6px; height: 22px;
  left: calc((var(--from) + .5) / 6 * 100%); width: calc((var(--to) - var(--from)) / 6 * 100%);
  border-top: 2px solid; border-left: 2px solid; border-right: 2px solid; border-radius: 8px 8px 0 0;
}
.track-span > span { position: absolute; left: 50%; top: -11px; transform: translateX(-50%); padding: 0 8px; background: var(--paper); font-size: .8125rem; font-weight: 600; white-space: nowrap; line-height: 20px; }
.track-ai { border-color: var(--violet); color: var(--violet-strong); }
.track-team { border-color: var(--ink); color: var(--ink); left: calc((var(--from) + .5) / 6 * 100% + 6px); width: calc((var(--to) - var(--from)) / 6 * 100% - 6px); }

@media (max-width: 880px) {
  .two-up { grid-template-columns: minmax(0, 1fr); }
  .editorial { padding-right: 0; }
  .editorial + .editorial { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 48px; }
}
@media (max-width: 480px) {
  .track-stages li { font-size: .6875rem; }
  .track-span > span { font-size: .75rem; }
}

/* ---------- Handoff ---------- */

.section-handoff { padding-top: 0; }
.handoff-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.handoff-sub { display: block; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--ink-2); max-width: 26rem; }
.handoff-sub .tag { margin-right: 10px; vertical-align: 2px; }

.handoff-ui { display: grid; grid-template-columns: minmax(0, 1fr) minmax(64px, 160px) minmax(0, 1fr); align-items: center; }
.connector { position: relative; height: 12px; }
.connector svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.connector path { fill: none; stroke: var(--violet); stroke-width: 2; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; }
.connector-dot { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 5px var(--violet-tint); }
@media (prefers-reduced-motion: no-preference) {
  .handoff-ui.is-inview .connector path { animation: flow 1s linear infinite; }
  .handoff-ui.is-inview .connector-dot { animation: travel 2.4s cubic-bezier(.6, 0, .4, 1) infinite; }
}
@keyframes travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
.panel-dest { border-style: dashed; border-color: var(--ink-3); box-shadow: none; background: transparent; }
.panel-dest .panel-bar { border-bottom-style: dashed; border-bottom-color: var(--line); }
.dest-name { font-weight: 600; font-size: 1.125rem; letter-spacing: -.01em; }
.dest-sub { color: var(--ink-2); margin-top: 4px; }
.dest-lines { display: grid; gap: 10px; margin-top: 20px; }
.dest-lines span { display: block; height: 8px; border-radius: 4px; background: var(--paper-3); }
.dest-lines span:nth-child(1) { width: 78%; }
.dest-lines span:nth-child(2) { width: 56%; }
.dest-lines span:nth-child(3) { width: 68%; }
.dest-lines span:nth-child(4) { width: 44%; }
.approved-by { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-2); color: var(--ink-2); font-size: .8125rem; }

@media (max-width: 880px) {
  .handoff-head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .handoff-ui { grid-template-columns: minmax(0, 1fr); }
  .connector { width: 12px; height: 56px; justify-self: start; margin-left: 32px; }
  .connector svg { transform: rotate(90deg); transform-origin: center; width: 56px; height: 12px; left: -22px; top: 22px; }
  .connector-dot { display: none; }
}

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

.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.3;
  transition: color .15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--violet-strong); }
.pm { position: relative; width: 16px; height: 16px; flex: none; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 1.75px; border-radius: 2px; background: currentColor; transition: transform .2s; }
.pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0deg); }
.answer { padding-bottom: 24px; color: var(--ink-2); max-width: 40rem; font-size: 1.0625rem; text-wrap: pretty; }

@media (max-width: 880px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Final CTA ---------- */

.cta { background: var(--ink); color: var(--paper); padding-block: clamp(88px, 10vw, 152px); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); gap: 56px clamp(40px, 7vw, 112px); align-items: start; }
.cta .h2 { color: var(--paper); max-width: 11em; }
.cta-lede { color: #D3CEC4; font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); margin-top: 24px; max-width: 28rem; }
.job-note { margin-top: clamp(40px, 6vw, 80px); padding-top: 20px; max-width: 26rem; border-top: 1px solid rgba(246, 244, 239, .18); color: #BDB7AC; font-size: .9375rem; }
.job-note strong { color: var(--paper); font-weight: 600; }

.form { background: var(--paper); color: var(--ink); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; }
.field label { font-size: .875rem; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.optional { font-weight: 400; color: var(--ink-2); }
.field input, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff;
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(89, 68, 214, .2); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--error); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(45deg); pointer-events: none; }
.field select { padding-right: 40px; cursor: pointer; }
.field-error { font-size: .8125rem; color: var(--error); }
.form .btn-block { margin-top: 8px; }
.form [hidden] { display: none !important; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn-block:disabled { opacity: .7; cursor: progress; }
.form-fine { margin-top: 12px; font-size: .8125rem; color: var(--ink-2); text-align: center; }
.form-done { padding: 8px 0; }
.form-done:focus { outline: none; }
.i-check-lg { width: 36px; height: 36px; margin-bottom: 16px; }
.form-done h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.form-done p { margin-top: 8px; color: var(--ink-2); }
.form-status a { color: inherit; font-weight: 600; text-underline-offset: 2px; }
.form-status:empty { display: none; }
.form-status { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: var(--warn-tint); color: var(--warn); font-size: .9375rem; line-height: 1.45; }

@media (max-width: 880px) {
  .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .job-note { margin-top: 32px; }
}
@media (max-width: 420px) {
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

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

.site-footer { background: var(--ink); color: #BDB7AC; font-size: .875rem; padding-block: 0 48px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; }
.footer-inner::before { content: ""; grid-column: 1 / -1; height: 1px; background: rgba(246, 244, 239, .14); margin-bottom: 8px; }
.brand-light { color: var(--paper); }
.footer-brand p { margin-top: 10px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-start; }
.footer-nav a { color: var(--paper); text-decoration: none; font-weight: 500; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-notes { grid-column: 1 / -1; display: grid; gap: 6px; max-width: 56rem; font-size: .8125rem; color: #A39D92; }

@media (max-width: 760px) { .footer-inner { grid-template-columns: minmax(0, 1fr); } }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
