:root {
  color-scheme: dark;
  --paper: #171104;
  --ink: #efe6d9;
  --muted: #bcb19f;
  --line: #4d4538;
  --signal: #a63819;
  --signal-dark: #ee6d4a;
  --signal-hover: #842b14;
  --night: #010d09;
  --mint: #91caaa;
  --surface: #1e180d;
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-underline-offset: 0.2em; }
button, input, textarea { font: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 680px; }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.nav nav { display: flex; align-items: center; gap: 20px; }
.brand { font-weight: 700; text-decoration: none; letter-spacing: 0.01em; }
.inline { display: inline; }
.link-button { border: 0; padding: 0; color: inherit; background: none; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.hero { padding: 96px 0 88px; }
.eyebrow { margin: 0 0 14px; color: var(--signal-dark); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.05; }
h1 { max-width: 850px; margin-bottom: 24px; font-size: clamp(3.2rem, 8vw, 7rem); letter-spacing: -0.055em; }
h2 { font-size: clamp(2rem, 4.5vw, 4rem); letter-spacing: -0.035em; }
h3 { font-size: 1.6rem; }
.lede { max-width: 760px; margin: 0 0 42px; color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.45rem); }
.offer-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 24px; border: 1px solid var(--ink); background: var(--surface); }
.price { display: block; font-family: Georgia, serif; font-size: 2rem; }
.button { display: inline-block; border: 1px solid var(--signal); padding: 13px 20px; color: white; background: var(--signal); text-decoration: none; cursor: pointer; }
.button:hover { background: var(--signal-hover); }
.button.disabled { border-color: #655f54; background: #655f54; cursor: default; }
.button.secondary { color: var(--ink); background: transparent; }
.microcopy { color: var(--muted); font-size: 0.88rem; }
.ink-section { padding: 72px 0; color: #eef4f0; background: var(--night); }
.grid-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 54px; }
.grid-three article { border-top: 1px solid #52645e; padding-top: 18px; }
.grid-three h2 { margin: 24px 0 14px; font-size: 2rem; }
.grid-three p { color: #b8c5c0; }
.number { color: var(--mint); font-size: 0.8rem; }
.pricing-section { padding: 96px 0; }
.pricing-section > h2 { max-width: 760px; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 36px 0 18px; }
.plan-card, .action-card { border: 1px solid var(--line); padding: 28px; background: var(--surface); }
.plan-card.featured { border-color: var(--signal); }
.plan-name { color: var(--signal-dark); font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; }
.plan-price { margin: 8px 0 22px; font-family: Georgia, serif; font-size: 2.8rem; }
.plan-price span { color: var(--muted); font-family: inherit; font-size: 1rem; }
.plan-card li { margin: 10px 0; }
.job-title, .dashboard-heading { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.dashboard-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.dashboard-actions form { margin: 0; }
.plan-summary { max-width: 520px; color: var(--muted); }
.status { font-size: 0.72rem; letter-spacing: 0.11em; text-transform: uppercase; }
.trust-section { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; padding: 32px 0 96px; border-top: 1px solid var(--line); }
.footer { display: flex; justify-content: space-between; gap: 24px; padding: 28px 0 48px; border-top: 1px solid var(--line); color: var(--muted); }
.footer p { margin: 0 0 8px; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); align-content: start; gap: 8px 24px; }
.policy-page { padding: 80px 0 120px; }
.policy-page h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
.policy-page h2 { margin: 56px 0 16px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.policy-intro { margin-bottom: 56px; color: var(--muted); font-size: 1.25rem; }
.form-page { padding: 80px 0 120px; }
.form-page h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.stacked-form { display: grid; gap: 14px; margin-top: 34px; }
.stacked-form input[type="email"], .stacked-form input[type="file"], .stacked-form textarea { width: 100%; border: 1px solid var(--ink); padding: 14px; color: var(--ink); background: var(--surface); }
.upload-progress { width: 100%; height: 18px; accent-color: var(--signal); }
.upload-status { min-height: 1.55em; margin: 0; color: var(--muted); }
.optional { color: var(--muted); font-size: 0.82rem; }
.check-label { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 16px 0; }
.flash-stack { padding-top: 18px; }
.flash, .notice { border-left: 4px solid var(--signal); padding: 12px 16px; background: #2b1f10; }
.flash.success { border-color: #65a77f; }
.dashboard-heading { padding: 70px 0 32px; }
.dashboard-heading h1, .job-title h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.jobs-list { min-height: 360px; padding-bottom: 100px; }
.job-row { display: grid; grid-template-columns: 1fr 1fr auto auto; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; }
.status { border: 1px solid var(--line); padding: 4px 8px; }
.empty-state { border: 1px dashed var(--line); padding: 42px; color: var(--muted); text-align: center; }
.job-page { min-height: 620px; padding: 70px 0 110px; }
.job-title { border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.transcript-result { margin: 36px 0; }
.transcript-result h2 { font-size: 2.4rem; }
.transcript-result pre { max-height: 620px; overflow: auto; border: 1px solid var(--line); padding: 24px; background: var(--surface); font-family: Georgia, serif; font-size: 1rem; line-height: 1.7; white-space: pre-wrap; }
.danger-zone { margin-top: 80px; border-top: 1px solid var(--line); padding-top: 24px; }
.danger-button { border: 0; padding: 0; color: #f07c68; background: none; text-decoration: underline; cursor: pointer; }

@media (max-width: 760px) {
  .hero { padding-top: 64px; }
  .offer-card, .job-title, .dashboard-heading, .footer { align-items: stretch; flex-direction: column; }
  .grid-three, .pricing-grid, .trust-section { grid-template-columns: 1fr; }
  .grid-three, .trust-section { gap: 32px; }
  .job-row { grid-template-columns: 1fr auto; }
  .job-row span:nth-child(2) { display: none; }
}
