/* =====================================================================
   Readout by Delve — landing page styles (v3)
   Inter (sans) + Source Serif 4 (serif). Two-weight discipline (400 / 600).
   Off-white background, deep charcoal headings, Delve red accent.
   ===================================================================== */

:root {
  --bg: #fafaf7;
  --bg-letter: #f1f0ec;
  --bg-card: #ffffff;
  --body: #545454;
  --heading: #1f1f1f;
  --muted: #8a8a8a;
  --muted-2: #afafaa;
  --divider: #e6e5e0;
  --rule: #d4d2cc;
  --accent: #cb3d3f;
  --accent-press: #b53436;
  --accent-soft: rgba(203, 61, 63, 0.08);

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;

  --maxw: 1240px;
  --maxw-narrow: 720px;
  --maxw-letter: 640px;

  --pad-x: clamp(20px, 4.5vw, 56px);
  --section-y: clamp(40px, 8vw, 96px);
  --topbar-h: 76px;
  --announce-h: 40px;

  --radius: 6px;
  --radius-lg: 10px;

  --shadow-card:
    0 1px 2px rgba(20, 20, 20, 0.03), 0 8px 24px rgba(20, 20, 20, 0.05),
    0 24px 56px rgba(20, 20, 20, 0.06);
  --shadow-card-lift:
    0 2px 4px rgba(20, 20, 20, 0.04), 0 18px 40px rgba(20, 20, 20, 0.08),
    0 36px 80px rgba(20, 20, 20, 0.08);
  --shadow-letter:
    0 2px 4px rgba(20, 20, 20, 0.03), 0 14px 36px rgba(20, 20, 20, 0.06),
    0 32px 72px rgba(20, 20, 20, 0.07);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* announce bar is collapsed whenever the page is scrolled, so anchor
     offsets only need to clear the nav */
  scroll-padding-top: var(--topbar-h);
  overflow-x: hidden;
}
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
button,
input {
  font: inherit;
  color: inherit;
}
ul,
ol {
  padding: 0;
  margin: 0;
}

a {
  color: var(--heading);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color 120ms ease,
    border-color 120ms ease;
}
a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

::selection {
  background: rgba(203, 61, 63, 0.18);
  color: var(--heading);
}

/* ---------- accent dot (Readout logomark echo) ---------- */
.accent-dot {
  color: var(--accent);
}

/* ---------- typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow--muted {
  color: var(--muted);
}
.eyebrow--center {
  justify-content: center;
}
.eyebrow__rule {
  display: inline-block;
  flex: 0 0 28px;
  height: 1px;
  background: var(--accent);
}
.eyebrow--muted .eyebrow__rule {
  background: var(--muted-2);
}

.h1 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--heading);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.h2 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--heading);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0 0 24px;
  max-width: 22ch;
}
.h2--center {
  text-align: center;
  margin-inline: auto;
}

p {
  margin: 0 0 1.1em;
}
p:last-child {
  margin-bottom: 0;
}

.lede {
  font-family: var(--sans);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--heading);
  max-width: 56ch;
  margin: 0 0 32px;
}
.lede--center {
  margin: 0 auto 32px;
  text-align: center;
}

.microcopy {
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
}
.microcopy--center {
  text-align: center;
}

/* ---------- layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}
.container--narrow {
  max-width: var(--maxw-narrow);
}

.section {
  padding-block: var(--section-y);
}
.section__head {
  margin-bottom: 48px;
  text-align: center;
}
.section__head .h2 {
  margin-inline: auto;
}
.section__head-lede {
  font-family: var(--serif);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.65;
  color: var(--body);
  margin: 24px 0 0;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(8px);
    transition:
      opacity 500ms ease-out,
      transform 500ms ease-out;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- topbar ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 200ms ease,
    background 200ms ease;
}
.topbar.is-scrolled {
  border-bottom-color: var(--divider);
}

/* ---------- announcement bar (founding offer) ----------
   Visible at the top of the page; collapses once the page scrolls
   (via the topbar's existing is-scrolled hook) so only the nav stays
   fixed. Reappears when the user returns to the top. */
