/* ── Reset & tokens ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/*
  Offlo brand tokens — mirrors the product app's palette (terracotta
  primary, mustard secondary, warm cream/near-black neutrals) so the
  marketing site and the product feel like the same company. Previously
  this page ran an unrelated jade-green/navy palette left over from an
  earlier name for the project (rebranded 2026-07-18).
*/
:root {
  --midnight:  #16130F;  /* darkest bg (was cool navy #0F172A) */
  --navy:      #211C17;  /* one layer up from midnight, for depth (was #1E293B) */
  --brand:     #C2410C;  /* Offlo terracotta — was --jade, cool green #10B981 */
  --brand-dim: #9A3412;  /* hover/active terracotta — was --jade-dim #059669 */
  --panel-bg:  #F3EDE6;  /* warm beige section bg — was --sage-bg #F2F5F0 */
  --off-white: #FAF9F7;  /* was #FAFAF8 */
  --danger:    #DC2626;  /* "problem/current pain" signal — was --terra #E97451 (terracotta is now the brand color, not a danger color) */
  --text:      #1C1917;  /* was cool slate #1E293B */
  --muted:     #6B6560;  /* was #64748B */
  --border:    #E7E2DC;  /* was #E2E8E4 */

  /* Muted text tiers for dark sections (hero, pricing, compare header,
     footer) — warm grays instead of cool slate, three darkness levels. */
  --dark-muted:        #A89F96; /* was #94A3B8 */
  --dark-muted-dim:    #756E66; /* was #475569 */
  --dark-muted-dimmer: #4A4238; /* was #334155 */
  --dark-soft:         #E8E1D8; /* readable light text on dark bg, was #CBD5E1 / #E2E8F0 */
  --accent-dark:       #F0A06A; /* light terracotta text on dark bg, was jade #6EE7B7 */

  /* Secondary semantic accent (mustard/pending) — used to keep the WFH
     chip visually distinct from the terracotta "Off" chip, was indigo. */
  --pending-dark:      #DCAB3F;
  --pending-dark-text: #EEC775;

  --ff-display: 'Bricolage Grotesque', sans-serif;
  --ff-body:    'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--off-white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Utility ─────────────────────────────────────────────────── */
.display  { font-family: var(--ff-display); }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
/* Visually hidden but readable by screen readers -- used so the
   comparison table's check/cross glyphs never convey "yes/no" by
   color alone. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff;
  font-family: var(--ff-body); font-size: 15px; font-weight: 500;
  padding: 13px 26px; border-radius: 8px; border: none;
  cursor: pointer; text-decoration: none;
  transition: background 0.18s, transform 0.12s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--brand-dim); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--dark-muted);
  font-family: var(--ff-body); font-size: 14px; font-weight: 500;
  padding: 10px 18px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer; text-decoration: none;
  transition: color 0.18s, border-color 0.18s;
}
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 14px; display: block;
}

/* ── Nav ─────────────────────────────────────────────────────── */
/* Section dividers & corner marks: a hairline dashed rule between
   sections, with small "+" registration marks at the corners of
   framed panels (screenshots, before/after, the featured pricing
   card) -- a quiet "this was drawn, not templated" detail borrowed
   from the reference site's blueprint-y structure. */
.section-divider { border-top: 1px dashed var(--border); }
.section-divider.on-dark { border-top-color: rgba(255,255,255,0.1); }

.corner-frame { position: relative; }
.corner-frame::before,
.corner-frame::after,
.corner-frame .cf-tr,
.corner-frame .cf-br {
  content: '+'; position: absolute; font-size: 13px; line-height: 1;
  color: var(--muted); opacity: 0.45; font-family: var(--ff-body); pointer-events: none;
  z-index: 2;
}
.corner-frame::before { top: 7px; left: 8px; }
.corner-frame::after { bottom: 7px; left: 8px; }
.corner-frame .cf-tr { top: 7px; right: 8px; }
.corner-frame .cf-br { bottom: 7px; right: 8px; }
.corner-frame.on-dark::before,
.corner-frame.on-dark::after,
.corner-frame.on-dark .cf-tr,
.corner-frame.on-dark .cf-br { color: rgba(255,255,255,0.18); }

/* Scroll reveal -- class only ever added by JS (see script.js), so a
   no-JS visitor never gets stuck looking at invisible content. */
.reveal-init { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-init.is-visible { opacity: 1; transform: translateY(0); }

/* Soft depth for framed panels -- a warm-tinted shadow instead of a
   generic black one, so screenshots and cards feel lifted rather than
   pasted flat on the page. */
.lifted { box-shadow: 0 1px 2px rgba(28,25,23,0.04), 0 16px 40px -20px rgba(28,25,23,0.18); }
.lifted.on-dark { box-shadow: 0 1px 2px rgba(0,0,0,0.2), 0 20px 48px -20px rgba(0,0,0,0.55); }

/* Small floating callouts that overlap a screenshot's corner -- real,
   already-substantiated claims only (copied from surrounding copy),
   never a feature that doesn't exist. */
.float-chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 12px 7px 9px; font-size: 12.5px; font-weight: 500; color: var(--text);
  box-shadow: 0 1px 2px rgba(28,25,23,0.05), 0 10px 24px -12px rgba(28,25,23,0.3);
}
.float-chip svg { width: 14px; height: 14px; color: var(--brand); flex-shrink: 0; }
.float-chip.top-right { top: -14px; right: 18px; }
.float-chip.bottom-left { bottom: -14px; left: 18px; }
.float-chip.inset-br { bottom: 12px; right: 12px; }

/* Dashed margin guides -- extends the corner-mark/hairline-divider
   language into a section's full height instead of introducing a
   separate texture (e.g. a dot grid). Bracketed label rides the line. */
.margin-guides { position: relative; }
.margin-guides::before, .margin-guides::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 0;
  border-left: 1px dashed var(--border);
}
.margin-guides::before { left: 0; }
.margin-guides::after { right: 0; }
.guide-label {
  position: absolute; top: -28px; font-size: 11px; font-weight: 500;
  color: var(--muted); letter-spacing: 0.04em;
}
.guide-label.left { left: 14px; }
.guide-label.right { right: 14px; }
@media (max-width: 1140px) {
  .margin-guides::before, .margin-guides::after, .guide-label { display: none; }
}

nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(22,19,15,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-family: var(--ff-display); font-weight: 700; font-size: 20px;
  color: #fff; text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.nav-logo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  color: var(--dark-muted); font-size: 14px; text-decoration: none; padding: 8px 14px;
  border-radius: 6px; transition: color 0.15s;
}
.nav-link:hover { color: #fff; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  background: var(--midnight);
  padding: 96px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(194,65,12,0.08), transparent);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(194,65,12,0.1); border: 1px solid rgba(194,65,12,0.25);
  border-radius: 20px; padding: 5px 14px; margin-bottom: 24px;
  font-size: 13px; color: var(--accent-dark);
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }
.hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(38px, 4.8vw, 58px);
  font-weight: 800; line-height: 1.05;
  color: #fff; margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.hero h1 em { color: var(--brand); font-style: normal; }
.hero p {
  font-size: 17px; line-height: 1.7; color: var(--dark-muted);
  margin-bottom: 36px; max-width: 460px;
}
.hero-form {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-input {
  flex: 1; min-width: 220px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px; padding: 13px 16px;
  color: #fff; font-size: 15px; font-family: var(--ff-body);
  transition: border-color 0.18s;
  outline: none;
}
.hero-input::placeholder { color: var(--dark-muted-dim); }
.hero-input:focus { border-color: var(--brand); }
.hero-microcopy { font-size: 13px; color: var(--dark-muted-dim); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-microcopy span { display: flex; align-items: center; gap: 5px; }
.hero-microcopy span::before { content: '\2713'; color: var(--dark-muted-dim); font-size: 12px; }

/* ── Before/After (signature element) ───────────────────────── */
.before-after {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; overflow: hidden;
}
.ba-tabs {
  display: flex; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ba-tab {
  flex: 1; padding: 12px; font-size: 13px; font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; border: none; background: transparent;
  color: var(--dark-muted); transition: all 0.18s; font-family: var(--ff-body);
}
.ba-tab-icon { width: 14px; height: 14px; flex-shrink: 0; }
.ba-tab.active {
  color: #fff; background: rgba(255,255,255,0.06);
  border-bottom: 2px solid var(--brand); margin-bottom: -1px;
}
.ba-tab.before-tab.active { border-bottom-color: var(--danger); }
.ba-panel { display: none; padding: 20px; position: relative; }
.ba-panel.active { display: block; }

/* Real product screenshot, cropped via object-fit rather than a
   second image asset -- keeps this a no-build-step static site. */
.product-shot { height: 360px; border-radius: 10px; overflow: hidden; background: #fff; }
.product-shot img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 30%; }

/* Before panel — Slack chaos */
.slack-window { font-size: 13px; }
.slack-msg { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start; }
.slack-avatar { width: 32px; height: 32px; border-radius: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: #fff; }
.slack-body { flex: 1; }
.slack-name { font-size: 13px; font-weight: 600; color: var(--dark-soft); margin-bottom: 2px; }
.slack-name span { font-size: 11px; font-weight: 400; color: var(--dark-muted-dim); margin-left: 6px; }
.slack-text { font-size: 13px; color: var(--dark-muted); line-height: 1.5; }
.slack-text.problem { color: #F0A8A3; }
.slack-reaction { display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,0.07); border-radius: 12px; padding: 2px 8px; font-size: 12px; margin-top: 4px; color: var(--dark-muted); cursor: pointer; }
.slack-divider { border-top: 1px solid rgba(255,255,255,0.06); margin: 10px 0; font-size: 11px; color: var(--dark-muted); text-align: center; padding-top: 8px; }

/* After panel — clean product: a real month-grid calendar, matching the
   app's actual FullCalendar month view (day cells + spanning leave bars),
   not a stylized attendance table. */
.product-preview { }
.cal-toolbar { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 14px; }
.cal-nav {
  width: 20px; height: 20px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15); color: var(--dark-muted);
  font-size: 12px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.cal-title { font-family: var(--ff-display); font-size: 13px; font-weight: 600; color: var(--dark-soft); min-width: 64px; text-align: center; }
.month-head-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 8px; }
.month-head-row span { font-size: 10px; font-weight: 500; color: var(--dark-muted-dim); text-align: center; }
.month-week { display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: auto; gap: 3px 4px; margin-bottom: 6px; }
.month-num { grid-row: 1; font-size: 11px; color: var(--dark-soft); text-align: center; padding-bottom: 2px; }
.month-num.weekend { color: var(--dark-muted); }
.month-bar {
  grid-row: 2; font-size: 9px; font-weight: 500; color: #fff;
  border-radius: 4px; padding: 3px 6px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.cal-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.06); }
.legend-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--dark-muted); }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.balance-row { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.bal-chip { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 7px 12px; font-size: 12px; color: var(--dark-soft); }
.bal-chip strong { color: var(--brand); }

/* ── Stats bar ───────────────────────────────────────────────── */
.stats-bar {
  background: var(--panel-bg); border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border); padding: 40px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 0 24px; }
