/* ==========================================================================
   OpenTaskForce — global stylesheet
   Palette tuned for conversion: dark editorial base, single high-contrast
   amber CTA color used ONLY for actions, so the eye always lands on the
   next step. Fully responsive, reduced-motion aware.
   ========================================================================== */

:root {
  /* Light "newsprint" theme — positive polarity for readability,
     navy for trust, amber reserved exclusively for CTAs (isolation effect) */
  --ink:      #f7f4ec;   /* page background: warm paper */
  --pine:     #16263e;   /* navy: hero, footer, featured surfaces */
  --moss:     #efe9db;   /* alt section: warm sand */
  --card:     #ffffff;   /* card surface */
  --card-2:   #fbf9f2;   /* soft panel surface */
  --cream:    #1b2434;   /* headings: near-navy ink */
  --text:     #2a3648;   /* primary text */
  --body:     #4d5b70;   /* body text */
  --muted:    #66738a;   /* captions */
  --line:     rgba(27,36,52,.14);
  --cta:      #e8ae45;   /* action amber — reserved for CTAs & key accents */
  --cta-hover:#f5bf5e;
  --cta-ink:  #171004;   /* near-black text on amber, ~11:1 contrast */
  --acc:      #815c08;   /* amber as TEXT accent (readable on paper) */
  --gold-soft:#7d5a10;
  --teal:     #0e8a68;   /* secondary accent */
  --coral:    #c65432;   /* tertiary accent */
  --sky:      #22699f;   /* quaternary accent */
  --shadow-cta: 0 8px 24px rgba(232,174,69,.4);
  --radius: 16px;
  --font-display: 'Newsreader', Georgia, serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* Dark navy blocks re-scope the palette (variables cascade) */
.hero, .section-pine, .site-footer, .tier-featured, .summary, .sticky-cta {
  --cream: #f6f3ea;
  --text:  #e8ecf3;
  --body:  #b7c2d3;
  --muted: #8e9ab0;
  --line:  rgba(246,243,234,.14);
  --acc:   #f0c268;
  --gold-soft: #e3d3b0;
  --teal:  #57cfa7;
  --coral: #ef8266;
  --sky:   #7cc0e8;
}

/* Light panels inside dark blocks flip back */
.hero .panel:not(.summary), .light-scope {
  --cream: #1b2434; --text: #2a3648; --body: #4d5b70; --muted: #66738a;
  --line: rgba(27,36,52,.14); --acc: #815c08; --gold-soft: #7d5a10;
  --teal: #0e8a68; --coral: #c65432; --sky: #22699f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
::selection { background: var(--cta); color: var(--cta-ink); }
img { max-width: 100%; height: auto; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--cta); outline-offset: 3px; border-radius: 4px; }

.container { max-width: 1240px; margin: 0 auto; padding-inline: 22px; }
@media (min-width: 480px) { .container { padding-inline: 28px; } }
@media (min-width: 768px) { .container { padding-inline: 40px; } }

/* ---------- Typography ---------- */
h1, h2, h3 { margin: 0; color: var(--cream); }
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
h1.display { font-size: clamp(2.4rem, 7.5vw, 4.75rem); }
h2.display { font-size: clamp(1.9rem, 5vw, 2.9rem); line-height: 1.1; }
.display em {
  font-style: italic;
  background: linear-gradient(100deg, #b8820f 10%, #c65432 60%, #8a6414 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .display em, .section-pine .display em {
  background: linear-gradient(100deg, #f0c268 10%, #ef8266 60%, #e3d3b0 95%);
  -webkit-background-clip: text; background-clip: text;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--acc);
  margin: 0 0 18px;
}
.lead { font-size: clamp(1.05rem, 2.4vw, 1.24rem); color: var(--body); line-height: 1.65; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,244,236,.85);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--cta), var(--gold-soft));
  transition: width .1s linear;
}
.nav-wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo-mark { flex-shrink: 0; display: block; transition: transform .25s ease; }
.brand:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.brand-name { font-family: var(--font-display); font-size: 21px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }

