/* ============================================================
   Finixr Landing Page — styles.css
   Brand: Inter Tight (headings) · Inter (body) · Instrument Sans (logo)
   Palette: #0f0f0f text · #ffffff bg · #e8e8e8 border · #6b6b6b muted
   Design direction: matx.com — ultra-minimal, typography-first
   ============================================================ */

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #ffffff;
  --surface: #fafafa;
  --border: #e8e8e8;
  --text: #0f0f0f;
  --text-muted: #6b6b6b;
  --text-faint: #9b9b9b;
  --accent-research: #5856d6;
  --accent-model: #5e948b;
  --accent-deck: #d99b52;

  --font-logo: 'Instrument Sans', sans-serif;
  --font-display: 'Inter Tight', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --nav-h: 60px;
  --container: 1100px;
  --container-narrow: 720px;
  --gap: clamp(2rem, 5vw, 5rem);
  --section-pad: clamp(5rem, 10vw, 9rem);

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
}

/* ─── Typography ────────────────────────────────────────────── */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
}

.section-heading--center {
  text-align: center;
}

.section-sub {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 1rem;
  max-width: 52ch;
}

.section-sub--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-sub--wide {
  max-width: none;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.25rem;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
}

.section-label--center {
  justify-content: center;
}

.label-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-faint);
  flex-shrink: 0;
}

.code {
  font-family: var(--font-mono);
  font-size: 0.82em;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  color: var(--text-muted);
}

.link {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border);
  transition: text-decoration-color 150ms;
}

.link:hover {
  text-decoration-color: var(--text);
}

.link--subtle {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,0.3);
  transition: text-decoration-color 150ms;
}

.link--subtle:hover {
  text-decoration-color: rgba(255,255,255,0.8);
}

/* ─── Layout ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 150ms, color 150ms, border-color 150ms, box-shadow 150ms;
  white-space: nowrap;
}

.btn--primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.btn--primary:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}

.btn--ghost:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.btn--lg {
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
}

/* ─── Navigation ────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

/* Three columns rather than a row: the wordmark and the actions take equal
   space at the edges, which leaves the links optically centred in the bar
   whatever their combined width happens to be. */
.nav__inner {
  height: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav__wordmark {
  font-family: var(--font-logo);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
}

.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
}

.nav__link {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: color 150ms, background 150ms;
}

.nav__link:hover {
  color: var(--text);
  background: var(--surface);
}

/* The audit is the new thing and the reason most people are here now, so it
   carries a marker. Small enough to read as a note, not a sticker. */
.nav__link--flag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.nav__new {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  padding: 3px 5px 2px;
  border-radius: 3px;
  background: var(--accent-research);
  color: #ffffff;
}

/* An <a> now rather than a <button>: it goes to the auditor, it does not open
   a modal. The extra properties are what a link does not inherit from a
   button. */
.nav__cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--text);
  color: var(--bg);
  padding: 0.45rem 1rem;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  transition: background 150ms, box-shadow 150ms;
  white-space: nowrap;
}

.nav__cta:hover { color: var(--bg); }

.nav__cta:hover {
  background: #2a2a2a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ─── Hamburger ─────────────────────────────────────────────── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  padding: 4px;
  transition: background 150ms;
  flex-shrink: 0;
}

.nav__hamburger:hover {
  background: var(--surface);
}

.nav__hamburger-line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 200ms var(--ease), opacity 150ms;
}

.nav__hamburger.is-open .nav__hamburger-line:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.nav__hamburger.is-open .nav__hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.is-open .nav__hamburger-line:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--gap);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  padding-block: var(--section-pad) clamp(4rem, 8vw, 7rem);
}

.hero__heading {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 44ch;
  margin-bottom: 1.25rem;
}

.hero__trust {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.75rem;
  max-width: 44ch;
  padding-left: 0.875rem;
  border-left: 2px solid var(--text);
}

.hero__model-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  margin-top: 1rem;
}

.hero__model-tag strong {
  color: var(--text-muted);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  color: var(--text-faint);
}

/* ─── Hero Demo Card ────────────────────────────────────────── */
.hero__demo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: center;
  overflow: hidden;
  /* padding-bottom gives bottom card's shadow room before overflow clips it */
  padding-bottom: 2px;
}

/* Sliding-window slot — collapses old cards when a new one arrives */
.demo-slot {
  flex-shrink: 0;
  max-height: 700px;
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.35s ease;
}
.demo-slot.demo-exit {
  max-height: 0 !important;
  opacity: 0;
  pointer-events: none;
}

.demo-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
}

