/* PromptPost site styles.
   Built from design/Main.dc.html (the approved v2 design). Colors, sizes and
   spacing follow that file; the mobile layout and the accessibility details
   are additions. */

/* ---------- Fonts (self-hosted, SIL Open Font License: see fonts/OFL-*.txt) ---------- */

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

/* ---------- Tokens ---------- */

:root {
  /* The design's accent prop. Alternatives it offered: #B9FF4A, #FF8A3D, #7FD4FF. */
  --accent: #FFE500;
  --ink: #0A0A0A;
  --paper: #FFFFFF;
  --wash: #F1F2F4;
  --rule: #C9CBD0;
  --muted: #55585E;
  --line-no: #6B6E75;
  --text-2: #2B2D31;
  --text-3: #3C3F45;
  --on-dark: #D4D6DA;
  --on-dark-label: #B4B7BD;
  --rule-dark: #55585E;
  --ok: #0B6B34;
  --ok-bg: #B8F5C8;
  --bad: #C4005F;
  --bad-bg: #FFC2DC;
  --hatch: #E6E8EC;

  --sans: "Archivo", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: 1320px;
  --gutter: 24px;
  --section-y: clamp(60px, 8vw, 88px);
  --ease-out: cubic-bezier(.16, .8, .2, 1);
  --ease-sweep: cubic-bezier(.6, 0, .2, 1);

  color-scheme: light;
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-block-start: 16px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-size-adjust: from-font;
  overflow-x: clip;
}

a { color: inherit; }
a:hover { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.dk :focus-visible { outline-color: var(--accent); }

.visually-hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  translate: 0 -200%;
}
.skip-link:focus-visible { translate: none; outline-color: var(--accent); }

.wrap {
  max-inline-size: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.dk { background: var(--ink); color: var(--paper); }

/* Type */
.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mono-13 { font-size: 13px; }
.muted { color: var(--muted); }
.bold { font-weight: 700; }

.display, .h2 {
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.display { font-size: clamp(46px, 12.4vw, 176px); line-height: .88; }
.h2 { font-size: clamp(40px, 6.4vw, 92px); line-height: .92; text-wrap: balance; }
.h3-cond { font-stretch: 75%; font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -.01em; }

/* Accent highlighter behind words ("Same standards.") */
.mk {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 72%;
  background-size: 100% 74%;
  padding: 0 .06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 44px;
  border: 0;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform .18s ease; }
  .btn:hover { transform: translateY(-3px); }
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { color: var(--paper); }
.btn-line { border: 2px solid var(--ink); color: var(--ink); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-lg { padding: 15px 28px; font-size: 17px; min-block-size: 58px; }
.btn-line.btn-lg { padding: 13px 26px; }

.nl { text-decoration: none; }
.nl:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  inline-size: 36px;
  block-size: 36px;
  flex: none;
  background: var(--accent);
  color: var(--ink);
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
}
.logo-name { font-weight: 800; font-size: 21px; letter-spacing: -.02em; }

/* ---------- Demo Day banner (shown only when Demo Day is switched on) ---------- */

html:not(.demo-day) [data-demo-day] { display: none !important; }
html.demo-day [data-demo-day-off] { display: none !important; }

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  padding-block: 10px;
}
.strip-inner .accent { color: var(--accent); font-weight: 700; }
.strip-inner a { color: var(--paper); padding-block: 6px; font-weight: 700; }

/* ---------- Header and navigation ---------- */

.site-header { border-block-end: 2px solid var(--ink); background: var(--paper); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 10px 24px;
  padding-block: 14px;
}
.header-inner > * { flex-shrink: 0; white-space: nowrap; }
.header-inner .logo { margin-inline-end: auto; }

.site-nav { font-size: 15px; font-weight: 600; }

.menu-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-block-size: 44px;
  padding: 0 14px;
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  anchor-name: --menu-button;
}
.menu-button svg { inline-size: 18px; block-size: 18px; }

