/* =========================================================
   Shared stylesheet for aipolicytemplate.io
   - Variables, base reset, header, footer: used by every page
   - Landing-page sections (.hero, .section, .card, ...): index.html
   - Page-specific styles scoped under .legal-wrap / .contact-wrap / .receipt-wrap
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  --bg:          #FFFFFF;
  --bg-soft:     #FAFAF8;
  --bg-section:  #F7F7F4;
  --bg-grad-1:   #FFF8F0;
  --bg-grad-2:   #F4F1FF;
  --ink:         #0A0A0A;
  --ink-soft:    #2A2A2A;
  --ink-mute:    #6B7280;
  --ink-line:    #E7E5E4;
  --ink-faint:   #F1EFEC;
  --amber:       #B45309;
  --amber-soft:  #FFF8E8;
  --amber-bd:    #F2D9A8;
  --amber-ink:   #5C2E03;
  --indigo:      #4F46E5;
  --indigo-soft: #EEF0FF;
  --indigo-bd:   #C7CCFF;
  --sage:        #047857;
  --sage-soft:   #ECFDF5;
  --sage-bd:     #BBF7D0;
  --sage-ink:    #054F31;
  --coral:       #DB5E4D;
  --coral-soft:  #FFF1EE;
  --shadow-sm:   0 1px 2px rgba(10,10,10,0.04);
  --shadow:      0 6px 24px rgba(10,10,10,0.06);
  --shadow-md:   0 12px 40px rgba(10,10,10,0.08);
  --radius:      10px;
  --radius-lg:   16px;
  --radius-xl:   22px;
  --max:         1180px;
  --max-narrow:  720px;
  --gutter:      24px;
  --font:        'Lato', 'Helvetica Neue', Arial, sans-serif;
  --blue:        #4353FF;
  --blue-hover:  #3641D9;
  --blue-soft:   rgba(67, 83, 255, 0.10);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.1;
}

/* ---------- Typography helpers ---------- */
.display-1 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
.display-1 strong { font-weight: 900; color: var(--blue); }
.display-2 { font-size: clamp(1.625rem, 3vw, 2.25rem); }
.display-3 { font-size: 1.25rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.eyebrow.accent { color: var(--coral); }
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  display: inline-block;
  flex-shrink: 0;
}

/* ---------- Layout ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(67, 83, 255, 0.25), 0 4px 14px rgba(67, 83, 255, 0.18);
}
.btn-primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 2px 6px rgba(67, 83, 255, 0.35), 0 8px 22px rgba(67, 83, 255, 0.22);
}
.btn-light { background: var(--blue); color: #fff;
  box-shadow: 0 1px 2px rgba(67, 83, 255, 0.25), 0 4px 14px rgba(67, 83, 255, 0.18); }
.btn-light:hover { background: var(--blue-hover); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn .arrow { width: 14px; height: 14px; }
.link-underline {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: var(--ink-line);
  text-underline-offset: 4px;
}
.link-underline:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* ---------- Badges ---------- */
.law-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--indigo-soft);
  border: 1px solid var(--indigo-bd);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
}
.law-badge svg { width: 12px; height: 12px; flex-shrink: 0; }
.word-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--indigo-soft);
  border: 1px solid var(--indigo-bd);
  color: var(--indigo);
  font-size: 0.8rem;
  font-weight: 600;
}
.word-badge svg { width: 12px; height: 12px; flex-shrink: 0; }

.price-attest {
  margin-top: 16px;
  padding: 11px 14px;
  border-radius: var(--radius);
  background: var(--sage-soft);
  border: 1px solid var(--sage-bd);
  color: var(--sage-ink);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex; align-items: center; gap: 9px;
}
.price-attest svg { width: 16px; height: 16px; color: var(--sage); flex-shrink: 0; }

