/* ==========================================================================
   Crew — product page
   Brand ground (Polymath, Talkpush tints) carrying product screens rendered
   in Crew's own UI language (white cards, mint chips, thin grey rules).
   ========================================================================== */

@font-face {
  font-family: "PolymathText";
  src: url("../assets/fonts/PolymathText-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "PolymathText";
  src: url("../assets/fonts/PolymathText-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* brand tints */
  --c1: #ffc875;  /* amber   */
  --c2: #bbcaf0;  /* blue    */
  --c3: #f1c1f3;  /* pink    */
  --c4: #f2b457;  /* gold    */
  --c5: #b6d9c0;  /* sage    */
  --c6: #c0e5cb;  /* mint    */

  --ink:   #14131a;
  --ink-2: #43414f;
  --ink-3: #6f6c80;
  --line:  #e4e1d8;
  --paper: #fffdf8;

  /* crew product ui */
  --ui-bg:     #ffffff;
  --ui-shell:  #fbfbfa;
  --ui-line:   #e9e8e4;
  --ui-line-2: #f2f1ee;
  --ui-ink:    #1b1a18;
  --ui-ink-2:  #57544d;
  --ui-ink-3:  #8d8980;
  --ui-green:  #0f6b43;
  --ui-mint:   #e8f3ed;
  --ui-amber:  #fdf2dd;
  --ui-amber-ink: #8a5a06;
  --ui-red:    #fcecec;
  --ui-red-ink:#9a2b2b;
  --ui-blue:   #eaf0fb;
  --ui-blue-ink:#1f4f9c;

  --font: "PolymathText", "Helvetica Neue", Arial, sans-serif;
  --ui-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --h1: clamp(2rem, 1.35rem + 2.4vw, 3.25rem);
  --h2: clamp(1.7rem, 1.2rem + 1.9vw, 2.6rem);
  --h3: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  --body: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);

  --gut: clamp(1.15rem, 4vw, 3rem);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  font-size: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.cx-wrap { width: min(100% - (var(--gut) * 2), var(--maxw)); margin-inline: auto; }
.cx-wrap--narrow { width: min(100% - (var(--gut) * 2), 820px); margin-inline: auto; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,253,248,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar__in {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 64px;
}
.topbar__logo { height: 22px; width: auto; }
.topbar__mark {
  font-weight: 700; letter-spacing: -0.02em; font-size: 1.05rem;
  padding-left: 0.9rem; margin-left: 0.15rem;
  border-left: 1px solid var(--line);
}
.topbar__nav { display: flex; gap: 1.4rem; margin-left: auto; font-size: 0.92rem; }
.topbar__nav a { text-decoration: none; color: var(--ink-2); }
.topbar__nav a:hover { color: var(--ink); }
@media (max-width: 860px) { .topbar__nav { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.78rem 1.3rem; border-radius: 999px;
  font-family: var(--font); font-weight: 700; font-size: 0.95rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.88rem; }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding-block: clamp(3.5rem, 8vw, 7rem); }
.sec--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3); margin: 0 0 0.9rem;
}
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.1; font-weight: 700; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); line-height: 1.25; }
.lede { font-size: clamp(1.05rem, 1rem + 0.45vw, 1.3rem); color: var(--ink-2); line-height: 1.5; margin: 1.1rem 0 0; max-width: 56ch; }
p { margin: 1rem 0 0; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; }
.hero__wash {
  position: absolute; inset: -30% -10% auto -10%; height: 110vh; z-index: 0;
  pointer-events: none; filter: blur(90px); opacity: 0.75;
  background:
    radial-gradient(28% 32% at 14% 20%, rgba(187,202,240,0.95), transparent 70%),
    radial-gradient(24% 28% at 86% 10%, rgba(241,193,243,0.8), transparent 72%),
    radial-gradient(30% 34% at 64% 62%, rgba(192,229,203,0.8), transparent 72%),
    radial-gradient(20% 24% at 30% 78%, rgba(255,200,117,0.6), transparent 74%);
}
.hero > *:not(.hero__wash) { position: relative; z-index: 1; }
.hero__grid { display: grid; gap: clamp(1.8rem, 3vw, 3rem); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 0.92fr 1.08fr; } }
.hero__claim { max-width: 20ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.7rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 2.2rem; }
.hero__fact b { display: block; font-size: 1.5rem; letter-spacing: -0.03em; }
.hero__fact span { font-size: 0.86rem; color: var(--ink-3); }