.demo-card__header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.demo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.demo-dot--red    { background: #ff5f57; }
.demo-dot--yellow { background: #febc2e; }
.demo-dot--green  { background: #28c840; }

.demo-card__label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: auto;
}

.demo-card__body {
  padding: 1rem 1.25rem;
}

.demo-field {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
}

.demo-field:last-of-type {
  border-bottom: none;
}

.demo-field__label {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-faint);
  min-width: 4.5rem;
  font-size: 0.75rem;
}

.demo-field__value {
  color: var(--text-muted);
}

.demo-field__value--mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-research);
}

.demo-body {
  padding: 0.875rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.demo-card__footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.demo-processing {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.demo-spinner {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--border);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.demo-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: opacity 300ms;
}

/* Output card */
.demo-output {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}

.demo-output.visible {
  opacity: 1;
  transform: translateY(0);
}

.demo-output__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
}

.demo-output__icon {
  color: var(--accent-deck);
  font-size: 1rem;
}

.demo-output__title {
  flex: 1;
  color: var(--text);
}

.demo-output__badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.1em 0.45em;
  border-radius: 4px;
  color: var(--text-faint);
}

.demo-output__slides {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}

.demo-slide {
  flex: 1;
  aspect-ratio: 16/9;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.demo-slide__bar {
  border-radius: 2px;
  background: var(--border);
}

.demo-slide__bar--title { height: 4px; width: 70%; }
.demo-slide__bar--sub   { height: 3px; width: 50%; opacity: 0.6; }
.demo-slide__bar--body  { height: 3px; width: 80%; opacity: 0.5; }

.demo-slide__chart {
  flex: 1;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--border) 0%, transparent 100%);
  opacity: 0.5;
}

.demo-output__files {
  display: flex;
  gap: 0.625rem;
}

.demo-file {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.25em 0.6em;
}

.demo-file__icon {
  font-size: 0.7em;
}

/* ─── Demo Reply card ───────────────────────────────────────── */
/* Animated wrapper — fades in when processing completes */
.demo-reply {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}

.demo-reply.visible {
  opacity: 1;
  transform: translateY(0);
}

.demo-reply__files {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
}

/* ─── Demo Section (video) ──────────────────────────────────── */
.demo-section {
  padding-block: var(--section-pad);
  border-top: 1px solid var(--border);
}

.demo-section .section-heading {
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
}

.video-embed {
  margin-top: 2.5rem;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/7;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(0,0,0,0.018) 20px,
    rgba(0,0,0,0.018) 21px
  );
}

.video-placeholder__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.video-placeholder__play {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.video-placeholder__text {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
}

.video-placeholder__sub {
  font-size: 0.8125rem;
  color: var(--text-faint);
  max-width: 32ch;
}

/* ─── How it works ──────────────────────────────────────────── */
.how-it-works {
  padding-block: var(--section-pad);
  border-top: 1px solid var(--border);
}

.steps {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 2rem;
  padding-block: 2.25rem;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.step:first-child {
  border-top: 1px solid var(--border);
}

.step__number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  padding-top: 0.3rem;
  letter-spacing: 0.05em;
}

.step__heading {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.625rem;
}

.step__body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 56ch;
}

/* ─── Workflow ──────────────────────────────────────────────── */
.workflow {
  padding-block: var(--section-pad);
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.workflow__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.workflow__step {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--border);
  transition: background 200ms;
}

.workflow__step:last-child {
  border-right: none;
}

.workflow__step:hover {
  background: var(--bg);
}

.workflow__step-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.workflow__step-heading {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.workflow__step-body {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Document Types ────────────────────────────────────────── */
.doc-types {
  padding-block: var(--section-pad);
  border-top: 1px solid var(--border);
}

.doc-types__grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.doc-type {
  padding: 2rem 1.75rem;
  background: var(--bg);
  transition: background 200ms;
}

.doc-type:hover {
  background: var(--surface);
}

.doc-type__icon {
  margin-bottom: 1.25rem;
}

.doc-type--research .doc-type__icon { color: var(--accent-research); }
.doc-type--model    .doc-type__icon { color: var(--accent-model); }
.doc-type--deck     .doc-type__icon { color: var(--accent-deck); }
.doc-type__icon--neutral            { color: var(--text-muted); }

/* ─── Trigger example callout ───────────────────────────────── */
.trigger-example {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
  quotes: none;
}

.doc-type__heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.625rem;
}

.doc-type__body {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Technology ────────────────────────────────────────────── */
.technology {
  padding-block: var(--section-pad);
  border-top: 1px solid var(--border);
}

.tech__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.tech-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.625rem 1.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 200ms;
}

.tech-item:nth-child(2n) {
  border-right: none;
}

.tech-item:nth-child(7),
.tech-item:nth-child(8) {
  border-bottom: none;
}

.tech-item:hover {
  background: var(--surface);
}

.tech-item__logo {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-muted);
}