/* ---------- Site header (used by every page) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--ink-line);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.nav-links {
  display: none; align-items: center; gap: 30px;
  font-size: 0.9rem; color: var(--ink-mute);
}
.nav-links a:hover { color: var(--ink); }
@media (min-width: 820px) { .nav-links { display: inline-flex; } }
.nav a.home-link { color: var(--ink-mute); font-size: 0.9rem; }
.nav a.home-link:hover { color: var(--ink); }

/* ---------- Hero (index) ---------- */
.hero {
  position: relative;
  padding: 64px 0 56px;
  overflow: hidden;
  background:
    radial-gradient(900px circle at 92% 8%,   rgba(67, 83, 255, 0.18) 0%, transparent 60%),
    radial-gradient(820px circle at 6% 92%,   rgba(167, 139, 250, 0.18) 0%, transparent 60%),
    radial-gradient(680px circle at 98% 78%,  rgba(34, 211, 238, 0.10) 0%, transparent 60%),
    radial-gradient(720px circle at 12% 18%,  rgba(244, 114, 182, 0.12) 0%, transparent 60%),
    radial-gradient(560px circle at 50% 58%,  rgba(4, 120, 87, 0.06) 0%, transparent 60%);
}
@media (min-width: 768px) { .hero { padding: 96px 0 80px; } }
.hero::before {
  content: ""; position: absolute;
  top: -180px; right: -200px;
  width: 760px; height: 760px;
  background: radial-gradient(closest-side, rgba(67, 83, 255, 0.16), transparent 70%);
  pointer-events: none; z-index: 0;
  filter: blur(8px);
}
.hero::after {
  content: ""; position: absolute;
  bottom: -160px; left: -180px;
  width: 700px; height: 700px;
  background: radial-gradient(closest-side, rgba(167, 139, 250, 0.20), transparent 70%);
  pointer-events: none; z-index: 0;
  filter: blur(8px);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 880px; }
.hero h1 .accent-claim {
  color: var(--amber);
  font-style: italic;
  font-weight: 600;
}
.hero-sub {
  margin-top: 22px; max-width: 680px;
  font-size: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.55;
  font-weight: 400;
}
.hero-actions {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
}
.hero-trust {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: 0.85rem; color: var(--ink-mute);
}
.trust-item { display: inline-flex; align-items: center; gap: 7px; }
.trust-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--sage);
  display: inline-block;
}
.hero-badges {
  margin-bottom: 20px;
  display: flex; flex-wrap: wrap; gap: 8px;
}

/* ---------- Generic sections (index) ---------- */
.section { padding: 64px 0; border-top: 1px solid var(--ink-line); position: relative; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section-soft { background: var(--bg-section); }
.section-title { max-width: 760px; }
.section-lede {
  margin-top: 20px; max-width: 620px;
  font-size: 1.05rem; color: var(--ink-soft); line-height: 1.6;
}
.section-dark { background: var(--ink); color: var(--bg); border-top: none; }
.section-dark .eyebrow { color: rgba(255,255,255,0.6); }
.section-dark .section-lede { color: rgba(255,255,255,0.72); }

/* ---------- Cards (index) ---------- */
.card-grid {
  margin-top: 40px;
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--bg);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color .2s ease, transform .2s ease;
  position: relative;
}
.card:hover { border-color: #C7C2BC; transform: translateY(-2px); }
.card-quote-mark {
  position: absolute;
  top: 16px; right: 18px;
  font-family: Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ink-faint);
  font-weight: 700;
}
.card-quote { font-size: 0.97rem; line-height: 1.55; color: var(--ink); padding-right: 30px; }
.card-attr {
  margin-top: 14px;
  font-size: 0.825rem;
  color: var(--ink-mute);
  font-style: italic;
}
.closing-line { margin-top: 40px; max-width: 620px; font-size: 1.05rem; color: var(--ink-soft); }

.lead-statement {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
  max-width: 760px;
}
.lead-statement + .lead-statement { margin-top: 28px; }
.lead-statement strong { font-weight: 700; }

.twocol {
  margin-top: 44px;
  display: grid; gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .twocol { grid-template-columns: 1fr 1fr; gap: 48px; } }
.twocol h3 {
  font-family: var(--font);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}