/* Collapsed layout (the default, and what you get without script) */
.site-menu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: fixed;
  inset: auto;
  inset-block-start: 76px;
  inset-block-start: anchor(--menu-button bottom);
  inset-inline-end: 16px;
  inline-size: min(80dvw, 22rem);
  max-inline-size: calc(100dvw - 32px);
  block-size: fit-content;
  max-block-size: calc(100dvh - 96px);
  margin-block-start: 8px;
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}
.site-menu a {
  display: block;
  padding: 14px 20px;
  font-size: 18px;
  text-decoration: none;
}
.site-menu a:hover { background: var(--wash); }

/* Browsers without the Popover API: script toggles .is-open instead */
@supports not selector(:popover-open) {
  .site-header:not(.is-wide) .site-menu:not(.is-open) { display: none; }
}

/* Wide layout: the row fits, so the same list sits inline */
.site-header.is-wide .menu-button { display: none; }
.site-header.is-wide .site-menu {
  position: static;
  display: flex;
  align-items: center;
  gap: 2px 28px;
  inline-size: auto;
  max-inline-size: none;
  block-size: auto;
  max-block-size: none;
  overflow: visible;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.site-header.is-wide .site-menu::backdrop { display: none; }
.site-header.is-wide .site-menu a { padding: 11px 0; font-size: 15px; }
.site-header.is-wide .site-menu a:hover {
  background: none;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.site-header.is-measuring * { transition: none !important; }

.header-cta { padding: 12px 20px; font-size: 15px; }

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

.hero { padding-block: 64px 56px; }
.hero h1 { margin-block-start: 18px; }
.hero h1 .mk { margin-inline-start: -.06em; }
.hero-row {
  margin-block-start: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 72px;
  align-items: flex-start;
  justify-content: space-between;
}
.hero-copy { flex: 1 1 480px; max-inline-size: 660px; }
.hero-copy p { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; font-weight: 500; }
.hero-actions { margin-block-start: 30px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.spec { border-block-start: 2px solid var(--ink); }
.hero-spec { flex: 0 1 420px; min-inline-size: 260px; }
.spec-row {
  display: flex;
  gap: 18px;
  padding-block: 13px;
  border-block-end: 1px solid var(--rule);
  align-items: baseline;
}
.spec-row > :first-child { min-inline-size: 62px; color: var(--muted); }
.spec-row > :last-child { font-weight: 600; }
.dk .spec-row, .spec-dark .spec-row { border-color: var(--rule-dark); }
.spec-dark { border-block-start: 1px solid var(--rule-dark); }
.spec-dark .spec-row > :first-child { color: var(--on-dark-label); }
.spec-dark .spec-row > :last-child { font-weight: 700; }

/* ---------- Animated source-check demo ---------- */

.check-demo { padding-block-end: 88px; }
.demo { border: 2px solid var(--ink); background: var(--ink); }
.demo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 0 6px 0 18px;
  color: var(--paper);
}
.demo-bar > span { padding-block: 14px; }
.replay {
  display: flex;
  align-items: center;
  gap: 8px;
  min-block-size: 44px;
  padding: 0 12px;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.replay svg { inline-size: 15px; block-size: 15px; }
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 2px;
  background: var(--ink);
}
.panel { background: var(--paper); color: var(--ink); padding: 26px 26px 30px; }
.panel-label { color: var(--muted); margin-block-end: 18px; }

.transcript {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.tline { display: flex; gap: 14px; padding: 2px 8px; }
.tline > :first-child { color: var(--line-no); min-inline-size: 20px; flex: none; }
.tline.hl > :first-child { color: var(--muted); }

.draft { font-size: 21px; line-height: 1.6; font-weight: 500; }

.checks { display: flex; flex-direction: column; gap: 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check svg { flex: none; margin-block-start: 2px; inline-size: 22px; block-size: 22px; }
.check-title { font-weight: 700; font-size: 15px; }
.check-text { font-size: 15px; color: var(--text-3); line-height: 1.45; }
.check-flag { border: 2px solid var(--ink); padding: 14px; }
.flag-title { font-weight: 800; font-size: 15px; color: var(--bad); text-transform: uppercase; letter-spacing: .03em; }
.flag-text { font-size: 15px; color: var(--ink); line-height: 1.45; }
.flag-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 12px; }
.fix-btn { font-size: 14px; padding: 0 16px; }
.undo-btn {
  font: 600 14px var(--sans);
  background: transparent;
  color: var(--ink);
  border: 0;
  padding: 0;
  min-block-size: 44px;
  text-decoration: underline;
  cursor: pointer;
}
.demo-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 13px 18px;
  color: var(--paper);
}
.demo-foot .status { color: var(--accent); font-weight: 700; }

/* Highlight, underline and fade states. Final state is the default, so the
   demo reads correctly with no script; script removes the step classes and
   adds them back one at a time. */
.hl { background-repeat: no-repeat; background-size: 0% 100%; }
.ul { background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 3px; }
.fd { opacity: 0; transform: translateY(12px); }
.bad { text-decoration: underline wavy transparent; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.hl-ok { background-image: linear-gradient(var(--ok-bg), var(--ok-bg)); }
.hl-bad { background-image: linear-gradient(var(--bad-bg), var(--bad-bg)); }
.hl-hot { background-image: linear-gradient(var(--bad), var(--bad)); }
.ul-ok { background-image: linear-gradient(var(--ok), var(--ok)); }
.ul-accent { background-image: linear-gradient(var(--accent), var(--accent)); padding-block-end: 3px; }

.s1 .a1.hl, .s2 .a2.hl, .s3 .a3.hl, .hl.on, .q1 .b1.hl { background-size: 100% 100%; }
.s1 .a1.ul, .s2 .a2.ul, .ul.on, .q2 .b2.ul { background-size: 100% 3px; }
.s1 .a1.fd, .s2 .a2.fd, .s4 .a4.fd, .fd.on, .q3 .b3.fd { opacity: 1; transform: none; }
.s3 .bad { text-decoration-color: var(--bad); }

.demo:not(.is-fixed) .when-fixed, .demo.is-fixed .when-flagged { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .hl { transition: background-size .55s var(--ease-sweep); }
  .ul { transition: background-size .6s var(--ease-sweep); }
  .fd { transition: opacity .45s ease, transform .45s ease; }
  .bad { transition: text-decoration-color .3s ease .35s; }
}

.is-snapping, .is-snapping * { transition: none !important; }

/* Replay and Fix only work with script */
html:not(.js) .needs-js { display: none; }

/* ---------- Mastheads ---------- */

.mastheads { border-block: 2px solid var(--ink); }
.mastheads-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 36px;
  padding-block: 22px;
}
.masthead-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
}

/* ---------- Generic section ---------- */

.section { padding-block: var(--section-y); }
.wash { background: var(--wash); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 40px;
}
.section-head > .mono { color: var(--muted); padding-block-end: 8px; }

/* Problem */
.problem h2 { max-inline-size: 1100px; }
.problem-list { margin-block-start: 52px; }
.problem-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  padding-block: 26px;
  border-block-start: 1px solid var(--rule);
  align-items: baseline;
}
.problem-row:first-child { border-block-start: 2px solid var(--ink); }
.problem-row:last-child { border-block-end: 2px solid var(--ink); }
.problem-row .num { font-family: var(--mono); font-size: 13px; font-weight: 700; min-inline-size: 40px; }
.problem-row h3 { flex: 1 1 340px; }
.problem-row p { flex: 1.2 1 400px; color: var(--text-2); }

