/* OutboundRun landing — editorial aesthetic
   Serif headers, generous whitespace, muted palette, no gradients. */

:root {
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-mute: #7a7a7a;
  --paper: #f8f6f1;
  --paper-warm: #f0ecdf;
  --line: #e0dbcd;
  --accent: #7a3818;
  --accent-soft: #a04a1e;
  --green: #4a6b3a;
  --amber: #a07c1e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Skip-to-content link (accessibility) ──────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 6px;
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 500;
  z-index: 999;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 12px;
  text-decoration: none;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── Focus states (accessibility) ─────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible {
  outline-offset: 3px;
}
nav a:focus-visible {
  outline-offset: 4px;
}

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Fraunces', 'Iowan Old Style', 'Palatino', 'Georgia', serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 720px; }

/* ── Header ─────────────────────────────────────────────────────── */

.site-header {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 100;
}
.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  font-family: 'Fraunces', 'Iowan Old Style', 'Palatino', 'Georgia', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }

nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 15px;
}
nav a {
  color: var(--ink-soft);
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  transition: color 0.15s ease;
}
nav a:hover { color: var(--ink); text-decoration: none; }

/* Mobile hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.15s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ────────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  border: none;
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.08);
}
.btn-primary:hover {
  background: var(--accent);
  box-shadow: 0 6px 20px rgba(122, 56, 24, 0.25);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 16px;
  font-size: 14px;
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-large {
  font-size: 18px;
  padding: 16px 32px;
}

/* ── Hero ───────────────────────────────────────────────────────── */

.hero { padding: 100px 0 80px; }
.hero h1 {
  font-size: 72px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  max-width: 900px;
}
.hero h1 .italic { font-style: italic; color: var(--accent); }
.hero .lead {
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 40px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 80px;
}
.hero-visual { margin-top: 40px; }

/* ── Mock app screenshot ────────────────────────────────────────── */