.twocol ul li {
  display: flex; gap: 12px;
  padding: 11px 0;
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  line-height: 1.5;
}
.twocol .ic { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; }
.ic-x  { color: #FB7185; }
.ic-ck { color: #34D399; }

.check-list {
  margin-top: 40px;
  max-width: 760px;
}
.check-list li {
  display: flex; gap: 14px;
  padding: 14px 0;
  color: rgba(255,255,255,0.92);
  font-size: 1.025rem;
  line-height: 1.5;
}
.check-list li strong { color: #fff; font-weight: 700; }
.check-list .ic { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; }

.grid-3 {
  margin-top: 44px;
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.who-card {
  background: var(--bg);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: border-color .2s ease, transform .2s ease;
}
.who-card:hover { border-color: #C7C2BC; transform: translateY(-2px); }
.who-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--indigo-soft);
  color: var(--indigo);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.who-card:nth-child(2n) .who-num { background: var(--amber-soft); color: var(--amber); }
.who-card:nth-child(3n) .who-num { background: var(--sage-soft); color: var(--sage); }
.who-card:nth-child(4n) .who-num { background: var(--coral-soft); color: var(--coral); }
.who-card h3 {
  font-family: var(--font);
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 700;
}
.who-card p { font-size: 0.875rem; color: var(--ink-mute); line-height: 1.55; }

.inside-grid {
  margin-top: 48px;
  display: grid; gap: 28px 44px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .inside-grid { grid-template-columns: 1fr 1fr; } }
.inside-item {
  border-left: 2px solid var(--ink-line);
  padding-left: 20px;
}
.inside-item.is-appendix { border-left-color: var(--amber); }
.inside-item.is-appendix .inside-eyebrow { color: var(--amber); }
.inside-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-mute);
}
.inside-item h3 {
  font-family: var(--font);
  font-size: 1.075rem;
  font-weight: 700;
  margin: 6px 0 8px;
  letter-spacing: -0.012em;
}
.inside-item p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; }

.formats-line {
  margin: 0 0 16px;
  font-size: 0.85rem;
  color: var(--ink-mute);
  line-height: 1.5;
  text-align: center;
}
.formats-line strong { color: var(--ink); font-weight: 700; }

.screenshot-preview {
  margin: 40px auto 0;
  max-width: 720px;
  text-align: center;
}
.preview-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--amber-soft);
  border: 1px solid var(--amber-bd);
  color: var(--amber-ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.preview-eyebrow svg { width: 14px; height: 14px; flex-shrink: 0; }
.preview-frame {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-line);
  box-shadow: 0 20px 50px rgba(10, 10, 10, 0.10);
  overflow: hidden;
  background: #fff;
  max-height: 720px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
}
.preview-frame::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.85) 60%, #fff 100%);
  pointer-events: none;
}
.preview-image {
  width: 100%;
  aspect-ratio: 850 / 720;
  background-image: url("preview2.png");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: top center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.preview-check {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--sage-ink);
}
.preview-check svg {
  width: 18px; height: 18px;
  color: var(--sage);
  flex-shrink: 0;
}
.preview-caption {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--ink-mute);
  font-style: italic;
}

.steps {
  margin-top: 44px;
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--ink-line);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
}
.step:nth-child(1) .step-num { background: var(--indigo); }
.step:nth-child(2) .step-num { background: var(--amber); }
.step:nth-child(3) .step-num { background: var(--sage); }
.step h3 {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; }