/* How it works */
.how h2 { max-inline-size: 900px; }
.how-rule { block-size: 2px; background: var(--ink); margin-block-start: 44px; transform-origin: 0 50%; }
.steps {
  list-style: none;
  margin: 0;
  padding-inline: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 28px 36px;
  padding-block-start: 26px;
}
.step-num { font-stretch: 62%; font-weight: 800; font-size: 84px; line-height: .9; }
.step-num .accent-box { background: var(--accent); padding: 0 .12em; margin-inline-start: -.12em; }
.steps h3 { margin: 14px 0 8px; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.steps p { color: var(--text-2); font-size: 16px; }

.shot { margin-block-start: 60px; }
.shot-frame { border: 2px solid var(--ink); background: var(--paper); }
.shot-bar { background: var(--ink); color: var(--paper); padding: 12px 18px; }
.shot-frame img { inline-size: 100%; block-size: auto; }

/* Source check (dark) */
.receipt-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 64px;
  align-items: center;
}
.receipt-copy { flex: 1 1 440px; }
.receipt-copy .eyebrow { color: var(--accent); }
.receipt-copy h2 { margin-block-start: 16px; }
.receipt-copy .lede { margin-block-start: 24px; font-size: 19px; line-height: 1.5; color: var(--on-dark); max-inline-size: 540px; }
.receipt-list { margin-block-start: 30px; border-block-start: 1px solid var(--rule-dark); }
.receipt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 22px;
  padding-block: 15px;
  border-block-end: 1px solid var(--rule-dark);
}
.receipt-row strong { flex: 0 0 210px; }
.receipt-row span { flex: 1 1 240px; color: var(--on-dark); }