.nav-links { display: none; align-items: center; gap: 34px; }
.nav-links a { text-decoration: none; color: var(--body); font-size: 15px; font-weight: 600; white-space: nowrap; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cream); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; cursor: pointer; border: none;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  padding: 15px 28px; border-radius: 100px; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--cta); color: var(--cta-ink); font-weight: 700; box-shadow: var(--shadow-cta); }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover,
.mobile-menu a.btn-primary, .mobile-menu a.btn-primary:hover { color: var(--cta-ink); }
.btn-primary:hover { background: var(--cta-hover); transform: translateY(-2px); box-shadow: 0 12px 34px rgba(232,174,69,.38); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--cream); border: 1.5px solid rgba(27,36,52,.3); }
.hero .btn-ghost, .section-pine .btn-ghost, .summary .btn-ghost, .tier-featured .btn-ghost { border-color: rgba(246,243,234,.35); }
.btn-ghost:hover { border-color: rgba(27,36,52,.6); transform: translateY(-2px); }
.hero .btn-ghost:hover, .section-pine .btn-ghost:hover { border-color: rgba(246,243,234,.7); }
.btn-sm { padding: 10px 20px; font-size: 15px; }
.btn-block { width: 100%; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--cream); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 10px 24px 24px; border-top: 1px solid var(--line);
  background: rgba(247,244,236,.98);
}
.nav-open .mobile-menu { display: flex; }
.mobile-menu a { text-decoration: none; color: var(--text); font-size: 17px; font-weight: 500; padding: 13px 4px; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { background: var(--pine); color: var(--cream); position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(232,174,69,.16), transparent 55%),
    linear-gradient(rgba(246,243,234,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246,243,234,.05) 1px, transparent 1px);
  background-size: 100% 100%, 64px 64px, 64px 64px;
  mask-image: linear-gradient(#000 60%, transparent);
  -webkit-mask-image: linear-gradient(#000 60%, transparent);
}
.hero-glow {
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,174,69,.14), transparent 65%);
  top: -180px; right: -120px; pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.12); } }
.hero-glow-2 {
  position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(87,207,167,.10), transparent 65%);
  bottom: -200px; left: -140px; pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate-reverse;
}

.hero-inner { position: relative; padding-block: clamp(72px, 12vw, 122px) clamp(64px, 10vw, 108px); }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 15px 7px 12px; border: 1px solid rgba(232,174,69,.4);
  border-radius: 100px; margin-bottom: clamp(24px, 4vw, 38px);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cta); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(232,174,69,.5); } 50% { box-shadow: 0 0 0 6px rgba(232,174,69,0); } }
.badge span:last-child { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-soft); }

.hero-cta { display: flex; align-items: center; gap: 14px; margin-top: clamp(30px, 5vw, 44px); flex-wrap: wrap; }
.hero-proof {
  display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: clamp(40px, 7vw, 64px);
  padding-top: 28px; border-top: 1px solid rgba(246,243,234,.14);
  color: #a9b4aa; font-size: 14.5px; font-weight: 500;
}
.hero-proof strong { color: var(--gold-soft); font-weight: 600; }