.announce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: var(--announce-h);
  padding: 0 16px;
  overflow: hidden;
  background: var(--accent);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-bottom: 0;
  transition:
    height 240ms ease,
    background-color 120ms ease;
}
.announce strong {
  font-weight: 600;
  color: #ffffff;
}
.announce span[aria-hidden] {
  color: #ffffff;
  font-weight: 600;
}
.announce:hover {
  background: var(--accent-press);
  color: #ffffff;
  border-bottom: 0;
}
.topbar.is-scrolled .announce {
  height: 0;
}
@media (max-width: 480px) {
  .announce {
    font-size: 12.5px;
  }
  .announce__detail {
    display: none;
  }
}
.topbar__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--topbar-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  border: 0;
}
.logo img {
  height: 44px;
  width: auto;
}
@media (max-width: 600px) {
  .logo img {
    height: 38px;
  }
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}
.topbar__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  border-bottom: 0;
  white-space: nowrap;
}
.topbar__link:hover {
  color: var(--accent);
}
@media (max-width: 540px) {
  .topbar__link {
    display: none;
  }
}

.topbar__cta {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: var(--accent);
  padding: 10px 18px;
  border-radius: var(--radius);
  border-bottom: 0;
  white-space: nowrap;
  transition: background-color 120ms ease;
}
.topbar__cta:hover {
  background: var(--accent-press);
  color: #ffffff;
  border-bottom: 0;
}

/* ---------- hero ---------- */
.hero {
  padding-top: calc(var(--topbar-h) + var(--announce-h) + clamp(40px, 5vw, 72px));
  padding-bottom: clamp(56px, 7vw, 88px);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
@media (min-width: 980px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }
}
.hero__copy {
  max-width: 620px;
}
.h1 br {
  display: block;
}
/* Mobile: hide hero form, show CTA button. Desktop: opposite. */
.hero__cta-mobile {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  width: fit-content;
  margin: 24px 0;
}
.hero__early-mobile { display: block; margin: 0; }
@media (max-width: 719px) {
  .form.hero__form-desktop { display: none; }
  .form-meta.hero__meta-desktop { display: none; }
}
@media (min-width: 720px) {
  .btn.hero__cta-mobile { display: none; }
  .hero__early-mobile { display: none; }
}

/* hero visual: Readout artifact */
.readout-artifact {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 44px);
  box-shadow: var(--shadow-card-lift);
  max-width: 560px;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 979px) {
  .readout-artifact {
    max-height: 480px;
  }
}
.readout-artifact::before {
  content: "SAMPLE";
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-32deg);
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 108px);
  letter-spacing: 0.1em;
  color: rgba(31, 31, 31, 0.07);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
  z-index: -1;
}
.readout-artifact::after {
  /* fade the bottom of the card so the last briefing reads as "continues below" */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(150px, 20vw, 220px);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 20%,
    rgba(255, 255, 255, 0.75) 50%,
    var(--bg-card) 80%
  );
  pointer-events: none;
  z-index: 2;
}
.readout-artifact__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--divider);
  margin-bottom: 22px;
}
.readout-artifact__logo {
  height: 28px;
  width: auto;
  display: block;
}
.readout-artifact__meta {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.readout-artifact__meta span {
  display: block;
}
.readout-artifact__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(20px, 1.9vw, 24px);
  color: var(--heading);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.readout-artifact__deck {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 22px;
}
.readout-artifact__list {
  list-style: none;
  counter-reset: rl;
}
.readout-artifact__list > li {
  counter-increment: rl;
  padding: 16px 0;
  border-top: 1px solid var(--divider);
}
.readout-artifact__list h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
  color: var(--heading);
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.readout-artifact__list h3::before {
  content: counter(rl, decimal-leading-zero);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}
.readout-artifact__list p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--body);
  margin: 0 0 8px;
}
.readout-artifact__why {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 12px;
  margin-top: 8px !important;
}
.readout-artifact__why span {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}

/* ---------- form (4 fields: first/last/email/org) ---------- */
.form {
  margin-top: 8px;
  scroll-margin-top: calc(var(--topbar-h) + 12px);
}
.form__row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  grid-template-areas:
    "fname"
    "lname"
    "email"
    "org";
  margin-bottom: 14px;
}
@media (min-width: 640px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "fname lname"
      "email org";
    gap: 12px;
  }
}
.field--fname {
  grid-area: fname;
}
.field--lname {
  grid-area: lname;
}
.field--email {
  grid-area: email;
}
.field--org {
  grid-area: org;
}