/* ---------- the film, in the hero ---------- */
/* Same object as the product screens it replaced: thin rule, deep soft shadow,
   matching radius. Black inside so letterboxing never shows, and the poster is
   a dark frame because the page ground is the same cream as the film's. */
.herofilm {
  border-radius: 14px;
  overflow: hidden;
  background: #14131a;
  border: 1px solid rgba(20,19,26,0.12);
  box-shadow: 0 1px 2px rgba(20,19,26,0.04), 0 18px 46px -22px rgba(20,19,26,0.3);
  line-height: 0;
}
.herofilm__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* ---------- logo strip ---------- */
.logos { border-block: 1px solid var(--line); padding-block: 1.8rem; }
.logos__label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); text-align: center; margin: 0 0 1.3rem; }
/* Several of these marks are white-filled SVGs, so brightness(0) is what makes
   them visible on the light ground. Same treatment as the live /crew page. */
.logos__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem clamp(1.8rem, 3.6vw, 3.4rem); max-width: 880px; margin-inline: auto; }
.logos__row img { height: clamp(21px, 2.4vw, 28px); width: auto; filter: brightness(0); opacity: 0.42; transition: opacity 0.25s ease; }
.logos__row img:hover { opacity: 0.85; }
.logos__row img.is-tall { height: clamp(28px, 3.2vw, 38px); }
@media (max-width: 640px) { .logos__row { gap: 1.2rem 1.6rem; } .logos__row img { height: 19px; } .logos__row img.is-tall { height: 26px; } }

/* ---------- module wall ---------- */
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0.6rem; margin-top: 2.4rem; }
.wall__item {
  border: 1px solid var(--line); border-radius: 12px; padding: 0.95rem 1rem;
  background: rgba(255,255,255,0.6); font-size: 0.92rem; line-height: 1.35;
}
.wall__item b { display: block; font-size: 0.95rem; }
.wall__item span { color: var(--ink-3); font-size: 0.82rem; }
.wall__item--on { background: var(--c6); border-color: transparent; }

/* ---------- feature blocks ---------- */
.feat { padding-block: clamp(3rem, 7vw, 6rem); }
.feat + .feat { border-top: 1px solid var(--line); }
/* min-width:0 so a product screen with a scrolling flow chart cannot blow the column out */
.feat__grid { display: grid; gap: clamp(1.8rem, 4vw, 3.4rem); align-items: center; }
.feat__grid > * { min-width: 0; }
@media (min-width: 960px) {
  .feat__grid { grid-template-columns: 0.85fr 1.15fr; }
  .feat__grid--flip .feat__copy { order: 2; }
}
.feat__tag {
  display: inline-block; padding: 0.3rem 0.7rem; border-radius: 999px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.t-amber { background: var(--c1); } .t-blue { background: var(--c2); }
.t-pink  { background: var(--c3); } .t-gold { background: var(--c4); }
.t-sage  { background: var(--c5); } .t-mint { background: var(--c6); }

.feat__list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.feat__list li { position: relative; padding-left: 1.45rem; font-size: 0.97rem; color: var(--ink-2); }
.feat__list li::before {
  content: ""; position: absolute; left: 0; top: 0.54em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--ink);
}

/* ---------- Clara ---------- */
/* Sits in the shared feature grid like every other section, with the avatar
   reading as a byline under the headline. */
.clara__who { display: flex; align-items: center; gap: 1.1rem; margin: 1.6rem 0 0.4rem; }
.clara__av { position: relative; width: 92px; height: 92px; flex: none; display: block; }
.clara__av img { width: 100%; height: 100%; display: block; animation: clara-breath 5s ease-in-out infinite; }
.clara__av::after {
  content: ""; position: absolute; right: 5px; bottom: 5px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #5fb07a; border: 3px solid var(--paper);
}
@keyframes clara-breath { 50% { transform: translateY(-3px) scale(1.015); } }
.clara__name { display: block; font-size: 1.55rem; letter-spacing: -0.025em; line-height: 1.1; }
.clara__role {
  display: block; margin-top: 0.3rem; font-family: var(--mono);
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
}
.clara__note { font-size: 0.9rem; color: var(--ink-3); max-width: 50ch; }