.quote-wrap { flex: 1 1 440px; min-inline-size: 0; }
.quote-card { border: 2px solid var(--paper); }
.quote-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 0 6px 0 18px;
  border-block-end: 2px solid var(--paper);
}
.quote-bar > span { padding-block: 14px; }
.quote-body { padding: 26px; display: flex; flex-direction: column; gap: 22px; }
.quote-label { color: var(--on-dark-label); margin-block-end: 8px; }
.quote-draft { font-size: 22px; line-height: 1.5; font-weight: 500; }
.quote-source { font-family: var(--mono); font-size: 15px; line-height: 1.7; }
.quote-flag { background: var(--paper); color: var(--ink); padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; }
.quote-flag svg { flex: none; margin-block-start: 2px; inline-size: 22px; block-size: 22px; }
.quote-flag .flag-text { line-height: 1.45; }

/* Outcomes (accent band) */
.outcomes { background: var(--accent); color: var(--ink); }
.outcomes-inner { padding-block: var(--section-y) 64px; }
.outcomes h2 { max-inline-size: 1000px; }
.outcome-grid {
  margin-block-start: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 2px;
  background: var(--ink);
  border: 2px solid var(--ink);
}
.outcome { background: var(--accent); padding: 28px; }
.outcome h3 { margin: 12px 0 10px; line-height: 1.08; }
.built-for {
  margin-block-start: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 36px;
  align-items: baseline;
}
.built-for .mono { font-weight: 700; }
.built-for span:not(.mono) { font-weight: 700; font-size: 19px; }

/* Standards */
.standards-head { padding-block-end: 22px; border-block-end: 2px solid var(--ink); gap: 12px 40px; }
.standards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: 32px 48px;
  margin-block-start: 36px;
}
.standards-grid .sect { font-family: var(--mono); font-size: 13px; font-weight: 700; }
.standards-grid h3 { margin: 10px 0 8px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.standards-grid p { color: var(--text-2); }

/* Founders */
.founders-inner { display: flex; flex-wrap: wrap; gap: 40px 72px; }
.founders-head { flex: 1 1 380px; }
.founders-head h2 { margin-block-start: 16px; }
.founders-body { flex: 1.3 1 480px; display: flex; flex-direction: column; gap: 20px; font-size: 19px; line-height: 1.55; }
.founders-body .strong { font-weight: 700; }
.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 24px 36px;
  margin-block-start: 10px;
  padding-block-start: 26px;
  border-block-start: 2px solid var(--ink);
}
.person { display: flex; gap: 16px; align-items: flex-start; }
.portrait {
  flex: none;
  inline-size: 76px;
  block-size: 76px;
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--paper);
  background-image: repeating-linear-gradient(135deg, var(--paper) 0 8px, #DADCE1 8px 9px);
  font-stretch: 62%;
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  overflow: hidden;
}
.portrait img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.person-name { font-weight: 800; font-size: 18px; }
.person-bio { font-size: 15px; color: var(--text-3); line-height: 1.45; }