.origin { max-width: var(--max-narrow); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.origin .body { margin-top: 28px; display: grid; gap: 18px; }
.origin .body p {
  font-size: 1.075rem;
  color: var(--ink-soft);
  line-height: 1.65;
}
.origin .body p strong { color: var(--ink); font-weight: 600; }
.origin .body p.kicker {
  color: var(--ink);
  font-weight: 500;
  font-style: italic;
  padding-left: 16px;
  border-left: 3px solid var(--amber);
}

.compare-section .section-title { max-width: 760px; margin: 0 auto; }
.compare-table {
  margin: 44px auto 0;
  max-width: 960px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--ink-line);
}
.compare-table thead th {
  font-size: 0.72rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--ink-line);
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .opt {
  font-weight: 700;
  color: var(--ink);
}
.compare-table .meta {
  color: var(--ink-soft);
}
.compare-table .row-winner {
  background: var(--sage-soft);
}
.compare-table .row-winner .opt,
.compare-table .row-winner .meta {
  color: var(--sage-ink);
}
.compare-table .row-winner td {
  border-top: 1px solid var(--sage-bd);
  border-bottom: 1px solid var(--sage-bd);
}
.compare-table .winner-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--sage);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  vertical-align: middle;
}
.compare-stack {
  display: none;
  margin: 32px auto 0;
  max-width: 540px;
  gap: 14px;
}
.compare-card {
  background: var(--bg);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.compare-card.is-winner {
  background: var(--sage-soft);
  border-color: var(--sage-bd);
}
.compare-card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 8px;
}
.compare-card-head .opt { font-weight: 700; color: var(--ink); font-size: 1rem; }
.compare-card.is-winner .compare-card-head .opt { color: var(--sage-ink); }
.compare-card-row {
  display: flex; justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.compare-card.is-winner .compare-card-row { color: var(--sage-ink); }
.compare-card-row .label { color: var(--ink-mute); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.compare-card.is-winner .compare-card-row .label { color: var(--sage-ink); opacity: 0.75; }
@media (max-width: 720px) {
  .compare-table { display: none; }
  .compare-stack { display: grid; }
}

.pricing { text-align: center; }
.pricing .display-2 { margin: 0 auto; max-width: 720px; }
.pricing-format-line {
  margin: 16px auto 0; max-width: 560px;
  font-size: 1rem;
  color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 10px;
  justify-content: center;
}
.pricing-format-line svg { width: 18px; height: 18px; color: var(--indigo); flex-shrink: 0; }
.price-card {
  margin: 36px auto 0;
  max-width: 460px;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--amber), var(--blue));
}
.price-format-tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--indigo-soft);
  border: 1px solid var(--indigo-bd);
  color: var(--indigo);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.price-format-tag svg { width: 12px; height: 12px; flex-shrink: 0; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.price-now {
  font-family: var(--font);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.price-was { color: var(--ink-mute); text-decoration: line-through; font-size: 1rem; }
.price-meta { font-size: 0.875rem; color: var(--ink-mute); }
.price-note { font-size: 0.85rem; color: var(--ink-mute); margin-top: 4px; }
.price-features {
  margin-top: 22px;
  display: grid; gap: 10px;
  font-size: 0.92rem;
}
.price-features li {
  display: flex; gap: 10px; align-items: flex-start;
  color: var(--ink-soft);
}
.price-features .ic-ck {
  color: var(--sage);
  width: 16px; height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}
.price-card .btn { width: 100%; justify-content: center; margin-top: 24px; }
.price-fineprint {
  margin-top: 12px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--ink-mute);
}

.bigquote-wrap {
  max-width: 820px; margin: 0 auto; text-align: center;
  padding: 0 var(--gutter);
}
.bigquote-mark {
  display: inline-block;
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--amber);
  margin-bottom: 8px;
}
.bigquote {
  font-family: var(--font);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: 760px;
  margin: 18px auto;
  letter-spacing: -0.01em;
}

.faq-list { margin-top: 36px; }
.faq-item {
  border-top: 1px solid var(--ink-line);
  padding: 20px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--ink-line); }
.faq-summary {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; list-style: none;
  gap: 22px;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-q {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.faq-toggle {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink-mute);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
  line-height: 1;
}
.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
  background: var(--ink);
  color: var(--bg);
}
.faq-a {
  margin-top: 12px;
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 0.95rem;
}

.final-cta { text-align: center; position: relative; overflow: hidden; }
.final-cta::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(217,119,6,0.18), transparent 60%);
  pointer-events: none;
}
.final-cta > .container-narrow { position: relative; z-index: 1; }
.final-cta .display-2 { margin: 0 auto; max-width: 720px; }
.final-cta .section-lede { margin: 18px auto 0; }
.final-cta .btn { margin-top: 30px; }
.final-cta .price-fineprint { margin-top: 14px; }
.section-dark .price-fineprint { color: rgba(255,255,255,0.55); }

