:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #16140f;
  --muted: #5d5a52;
  --line: #e7e3da;
  --accent: #e2551b;
  --accent-ink: #ffffff;
  --accent-soft: #fdeee6;
  --radius: 14px;
  --max: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12110e;
    --surface: #1b1a16;
    --ink: #f3f1ea;
    --muted: #a9a59a;
    --line: #2d2b25;
    --accent: #ff6a2b;
    --accent-ink: #12110e;
    --accent-soft: #2a1a12;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 19px; letter-spacing: -0.01em; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 22px; font-size: 15px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 640px) { .nav-links .hide-sm { display: none; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 650; font-size: 16px;
  text-decoration: none; border: 1px solid transparent; transition: transform .12s ease, opacity .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border-color: var(--line); background: var(--surface); }

/* hero */
.hero { padding: 64px 0 56px; text-align: center; }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft);
  color: var(--accent); font-weight: 650; font-size: 14px; margin-bottom: 22px;
}
h1 { font-size: clamp(36px, 6vw, 62px); line-height: 1.05; letter-spacing: -0.035em; margin: 0 auto 20px; max-width: 15ch; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 46ch; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* sections */
section { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.025em; line-height: 1.15; margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0 auto; max-width: 52ch; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.stat { text-align: center; }
.stat b { display: block; font-size: 30px; letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 14px; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 750; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); }
.badge { position: absolute; top: -13px; left: 28px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 20px; }
.plan .desc { color: var(--muted); font-size: 15px; margin: 4px 0 18px; min-height: 48px; }
.price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.price b { font-size: 42px; letter-spacing: -0.03em; }
.price s { color: var(--muted); font-size: 18px; }
.price-note { font-size: 13px; color: var(--accent); font-weight: 650; margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; font-size: 15.5px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23e2551b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan .btn { margin-top: auto; width: 100%; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

.cats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 15px; }
.cat b { color: var(--accent); }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.cta-band { background: var(--ink); color: var(--bg); border-radius: 22px; padding: 52px 28px; text-align: center; }
.cta-band h2 { color: var(--bg); }
.cta-band p { opacity: .75; margin: 0 auto 26px; max-width: 46ch; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; margin-top: 64px; font-size: 14px; color: var(--muted); }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* legal pages */
.legal { max-width: 740px; margin: 0 auto; padding: 32px 0 24px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); text-align: left; margin: 0 0 8px; max-width: none; }
.legal .updated { color: var(--muted); font-size: 15px; margin-bottom: 32px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }

/* Black Friday theme (body.bf). Remove the class in index.html to switch back. */
.bf {
  --bg: #0b0b0b;
  --surface: #161616;
  --ink: #f6f5f1;
  --muted: #a8a59c;
  --line: #2a2a2a;
  --accent: #ffd21f;
  --accent-ink: #0b0b0b;
  --accent-soft: #2b2408;
  color-scheme: dark;
}
.bf-bar {
  background: var(--accent); color: var(--accent-ink);
  text-align: center; font-size: 14px; font-weight: 600; letter-spacing: .02em;
  padding: 9px 16px;
}
.bf-bar a { color: inherit; font-weight: 750; margin-left: 4px; }
.bf .eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.bf .plan li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23ffd21f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.bf .cta-band { background: var(--accent); color: var(--accent-ink); }
.bf .cta-band h2 { color: var(--accent-ink); }
.bf .cta-band .btn-primary { background: var(--accent-ink); color: var(--accent); }