.mock {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(122, 56, 24, 0.12);
  max-width: 900px;
}
.mock-header {
  background: var(--paper-warm);
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d0c8b4;
  display: inline-block;
}
.mock-title {
  margin-left: 16px;
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  color: var(--ink-soft);
}
.mock-body { padding: 20px; }
.mock-row {
  display: grid;
  grid-template-columns: 220px 100px 1fr;
  gap: 20px;
  align-items: center;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 14px;
}
.mock-row:last-child { border-bottom: none; }
.mock-name { font-weight: 600; color: var(--ink); }
.mock-meta { color: var(--ink-mute); font-size: 13px; }
.mock-badge {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
}
.mock-badge.green { background: #e5eddb; color: var(--green); }
.mock-badge.amber { background: #f4e8c8; color: var(--amber); }
.mock-badge.muted { background: var(--paper-warm); color: var(--ink-mute); }

/* ── Sections ───────────────────────────────────────────────────── */

section { padding: 80px 0; }
section h2 {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 24px;
}
section p {
  font-size: 19px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
section p.strong { color: var(--ink); font-weight: 500; }

/* ── Problem section ────────────────────────────────────────────── */

.problem {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.problem h2 { text-align: center; margin-bottom: 32px; }
.problem p { text-align: center; }

/* ── How it works ───────────────────────────────────────────────── */

.how h2 { margin-bottom: 60px; }
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 60px;
}
.step-num {
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.step h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.step p {
  font-size: 17px;
  color: var(--ink-soft);
}
.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.step-list li {
  padding: 6px 0 6px 22px;
  position: relative;
}
.step-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* ── Features ───────────────────────────────────────────────────── */

.features {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.features h2 { margin-bottom: 60px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(122, 56, 24, 0.08);
  border-color: var(--accent-soft);
}
.feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: var(--accent);
  display: block;
}
.feature-icon svg { display: block; width: 100%; height: 100%; }
.feature h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.3;
}
.feature p {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* ── Pricing ────────────────────────────────────────────────────── */

.pricing { text-align: center; }
.pricing h2 { margin-bottom: 24px; }

/* ── CTA ────────────────────────────────────────────────────────── */

.cta {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 100px 0;
}
.cta h2 {
  color: var(--paper);
  font-size: 52px;
  margin-bottom: 24px;
}
.cta p {
  color: rgba(248, 246, 241, 0.7);
  font-size: 20px;
  margin-bottom: 40px;
}
.cta .btn-primary {
  background: var(--paper);
  color: var(--ink);
}
.cta .btn-primary:hover { background: var(--accent); color: var(--paper); }

/* ── Footer ─────────────────────────────────────────────────────── */

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  color: var(--ink-mute);
}
.foot-brand {
  font-family: 'Fraunces', 'Iowan Old Style', 'Palatino', 'Georgia', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

/* ── Eyebrow / section-eyebrow ─────────────────────────────────── */

.eyebrow, .section-eyebrow {
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-eyebrow { margin-bottom: 12px; }
.hero .eyebrow { margin-bottom: 24px; }

.section-lead {
  font-size: 19px;
  color: var(--ink-soft);
  margin-bottom: 48px !important;
  max-width: 680px;
}

/* ── Metrics strip ─────────────────────────────────────────────── */

.metrics {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 60px 0;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.metric {
  text-align: center;
  padding: 0 12px;
}
.metric-num {
  font-family: 'Fraunces', 'Iowan Old Style', 'Palatino', 'Georgia', serif;
  font-size: 56px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 12px;
}
.metric-label {
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.metric-label sup.cite {
  color: var(--accent);
  font-weight: 600;
  font-size: 10px;
  margin-left: 1px;
}
.metric-footnote {
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 12px !important;
  color: var(--ink-mute) !important;
  text-align: center;
  margin-top: 32px !important;
  margin-bottom: 0 !important;
}
.metric-footnote sup.cite {
  color: var(--accent);
  font-weight: 600;
}

/* ── Sample email comparison ───────────────────────────────────── */

.sample h2 { margin-bottom: 12px; }
.email-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.email-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(122, 56, 24, 0.06);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.email-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(122, 56, 24, 0.12);
}
.email-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  align-items: center;
  gap: 14px;
}
.email-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', 'Iowan Old Style', serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 500;
  flex-shrink: 0;
}
.email-avatar.muted {
  background: var(--paper-warm);
  color: var(--ink-mute);
}
.email-sender {
  flex: 1;
  min-width: 0;
}
.email-sender-name {
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.email-sender-addr {
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.email-time {
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 12px;
  color: var(--ink-mute);
  flex-shrink: 0;
}
.email-tag {
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  background: var(--paper-warm);
  color: var(--ink-soft);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.email-tag.good {
  background: #e5eddb;
  color: var(--green);
}
.email-subject {
  padding: 14px 22px 4px;
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.email-body {
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.65;
  padding: 12px 22px 20px;
  flex: 1;
}
.email-body sup.cite {
  color: var(--accent);
  font-weight: 600;
  font-size: 10px;
}
.email-verdict {
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 14px;
  border-top: 1px solid var(--line);
}
.verdict-bad {
  background: #fbf1ec;
  color: var(--accent);
}
.verdict-good {
  background: #f1f5ea;
  color: var(--green);
}

/* Legacy .email-meta rows (To:, Subject: prefixes) — hide since we now use header */
.email-meta { display: none; }

/* ── Comparison table ──────────────────────────────────────────── */

.compare h2 { margin-bottom: 12px; }
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 15px;
}
.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.compare-table th {
  font-weight: 600;
  color: var(--ink);
  background: var(--paper-warm);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.compare-table th.us {
  color: var(--accent);
  background: #f3e5df;
}
.compare-table td.us {
  color: var(--accent);
  font-weight: 700;
  background: #fbf6f2;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table tbody tr:hover td:not(.us) {
  background: var(--paper);
}

/* Check / dash / partial marks in the comparison table */
.compare-table .check {
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}
.compare-table td.us .check {
  color: var(--accent);
  font-size: 22px;
}
.compare-table .dash {
  color: var(--ink-mute);
  font-size: 20px;
  font-weight: 400;
}
.compare-table .partial {
  color: var(--amber);
  font-size: 14px;
  font-weight: 500;
}
.compare-table td {
  text-align: center;
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
}
.compare-table td:first-child {
  text-align: left;
  color: var(--ink);
  font-weight: 500;
}

/* ── Origin section (why this exists — on landing page) ───────── */

.origin {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.origin h2 { text-align: center; margin-bottom: 32px; }
.origin p { text-align: center; }

/* ── Comparison-page sections (pros/cons + when-to-use) ─────── */

.pros-cons h2 { margin-bottom: 40px; text-align: center; }
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.pros-cons-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}
.pros-cons-card .section-eyebrow { margin-bottom: 20px; }
.pros-cons-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pros-cons-card li {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}
.pros-cons-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.pros-cons-card li strong {
  color: var(--ink);
  font-weight: 500;
  display: inline;
}

.when h2 { margin-bottom: 24px; text-align: center; }
.when p { font-size: 18px; }

/* ── FAQ ───────────────────────────────────────────────────────── */

.faq h2 { margin-bottom: 40px; text-align: center; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary {
  font-family: 'Fraunces', 'Iowan Old Style', 'Palatino', 'Georgia', serif;
  font-size: 21px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 28px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item p {
  font-size: 17px !important;
  color: var(--ink-soft);
  margin-top: 16px;
  margin-bottom: 0 !important;
  padding-right: 40px;
}

/* ── Demo form (in CTA section, on dark ink background) ────────── */

.demo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 20px;
  margin: 40px auto 0;
  text-align: left;
  max-width: 620px;
}
.form-row {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-row-half {
  grid-column: auto;
}
.form-row label {
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(248, 246, 241, 0.75);
  letter-spacing: 0.02em;
}
.form-optional {
  font-weight: 400;
  color: rgba(248, 246, 241, 0.4);
  font-size: 12px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid rgba(248, 246, 241, 0.15);
  border-radius: 6px;
  color: var(--ink);
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--ink-mute);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(160, 74, 30, 0.25);
}
.form-row textarea {
  resize: vertical;
  min-height: 84px;
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
}

.demo-form button[type="submit"] {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 4px;
}
.demo-form button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.df-status {
  grid-column: 1 / -1;
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  min-height: 20px;
  color: rgba(248, 246, 241, 0.7);
}
.df-status.success {
  color: #a3d17f;
}
.df-status.error {
  color: #f0a48c;
}

/* CTA section: keep the h2 and lead-p centered, but leave the form left-aligned via .demo-form's text-align */
.cta .demo-form { text-align: left; }

/* ── CTA fine print ─────────────────────────────────────────────── */

.cta-fine {
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 13px !important;
  color: rgba(248, 246, 241, 0.5) !important;
  margin-top: 20px !important;
  margin-bottom: 0 !important;
}

/* ── Pricing CTA button ─────────────────────────────────────────── */

.pricing .btn-primary {
  margin-top: 12px;
}

/* ── Hero — remove old mock reliance ───────────────────────────── */

.hero { padding-bottom: 60px; }

.hero-shot {
  margin: 60px auto 0;
  max-width: 1100px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(122, 56, 24, 0.08), rgba(122, 56, 24, 0.02));
  border: 1px solid var(--line);
  box-shadow:
    0 40px 80px -20px rgba(26, 26, 26, 0.25),
    0 20px 40px -20px rgba(122, 56, 24, 0.15);
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hero-shot:hover {
  transform: translateY(-4px);
  box-shadow:
    0 60px 100px -20px rgba(26, 26, 26, 0.3),
    0 30px 50px -20px rgba(122, 56, 24, 0.2);
}
.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ── Sticky CTA (appears after scroll past hero) ───────────────── */

.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  padding: 14px 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-family: -apple-system, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.25);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-cta:hover {
  background: var(--accent);
  text-decoration: none !important;
}
.sticky-cta-arrow {
  transition: transform 0.18s ease;
  font-size: 14px;
}
.sticky-cta:hover .sticky-cta-arrow { transform: translateX(3px); }

/* ── Reveal-on-scroll (fade-in-up via IntersectionObserver) ────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* Reduce-motion accessibility — respect the user's OS preference */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in-view { opacity: 1; transform: none; transition: none; }
  .btn, .feature, .email-card { transition: none !important; }
}

/* ── Smoother FAQ open/close ───────────────────────────────────── */

.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-item summary::after { transition: transform 0.2s ease, content 0.2s ease; }
.faq-item[open] p {
  animation: faq-open 0.25s ease both;
}
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Mobile ─────────────────────────────────────────────────────── */

@media (max-width: 800px) {
  .hero { padding: 60px 0 40px; }
  .hero h1 { font-size: 44px; }
  .hero .lead { font-size: 18px; }
  section h2 { font-size: 32px; }
  section p { font-size: 17px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta h2 { font-size: 36px; }

  /* Hamburger + slide-down mobile nav */
  .nav-toggle { display: flex; }
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(26, 26, 26, 0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
    pointer-events: none;
  }
  nav.open {
    max-height: 400px;
    padding: 12px 0 20px;
    pointer-events: auto;
  }
  nav a {
    padding: 14px 32px;
    font-size: 16px;
  }
  nav a.btn {
    margin: 10px 32px 0;
    text-align: center;
  }

  /* Sticky CTA — smaller on mobile so it doesn't dominate */
  .sticky-cta {
    bottom: 16px;
    right: 16px;
    padding: 12px 18px;
    font-size: 14px;
  }

  /* Metrics — stack in 2 columns on mobile */
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .metric-num { font-size: 40px; }

  /* Sample emails — stack vertically */
  .email-compare { grid-template-columns: 1fr; gap: 20px; }

  /* Comparison table — allow horizontal scroll on tiny screens */
  .compare-table { font-size: 13px; }
  .compare-table th,
  .compare-table td { padding: 12px 14px; }

  /* FAQ — smaller summary text */
  .faq-item summary { font-size: 18px; padding-right: 32px; }
  .faq-item summary::after { font-size: 24px; }
  .faq-item p { font-size: 16px !important; padding-right: 32px; }

  /* Demo form — stack on mobile */
  .demo-form { grid-template-columns: 1fr; gap: 16px; }
  .form-row-half { grid-column: 1 / -1; }

  /* Pros/cons cards — stack on mobile */
  .pros-cons-grid { grid-template-columns: 1fr; gap: 20px; }
}