.stat-item + .stat-item { border-left: 1px solid var(--border); }
.stat-num { font-family: var(--ff-display); font-size: 42px; font-weight: 700; color: var(--text); line-height: 1; margin-bottom: 6px; }
.stat-num.danger { color: var(--danger); }
.stat-label { font-size: 14px; color: var(--muted); line-height: 1.4; }

/* ── Problem section ─────────────────────────────────────────── */
.problem-section { background: var(--off-white); padding: 96px 0; }
.section-heading {
  font-family: var(--ff-display); font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.1;
  margin-bottom: 14px; color: var(--text);
}
.section-sub { font-size: 17px; color: var(--muted); margin-bottom: 56px; max-width: 480px; }
.problem-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 24px; position: relative; overflow: hidden;
}
.problem-card::after {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(135deg, rgba(194,65,12,0.05), transparent);
  transition: opacity 0.3s;
}
.problem-card:hover::after { opacity: 1; }
.problem-icon {
  width: 26px; height: 26px; margin-bottom: 16px;
  color: var(--text); transition: color 0.2s;
}
.problem-icon svg { width: 100%; height: 100%; display: block; }
.problem-card:hover .problem-icon { color: var(--brand); }
.problem-title { font-family: var(--ff-display); font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.problem-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }
.problem-quote {
  position: relative;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted); line-height: 1.55; font-style: italic;
}
.problem-quote::before {
  content: '"';
  display: block;
  font-family: var(--ff-display);
  font-style: normal;
  font-size: 30px; line-height: 0.4;
  color: var(--danger); opacity: 0.5;
  margin-bottom: 9px;
}