/* FAQ */
.faq-inner { display: flex; flex-wrap: wrap; gap: 28px 72px; }
.faq-inner h2 { flex: 1 1 300px; }
.faq-list { flex: 2 1 520px; border-block-start: 2px solid var(--ink); }
.faq-list details { border-block-end: 1px solid var(--rule); }
.faq-list details:last-child { border-block-end: 2px solid var(--ink); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  min-block-size: 68px;
  padding-block: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .pl { font-size: 30px; font-weight: 400; line-height: 1; flex: none; }
details[open] .pl { transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) {
  .pl { transition: transform .25s ease; }
}
.faq-list details p { margin: 0 0 22px; color: var(--text-2); max-inline-size: 680px; }

/* Demo request (dark) */
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 72px;
  padding-block: var(--section-y) 72px;
}
.cta-copy { flex: 1.2 1 460px; }
.cta-copy .eyebrow { color: var(--accent); }
.cta-copy h2 {
  margin-block-start: 16px;
  font-size: clamp(46px, 8.4vw, 124px);
  line-height: .9;
}
.cta-copy h2 .mk { color: var(--ink); }
.cta-copy .lede { margin-block-start: 26px; font-size: 19px; line-height: 1.5; color: var(--on-dark); max-inline-size: 560px; }
.cta-copy .spec-dark { margin-block-start: 28px; max-inline-size: 560px; }