.form__row--single {
  grid-template-columns: 1fr;
  grid-template-areas: "pw";
}
@media (min-width: 640px) {
  .form__row--single {
    grid-template-columns: 1fr;
    grid-template-areas: "pw";
  }
}
.field--password {
  grid-area: pw;
}

.field {
  display: block;
  position: relative;
}
.field__label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  line-height: 1;
  color: var(--muted);
  pointer-events: none;
  transform-origin: left center;
  transition:
    transform 140ms ease,
    color 140ms ease;
  background: transparent;
}
.field input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 24px 14px 10px;
  font-size: 16px;
  color: var(--heading);
  outline: none;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease;
  min-height: 56px;
}
.field input:hover {
  border-color: var(--rule);
}
.field input:focus {
  border-color: var(--heading);
  box-shadow: 0 0 0 3px rgba(31, 31, 31, 0.06);
}
.field input:focus + .field__label,
.field input:not(:placeholder-shown) + .field__label,
.field:has(input:focus) .field__label,
.field:has(input:not(:placeholder-shown)) .field__label {
  transform: translateY(calc(-50% - 16px)) scale(0.78);
  color: var(--muted);
}
.field input::placeholder {
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  padding: 16px 28px;
  min-height: 56px;
  transition:
    background-color 120ms ease,
    transform 60ms ease;
}
.btn--primary {
  background: var(--accent);
  color: #ffffff;
}
.btn--primary:hover {
  background: var(--accent-press);
}
.btn--primary:active {
  transform: translateY(1px);
}
.btn:focus-visible {
  outline: 3px solid rgba(203, 61, 63, 0.35);
  outline-offset: 2px;
}
.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.btn:disabled:hover,
.btn[disabled]:hover {
  background: var(--accent);
}

.form__status {
  font-size: 14px;
  color: var(--body);
  min-height: 1.4em;
  margin: 12px 0 0;
}
.form__status.is-success {
  color: var(--heading);
}
.form__status.is-error {
  color: var(--accent);
}

.form__actions {
  display: flex;
  justify-content: center;
}

.form__actions-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 56px;
}
.form__actions-row button {
  flex-shrink: 0;
  height: 56px;
}
.form__actions-row .form-meta__early {
  flex-shrink: 1;
  border-left: 2px solid rgba(192, 57, 43, 0.35);
  padding-left: 0.75rem;
}

.form--center {
  max-width: 560px;
  margin-inline: auto;
  text-align: left;
}
.form--final .btn {
  padding-inline: 36px;
}

/* ---------- field extensions: textarea, select, full-width row ---------- */
.field--full {
  grid-area: full;
}
.field--subject {
  grid-area: subject;
}
.field--message {
  grid-area: message;
}

.field textarea,
.field select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 24px 14px 10px;
  font-size: 16px;
  color: var(--heading);
  outline: none;
  font-family: var(--sans);
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease;
  min-height: 56px;
}
.field textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.55;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'><path d='M1 1.5l5 5 5-5' stroke='%238a8a8a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  padding-right: 40px;
  cursor: pointer;
}
.field textarea:hover,
.field select:hover {
  border-color: var(--rule);
}
.field textarea:focus,
.field select:focus {
  border-color: var(--heading);
  box-shadow: 0 0 0 3px rgba(31, 31, 31, 0.06);
}
.field textarea + .field__label,
.field select + .field__label {
  top: 22px;
  transform: none;
}
.field textarea:focus + .field__label,
.field textarea:not(:placeholder-shown) + .field__label,
.field select:focus + .field__label,
.field select:not([data-empty="true"]) + .field__label {
  transform: translateY(-16px) scale(0.78);
  color: var(--muted);
}
.field textarea::placeholder {
  color: transparent;
}

/* ---------- contact page ---------- */
.section--contact {
  padding-top: calc(var(--topbar-h) + clamp(36px, 5vw, 64px));
  padding-bottom: clamp(56px, 8vw, 96px);
}
.contact__head {
  margin: 0 0 clamp(28px, 3.5vw, 44px);
}
.contact__head .h1 {
  font-size: clamp(36px, 4.8vw, 60px);
  margin-bottom: 0;
}

.form--contact .form__row {
  grid-template-columns: 1fr;
  grid-template-areas:
    "topic"
    "fname"
    "lname"
    "email"
    "org"
    "subject"
    "message";
}
@media (min-width: 640px) {
  .form--contact .form__row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "topic   topic"
      "fname   lname"
      "email   org"
      "subject subject"
      "message message";
  }
}
.field--topic {
  grid-area: topic;
}