/* marquee */
.marquee-band { position: relative; border-top: 1px solid rgba(246,243,234,.12); background: rgba(9,17,31,.4); overflow: hidden; padding: 24px 0; }
.marquee-band::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--cta), var(--teal), var(--sky), var(--coral), var(--cta));
  opacity: .55;
}
.marquee-label { text-align: center; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-family: var(--font-mono); color: #939d94; margin: 0 0 18px; }
.marquee { display: flex; width: max-content; gap: 64px; animation: marquee 34s linear infinite; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-band:hover .marquee { animation-play-state: paused; }

/* 100-outlet logo marquee */
.marquee-logos { gap: 12px; animation-duration: 160s; padding-block: 2px; }
.marquee-logos.reverse { animation-direction: reverse; margin-top: 12px; animation-duration: 175s; }
.outlet-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 10px; border: 1px solid rgba(246,243,234,.16); border-radius: 100px;
  background: rgba(14,24,42,.65); font-size: 14px; font-weight: 500; color: #dee6ef; white-space: nowrap;
}
.outlet-chip img { width: 22px; height: 22px; border-radius: 5px; background: #fff; padding: 1px; flex-shrink: 0; }

/* ---------- Sections & cards ---------- */
.section { padding: clamp(72px, 11vw, 120px) 0; }
.section-moss { background: var(--moss); border-top: 1px solid rgba(27,36,52,.08); }
.section-pine { background: var(--pine); }
.section-head { max-width: 62ch; margin-bottom: clamp(44px, 7vw, 72px); }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 18px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 680px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 4vw, 36px) clamp(22px, 3.5vw, 30px);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(232,174,69,.7); box-shadow: 0 16px 40px rgba(27,36,52,.12); }
.card h3 { font-size: 18.5px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 10px; }
.card p { font-size: 15px; line-height: 1.62; color: #51607a; margin: 0; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px;
  background: rgba(232,174,69,.12); border: 1px solid rgba(232,174,69,.3);
  display: inline-flex; align-items: center; justify-content: center; color: var(--cta);
}
.card-icon { color: var(--acc); }
.card-icon svg { width: 21px; height: 21px; }
.card:hover .card-icon { filter: brightness(1.2); }
.grid-3 .card:nth-child(3n+2) .card-icon, .grid-3 > div:nth-child(3n+2) .card-icon
  { color: var(--teal); background: rgba(87,207,167,.12); border-color: rgba(87,207,167,.35); }
.grid-3 .card:nth-child(3n) .card-icon, .grid-3 > div:nth-child(3n) .card-icon
  { color: var(--coral); background: rgba(239,130,102,.12); border-color: rgba(239,130,102,.35); }

.link-arrow {
  text-decoration: none; color: var(--acc); font-size: 15px; font-weight: 600;
  border-bottom: 1px solid rgba(232,174,69,.7); padding-bottom: 3px; white-space: nowrap; transition: color .2s;
}
.link-arrow:hover { color: var(--cta); }

/* ---------- Stats ---------- */
.stat-num { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.6rem); color: var(--acc); }
.grid-3 .card:nth-child(2) .stat-num { color: var(--teal); }
.grid-3 .card:nth-child(3) .stat-num { color: var(--sky); }
.card:nth-child(2):hover { border-color: rgba(87,207,167,.5); }
.card:nth-child(3):hover { border-color: rgba(124,192,232,.5); }