.cta-form { flex: 1 1 380px; min-inline-size: 0; display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { color: var(--on-dark-label); }
.fi {
  background: transparent;
  border: 0;
  border-block-end: 2px solid var(--paper);
  border-radius: 0;
  color: var(--paper);
  font: 500 19px var(--sans);
  padding: 12px 0;
  min-block-size: 48px;
  inline-size: 100%;
}
.fi::placeholder { color: #9A9DA3; }
.fi:user-invalid { border-block-end-color: #FF7AB0; }
.fi:focus-visible { outline-offset: 4px; }
.field-error { color: #FF9CC4; font-size: 15px; }

.choices { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.choice { display: flex; align-items: center; gap: 10px; min-block-size: 44px; font-weight: 600; cursor: pointer; }
.choice input { inline-size: 20px; block-size: 20px; accent-color: var(--accent); margin: 0; }

.form-note { color: var(--on-dark-label); }
.submit { align-self: flex-start; padding: 0 30px; min-block-size: 58px; font-size: 18px; font-weight: 800; }
.submit[disabled] { opacity: .6; cursor: progress; }
.form-status { font-weight: 600; min-block-size: 1.55em; }
.form-status.is-ok { color: var(--accent); }
.form-status.is-error { color: #FF9CC4; }

/* Honeypot: hidden from people and assistive tech, still visible to naive bots */
.hp { position: absolute; inset-inline-start: -10000px; inline-size: 1px; block-size: 1px; overflow: hidden; }

/* Footer */
.site-footer { border-block-start: 1px solid var(--rule-dark); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 24px;
  align-items: center;
  padding-block: 28px 36px;
  font-size: 15px;
  color: var(--on-dark);
}
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.footer-brand .logo-mark { inline-size: 30px; block-size: 30px; font-size: 20px; }
.footer-brand .logo-name { font-size: 18px; color: var(--paper); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 26px; align-items: center; }
.footer-nav a { padding-block: 11px; }

/* ---------- Scroll reveals (only with motion allowed and script running) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .motion [data-reveal] .st {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  }
  .motion [data-reveal].in .st { opacity: 1; transform: none; }

  .motion [data-reveal] .mk { background-size: 0% 74%; transition: background-size .9s var(--ease-sweep) .5s; }
  .motion [data-reveal].in .mk { background-size: 100% 74%; }

  .motion [data-reveal] .how-rule { transform: scaleX(0); transition: transform 1.3s var(--ease-sweep) .15s; }
  .motion [data-reveal].in .how-rule { transform: none; }
}
.d08 { transition-delay: .08s !important; }
.d10 { transition-delay: .1s !important; }
.d12 { transition-delay: .12s !important; }
.d15 { transition-delay: .15s !important; }
.d16 { transition-delay: .16s !important; }
.d18 { transition-delay: .18s !important; }
.d20 { transition-delay: .2s !important; }
.d24 { transition-delay: .24s !important; }
.d26 { transition-delay: .26s !important; }
.d30 { transition-delay: .3s !important; }
.d32 { transition-delay: .32s !important; }
.d34 { transition-delay: .34s !important; }
.d40 { transition-delay: .4s !important; }
.d45 { transition-delay: .45s !important; }
.d60 { transition-delay: .6s !important; }

/* ---------- Phones ---------- */

@media (max-width: 600px) {
  :root { --gutter: 20px; }
  body { font-size: 16.5px; }
  .hero { padding-block: 40px 44px; }
  .hero-row { margin-block-start: 32px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-spec { min-inline-size: 0; flex-basis: 100%; }
  .check-demo { padding-block-end: 60px; }
  .demo-bar, .quote-bar { padding-inline-start: 14px; }
  .panel { padding: 22px 18px 24px; }
  .draft { font-size: 19px; }
  .transcript { font-size: 13px; }
  .tline { gap: 10px; padding-inline: 6px; }
  .problem-list { margin-block-start: 36px; }
  .problem-row { padding-block: 22px; }
  .h3-cond { font-size: 26px; }
  .step-num { font-size: 68px; }
  .quote-body { padding: 20px 18px; }
  .quote-draft { font-size: 20px; }
  .receipt-row strong { flex-basis: 100%; }
  .outcome { padding: 24px 20px; }
  .founders-body { font-size: 18px; }
  .faq-list summary { font-size: 18px; }
  .cta-inner { padding-block-end: 56px; }
  .submit { align-self: stretch; }
  .header-cta { padding: 10px 14px; }
}

/* Narrow phones: the header's "Book a demo" moves into the menu so the
   logo and the Menu button stay on one row. */
.menu-cta { display: none; }
@media (max-width: 500px) {
  .header-inner { gap: 10px 12px; }
  .header-cta { display: none; }
  .site-header:not(.is-wide) .menu-cta { display: list-item; }
  .menu-cta a { font-weight: 800; }
}

@media (forced-colors: active) {
  .mk, .hl, .ul, .accent-box { forced-color-adjust: none; }
  .logo-mark { border: 1px solid CanvasText; }
}

/* ---------- Plain pages (holding page, Privacy, Terms, thanks, 404) ---------- */

.page { min-block-size: 100dvh; display: flex; flex-direction: column; }
.page-header { border-block-end: 2px solid var(--ink); }
.page-header .header-inner { padding-block: 14px; }
.page-main { flex: 1; padding-block: clamp(48px, 8vw, 96px); }
.page-main h1 {
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(44px, 8vw, 104px);
  line-height: .92;
  letter-spacing: -.01em;
}
.page-main .lede { margin-block-start: 24px; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; font-weight: 500; max-inline-size: 640px; }
.page-main .back { display: inline-block; margin-block-start: 32px; font-weight: 700; }
.page-footer { border-block-start: 1px solid var(--rule); }
.page-footer .footer-inner { color: var(--muted); }

/* Holding page */
.holding { min-block-size: 100dvh; display: flex; flex-direction: column; justify-content: center; }
.holding-inner { padding-block: 48px; }
.holding .display { margin-block-start: 40px; }
.holding .display .mk { margin-inline-start: -.06em; }
.holding .soon { margin-block-start: 36px; display: inline-block; padding: 10px 14px; background: var(--ink); color: var(--paper); font-weight: 700; }