/* ---------- waitlist confirmed: replaces the form once a user has joined ---------- */
.waitlist-confirmed {
  padding: 22px 24px;
  border: 1px solid var(--rule, rgba(0, 0, 0, 0.08));
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
}
.waitlist-confirmed--center {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}
.waitlist-confirmed__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--heading);
}
.waitlist-confirmed__sub {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--body);
  word-break: break-word;
}

/* ---------- below-form meta: early-access ping + trust line ---------- */
.form-meta {
  margin-top: 28px;
  display: grid;
  gap: 22px;
}
.form-meta__early {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: 0.01em;
  line-height: 1.55;
  margin: 0;
}
.form-meta__early .accent-dot {
  font-size: 10px;
  line-height: 1;
  display: inline-block;
  align-self: flex-start;
  margin-top: 0.25em;
  margin-right: 10px;
  animation: pulse 2.6s ease-in-out infinite;
}
.form-meta__early-sub {
  font-weight: 400;
  color: var(--muted);
  font-size: 13.5px;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.trustline {
  border-top: 1px solid var(--divider);
  padding-top: 18px;
  margin-top: 22px;
  max-width: 560px;
}
.trustline__eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 6px;
}
.trustline__body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.trustline__link {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.trustline__link:hover {
  text-decoration: underline;
}

/* ---------- press credit (hero, under the form) ---------- */
.pressline {
  margin: 14px 0 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.pressline__brand {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--heading);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 1px;
}
.pressline__brand:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---------- founding offer note (pricing + final CTA) ---------- */
.founding-note {
  max-width: 620px;
  margin: 32px auto 0;
  padding: 14px 20px;
  border: 1px solid rgba(203, 61, 63, 0.25);
  border-radius: var(--radius);
  background: var(--accent-soft);
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--heading);
  text-align: center;
}
.founding-note strong {
  color: var(--accent);
}
.section--final .founding-note {
  margin: 0 auto 28px;
}
/* at pricing the note sits between the section head and the cards;
   extra bottom clearance keeps it off the featured card's badge */
.section--pricing .founding-note {
  margin: 0 auto 44px;
}

/* ---------- founding subscriber quote ---------- */
.section--quote {
  padding-block: 0 var(--section-y);
}
/* early-proof spot between hero and problem: the neighbors carry the
   vertical rhythm, so no extra padding of its own */
.section--quote-early {
  padding-block: 0;
}
.section--quote-early .quote-mini--feature {
  margin-top: 0;
}
.bigquote {
  margin: 0;
  text-align: center;
}
.bigquote .eyebrow {
  margin-bottom: 24px;
}
.bigquote__text {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--body);
}
.bigquote__text strong {
  font-weight: 600;
  color: var(--heading);
}
/* oversized editorial quote mark carries the "this is a quote" cue,
   so the text itself stays upright and unmarked */