/* the transcript, in the same UI language as the product screens */
.chat { display: grid; gap: 11px; }
.chat__row { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; line-height: 1.5; }
.chat__row--me { justify-content: flex-end; }
.chat__me { background: var(--ui-ink); color: #fff; border-radius: 10px; padding: 9px 12px; max-width: 82%; }
.chat__av, .chat__ini { width: 34px; height: 34px; border-radius: 99px; flex: none; }
.chat__ini { display: grid; place-items: center; background: var(--c2); font-size: 12px; font-weight: 700; color: var(--ink); }
.chat__b { background: var(--ui-shell); border-radius: 10px; padding: 9px 12px; max-width: 86%; }
.chat__who {
  display: block; margin-bottom: 2px; font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ui-ink-3);
}
.chat__at { color: #5a3fd0; font-weight: 600; }
.chat__confirm {
  margin: 13px 0 0 43px; border: 1px solid var(--ui-ink); border-radius: 10px;
  padding: 11px 13px; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 10px; font-size: 13px;
}
.chat__btns { display: flex; gap: 6px; }
.chat__btns i {
  font-style: normal; padding: 6px 13px; border: 1px solid var(--ui-ink);
  border-radius: 8px; font-size: 12px; font-weight: 600; white-space: nowrap;
}
.chat__btns i.is-go { background: var(--ui-ink); color: #fff; }
@media (max-width: 560px) {
  .clara__av { width: 74px; height: 74px; }
  .chat__confirm { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .clara__av img { animation: none; } }

/* ==========================================================================
   Product screens — Crew's own UI, rebuilt
   ========================================================================== */
.screen {
  background: var(--ui-bg);
  border: 1px solid var(--ui-line);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(20,19,26,0.04), 0 18px 46px -22px rgba(20,19,26,0.26);
  overflow: hidden;
  font-family: var(--ui-font);
  color: var(--ui-ink);
  font-size: 13px; line-height: 1.45;
}
.screen__bar {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 9px 13px; border-bottom: 1px solid var(--ui-line); background: var(--ui-bg);
}
.screen__bar::before {
  content: ""; width: 38px; height: 8px; border-radius: 99px;
  background: linear-gradient(90deg, #c0e5cb, #bbcaf0, #f1c1f3);
}
.screen__title { font-weight: 600; font-size: 12px; letter-spacing: -0.01em; }
.screen__crumb { color: var(--ui-ink-3); font-size: 11px; margin-left: auto; }
.screen__body { padding: 16px; }
.screen__body--flush { padding: 0; }

.ui-h { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
/* used on both <p> and <span>, so force block either way */
.ui-sub { display: block; font-size: 11.5px; color: var(--ui-ink-3); margin: 3px 0 0; }
.ui-note {
  display: flex; gap: 8px; background: var(--ui-mint); border-radius: 8px;
  padding: 9px 11px; font-size: 11.5px; color: #1d4c37; margin-top: 12px;
}
.ui-note b { color: #0f3b29; }

.ui-card { border: 1px solid var(--ui-line); border-radius: 10px; padding: 12px; background: #fff; }
.ui-grid { display: grid; gap: 9px; }
.ui-grid--2 { grid-template-columns: 1fr 1fr; }
.ui-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ui-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 560px) { .ui-grid--3, .ui-grid--4 { grid-template-columns: 1fr 1fr; } }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  border-radius: 999px; padding: 2px 9px; font-size: 10.5px; font-weight: 600;
  background: var(--ui-line-2); color: var(--ui-ink-2);
}
.chip--green { background: var(--ui-mint); color: var(--ui-green); }
.chip--amber { background: var(--ui-amber); color: var(--ui-amber-ink); }
.chip--red { background: var(--ui-red); color: var(--ui-red-ink); }
.chip--blue { background: var(--ui-blue); color: var(--ui-blue-ink); }

.sq {
  width: 26px; height: 26px; border-radius: 7px; background: var(--ui-mint);
  display: grid; place-items: center; color: var(--ui-green);
  font-size: 12px; font-weight: 700; flex: none;
}

.kpi { border: 1px solid var(--ui-line); border-radius: 10px; padding: 10px 11px; }
.kpi b { display: block; font-size: 19px; letter-spacing: -0.03em; line-height: 1.1; }
.kpi span { font-size: 10.5px; color: var(--ui-ink-3); }
.kpi i { font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--ui-green); }

.row { display: flex; align-items: center; gap: 9px; }
.row--between { justify-content: space-between; }
.rowline { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid var(--ui-line-2); }
.rowline:last-child { border-bottom: 0; }

/* bars */
.bar { height: 7px; border-radius: 99px; background: var(--ui-line-2); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: var(--ui-green); }
.bar--amber > i { background: #e0a53a; }
.bar--red > i { background: #c45b5b; }
.bar--blue > i { background: #5b7fc4; }

/* funnel */
.funnel { display: grid; gap: 7px; }
.funnel__row { display: grid; grid-template-columns: 112px 1fr 64px; align-items: center; gap: 10px; font-size: 11.5px; }
.funnel__bar { height: 22px; border-radius: 6px; background: var(--ui-mint); position: relative; }
.funnel__bar > i { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: var(--ui-green); opacity: 0.85; }
.funnel__n { text-align: right; font-variant-numeric: tabular-nums; color: var(--ui-ink-2); font-weight: 600; }

/* phone / whatsapp */
.phone {
  width: 258px; max-width: 100%; border-radius: 22px; border: 1px solid var(--ui-line);
  background: #ece5dd; overflow: hidden; box-shadow: 0 16px 40px -20px rgba(20,19,26,0.4);
  font-family: var(--ui-font);
}
.phone__top { background: #075e54; color: #fff; padding: 11px 13px; display: flex; align-items: center; gap: 8px; }
.phone__top b { font-size: 12.5px; }
.phone__top span { font-size: 10px; opacity: 0.8; display: block; }
.phone__av { width: 26px; height: 26px; border-radius: 99px; background: #0f6b43; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.phone__body { padding: 12px; display: grid; gap: 7px; min-height: 250px; align-content: start; }
.msg { max-width: 84%; padding: 7px 10px; border-radius: 10px; font-size: 11.5px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,0.07); }
.msg--in { background: #fff; border-top-left-radius: 3px; justify-self: start; }
.msg--out { background: #dcf8c6; border-top-right-radius: 3px; justify-self: end; }
.msg time { display: block; font-size: 9px; color: #8d8980; text-align: right; margin-top: 2px; }
.msg__btn { margin-top: 6px; border-top: 1px solid #ededed; padding-top: 5px; color: #1f7aec; text-align: center; font-weight: 600; font-size: 11px; }

/* interview stage */
.stage { background: #10131a; border-radius: 12px; padding: 14px; color: #e8e8ec; }
.stage__top { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: #9a9aa6; }
.stage__live { display: inline-flex; align-items: center; gap: 5px; color: #ff6b6b; font-weight: 700; }
.stage__live::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: #ff6b6b; }
.stage__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 11px; }
.stage__tile { aspect-ratio: 4 / 3; border-radius: 9px; display: flex; flex-direction: column; justify-content: flex-end; padding: 9px; font-size: 10.5px; }
.stage__tile--ai { background: linear-gradient(150deg, #1d3b5c, #15202e); position: relative; }
/* Maya is the avatar the product itself ships for her. The only copy of it is a
   small one, so she is shown as a round avatar on the tile rather than
   full bleed: at this size the source resolution holds, and a round avatar on a
   dark tile is how the product shows an agent anyway. */
.stage__av {
  position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%);
  width: 44%; aspect-ratio: 1; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,255,255,0.22);
}
.stage__tile--me { background: linear-gradient(150deg, #2e2740, #1a1725); }
.stage__cap { background: rgba(255,255,255,0.07); border-radius: 8px; padding: 9px 10px; margin-top: 10px; font-size: 11.5px; line-height: 1.45; }
.stage__cap b { color: #9fd4b4; }
.wavebar { display: flex; align-items: flex-end; gap: 2px; height: 14px; margin-top: 6px; }
.wavebar i { width: 3px; border-radius: 2px; background: #9fd4b4; animation: wv 1.1s ease-in-out infinite; }
@keyframes wv { 0%,100% { height: 20%; } 50% { height: 100%; } }

/* scorecard */
.score { display: grid; gap: 9px; }
.score__row { display: grid; grid-template-columns: 1fr 50px; gap: 10px; align-items: center; font-size: 11.5px; }
.score__ring {
  width: 64px; height: 64px; border-radius: 99px; display: grid; place-items: center;
  font-size: 17px; font-weight: 700; color: var(--ui-green); flex: none;
  background: conic-gradient(var(--ui-green) 0 82%, var(--ui-line-2) 82% 100%);
}
.score__ring > span { width: 50px; height: 50px; border-radius: 99px; background: #fff; display: grid; place-items: center; }

/* pills row */
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  border: 1px solid var(--ui-line); border-radius: 8px; padding: 6px 9px;
  font-size: 11px; font-weight: 600; color: var(--ui-ink-2); background: #fff;
}
.pill--on { background: var(--ui-mint); border-color: transparent; color: var(--ui-green); }

/* workflow canvas */
.flow { background: #fbfbfa; border-radius: 10px; border: 1px solid var(--ui-line); padding: 14px; }
.flow__chain { display: flex; align-items: stretch; gap: 0; }
.flow__node { border: 1px solid var(--ui-line); background: #fff; border-radius: 9px; padding: 8px 9px; flex: 1 1 0; min-width: 0; }
.flow__node b { font-size: 11px; display: block; letter-spacing: -0.01em; }
.flow__node span { font-size: 9.5px; color: var(--ui-ink-3); display: block; line-height: 1.35; }
.flow__arrow { display: grid; place-items: center; color: var(--ui-ink-3); padding-inline: 5px; flex: none; font-size: 11px; }
@media (max-width: 560px) {
  .flow__chain { flex-wrap: wrap; gap: 6px; }
  .flow__node { flex: 1 1 44%; }
  .flow__arrow { display: none; }
}

/* agent console */
.agent__head { display: flex; align-items: center; gap: 10px; }
.agent__av { width: 34px; height: 34px; border-radius: 10px; background: #14131a; color: #c0e5cb; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.agent__msg { background: var(--ui-shell); border: 1px solid var(--ui-line); border-radius: 10px; padding: 10px 11px; font-size: 11.5px; line-height: 1.5; }
.agent__msg + .agent__msg { margin-top: 8px; }
.agent__msg--me { background: #fff; }
.agent__step { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; font-size: 11.5px; padding: 8px 0; border-bottom: 1px solid var(--ui-line-2); }
.agent__step:last-child { border-bottom: 0; }
.agent__step b { font-size: 11.5px; }
.agent__step span { color: var(--ui-ink-3); font-size: 10.5px; display: block; }
.agent__num { width: 18px; height: 18px; border-radius: 99px; background: var(--ui-mint); color: var(--ui-green); display: grid; place-items: center; font-size: 10px; font-weight: 700; }

/* risk table */
.risk { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.risk th { text-align: left; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ui-ink-3); font-weight: 600; padding: 0 0 7px; }
.risk td { padding: 8px 0; border-top: 1px solid var(--ui-line-2); }
.risk td:last-child, .risk th:last-child { text-align: right; }
.flag { width: 9px; height: 9px; border-radius: 99px; display: inline-block; margin-right: 6px; }
.flag--a { background: #2f9e6b; } .flag--b { background: #e0a53a; } .flag--c { background: #c45b5b; }

/* ---------- module grid (everything else) ---------- */
.mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.75rem; margin-top: 2.4rem; }
.mod { border: 1px solid var(--line); border-radius: 14px; padding: 1.15rem 1.2rem; background: rgba(255,255,255,0.55); }
.mod b { display: block; font-size: 1rem; letter-spacing: -0.015em; }
.mod p { margin: 0.4rem 0 0; font-size: 0.9rem; color: var(--ink-2); line-height: 1.45; }

/* ---------- proof ---------- */
.proof { background: var(--ink); color: var(--paper); border-radius: 26px; padding: clamp(2rem, 5vw, 3.6rem); }
.proof h2 { color: var(--paper); }
.proof__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.8rem 2rem; margin-top: 2.4rem; }
@media (min-width: 820px) { .proof__grid { grid-template-columns: repeat(3, 1fr); } }
.proof__n { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); letter-spacing: -0.035em; font-weight: 700; line-height: 1; }
.proof__l { font-size: 0.88rem; color: rgba(255,253,248,0.66); margin-top: 0.5rem; line-height: 1.4; }

/* ---------- the floor, embedded ---------- */
/* Height comes from the frame itself over postMessage, because the floor and
   the bottleneck below it both reflow. The fallback covers the case where the
   message never arrives. */
.floorframe { width: 100%; border: 0; display: block; height: 1500px; }

/* ---------- quotes ---------- */
.quotes { display: grid; gap: 1.6rem; }
@media (min-width: 860px) { .quotes { grid-template-columns: 1fr 1fr; gap: 2.4rem; } }
.quote { margin: 0; border-top: 2px solid var(--ink); padding-top: 1.4rem; text-align: left; }
.quote blockquote {
  margin: 0; text-align: left; font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  line-height: 1.38; letter-spacing: -0.02em; font-weight: 700;
}
.quote figcaption { margin-top: 1.1rem; font-size: 0.92rem; text-align: left; }
.quote figcaption b { display: block; }
.quote figcaption span { color: var(--ink-3); }

/* ---------- case study strip ---------- */
.cstrip {
  display: grid; gap: 1.6rem; align-items: center; text-decoration: none;
  background: var(--c6); border-radius: 22px;
  padding: clamp(1.6rem, 3.4vw, 2.6rem);
  transition: transform 0.2s ease;
}
.cstrip:hover { transform: translateY(-2px); }
@media (min-width: 980px) { .cstrip { grid-template-columns: 1.05fr 1.25fr auto; gap: 2.6rem; } }
.cstrip__copy h3 { margin: 0.5rem 0 0; max-width: 20ch; }
.cstrip__copy p { font-size: 0.95rem; color: var(--ink-2); max-width: 42ch; }
.cstrip__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.cstrip__nums b { display: block; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); letter-spacing: -0.035em; line-height: 1; }
.cstrip__nums span { display: block; margin-top: 0.4rem; font-size: 0.82rem; color: var(--ink-2); line-height: 1.35; }
.cstrip__go {
  font-weight: 700; font-size: 0.95rem; white-space: nowrap;
  border-bottom: 2px solid var(--ink); padding-bottom: 2px; justify-self: start;
}

/* ---------- per-section CTA ---------- */
/* Every feature section ends with the same offer, so it is a quiet text link
   rather than another button competing with the one in the header. */
.feat__cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.6rem; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; color: var(--ink);
  border-bottom: 2px solid var(--ink); padding-bottom: 2px;
  transition: gap 0.18s ease;
}
.feat__cta:hover { gap: 0.7rem; }
.feat__cta--solo { margin-top: 2rem; }

/* ---------- the form slab ---------- */
/* Measured off the form on the live /crew page: #bbcaf0 fill, a 2px ink border,
   22px radius, two 470px columns, mono uppercase labels, and square 2px fields
   and button rather than the pills used elsewhere on this page. */
.slab {
  background: var(--c2);
  border: 2px solid var(--ink);
  border-radius: 22px;
  padding: clamp(1.8rem, 5vw, 5rem) clamp(1.4rem, 4.5vw, 4.5rem);
}
.form-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
.form-grid > * { min-width: 0; }
@media (min-width: 900px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.slab h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem); margin-top: 0.6rem; max-width: 18ch; }
.slab .lede { font-size: 1.02rem; margin-top: 1.2rem; }
.slab .feat__list { margin-top: 1.5rem; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (max-width: 430px) { .two { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.75rem; }
.field--wide { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink); font-weight: 500;
}
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid rgba(17,17,21,0.35);
  border-radius: 2px; padding: 0.7rem 0.8rem; width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,255,255,0.7);
}
.slab__btn {
  width: 100%; margin-top: 0.4rem; cursor: pointer;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  border-radius: 2px; padding: 0.85rem 1.6rem;
  font-family: var(--font); font-weight: 700; font-size: 1rem;
  transition: opacity 0.15s ease;
}
.slab__btn:hover { opacity: 0.88; }
.form-msg { text-align: center; font-size: 0.86rem; color: var(--ink-2); margin-top: 0.8rem; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 2rem 3rem; font-size: 0.85rem; color: var(--ink-3); }
.foot__in { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }

/* reveal */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .wavebar i { animation: none; height: 60%; }
  html { scroll-behavior: auto; }
}

/* ---------- bare mode ---------- */
/* ?bare=1 (or #bare) hides the page's own header and footer, for embedding the
   page, recording it, or showing the product without the chrome around it.
   --tpx-h is the header height everything else offsets against, so it goes to 0
   and the sticky pieces park near the top of the window instead of under a bar
   that is no longer there. */
.is-bare .topbar, .is-bare .foot { display: none !important; }
.is-bare { --tpx-h: 0px; }
.is-bare .hero { padding-top: clamp(1.4rem, 3vw, 2.4rem); }
@media (max-width: 999px) { .is-bare .story__stage { top: 8px; } }