/* ---------- Comparison table ---------- */
.compare { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; min-width: 640px; }
.compare-grid > div { padding: 18px; font-size: 14px; }
.compare-head { background: #f1ebdd; font-weight: 600; color: #45536b; text-align: center; }
.compare-head.first { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: left; padding-left: 24px; }
.compare-head.us { color: var(--cream); font-weight: 700; background: rgba(232,174,69,.18); border-bottom: 2px solid var(--cta); }
.compare-row { border-top: 1px solid rgba(27,36,52,.1); display: contents; }
.compare-label { font-weight: 600; color: var(--text); text-align: left !important; padding-left: 24px !important; border-top: 1px solid rgba(27,36,52,.1); }
.compare-cell { color: #5d6b84; text-align: center; border-top: 1px solid rgba(27,36,52,.1); }
.compare-cell.us { font-weight: 600; color: var(--text); background: rgba(232,174,69,.1); }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  margin-bottom: 12px; padding: 0 22px; transition: border-color .25s, box-shadow .25s;
}
.faq-item.open { border-color: rgba(232,174,69,.6); box-shadow: 0 10px 30px rgba(27,36,52,.08); }
.faq-num { font-family: var(--font-mono); font-size: 12px; color: var(--acc); margin-right: 14px; flex-shrink: 0; }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  font-family: var(--font-body); text-align: left; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--text);
}
.faq-q span:first-child { font-size: clamp(16px, 2.5vw, 19px); font-weight: 600; letter-spacing: -0.01em; }
.faq-q .sign { font-family: var(--font-display); font-size: 26px; color: var(--acc); line-height: 1; flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-q .sign { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { font-size: 16px; line-height: 1.65; color: #51607a; margin: 0; padding: 0 0 26px; max-width: 64ch; }

/* ---------- Pricing tiers ---------- */
.tier { display: flex; flex-direction: column; position: relative; }
.tier .price-row { display: flex; align-items: baseline; gap: 3px; margin-bottom: 6px; }
.tier .cur { font-family: var(--font-display); font-size: 20px; color: var(--text); }
.tier .price { font-family: var(--font-display); font-size: 52px; line-height: 1; color: var(--text); }
.tier .blurb { min-height: 44px; margin-bottom: 22px !important; }
.tier ul { list-style: none; margin: 0 0 26px; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 11px; }
.tier li { font-size: 14px; color: #45536b; display: flex; gap: 9px; line-height: 1.45; }
.tier li::before { content: "✓"; color: var(--acc); font-weight: 700; }
.tier .btn { margin-top: auto; }
.tier-featured { background: var(--pine); border-color: rgba(232,174,69,.6); box-shadow: 0 18px 52px rgba(22,38,62,.4); }
@media (min-width: 1024px) { .tier-featured { transform: scale(1.045); z-index: 1; } .tier-featured:hover { transform: scale(1.045) translateY(-4px); } }
.tier-featured li { color: #c6d0e0; }
.tier-featured .card-icon, .tier-featured p.blurb { color: #b7c2d3; }
.tier-featured .price, .tier-featured .cur { color: var(--cream); }
.pop-badge {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cta-ink); background: var(--cta); padding: 4px 10px; border-radius: 100px;
}

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 980px) { .checkout-grid { grid-template-columns: 1.35fr 1fr; gap: 32px; } }

.panel { background: var(--card-2); border: 1px solid var(--line); border-radius: 20px; padding: clamp(26px, 4vw, 44px); box-shadow: 0 6px 24px rgba(27,36,52,.06); }
.summary { background: var(--pine); border: 1px solid rgba(232,174,69,.4); }
@media (min-width: 980px) { .summary { position: sticky; top: 92px; } }

.amount-display { display: flex; align-items: baseline; gap: 2px; }
.amount-display .cur { font-family: var(--font-display); font-size: clamp(24px, 4vw, 34px); color: var(--acc); }
.amount-display .val { font-family: var(--font-display); font-size: clamp(52px, 9vw, 76px); line-height: 1; color: var(--cream); }
.tier-chip {
  display: inline-block; padding: 7px 16px; border-radius: 100px;
  background: rgba(232,174,69,.16); border: 1px solid rgba(232,174,69,.55);
  color: var(--gold-soft); font-size: 13.5px; font-weight: 600; transition: transform .2s;
}

.otf-slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 100px;
  background: rgba(27,36,52,.15); outline: none; cursor: pointer; margin: 0;
}
.otf-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--cta); border: 4px solid #fff;
  box-shadow: 0 0 0 1px rgba(232,174,69,.8), 0 6px 18px rgba(27,36,52,.3); cursor: grab; transition: transform .15s;
}
.otf-slider::-webkit-slider-thumb:hover { transform: scale(1.08); }
.otf-slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.15); }
.otf-slider::-moz-range-thumb {
  width: 32px; height: 32px; border-radius: 50%; background: var(--cta); border: 4px solid #fff;
  box-shadow: 0 0 0 1px rgba(232,174,69,.8); cursor: grab;
}
.slider-scale { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-top: 12px; }

.presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 24px; }
.preset {
  cursor: pointer; font-family: var(--font-body); padding: 12px 6px; border-radius: 10px;
  font-size: 14px; font-weight: 600; background: rgba(27,36,52,.04); color: #45536b;
  border: 1px solid var(--line); transition: all .2s; min-height: 44px;
}
.preset:hover { border-color: rgba(232,174,69,.7); color: var(--acc); }
.preset.active { background: rgba(232,174,69,.2); color: var(--gold-soft); border-color: rgba(232,174,69,.75); }