.bigquote__text::before {
  content: "“";
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(56px, 7vw, 84px);
  line-height: 0.55;
  color: var(--accent);
  margin-bottom: 18px;
}
.bigquote__attr {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
/* two-level attribution: prominent name over the small-caps meta line */
.quote-attr__name {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  color: var(--accent);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 5px;
}
.quote-attr__meta {
  display: block;
}

.bigquote__attr a,
.quote-mini figcaption a {
  color: var(--muted-2);
  border-bottom: 0;
}
.bigquote__attr a:hover,
.quote-mini figcaption a:hover {
  color: var(--body);
  border-bottom: 0;
}

/* compact testimonial (pricing + final CTA) */
.quote-mini {
  max-width: 600px;
  margin: 32px auto 0;
  text-align: center;
}
.quote-mini blockquote {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--body);
}
.quote-mini figcaption {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
/* featured variant: the pricing quote carries the section's social
   proof, so it reads at lede size */
.quote-mini--feature {
  max-width: 680px;
  margin-top: clamp(48px, 6vw, 72px);
}
.quote-mini--feature blockquote {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
  color: var(--body);
}
/* serif only loads weights 500/600, so emphasis leans on color
   contrast rather than weight alone */
.quote-mini--feature blockquote strong {
  font-weight: 600;
  color: var(--heading);
}
.quote-mini--feature figcaption {
  font-size: 12px;
}
.quote-mini--feature blockquote::before {
  content: "“";
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 0.55;
  color: var(--accent);
  margin-bottom: 16px;
}
@media (max-width: 719px) {
  .section--quote {
    padding-block: 32px 8px;
  }
}

.microcopy--center {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  justify-content: center;
}

/* ---------- Section 2: the problem ---------- */
.section--problem {
  padding-block: clamp(56px, 8vw, 104px);
}
.mid-cta-mobile { display: none; }
@media (max-width: 719px) {
  .hero { padding-bottom: 32px; }
  .section--problem { padding-top: 32px; }
  .section.section--steps { padding-bottom: 0; }
  .section.section--morning { padding-top: 32px; padding-bottom: 32px; }
  .alt .section.section--briefing { padding-bottom: 0; }
  .section.section--letter { background: transparent; padding-block: 0; }
  .mid-cta-mobile { display: flex; justify-content: center; padding: 32px 0; }
  .letter::before,
  .letter::after { display: none; }
  .letter { box-shadow: none; border: none; padding-inline: 0; }
  .section.section--faq { padding-top: 32px; padding-bottom: 32px; }
  .section--faq .faq__head .h2 { max-width: none; }
  .section--faq .faq__layout { gap: 16px; }
  .section.section--final { padding-top: 32px; padding-bottom: 32px; }
  body > .footer { padding: 32px 0 40px; }
}

.problem__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 939px) {
  .problem__copy { order: -1; }
}
@media (min-width: 940px) {
  .problem__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }
}
.problem__copy .h2 {
  max-width: 28ch;
}
.problem__prose p {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.65;
  color: var(--body);
}

/* The inbox visual — actual email rows, struck through */
.inbox {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
  max-width: 560px;
  margin-left: auto;
  overflow: hidden;
}
/* Alt layout: inbox on the left, copy on the right */
.alt .inbox { margin-left: 0; margin-right: auto; }

/* Alt layout: the hero__visual itself becomes the white card, wrapping
   both the beats list and the trustline beneath it. */