.tech-item__content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.tech-item__name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.tech-item__desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ─── Features ──────────────────────────────────────────────── */
.features {
  padding-block: var(--section-pad);
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.features__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--border);
}

.feature {
  padding: 2rem 1.75rem;
  background: var(--surface);
  transition: background 200ms;
}

.feature:hover {
  background: var(--bg);
}

.feature__heading {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.feature__body {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Early Access ──────────────────────────────────────────── */
.early-access {
  padding-block: var(--section-pad);
  border-top: 1px solid var(--border);
  background: var(--text);
  color: #f5f5f5;
}

.early-access .section-label {
  color: rgba(255,255,255,0.4);
}

.early-access .label-dot {
  background: rgba(255,255,255,0.4);
}

.early-access .section-heading {
  color: #f5f5f5;
}

.early-access .section-sub {
  color: rgba(255,255,255,0.55);
}

.access__actions {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.early-access .btn--primary {
  background: #f5f5f5;
  color: var(--text);
  border-color: #f5f5f5;
}

.early-access .btn--primary:hover {
  background: #ffffff;
  border-color: #ffffff;
}

.access__note {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ─── About ─────────────────────────────────────────────────── */
.about {
  padding-block: var(--section-pad);
  border-top: 1px solid var(--border);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--gap);
  align-items: end;
}

.about__right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero__trust-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--text-muted);
  transition: text-decoration-color 150ms;
}

.hero__trust-link:hover {
  text-decoration-color: var(--text);
}

.about__body {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about__body:last-of-type {
  margin-bottom: 1.75rem;
}

.about__meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.about__meta-item {
  display: flex;
  gap: 2rem;
  align-items: baseline;
  font-size: 0.875rem;
}

.about__meta-label {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-faint);
  min-width: 6rem;
}

.about__meta-value {
  color: var(--text-muted);
}

.about__founder {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about__founder-img {
  width: 100%;
  max-width: 260px;
  height: 340px;
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border: 1px solid var(--border);
}

.about__founder-quote {
  max-width: 260px;
  margin: 0;
  padding: 0;
  border: none;
}

.about__founder-quote p {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.about__founder-quote footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.about__founder-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--text);
}

.about__founder-title {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.about__founder-aside {
  font-size: 0.7rem;
  color: var(--text-faint);
  margin-top: 0.4rem;
  line-height: 1.4;
}

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 3rem 2rem;
  background: var(--bg);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer__brand {
  flex: 1;
}

.footer__tagline {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-faint);
}

.footer__links {
  display: flex;
  gap: 3rem;
  flex-shrink: 0;
}

.footer__col-heading {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 150ms;
}

.footer__link:hover {
  color: var(--text);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--text-faint);
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
}

.footer__sep {
  color: var(--border);
}

.footer__link-legal {
  color: var(--text-faint);
  transition: color 150ms;
}

.footer__link-legal:hover {
  color: var(--text-muted);
}

/* ─── Nav actions (sign in + CTA) ──────────────────────────── */
.nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.nav__signin {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: color 150ms, background 150ms;
  white-space: nowrap;
}

.nav__signin:hover {
  color: var(--text);
  background: var(--surface);
}

/* ─── Step note (How it works) ──────────────────────────────── */
.step__note {
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  color: var(--text-faint);
  font-style: italic;
  line-height: 1.55;
  max-width: 52ch;
}

/* ─── FAQ ───────────────────────────────────────────────────── */
.faq {
  padding-block: var(--section-pad);
  border-top: 1px solid var(--border);
}

.faq__list {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-faint);
  flex-shrink: 0;
  transition: transform 200ms var(--ease);
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 60ch;
}