/* ── How it works ────────────────────────────────────────────── */
.how-section { background: var(--panel-bg); padding: 96px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.step { text-align: center; padding: 0 16px; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--midnight); color: #fff;
  font-family: var(--ff-display); font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; border: 2px solid var(--brand);
}
.step-title { font-family: var(--ff-display); font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }
.step-time { display: inline-block; font-size: 12px; color: var(--brand); font-weight: 500; margin-top: 8px; background: rgba(194,65,12,0.08); padding: 3px 10px; border-radius: 20px; }

/* ── Features: paired real-screenshot sections ──────────────────
   Each claim is shown next to an actual crop of the live app rather
   than an icon -- the single biggest lever for not reading as a
   templated marketing page (2026-08-03 redesign). */
.features-section { background: #fff; padding: 96px 0; }
.feature-pairs { margin-top: 64px; display: flex; flex-direction: column; gap: 80px; }
.feature-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-pair.reverse .fp-media { order: 2; }
.feature-pair.reverse .fp-text { order: 1; }
.fp-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 12px; display: block;
}
.fp-title { font-family: var(--ff-display); font-size: 24px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; color: var(--text); }
.fp-desc { font-size: 15px; color: var(--muted); line-height: 1.65; }
.fp-media {
  background: var(--panel-bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px;
}
.fp-media img { width: 100%; display: block; border-radius: 8px; }
.fp-media.tight img { object-fit: contain; }

/* Smaller supporting features, below the three paired sections. */
.feature-strip {
  margin-top: 80px; padding-top: 48px; border-top: 1px dashed var(--border);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.fs-item { display: flex; flex-direction: column; gap: 10px; }
.fs-icon { width: 22px; height: 22px; color: var(--brand); }
.fs-icon svg { width: 100%; height: 100%; display: block; }
.fs-title { font-family: var(--ff-display); font-size: 14.5px; font-weight: 600; color: var(--text); }
.fs-desc { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ── Comparison ──────────────────────────────────────────────── */
.compare-section { background: var(--panel-bg); padding: 96px 0; }
.compare-table-wrap { overflow-x: auto; margin-top: 48px; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.compare-table th {
  padding: 14px 20px; text-align: left;
  font-family: var(--ff-display); font-size: 13px; font-weight: 600;
  background: var(--midnight); color: var(--dark-muted);
  border-bottom: 2px solid rgba(255,255,255,0.06);
}
.compare-table th:first-child { border-radius: 10px 0 0 0; }
.compare-table th:last-child { border-radius: 0 10px 0 0; }
.compare-table th.you-col { color: var(--brand); background: #3A2415; }
.compare-table td {
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  background: #fff; color: var(--text);
}
.compare-table tr:last-child td:first-child { border-radius: 0 0 0 10px; }
.compare-table tr:last-child td:last-child { border-radius: 0 0 10px 0; }
.compare-table td.you-col { background: #FDECE0; font-weight: 500; color: #9A3412; }
.compare-table td.feature-label { color: var(--muted); font-weight: 500; }
.check { color: var(--brand); font-size: 16px; }
.cross { color: var(--danger); font-size: 16px; }
.compare-table tr:last-child td { border-bottom: none; }

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing-section { background: var(--midnight); padding: 96px 0; }
.pricing-section .section-heading { color: #fff; }
.pricing-section .section-sub { color: var(--dark-muted); }
.pricing-section .eyebrow { color: var(--accent-dark); }
.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.pricing-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 32px; position: relative;
  display: flex; flex-direction: column;
}
.pricing-card.featured {
  background: rgba(194,65,12,0.08);
  border-color: var(--brand); border-width: 2px;
}
.featured-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 11px; font-weight: 600;
  padding: 3px 14px; border-radius: 20px; letter-spacing: 0.04em;
  text-transform: uppercase; white-space: nowrap;
}
.plan-name { font-family: var(--ff-display); font-size: 14px; font-weight: 600; color: var(--dark-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.plan-price { font-family: var(--ff-display); font-size: 48px; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 4px; }
.plan-price span { font-size: 18px; font-weight: 400; color: var(--dark-muted); }
.plan-desc { font-size: 13px; color: var(--dark-muted); margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.plan-features { list-style: none; font-size: 14px; flex: 1; }
.plan-features li { padding: 6px 0; color: var(--dark-muted); display: flex; align-items: flex-start; gap: 9px; line-height: 1.4; }
.plan-features li::before { content: '✓'; color: var(--brand); font-size: 13px; flex-shrink: 0; margin-top: 2px; }
.plan-features li.na { color: var(--dark-muted); }
.plan-features li.na::before { content: '—'; color: var(--dark-muted); }
.plan-cta {
  display: flex; align-items: center; justify-content: center;
  width: 100%; margin-top: 24px;
}
a.btn-ghost.plan-cta { color: var(--dark-soft); border-color: rgba(255,255,255,0.18); }
a.btn-ghost.plan-cta:hover { color: #fff; border-color: rgba(255,255,255,0.35); }
.savings-note {
  margin-top: 32px; text-align: center;
  background: rgba(194,65,12,0.08); border: 1px solid rgba(194,65,12,0.2);
  border-radius: 10px; padding: 16px 20px;
  font-size: 13px; color: var(--accent-dark); line-height: 1.6;
}

/* ── Final CTA ───────────────────────────────────────────────── */
.cta-section { background: var(--panel-bg); padding: 96px 0; text-align: center; }
.cta-section .section-heading { max-width: 600px; margin: 0 auto 14px; }
.cta-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 36px auto 16px; max-width: 480px; }
.cta-input {
  flex: 1; min-width: 220px;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 8px; padding: 13px 16px; color: var(--text);
  font-size: 15px; font-family: var(--ff-body); outline: none;
  transition: border-color 0.18s;
}
.cta-input:focus { border-color: var(--brand); }
.cta-microcopy { font-size: 13px; color: var(--muted); }

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  background: var(--midnight); padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-family: var(--ff-display); font-size: 17px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; }
.footer-copy { font-size: 13px; color: var(--dark-muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--dark-muted); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--dark-muted); }

/* ── Legal pages (Privacy / Terms) ──────────────────────────────── */
.legal-page { background: var(--off-white); padding: 64px 0 96px; }
.legal-page .container { max-width: 760px; }
.legal-updated { font-size: 13px; color: var(--muted); margin-bottom: 40px; }
.legal-content h2 {
  font-family: var(--ff-display); font-size: 20px; font-weight: 700;
  margin: 40px 0 12px; color: var(--text);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 15px; line-height: 1.7; color: var(--muted); margin-bottom: 14px; }
.legal-content ul { margin: 0 0 14px 20px; }
.legal-content li { font-size: 15px; line-height: 1.7; color: var(--muted); margin-bottom: 6px; }
.legal-content a { color: var(--brand); }
.legal-content strong { color: var(--text); }

/* ── Responsive ──────────────────────────────────────────────── */

/* ── Tablet: 768px and below ─────────────────────────────────── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links .nav-link { display: none; }
  .nav-links .btn-primary { font-size: 13px; padding: 8px 16px; }

  /* Hero */
  .hero { padding: 56px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero p { max-width: 100%; }
  .before-after { display: block; }

  /* Stats */
  .stats-bar { padding: 32px 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { padding: 0 16px; }
  .stat-item + .stat-item {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-top: 28px;
    margin-top: 28px;
  }

  /* Section padding */
  .problem-section,
  .how-section,
  .features-section,
  .pricing-section,
  .cta-section { padding: 64px 0; }

  /* Grids */
  .problem-cards { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 28px; }
  .feature-pairs { gap: 48px; }
  .feature-pair,
  .feature-pair.reverse { grid-template-columns: 1fr; gap: 24px; }
  /* Stacked single-column: text always reads before its screenshot,
     regardless of which side the image sat on at desktop width. */
  .feature-pair.reverse .fp-media { order: 2; }
  .feature-pair.reverse .fp-text { order: 1; }
  .product-shot { height: 280px; }
  .feature-strip { grid-template-columns: 1fr 1fr; gap: 24px; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }

  /* Compare — too wide for the viewport, so it scrolls horizontally
     (.compare-table-wrap already has overflow-x:auto) rather than being
     hidden outright. The row-label column stays pinned via sticky
     positioning so a mid-scroll visitor still knows what they're
     comparing; tighter padding fits more of the table before scrolling
     is needed at all. */
  .compare-table th, .compare-table td { padding: 12px 14px; font-size: 13px; }
  .compare-table th:first-child,
  .compare-table td:first-child { position: sticky; left: 0; z-index: 1; }
  .compare-table td:first-child { background: #fff; }
  .compare-table th:first-child { background: var(--midnight); }

  /* Section sub spacing */
  .section-sub { margin-bottom: 36px; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ── Phone: 480px and below ──────────────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Nav */
  .nav-inner { padding: 0 16px; }
  .nav-links .btn-primary { font-size: 12px; padding: 8px 14px; }

  /* Hero */
  .hero { padding: 40px 0 36px; }
  .hero h1 { font-size: 32px; letter-spacing: -0.015em; }
  .hero p { font-size: 15px; margin-bottom: 28px; }
  .hero-badge { font-size: 12px; margin-bottom: 18px; }
  .hero-form { flex-direction: column; gap: 10px; }
  .hero-form .btn-primary { width: 100%; justify-content: center; }
  .hero-input { min-width: unset; width: 100%; }
  .hero-microcopy { gap: 10px; font-size: 12px; }
  /* Was display:none here -- hid the product entirely from phone
     visitors. Shown now, just tightened to fit narrow width. */
  .before-after { margin-top: 4px; }
  .ba-tab { font-size: 12px; padding: 10px 6px; }
  .ba-panel { padding: 14px; }

  /* Stats */
  .stat-num { font-size: 34px; }
  .stat-label { font-size: 13px; }

  /* Section headings */
  .section-heading { font-size: 26px; }
  .section-sub { font-size: 15px; margin-bottom: 28px; }

  /* Sections */
  .problem-section,
  .how-section,
  .features-section,
  .pricing-section,
  .cta-section { padding: 48px 0; }

  /* Grids */
  .feature-strip { grid-template-columns: 1fr 1fr; gap: 20px; }
  .product-shot { height: 220px; }
  .fp-title { font-size: 21px; }
  .pricing-cards { max-width: 100%; }

  /* Problem cards */
  .problem-card { padding: 18px; }

  /* Steps */
  .step { padding: 0; }

  /* CTA form */
  .cta-form { flex-direction: column; gap: 10px; }
  .cta-form .btn-primary { width: 100%; justify-content: center; }
  .cta-input { min-width: unset; width: 100%; }

  /* Pricing */
  .pricing-card { padding: 24px 18px; }
  .plan-price { font-size: 40px; }
  .featured-badge { font-size: 10px; padding: 3px 12px; }

  /* How it works */
  .how-section .section-sub { margin: 0 auto 28px; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-copy { font-size: 12px; }
  .footer-links { gap: 14px; }
}

/* ── Small phones: 360px and below ──────────────────────────── */
@media (max-width: 360px) {
  .hero h1 { font-size: 28px; }
  .nav-logo { font-size: 17px; }
  .nav-links .btn-primary { font-size: 11px; padding: 7px 11px; }
  .section-heading { font-size: 23px; }
  .stat-num { font-size: 30px; }
}

/* ── Success state ───────────────────────────────────────────── */
.success-msg {
  display: none; align-items: center; justify-content: center; gap: 8px;
  color: var(--brand); font-size: 15px; font-weight: 500;
  padding: 16px; background: rgba(194,65,12,0.1);
  border: 1px solid rgba(194,65,12,0.2);
  border-radius: 8px; margin-top: 12px;
}
.success-icon { width: 18px; height: 18px; flex-shrink: 0; }

.form-error {
  display: none;
  color: #FCA5A5; font-size: 14px; font-weight: 500;
  padding: 12px 14px; background: rgba(220,38,38,0.12);
  border: 1px solid rgba(220,38,38,0.3);
  border-radius: 8px; margin-top: 12px;
}
.cta-form + .form-error { color: #B91C1C; background: rgba(220,38,38,0.06); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}