.alt .hero__visual {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(28px, 4vw, 48px);
}
/* Inside the unified card, the beats list loses its own card chrome. */
.alt .hero__visual .beats {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

/* Alt layout: vertical centering. The visual contains the full unified
   card; a small upward shift recenters against the eyebrow → button
   range on the left. Desktop only. */
@media (min-width: 980px) {
  .alt .hero__visual { transform: translateY(-32px); }
}

/* Trustline variant: when it sits inside the unified card, separate it
   from the beats list above with a divider line — same idiom as the
   default trustline, just with no outer max-width. */
.trustline--under-card {
  border-top: 1px solid var(--divider);
  padding-top: clamp(18px, 2vw, 24px);
  margin-top: clamp(18px, 2vw, 24px);
  padding-inline: 0;
  max-width: none;
}

/* Alt layout: remove the SAMPLE watermark from the readout artifact. */
.alt .readout-artifact::before { content: none; }

/* Alt layout: pivot is removed; pull the briefing section up to
   tighten the gap below the problem section. */
.alt .section--briefing { padding-top: clamp(24px, 4vw, 48px); }

/* Alt layout: the readout artifact lives in the briefing section
   and only contains item 1. The fade is positioned to land halfway
   through that single item — heading + start of the body are clear,
   then the fade builds through the rest of the item. */
.alt .readout-artifact::after {
  height: clamp(160px, 22vw, 220px);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 30%,
    rgba(255, 255, 255, 0.92) 60%,
    var(--bg-card) 85%
  );
}
.inbox::before {
  /* offset paper layer behind, to suggest a stack */
  content: "";
  position: absolute;
  inset: 10px -10px -10px 10px;
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.55;
}
.inbox__head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(180deg, #fcfcfa 0%, #ffffff 100%);
}
.inbox__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.inbox__count {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.inbox__list {
  list-style: none;
}
.inbox__row {
  display: grid;
  grid-template-columns: minmax(0, 130px) minmax(0, 1fr) auto;
  gap: 14px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--divider);
  align-items: baseline;
  position: relative;
}
.inbox__row:last-child {
  border-bottom: 0;
}
.inbox__row::after {
  /* the strikethrough line, drawn across the full row */
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  height: 1.5px;
  background: var(--accent);
  opacity: 0.85;
  transform: translateY(-50%);
}
.inbox__sender {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.inbox__subject {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.inbox__time {
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
  margin: 0;
  white-space: nowrap;
}
.inbox__foot {
  padding: 14px 20px 16px;
  border-top: 1px solid var(--divider);
  display: flex;
  align-items: baseline;
  gap: 12px;
  background: #fcfcfa;
  margin: 0;
}
.inbox__count-big {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.inbox__foot-label {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

@media (max-width: 480px) {
  .inbox__row {
    grid-template-columns: minmax(0, 90px) minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px 14px;
  }
  .inbox__sender {
    font-size: 11px;
  }
  .inbox__subject {
    font-size: 11px;
  }
  .inbox__time {
    font-size: 10px;
  }
}

/* The pivot phrase — typographic moment between sections */
.pivot-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-top: clamp(48px, 7vw, 88px);
}
.pivot-rule {
  height: 1px;
  background: var(--divider);
  display: block;
}
.pivot {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 44px);
  color: var(--heading);
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.4;
  white-space: nowrap;
}

/* ---------- Section 3: founder letter ---------- */
.section--letter {
  background: var(--bg-letter);
  padding-block: clamp(48px, 10vw, 128px);
  position: relative;
}
.letter-stage {
  display: flex;
  justify-content: center;
}
.letter {
  background: #ffffff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-letter);
  padding: clamp(36px, 5vw, 64px) clamp(28px, 4.5vw, 64px);
  max-width: var(--maxw-letter);
  width: 100%;
  position: relative;
}
.letter::before,
.letter::after {
  content: "";
  position: absolute;
  inset: 12px -10px -12px 10px;
  background: #ffffff;
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  z-index: -1;
  transform: rotate(0.6deg);
}
.letter::after {
  inset: 22px -18px -22px 18px;
  opacity: 0.6;
  transform: rotate(1.2deg);
}
.letter__eyebrow {
  color: var(--muted);
  margin-bottom: 14px;
}
.letter__eyebrow .eyebrow__rule {
  background: var(--muted-2);
}
.letter .h2 {
  font-size: clamp(26px, 2.8vw, 34px);
  margin-bottom: 24px;
  max-width: 18ch;
}
.letter p {
  font-family: var(--serif);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.55;
  color: var(--body);
}
@media (max-width: 720px) {
  .letter p {
    line-height: 1.45;
  }
}
.letter strong {
  color: var(--heading);
  font-weight: 600;
  font-style: normal;
}

.founders {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--divider);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 520px) {
  .founders {
    grid-template-columns: 1fr;
  }
}
.founder {
  display: flex;
  gap: 16px;
  align-items: center;
}
.founder__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--divider);
  flex: 0 0 auto;
  border: 2px solid #ffffff;
  box-shadow:
    0 1px 2px rgba(20, 20, 20, 0.05),
    0 6px 18px rgba(20, 20, 20, 0.08);
}
.founder__photo.is-missing {
  background: linear-gradient(135deg, #e6e5e0 0%, #d4d2cc 100%);
}
.founder__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.letter .founder__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  color: var(--heading);
  margin: 0;
  line-height: 1.1;
}
.letter .founder__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  color: var(--muted);
  margin: 1px 0 0;
  line-height: 1.3;
  white-space: nowrap;
}
.letter .founder__link {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 0;
  margin: 3px 0 0;
  line-height: 1;
}
.letter .founder__link:hover {
  color: var(--accent-press);
  border-bottom: 0;
}

/* ---------- Section 4: one briefing ---------- */
.section--briefing {
  padding-block: clamp(64px, 9vw, 112px);
}
.briefing__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
@media (min-width: 940px) {
  .briefing__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}
.briefing__copy p:not(.eyebrow):not(.anchor) {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.65;
  color: var(--body);
}
.briefing__copy .h2 {
  max-width: 22ch;
}
.briefing__copy .anchor {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--divider);
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 60ch;
}

.briefing__beats {
  position: relative;
}
.beats {
  list-style: none;
  display: grid;
  gap: clamp(14px, 1.8vw, 20px);
  padding: clamp(28px, 4vw, 48px);
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.beats li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding-bottom: clamp(14px, 1.8vw, 20px);
  border-bottom: 1px solid var(--divider);
}
.beats li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.beats__mark {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 22px;
  color: var(--accent);
  line-height: 1;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: 50%;
}
.beats__line {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--heading);
  line-height: 1.2;
  letter-spacing: -0.012em;
}
.beats li:last-child .beats__line {
  color: var(--accent);
  font-style: italic;
}