/* ---------- Site footer (used by every page) ---------- */
.site-footer {
  border-top: 1px solid var(--ink-line);
  padding: 28px 24px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-mute);
}
.site-footer a { color: var(--ink-mute); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* =========================================================
   Legal pages: terms.html, privacy.html, refund.html, license.html
   Scoped under .legal-wrap so the typography overrides do not
   leak onto other pages.
   ========================================================= */
.legal-wrap {
  max-width: 720px;
  margin: 56px auto;
  padding: 0 24px;
  line-height: 1.65;
}
@media (min-width: 768px) { .legal-wrap { margin: 88px auto; } }
.legal-wrap h1 {
  font-size: clamp(1.875rem, 3.6vw, 2.5rem);
  margin: 0 0 8px;
}
.legal-wrap h2 {
  font-size: 1.25rem;
  letter-spacing: -0.012em;
  margin: 36px 0 12px;
}
.legal-wrap p { margin: 0 0 14px; color: var(--ink-soft); }
.legal-wrap ul {
  padding-left: 22px;
  margin: 0 0 14px;
  color: var(--ink-soft);
  list-style: disc;
}
.legal-wrap ul li { margin-bottom: 6px; }
.legal-wrap .updated {
  color: var(--ink-mute);
  font-size: 0.9rem;
  margin-bottom: 32px;
}
.legal-wrap a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-wrap a:hover { color: var(--ink); }

/* =========================================================
   Contact page: contact.html
   ========================================================= */
.contact-wrap {
  max-width: 620px;
  margin: 64px auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .contact-wrap { margin: 96px auto; } }
.contact-wrap h1 {
  font-size: clamp(1.875rem, 3.6vw, 2.5rem);
  margin: 0 0 16px;
}
.contact-wrap .lede {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 32px;
}
.contact-wrap .form-embed {
  background: var(--bg-soft);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  min-height: 360px;
  display: flex; align-items: center; justify-content: center;
}
.contact-wrap .form-placeholder {
  text-align: center;
  color: var(--ink-mute);
  font-style: italic;
  font-size: 0.95rem;
}
.contact-wrap .help-text {
  margin-top: 24px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* =========================================================
   Receipt page: receipt84.html
   ========================================================= */
.receipt-wrap {
  max-width: 620px;
  margin: 64px auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .receipt-wrap { margin: 96px auto; } }
.receipt-wrap h1 {
  font-size: clamp(1.875rem, 3.6vw, 2.5rem);
  margin: 0 0 16px;
  text-align: center;
}
.receipt-wrap .lede {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 32px;
  text-align: center;
}
.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--sage-soft);
  border: 1px solid var(--sage-bd);
  color: var(--sage);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.success-icon svg { width: 32px; height: 32px; }
.receipt-card {
  background: var(--bg-soft);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
}
.receipt-row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--ink-line);
  font-size: 0.95rem;
}
.receipt-row:last-child { border-bottom: none; }
.receipt-label { color: var(--ink-mute); }
.receipt-value { color: var(--ink); font-weight: 600; }
.download-block {
  margin: 32px 0;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--ink-line);
  text-align: center;
}
.download-block h2 {
  font-family: var(--font); font-weight: 700; font-size: 1.25rem;
  margin: 0 0 8px;
}
.download-block p {
  color: var(--ink-mute); font-size: 0.95rem;
  margin: 0 0 20px;
}
.receipt-wrap .btn {
  padding: 14px 28px;
  font-weight: 700;
  font-size: 1rem;
  justify-content: center;
}
.receipt-wrap .btn svg { width: 18px; height: 18px; }
.btn-secondary {
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--ink-line);
}
.btn-secondary:hover { border-color: var(--ink); background: var(--bg-soft); }
.download-row {
  display: flex; flex-wrap: nowrap; gap: 12px;
  justify-content: center; align-items: center;
}
.download-row .btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 14px 18px;
  white-space: nowrap;
  font-size: 0.95rem;
}
.download-or {
  color: var(--ink-mute);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex: 0 0 auto;
}
.receipt-wrap .help-text {
  margin-top: 64px;
  font-size: 0.9rem;
  color: var(--ink-mute);
  text-align: center;
}
.receipt-wrap .help-text a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