.benefit { display: flex; gap: 13px; align-items: flex-start; transition: opacity .3s; }
.benefit .icon { font-size: 16px; line-height: 1.5; flex-shrink: 0; color: var(--acc); font-weight: 700; }
.benefit span:last-child { font-size: 15px; line-height: 1.5; color: var(--text); }
.benefit.locked .icon { color: #98a5b8; }
.benefit.locked span:last-child { color: #8b98ac; }

.summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; font-size: 15.5px; }
.summary-row .k { color: #a5b1c4; }
.summary-row .v { color: var(--text); font-weight: 600; text-align: right; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 26px; }
.summary-total .k { font-size: 17px; font-weight: 600; color: var(--cream); }
.summary-total .v { font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--cta); }

.field {
  width: 100%; padding: 15px 18px; border-radius: 12px;
  border: 1px solid rgba(246,243,234,.22); background: rgba(9,17,31,.5);
  font-family: var(--font-body); font-size: 16px; color: var(--cream); outline: none;
  transition: border-color .2s; margin-bottom: 12px;
}
.field:focus { border-color: rgba(232,174,69,.6); }
.field::placeholder { color: #8e9ab0; }

.trust-line { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; color: var(--muted); font-size: 13px; text-align: center; flex-wrap: wrap; }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: rgba(11,20,36,.95); backdrop-filter: blur(14px);
  border-top: 1px solid rgba(232,174,69,.3);
  transform: translateY(110%); transition: transform .35s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .amt { font-family: var(--font-display); font-size: 26px; color: var(--cta); }
@media (min-width: 980px) { .sticky-cta { display: none; } }

/* ---------- Timeline (how it works) ---------- */
.timeline { position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1px;
  background: linear-gradient(rgba(232,174,69,.45), rgba(232,174,69,.1));
}
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; margin-bottom: 52px; position: relative; }
.step:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .step { gap: 36px; } }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--pine);
  border: 1px solid rgba(232,174,69,.6); display: flex; align-items: center; justify-content: center;
  color: #f0c268; z-index: 1;
}
.step-num svg { width: 24px; height: 24px; }
.step-num.filled { background: var(--cta); color: var(--cta-ink); }
.step-body { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width: 900px) { .step-body { grid-template-columns: 1fr 380px; gap: 40px; } }
.step-kicker { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-family: var(--font-mono); color: var(--muted); margin: 6px 0 12px; }
.step h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 3.5vw, 28px); letter-spacing: -0.01em; margin: 0 0 12px; }
.step > .step-body p { font-size: 16px; line-height: 1.65; color: #51607a; margin: 0; }
.step-body p.step-kicker { color: var(--muted); font-size: 11.5px; }
.step-aside { background: var(--card-2); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine); color: var(--body); padding: clamp(48px, 8vw, 72px) 0 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 44px; border-bottom: 1px solid rgba(246,243,234,.14); }
.footer-cols { display: flex; gap: clamp(40px, 6vw, 72px); flex-wrap: wrap; }
.footer-cols p { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-mono); color: #8e9ab0; margin: 0 0 16px; }
.footer-cols a { display: block; color: #dbe2ec; text-decoration: none; font-size: 14.5px; margin-bottom: 12px; transition: color .2s; }
.footer-cols a:hover { color: var(--cream); }
.footer-bottom { padding-top: 26px; display: flex; justify-content: space-between; font-size: 13px; color: #8e9ab0; flex-wrap: wrap; gap: 12px; }

/* ---------- Scroll reveal ---------- */
/* Reveal animations only arm when JS confirms it's running (never blank without JS) */
.reveal { transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee { animation: none; flex-wrap: wrap; }
}

/* Newspaper hero art (all pages) */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 6vw, 60px); align-items: center; }
.hero-art { margin: 0 auto; width: 100%; max-width: 300px; }
.hero-art svg { width: 100%; height: auto; }
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .hero-grid .hero-art { max-width: 420px !important; margin: 0; justify-self: end; }
}
.footer-legal a { color: #8e9ab0; text-decoration: none; }
.footer-legal a:hover { color: #dbe2ec; }
/* Legal pages */
.legal-body { max-width: 780px; }
.legal-body h2 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; margin: 40px 0 12px; }
.legal-body p, .legal-body li { font-size: 15.5px; line-height: 1.7; color: #45536b; }
.legal-body ul { padding-left: 22px; margin: 10px 0 0; }
.legal-updated { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); letter-spacing: .08em; }
/* Payment area */
.pay-divider { display: flex; align-items: center; gap: 14px; margin: 16px 0; color: var(--muted); font-size: 13px; }
.pay-divider::before, .pay-divider::after { content: ""; flex: 1; height: 1px; background: rgba(246,243,234,.18); }
#paypal-button-container { border-radius: 12px; overflow: hidden; }

/* What your budget buys: richer cards */
.buy-card { position: relative; overflow: hidden; }
.buy-card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--cta), transparent);
}
.buy-card ul { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.buy-card li { font-size: 14px; color: #45536b; display: flex; gap: 8px; }
.buy-card li::before { content: "→"; color: var(--acc); }


/* Checkout package grid */
.pkg-note { text-align: center; font-size: 14px; color: var(--muted); margin: 26px 0 0; }

/* ============ Animated newspaper (real page turn) ============ */
.np { position: relative; width: 100%; aspect-ratio: 440/340; perspective: 1600px; container-type: inline-size; }
.np-behind {
  position: absolute; inset: 8% 4% 5% 6%; background: #e9e2cf; border-radius: 8px;
  transform: rotate(-6deg); box-shadow: 0 18px 40px rgba(4,10,20,.3);
}
.np-sheet {
  position: absolute; inset: 3% 1% 5% 3%; background: #fdfbf4; border-radius: 8px;
  transform: rotate(2deg); box-shadow: 0 24px 48px rgba(4,10,20,.45);
  padding: 4.5% 6%; display: flex; flex-direction: column; overflow: hidden;
}
.np-top { transform-origin: 0% 50%; backface-visibility: hidden; -webkit-backface-visibility: hidden; z-index: 2; }
.np-top.turn {
  transition: transform .9s cubic-bezier(.5,.05,.25,1), box-shadow .9s ease;
  transform: rotate(2deg) rotateY(-150deg);
  box-shadow: -40px 30px 60px rgba(4,10,20,.28);
}
.np-mast {
  display: flex; align-items: center; justify-content: center; gap: 3%;
  min-width: 0;
}
.np-logo { width: 8.5%; aspect-ratio: 1; border-radius: 20%; background: #fff; flex-shrink: 0; box-shadow: 0 1px 3px rgba(22,38,62,.25); }
.np-name {
  font-family: var(--font-display); font-weight: 500; color: #16263e;
  font-size: 7.4cqw; letter-spacing: .02em; line-height: 1; white-space: nowrap;
  text-transform: uppercase; min-width: 0;
}
.np-rule { height: 2.5px; background: #16263e; margin-top: 2.6%; }
.np-rule.thin { height: 1px; margin-top: 1.2%; }
.np-meta { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 2.4cqw; letter-spacing: .12em; color: #78849a; margin-top: 2.2%; }
.np-headline {
  font-family: var(--font-display); font-weight: 500; color: #1b2434;
  font-size: 6.2cqw; line-height: 1.14; margin: 3.4% 0 0; letter-spacing: -0.01em;
}
.np-body { display: flex; gap: 5%; margin-top: 4%; flex: 1; min-height: 0; }
.np-photo {
  width: 37%; background: #16263e; border-radius: 5px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.np-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9%; height: 5.5%; min-height: 4px; background: var(--cta); border-radius: 100px; }
.np-photo svg { width: 46%; height: auto; }
.np-cols { flex: 1; display: flex; flex-direction: column; gap: 5.5%; padding-top: 1%; }
.np-bar { height: 5%; min-height: 4px; background: #c9c2ae; border-radius: 100px; }
@media (prefers-reduced-motion: reduce) {
  .np-top.turn { transition: none; transform: rotate(2deg); }
}