/* ---------- Section 5: how it works — cards ---------- */
.section--steps {
  padding-block: clamp(64px, 9vw, 112px);
}
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.4vw, 28px);
  max-width: 1080px;
  margin-inline: auto;
}
@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}
.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-lift);
}
.step__num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.step__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(20px, 1.9vw, 24px);
  color: var(--heading);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}
.step__body {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
}

/* ---------- Section 6: before / after transform ---------- */
.section--morning {
  padding-block: clamp(64px, 9vw, 112px);
}
.morning__head {
  margin-bottom: clamp(36px, 5vw, 56px);
}
.morning__head .h2 {
  max-width: 26ch;
}
.morning__lede {
  font-family: var(--serif);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.6;
  color: var(--body);
  margin: 0;
}

.transform {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}
@media (min-width: 760px) {
  .transform {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 24px;
  }
}
.transform-card {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 36px);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-rows: auto repeat(4, 1fr);
  gap: 14px;
}
.transform-card--before {
  background: #fcfcfa;
}
.transform-card--after {
  background: linear-gradient(180deg, #ffffff 0%, var(--accent-soft) 100%);
  border-color: rgba(203, 61, 63, 0.25);
  box-shadow: var(--shadow-card-lift);
  position: relative;
}
.transform-card--after::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16%;
  right: 16%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.transform-card__head {
  font-family: var(--sans);
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--divider);
}
.transform-card--before .transform-card__head {
  color: var(--muted);
}
.transform-card--after .transform-card__head {
  color: var(--accent);
}
.transform-card__item {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.4;
  display: flex;
  align-items: center;
  min-height: 48px;
  letter-spacing: -0.005em;
}
.transform-card--before .transform-card__item {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--muted-2);
  text-decoration-thickness: 1px;
}
.transform-card--after .transform-card__item {
  color: var(--heading);
  font-weight: 500;
}

.transform-arrows {
  display: none;
}
@media (max-width: 759px) {
  .transform-card {
    gap: 0;
    grid-template-rows: auto;
  }
  .transform-card__item {
    min-height: 0;
    padding: 6px 0 6px 20px;
    position: relative;
  }
  .transform-card__item::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--muted-2);
  }
  .transform-card--after .transform-card__item::before {
    color: var(--accent);
  }
  .transform-arrows {
    display: flex;
    justify-content: center;
    padding: 4px 0;
  }
  .transform-arrows__spacer { display: none; }
  .transform-arrows__arrow { display: none; }
  .transform-arrows::after {
    content: "↓";
    font-family: var(--sans);
    font-size: 22px;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
  }
}
@media (min-width: 760px) {
  .transform-arrows {
    display: grid;
    grid-template-rows: auto repeat(4, 1fr);
    gap: 14px;
    align-items: center;
    justify-items: center;
    padding-block: clamp(24px, 2.6vw, 36px);
  }
  .transform-arrows__spacer {
    /* invisible placeholder matching the head row height of the cards,
       clipped to 0 width so it doesn't widen the arrow column */
    display: block;
    font-family: var(--sans);
    font-size: clamp(15px, 1.5vw, 20px);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1.2;
    padding-bottom: 16px;
    border-bottom: 1px solid transparent;
    visibility: hidden;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
  }
  .transform-arrows__arrow {
    color: var(--accent);
    font-family: var(--sans);
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
  }
}

/* ---------- Section 7: FAQ ---------- */
/* ---------- Pricing section ---------- */
.section--pricing {
  padding-block: clamp(64px, 9vw, 112px);
}
.pricing__head {
  text-align: center;
  margin-bottom: 48px;
}
.pricing__head .lede {
  margin-top: 8px;
}
.pricing__cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 32px;
  min-width: 200px;
  flex: 1;
  max-width: 280px;
  transition: box-shadow 120ms ease;
}
.pricing-card--featured {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-card__label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--body);
  margin: 0 0 8px;
}
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 4px;
}
.pricing-card__amount {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1;
}
.pricing-card__per {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--body);
}
.pricing-card__sub {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--body);
  opacity: 0.7;
  margin: 0;
}
.pricing-card__cta {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 120ms ease;
}
.pricing-card__cta:hover {
  opacity: 0.75;
}
.pricing__footnote {
  text-align: center;
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--body);
  opacity: 0.7;
}