/* ─── Modal ─────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--ease);
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2.25rem;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(12px);
  transition: transform 250ms var(--ease-out);
}

.modal-overlay.is-open .modal {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 6px;
  font-size: 1.25rem;
  color: var(--text-faint);
  cursor: pointer;
  transition: background 150ms, color 150ms;
}

.modal__close:hover {
  background: var(--surface);
  color: var(--text);
}

.modal__step {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.modal__step--hidden {
  display: none;
}

.modal__eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.625rem;
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.625rem;
  line-height: 1.15;
}

.modal__sub {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.modal__google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background 150ms, border-color 150ms, box-shadow 150ms;
}

.modal__google-btn:hover {
  background: var(--surface);
  border-color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.modal__google-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.modal__label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.modal__field-hint {
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-top: -0.125rem;
}

.modal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.modal__chip {
  font-family: var(--font-display);
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  transition: background 120ms, color 120ms, border-color 120ms;
}

.modal__chip:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.modal__chip.is-selected {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.modal__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
}

.modal__input:focus {
  border-color: var(--text-muted);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.modal__input::placeholder {
  color: var(--text-faint);
}

.modal__submit {
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 150ms, box-shadow 150ms;
}

.modal__submit:hover {
  background: #2a2a2a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.modal__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.modal__success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.modal__error {
  min-height: 1.2em;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: #d44;
  line-height: 1.4;
}

/* ─── Scroll-in animations ──────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .workflow__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .workflow__step:nth-child(3) {
    border-right: none;
  }

  .workflow__step:nth-child(1),
  .workflow__step:nth-child(2),
  .workflow__step:nth-child(3) {
    border-bottom: 1px solid var(--border);
  }

  .workflow__step:nth-child(4),
  .workflow__step:nth-child(5) {
    border-bottom: none;
  }

  .workflow__step:nth-child(4) {
    border-right: 1px solid var(--border);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 3rem;
  }

  .hero__demo {
    max-width: 480px;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__left .section-heading {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .nav__hamburger {
    display: flex;
  }

  .nav__signin,
  .nav__cta {
    display: none;
  }

  .nav__links {
    display: none;
  }

  /* Mobile menu dropdown */
  .nav__links.is-mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem clamp(1.25rem, 5vw, 3rem) 1.75rem;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }

  .nav__links.is-mobile-open .nav__link {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text-muted);
    padding: 0.75rem 0;
    border-radius: 0;
    background: none;
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav__links.is-mobile-open li:last-child .nav__link {
    border-bottom: none;
  }

  .nav__links.is-mobile-open .nav__link:hover {
    color: var(--text);
    background: none;
  }


  .workflow__grid {
    grid-template-columns: 1fr 1fr;
  }

  .workflow__step:nth-child(2n) {
    border-right: none;
  }

  .workflow__step:nth-child(1),
  .workflow__step:nth-child(2),
  .workflow__step:nth-child(3),
  .workflow__step:nth-child(4) {
    border-bottom: 1px solid var(--border);
  }

  .workflow__step:nth-child(5) {
    border-bottom: none;
    border-right: none;
    grid-column: span 2;
  }

  .doc-types__grid {
    grid-template-columns: 1fr;
  }

  .tech__grid {
    grid-template-columns: 1fr;
  }

  .tech-item:nth-child(2n) {
    border-right: none;
  }

  .tech-item:nth-child(7),
  .tech-item:nth-child(8) {
    border-bottom: 1px solid var(--border);
  }

  .tech-item:last-child {
    border-bottom: none;
  }

  .tech-item {
    border-right: none;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 580px) {
  .hero__heading {
    font-size: 2.5rem;
  }

  .step {
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
  }

  .workflow__grid {
    grid-template-columns: 1fr;
  }

  .workflow__step {
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
    grid-column: unset !important;
  }

  .workflow__step:last-child {
    border-bottom: none !important;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── It Learns (dark band) ─────────────────────────────────── */
.learns {
  padding-block: var(--section-pad);
  border-top: 1px solid var(--border);
  background: var(--text);
  color: #f5f5f5;
}

.learns .section-label {
  color: rgba(255,255,255,0.4);
}

.learns .label-dot {
  background: rgba(255,255,255,0.4);
}

.learns__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
  margin-top: 1.5rem;
}

.learns__heading {
  color: #f5f5f5;
  margin-bottom: 1.25rem;
}

.learns__body {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.learns__contrast {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  padding-left: 0.875rem;
  border-left: 2px solid rgba(255,255,255,0.2);
  line-height: 1.6;
}

.learns__pillars {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  overflow: hidden;
}

.learns__pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 200ms;
}

.learns__pillar:last-child {
  border-bottom: none;
}

.learns__pillar:hover {
  background: rgba(255,255,255,0.04);
}

.learns__pillar-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
}

.learns__pillar-heading {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #f5f5f5;
  margin-bottom: 0.375rem;
  letter-spacing: -0.01em;
}

