/* WhoAINames · Research Memo system (see brand-dna.md §2) */
:root {
  --paper: #F7F5F0;
  --paper-2: #EFECE4;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #5B6576;          /* AA on paper and paper-2 */
  --green-text: #0C7B47;     /* any green TEXT on paper/white (4.9:1, AA) */
  --green: #12B76A;          /* non-text accents on paper: dashes, dots, rules, focus */
  --green-display: #4CC17A;  /* green on ink only (7.8:1) */
  --rule: #D8D3C7;
  --grey: #98A2B3;           /* competitor accents (non-text) */
  --grey-text: #667085;      /* competitor TEXT (AA on white/paper) */
  --red: #E5484D;            /* "not named" only */
  --card: #FFFFFF;
  --head: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Source Serif 4", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 17px; } }

/* type */
h1, h2, h3 { font-family: var(--head); letter-spacing: -0.025em; line-height: 1.05; margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(40px, 6.4vw, 76px); }
h2 { font-weight: 800; font-size: clamp(30px, 4.2vw, 48px); }
h3 { font-weight: 700; font-size: 22px; letter-spacing: -0.01em; line-height: 1.2; }
.g { color: var(--green-text); }
.lede { font-size: clamp(19px, 2vw, 23px); color: var(--ink-2); max-width: 36em; }

.eyebrow {
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2);
  display: flex; align-items: center; gap: 10px; margin: 0 0 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--green); flex: none; }