.section--faq {
  padding-block: clamp(64px, 9vw, 112px);
}
.faq__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
@media (min-width: 940px) {
  .faq__layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr);
  }
}
.faq__head .h2 {
  max-width: 16ch;
}
.faq details {
  border-top: 1px solid var(--divider);
}
.faq details:last-of-type {
  border-bottom: 1px solid var(--divider);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  color: var(--heading);
  position: relative;
  transition: color 120ms ease;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-65%) rotate(45deg);
  transition:
    transform 200ms ease,
    border-color 200ms ease;
}
.faq details[open] summary {
  color: var(--accent);
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--accent);
}
.faq__answer {
  padding: 0 0 22px;
  max-width: 64ch;
}
.faq__answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
}

/* ---------- Section 8: final CTA ---------- */
.section--final {
  padding-block: clamp(72px, 9vw, 128px);
  text-align: center;
}
.section--final .lede {
  margin-bottom: 28px;
}
.section--final .form {
  scroll-margin-top: calc(var(--topbar-h) + 12px);
  text-align: left;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--divider);
  padding: 56px 0 96px;
  background: var(--bg);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 880px) {
  .footer__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
  }
}
.footer__brand img {
  height: 34px;
  width: auto;
  margin-bottom: 16px;
}
.footer__line {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
}
@media (min-width: 880px) {
  .footer__nav {
    justify-content: flex-end;
  }
}
.footer__nav a {
  font-size: 14px;
  color: var(--body);
  border-bottom: 0;
}
.footer__nav a:hover {
  color: var(--accent);
}

/* ---------- sticky CTA ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 120%);
  background: var(--accent);
  color: #ffffff;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 0;
  box-shadow:
    0 14px 32px rgba(31, 31, 31, 0.18),
    0 2px 6px rgba(31, 31, 31, 0.1);
  text-decoration: none;
  align-items: center;
  gap: 10px;
  transition:
    transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1),
    background-color 120ms ease;
  pointer-events: none;
  white-space: nowrap;
}
.sticky-cta:hover {
  background: var(--accent-press);
  border: 0;
  color: #ffffff;
}
.sticky-cta.is-visible {
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.sticky-cta.is-hidden-at-final {
  transform: translate(-50%, 140%);
  pointer-events: none;
}
@media (min-width: 720px) {
  .sticky-cta {
    display: inline-flex;
    bottom: 28px;
    padding: 16px 26px;
    font-size: 16px;
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* =====================================================================
   Access gate — full-screen lock until the password is entered.
   Visibility is driven by html[data-gated="true"] set by an inline
   script in <head>, so the site never flashes unlocked.
   ===================================================================== */

/* Default: site visible, gate not rendered. */
.gate {
  display: none;
}

/* Gated state: hide every site chrome element, freeze scroll, show gate. */
html[data-gated="true"] {
  overflow: hidden;
}
html[data-gated="true"] body > .topbar,
html[data-gated="true"] body > main,
html[data-gated="true"] body > .footer,
html[data-gated="true"] body > .sticky-cta {
  display: none !important;
}

html[data-gated="true"] .gate {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 48px);
  background: var(--bg);
  animation: gate-fade 280ms ease-out both;
}

.gate.is-leaving {
  animation: gate-leave 380ms ease-in both;
}

@keyframes gate-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes gate-leave {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.gate__card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4.5vw, 44px);
  box-shadow: var(--shadow-card);
  text-align: left;
}

.gate__logo {
  display: inline-block;
  border: none;
  margin-bottom: 22px;
}
.gate__logo img {
  height: 28px;
  width: auto;
}
.gate__logo:hover {
  border: none;
}

.gate__title {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--heading);
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

.gate__lede {
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
  margin: 0 0 24px;
}

.gate__form {
  display: grid;
  gap: 14px;
}
.gate__field {
  width: 100%;
}
.gate__btn {
  width: 100%;
}

.gate__status {
  margin: 0;
  min-height: 1.25em;
  font-size: 13.5px;
  color: var(--muted);
}
.gate__status.is-error {
  color: var(--accent);
}