.learns__pillar-body {
  font-size: 0.8375rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .learns__split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ─── Nav active state ──────────────────────────────────────── */
.nav__link--active {
  color: var(--text) !important;
  background: var(--surface);
}

/* ═══════════════════════════════════════════════════════════════════
   AUDIT HERO
   Sits above the email-agent hero. Layout is copied from .hero so the
   container, gutters and column rhythm match exactly; the typography is
   not restyled at all, because the markup reuses .hero__content,
   .hero__heading, .hero__sub and .eyebrow directly. Everything below is
   either layout or the dropzone, which has no equivalent on the page.
   ═══════════════════════════════════════════════════════════════════ */

.audit-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--gap);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  padding-block: var(--section-pad) clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--border);
}

/* ─── Selling points ───────────────────────────────────────────── */

.audit-points {
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 46ch;
}

.audit-points li {
  position: relative;
  padding-left: 1.125rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* The former price, struck. Kept quieter than the price beside it so the
   number a reader takes away is the one they will actually be charged. */
.audit-points s {
  color: var(--text-faint, var(--text-muted));
  font-weight: 500;
  text-decoration-thickness: 1.5px;
  margin-right: 0.15em;
}

.audit-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-faint);
}

.audit-points strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
}

/* ─── The dropzone ─────────────────────────────────────────────── */

.audit-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.audit-drop {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 268px;
  padding: 2.5rem 2rem;
  border: 1.5px dashed var(--border);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), transform 0.18s var(--ease);
}

.audit-drop:hover,
.audit-drop.is-over {
  border-color: var(--text-faint);
  background: var(--bg);
}

.audit-drop.is-over { transform: translateY(-2px); }

/* The three panes are swapped by the hidden attribute in landing-audit.js.
   Without this guard the class rules below would out-specify the browser's
   own [hidden] rule and every pane would render at once, which is why the
   error pane and its Try again button used to show on a fresh page load. */
.audit-drop [hidden] { display: none !important; }

.audit-drop__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.875rem;
  color: var(--text-faint);
}

.audit-drop__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.375rem;
}

.audit-drop__sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.audit-drop__browse {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--text);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.audit-drop__fine {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-faint);
  margin: 0;
}

.audit-drop__busy,
.audit-drop__error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.audit-drop__file {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  word-break: break-word;
}

.audit-drop__track {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}

.audit-drop__fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--text);
  transition: width 0.2s var(--ease-out);
}

.audit-drop__status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

/* ─── Model credits under the dropzone ─────────────────────────── */

.audit-models {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.audit-models__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  margin: 0;
}

.audit-models__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.audit-models__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

.audit-models__logo {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.audit-panel__sample {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.18s var(--ease);
}

.audit-panel__sample:hover { color: var(--text); }

/* ─── Narrow ───────────────────────────────────────────────────── */

@media (max-width: 860px) {
  .audit-hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-block: clamp(3rem, 12vw, 5rem) clamp(2.5rem, 8vw, 4rem);
  }

  .audit-drop { min-height: 220px; padding: 2rem 1.25rem; }
}

/* ─── Product divider ───────────────────────────────────────── */
/* Sits between the audit, which anyone can buy, and the email agent, which
   is still behind a request. Its only job is to stop the second hero reading
   as the page starting over. */

.products {
  padding: clamp(3.5rem, 7vw, 6rem) 0 0;
  border-top: 1px solid var(--border);
}

.products__inner {
  max-width: var(--container-narrow);
}

.products__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 0.75rem;
}

.products__heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 0.875rem;
}

.products__sub {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.products__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ─── Audit pricing (pricing.html) ──────────────────────────── */

.pricing-audit { padding: clamp(3rem, 6vw, 5rem) 0 0; }

.pricing-audit__sub {
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.pricing-audit__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.pricing-audit__card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.pricing-audit__card--featured {
  border: 2px solid var(--text);
  background: var(--bg);
}

.pricing-audit__tag {
  position: absolute;
  top: -10px;
  left: 1.5rem;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-audit__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}

.pricing-audit__price s {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-faint);
  text-decoration-thickness: 1.5px;
}

.pricing-audit__price strong {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
}

.pricing-audit__label {
  margin: 0 0 0.375rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.pricing-audit__note {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.pricing-audit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.pricing-audit__foot {
  max-width: 62ch;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-faint);
}

/* pricing.html is now a single page about audit credits. */

.pricing-audit__heading {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
  margin: 0 0 1rem;
}

.pricing-audit__points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 62ch;
}

.pricing-audit__points li {
  position: relative;
  padding-left: 1.125rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.pricing-audit__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-faint);
}

.pricing-platform {
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--border);
}

.pricing-platform__inner { max-width: var(--container-narrow); }

.pricing-platform__heading {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.pricing-platform__sub {
  max-width: 60ch;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

/* The audit section needs room to breathe under the fixed nav. */
.pricing-audit { padding-top: clamp(3.5rem, 7vw, 5.5rem); }