/* buttons */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer;
  padding: 15px 26px; border-radius: 999px; min-height: 48px;
  border: 2px solid var(--ink); background: transparent; color: var(--ink);
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.pill:hover { transform: translateY(-1px); background: var(--ink); color: var(--paper); }
.pill.solid { background: var(--ink); color: var(--paper); }
.pill.solid:hover { background: #1E293B; }
.pill:focus-visible, input:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* header */
.top { border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { font-family: var(--head); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo { gap: 10px; }
.logo-mark { flex: none; }
.top .pill { padding: 10px 18px; font-size: 13px; min-height: 44px; }
.logo, .top .pill { white-space: nowrap; }
.top .pill { display: inline-block; line-height: 20px; } /* FINDING-006: text, not flex items, so the words keep normal spacing */
@media (max-width: 480px) {
  .top .pill span.long { display: none; }
  .top .logo { font-size: 17px; }
  .top .logo-mark { width: 22px; height: 22px; }
  .top .pill { padding: 8px 14px; }
}

/* sections */
section { padding: 96px 0; border-bottom: 1px solid var(--rule); }
@media (max-width: 600px) { section { padding: 64px 0; } }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* hero */
.hero { padding: 80px 0 96px; }
.hero h1 { margin-bottom: 24px; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.hero .note { font-family: var(--mono); font-size: 13px; color: var(--muted); }
@media (max-width: 480px) { .hero .pill.solid { font-size: 14px; padding: 15px 20px; white-space: nowrap; } } /* FINDING-004: CTA stays on one line */

/* AI answer illustration */
.answer {
  background: var(--card); border: 1px solid var(--rule); border-radius: 14px;
  box-shadow: 0 1px 0 var(--rule), 0 24px 48px -28px rgba(15, 23, 42, .25);
  overflow: hidden; font-size: 16px;
}
.answer-q { padding: 18px 20px; background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.answer-q .label, .answer-a .label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }
.answer-q p { margin: 0; font-weight: 600; font-family: var(--head); font-size: 18px; letter-spacing: -0.01em; line-height: 1.3; }
.answer-a { padding: 18px 20px 8px; }
.answer-a ol { list-style: none; margin: 0; padding: 0; }
.answer-a li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); }
.answer-a li:first-child { border-top: 0; }
.rank { font-family: var(--mono); font-size: 13px; color: var(--grey-text); width: 18px; }
.firm { flex: 1; color: var(--grey-text); }
.tag { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; }
.tag.named { background: #EEF0F3; color: #475569; }  /* rivals stay grey */
.answer-a li.you { margin: 4px -20px 0; padding: 14px 20px; background: #FDF0F0; border-top: 1px dashed var(--red); }
.answer-a li.you .rank { color: #B42318; }
.answer-a li.you .firm { color: var(--ink); font-weight: 600; }
.tag.not { background: #fff; color: #B42318; border: 1px solid var(--red); }
.answer-foot { font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 12px 20px 16px; border-top: 1px solid var(--rule); }

/* referral section */
.big-quote { font-family: var(--head); font-weight: 700; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
.prose p { margin: 0 0 1em; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border-top: 2px solid var(--ink); }
.stat { padding: 28px 28px 4px 0; display: flex; flex-direction: column; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--rule); }
.stat-num { font-family: var(--head); font-weight: 800; font-size: clamp(32px, 3.6vw, 44px); letter-spacing: -0.03em; line-height: 1; }
.stat-num .arrow, .stat-num .vs { color: var(--grey-text); font-weight: 600; font-size: .6em; margin: 0 6px; vertical-align: middle; }
.stat p { margin: 14px 0 12px; color: var(--ink-2); font-size: 17px; flex: 1; }
.stat .src { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; /* FINDING-003 */ font-family: var(--mono); font-size: 12px; color: var(--muted); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.stat .src:hover { color: var(--ink); }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 24px 0 8px; border-left: 0; border-top: 1px solid var(--rule); }
  .stat:first-child { border-top: 0; }
}

/* founder reasons */
.why { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.why li { padding: 16px 0; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 17px; }
.why strong { display: block; font-family: var(--head); color: var(--ink); font-size: 19px; letter-spacing: -0.01em; margin-bottom: 4px; }
@media (max-width: 700px) { .why { grid-template-columns: 1fr; } }
.prose strong { color: var(--ink); }

/* benefits */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border-top: 2px solid var(--ink); }
.benefit { padding: 28px 28px 8px 0; }
.benefit + .benefit { padding-left: 28px; border-left: 1px solid var(--rule); }
.benefit .num { font-family: var(--mono); font-size: 13px; color: var(--green-text); display: block; margin-bottom: 14px; }
.benefit p { margin: 10px 0 0; color: var(--ink-2); font-size: 17px; }
@media (max-width: 900px) {
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefit, .benefit + .benefit { padding: 28px 20px 20px 0; border-left: 0; }
  .benefit:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .benefits { grid-template-columns: 1fr; }
  .benefit, .benefit + .benefit, .benefit:nth-child(even) { padding: 24px 0 8px; border-left: 0; border-top: 1px solid var(--rule); }
  .benefit:first-child { border-top: 0; }
}

/* report + form */
.report { background: var(--ink); color: var(--paper); border-bottom: 0; }
.report .eyebrow { color: #CBD5E1; }
.report h2 .g { color: var(--green-display); }
.report .lede { color: #CBD5E1; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 8px; }
@media (max-width: 900px) { .report-grid { grid-template-columns: 1fr; gap: 40px; } }
.checks { list-style: none; padding: 0; margin: 32px 0 0; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid #1E293B; color: #E2E8F0; font-size: 18px; }
.checks li:last-child { border-bottom: 1px solid #1E293B; }
.checks .tick { font-family: var(--mono); color: var(--green-display); font-weight: 600; }
.engines { font-family: var(--mono); font-size: 13px; color: #94A3B8; margin-top: 24px; line-height: 1.8; }

.form-card { background: var(--paper); color: var(--ink); border-radius: 16px; padding: 32px; }
@media (max-width: 600px) { .form-card { padding: 24px 20px; } }
.form-card h3 { font-size: 26px; margin-bottom: 6px; }
.form-card .sub { font-size: 16px; color: var(--muted); margin: 0 0 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.field .hint { font-family: var(--body); font-size: 14px; color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input {
  width: 100%; font: inherit; font-family: var(--body); font-size: 17px;
  padding: 13px 14px; border: 1.5px solid var(--rule); border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus { border-color: var(--ink); outline: none; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--ink-2); margin: 0 0 12px; padding: 10px 0; min-height: 44px; line-height: 1.45; cursor: pointer; }
.consent input { width: 24px; height: 24px; margin: 0; accent-color: var(--green); cursor: pointer; } /* FINDING-002: whole label row is the tap target (44px+) */
.form-card .pill { width: 100%; justify-content: center; }
::selection { background: #CDEFD9; color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
.form-card .pill[disabled] { opacity: .6; cursor: wait; }
.form-error { display: none; margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: #FDF0F0; color: #B42318; font-size: 15px; }
.form-error.show { display: block; }
.privacy-note { font-size: 13px; color: var(--muted); margin: 16px 0 0; line-height: 1.5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* founder */
.founder { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: center; }
@media (max-width: 700px) { .founder { grid-template-columns: 1fr; gap: 28px; } }
.headshot { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; background: transparent; color: var(--paper); display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 800; font-size: 56px; letter-spacing: -0.03em; }
.founder .sig { font-family: var(--mono); font-size: 14px; color: var(--muted); margin-top: 18px; }

/* faq */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--head); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--mono); font-size: 24px; color: var(--green-text); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 40em; }

/* closing cta */
.closing { text-align: center; border-bottom: 0; }
.closing h2 { max-width: 14em; margin: 0 auto 28px; }

/* footer */
footer { background: var(--paper-2); border-top: 1px solid var(--rule); padding: 48px 0 56px; font-size: 15px; color: var(--ink-2); }
footer .cols { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
@media (max-width: 800px) { footer .cols { grid-template-columns: 1fr; gap: 32px; } }
footer .logo { margin-bottom: 12px; }
footer h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px; color: var(--ink); }
footer p { margin: 0 0 10px; }
.disclaimer { font-family: var(--mono); font-size: 13px; }

/* thank you page */
.ty { min-height: calc(100vh - 69px); display: flex; align-items: center; padding: 72px 0; border: 0; }
.ty .box { max-width: 720px; }
.ty h1 { font-size: clamp(38px, 5.6vw, 64px); margin-bottom: 20px; }
.steps { list-style: none; padding: 0; margin: 40px 0 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 20px 0; border-top: 1px solid var(--rule); }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps li::before { content: "0" counter(s); font-family: var(--mono); color: var(--green-text); font-weight: 600; padding-top: 2px; }
.steps strong { font-family: var(--head); font-size: 19px; display: block; margin-bottom: 2px; letter-spacing: -0.01em; }
.steps span { color: var(--ink-2); font-size: 17px; }
.addr { font-family: var(--mono); background: var(--card); border: 1px solid var(--rule); padding: 2px 8px; border-radius: 6px; font-size: .92em; white-space: nowrap; }

/* privacy page */
.legal { padding: 72px 0 96px; }
.legal .box { max-width: 720px; }
.legal h1 { font-size: clamp(38px, 5.6vw, 56px); margin-bottom: 12px; }
.legal .updated { font-family: var(--mono); font-size: 13px; color: var(--ink-2); margin: 0 0 40px; }
.legal h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 36px 0 10px; }
.legal ul { margin: 0 0 1em; padding-left: 1.2em; color: var(--ink-2); }
.legal li { margin-bottom: .4em; }
footer .links a { color: inherit; }

/* Article lead-sentence highlight (brand DNA rule, 13 Oct 2026): first sentence of each H2 section */
mark.hl, .hl { background: rgba(18, 183, 106, .16); color: var(--ink); padding: .08em .2em; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* header nav + footer descriptor (WhoAINames rebrand, 13 Oct 2026) */
.nav { display: flex; align-items: center; gap: 22px; }
.nav-link { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--ink-2); text-decoration: none; padding: 12px 2px; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--green); }
.nav-link:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; }
.logo { min-height: 44px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.menu-btn { display: none; }
.top { position: relative; }

/* Phones without JS: two-row header (logo + report pill, then the section links) */
@media (max-width: 600px) {
  html:not(.js-menu) .top .wrap { display: grid; grid-template-columns: auto auto 1fr auto; grid-template-areas: "logo logo logo pill" "ins gui . ."; height: auto; column-gap: 20px; row-gap: 0; padding-top: 10px; }
  html:not(.js-menu) .top .nav, html:not(.js-menu) .top .nav-links { display: contents; }
  html:not(.js-menu) .top .logo { grid-area: logo; }
  html:not(.js-menu) .top .pill { grid-area: pill; justify-self: end; }
  html:not(.js-menu) .top .nav-link:nth-child(1) { grid-area: ins; }
  html:not(.js-menu) .top .nav-link:nth-child(2) { grid-area: gui; }
  html:not(.js-menu) .top .nav-link { padding: 0 2px; }

  /* Phones with JS: one row (logo · Free Report · menu button); links drop down in a panel */
  .js-menu .top .nav { gap: 10px; }
  .js-menu .top .menu-btn[hidden], .js-menu .top .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 44px; height: 44px; padding: 0; border: 2px solid var(--ink); border-radius: 999px;
    background: transparent; color: var(--ink); cursor: pointer;
  }
  .js-menu .top .menu-btn[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
  .js-menu .top .menu-btn:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .15s ease, opacity .15s ease; }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  .menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

  .js-menu .top .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 30;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    box-shadow: 0 16px 24px -20px rgba(15, 23, 42, .35); padding: 4px 16px 8px;
  }
  .js-menu .top .nav-links.open { display: flex; }
  .js-menu .top .nav-links .nav-link { min-height: 52px; padding: 0 2px; font-size: 15px; border-top: 1px solid var(--rule); }
  .js-menu .top .nav-links .nav-link:first-child { border-top: 0; }
  .js-menu .top .nav-links .nav-link[aria-current="page"] { color: var(--green-text); }
}
.descriptor { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* insights index */
.insights-head { padding: 72px 0 40px; border-bottom: 0; }
.insights-head .wrap, .insights-list .wrap { max-width: 760px; }
.insights-head h1 { margin: 14px 0 16px; }
.insights-list { padding: 0 0 88px; }
.posts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.posts li { border-bottom: 1px solid var(--rule); padding: 26px 0; display: grid; gap: 8px; }
.posts .meta { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.posts h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 0; }
.posts h2 a { text-decoration: none; color: var(--ink); }
.posts h2 a:hover { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 4px; }
.posts p { margin: 0; color: var(--ink-2); }
.posts-empty { border-top: 1px solid var(--rule); padding: 32px 0; color: var(--ink-2); }
.posts:has(li) + .posts-empty { display: none; }
.posts:not(:has(li)) { display: none; }

/* CRO changes (13 Oct 2026, strategy/cro-audit-2026-10-13.md) */
.report-grid { grid-template-areas: "intro form"; }
.report-grid > div:first-child { grid-area: intro; }
.report-grid > .form-card { grid-area: form; }
@media (max-width: 900px) { .report-grid { grid-template-areas: "intro" "form"; } }
.hiring-note { margin: 22px 0 0; color: #E2E8F0; font-size: 17px; position: relative; }
.hiring-note p { margin: 0; }
.hiring-note strong { color: var(--green-display); font-family: var(--head); }
.author-strip { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #1E293B; }
.author-strip img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.author-strip p { margin: 0; font-size: 16px; line-height: 1.45; color: #E2E8F0; }
.author-strip span { font-family: var(--mono); font-size: 13px; color: #94A3B8; }
.author-strip a { color: #E2E8F0; display: inline-flex; align-items: center; min-height: 44px; }
.form-assure { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; font-size: 15px; color: var(--ink-2); }
.form-assure li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.form-assure li::before { content: "✓"; font-family: var(--mono); color: var(--green-text); font-weight: 600; }
.inline-cta { margin: 32px 0; padding: 20px 22px; background: var(--card); border: 1px solid var(--rule); border-radius: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }
.inline-cta p { margin: 0; color: var(--ink); font-size: 18px; max-width: 30em; }
.inline-cta p span { display: block; font-size: 15px; color: var(--muted); }
.ty-next { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rule); }
.ty-next h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 12px; }
.ty-next ul { margin: 0 0 28px; padding-left: 1.2em; color: var(--ink-2); }
.ty-next li { margin-bottom: .4em; }
.ty-next a { color: var(--ink); }
.ty-survey label { display: block; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.ty-survey textarea { width: 100%; min-height: 96px; font: inherit; font-size: 17px; padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: 10px; background: #fff; color: var(--ink); }
.ty-survey textarea:focus { border-color: var(--ink); outline: none; }
.ty-survey .pill { margin-top: 12px; }
.ty-survey .ty-done { display: none; margin: 12px 0 0; color: var(--green-text); font-weight: 600; }
.ty-survey.sent .ty-done { display: block; }
.ty-survey.sent textarea, .ty-survey.sent button { display: none; }

/* Report preview carousel (13 Oct 2026): rebuilt from a real check, anonymised */
.report-preview { margin-top: 72px; padding-top: 40px; border-top: 1px solid #1E293B; min-width: 0; }
.rp-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; margin-bottom: 20px; }
.rp-label { margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: #94A3B8; max-width: 40em; }
.rp-label span { display: block; font-family: var(--head); font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.02em; color: var(--paper); margin-bottom: 6px; }
.rp-controls { display: flex; align-items: center; gap: 12px; }
.rp-count { font-family: var(--mono); font-size: 13px; color: #CBD5E1; min-width: 3.5em; text-align: center; font-variant-numeric: tabular-nums; }
.rp-btn { width: 48px; height: 48px; border-radius: 999px; border: 2px solid #CBD5E1; background: transparent; color: var(--paper); font: 600 18px var(--mono); cursor: pointer; }
.rp-btn:hover:not(:disabled) { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.rp-btn:disabled { opacity: .35; cursor: default; }
.rp-btn:focus-visible, .rp-track:focus-visible, .rp-dots button:focus-visible { outline: 3px solid var(--green-display); outline-offset: 3px; }
.rp-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 0; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rp-track::-webkit-scrollbar { display: none; }
.rp-slide { flex: 0 0 min(760px, 88%); scroll-snap-align: start; background: var(--paper); color: var(--ink); border-radius: 16px; padding: 28px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 600px) { .rp-slide { flex-basis: 90%; padding: 22px 18px; } .rp-track { gap: 12px; } }
.rp-kicker { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--green-text); }
.rp-slide h3 { font-size: clamp(21px, 2.4vw, 26px); }
.rp-sub { margin: 0; font-size: 15px; color: var(--muted); }
.rp-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.rp-stats div { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.rp-stats b { font-family: var(--head); font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rp-stats div:first-child b { color: var(--green-text); }
.rp-stats span { font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.rp-table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); }
.rp-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.rp-table th, .rp-table td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: middle; }
.rp-table thead th { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--paper-2); white-space: nowrap; }
.rp-table tbody th { font-weight: 400; color: var(--ink); min-width: 210px; line-height: 1.35; }
.rp-table tr:last-child th, .rp-table tr:last-child td { border-bottom: 0; }
.rp-pill { display: inline-block; font-family: var(--mono); font-size: 11.5px; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.rp-pill.yes { background: #DCF5E6; color: var(--green-text); font-weight: 600; }
.rp-pill.no { background: #EEF0F3; color: #475569; }
.rp-bars { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.rp-bars li { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr) auto; align-items: center; gap: 12px; font-size: 16px; }
.rp-bar { height: 10px; background: #E7E3D9; border-radius: 999px; overflow: hidden; }
.rp-bar i { display: block; height: 100%; background: var(--green); border-radius: 999px; min-width: 2px; }
.rp-val { font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.rp-val.zero { color: #B42318; }
@media (max-width: 480px) { .rp-bars li { grid-template-columns: 1fr auto; } .rp-bar { grid-column: 1 / -1; grid-row: 2; } }
.rp-sources, .rp-fixes { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.rp-sources li, .rp-fixes li { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.rp-sources b, .rp-fixes b { font-family: var(--head); font-size: 18px; letter-spacing: -0.01em; }
.rp-sources span, .rp-fixes span { font-size: 15px; color: var(--ink-2); }
.rp-fixes { counter-reset: fx; }
.rp-fixes li { counter-increment: fx; }
.rp-fixes b::before { content: "0" counter(fx) "  "; font-family: var(--mono); font-size: 14px; color: var(--green-text); white-space: pre; }
.rp-fixes em { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rp-cta { align-self: flex-start; margin-top: 6px; }
.rp-dots { display: flex; justify-content: center; gap: 4px; margin-top: 16px; }
.rp-dots button { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.rp-dots button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 999px; background: #475569; transition: background .15s, width .15s, margin .15s; }
.rp-dots button[aria-current="true"]::after { background: var(--green-display); width: 24px; margin-left: -12px; }
.rp-foot { margin: 8px 0 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.6; color: #94A3B8; text-align: center; }
.rp-foot a { color: #E2E8F0; }
@media (prefers-reduced-motion: reduce) { .rp-track { scroll-behavior: auto; } }
@media (max-width: 600px) {
  .rp-stats { grid-template-columns: 1fr; gap: 8px; }
  .rp-stats div { flex-direction: row; align-items: baseline; gap: 12px; padding: 12px 14px; }
  .rp-stats b { flex: none; min-width: 3.6em; font-size: 24px; }
  .rp-stats span { font-size: 14.5px; }
  .rp-cta { font-size: 14px; padding: 15px 20px; white-space: nowrap; }
  /* question table becomes stacked cards: no sideways scroll inside the swipe */
  .rp-table-wrap { overflow: visible; border: 0; background: transparent; border-radius: 0; }
  .rp-table, .rp-table tbody, .rp-table tr, .rp-table th, .rp-table td { display: block; min-width: 0; }
  .rp-table { min-width: 0; }
  .rp-table thead { display: none; }
  .rp-table tr { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
  .rp-table tbody th { grid-column: 1 / -1; min-width: 0; padding: 0 0 4px; border: 0; font-size: 15px; }
  .rp-table td { padding: 0; border: 0; display: flex; justify-content: space-between; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
  .rp-table td::before { content: attr(data-e); }
  .rp-table tr:last-child th, .rp-table tr:last-child td { border: 0; }
}
@media (max-width: 600px) {
  .rp-track { align-items: flex-start; }
  .rp-table tr { grid-template-columns: 1fr 1fr; gap: 6px 14px; }
  .rp-table td { font-size: 11.5px; }
  .rp-table td[data-s]::before { content: attr(data-s); }
  .rp-pill { font-size: 0; padding: 2px 8px; }
  .rp-pill.yes::after { content: "Named"; font-size: 11px; }
  .rp-pill.no::after { content: "No"; font-size: 11px; }
}
@media (max-width: 400px) {
  .rp-table tr { padding: 10px; gap: 6px 10px; }
  .rp-table td { font-size: 11px; gap: 4px; white-space: nowrap; }
  .rp-pill { padding: 2px 6px; }
}
.rp-label mark.rp-anon { background: rgba(76, 193, 122, .22); color: #E2F7EA; padding: .08em .3em; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* Hiring help icon (14 Oct 2026) */
.help-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -12px -10px -12px -4px; padding: 0; border: 0; background: transparent; cursor: pointer; vertical-align: middle; }
.help-btn span { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 999px; border: 1.5px solid var(--green-display); color: var(--green-display); font: 600 13px/1 var(--mono); transition: background .15s, color .15s; }
.help-btn:hover span, .help-btn[aria-expanded="true"] span { background: var(--green-display); color: var(--ink); }
.help-btn:focus-visible { outline: 3px solid var(--green-display); outline-offset: 0; border-radius: 999px; }
.help-pop { margin-top: 12px; background: var(--paper); color: var(--ink-2); border-radius: 12px; padding: 16px 18px; font-size: 15.5px; line-height: 1.55; box-shadow: 0 18px 32px -20px rgba(0,0,0,.6); max-width: 34em; }
.help-pop p { margin: 0 0 .7em; }
.help-pop p:last-child { margin: 0; }
.help-pop strong { color: var(--ink); font-family: var(--head); }
