/* ============================================================
   FAFO CALENDAR — clean modern rebuild
   Design system: PURE WHITE canvas. Everything contrasts and
   floats on white. Tough-but-disciplined: Wall Street meets
   Hurt Locker meets Taylor Swift. All business, building an empire.
   Self-contained. Does not depend on the old Carrd main.css.
   ============================================================ */

:root {
  /* Surfaces — white is law */
  --bg:        #ffffff;
  --ink:       #14101a;   /* near-black for text/blocks */
  --ink-2:     #0c0a10;   /* true dark block */
  --muted:     #5c5560;
  --line:      #ece7ee;   /* hairline on white */

  /* Brand */
  --plum:        #7a2e63;
  --plum-bright: #9c2c79;
  --blaze:       #e8430d;
  --blaze-hover: #c8350a;
  --green:       #168a6d;

  /* Type */
  --display: 'Anton', 'Archivo', sans-serif;
  --body:    'Inter', system-ui, sans-serif;
  --mono:    'Space Mono', ui-monospace, monospace;

  /* Rhythm */
  --maxw: 72rem;
  --pad:  clamp(1.25rem, 4vw, 2.5rem);
  --float-shadow: 0 24px 60px -20px rgba(20,16,26,0.28), 0 8px 20px -12px rgba(20,16,26,0.18);
  --radius: 18px;
}

* { 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(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---------- layout primitives ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.wrap--narrow { max-width: 56rem; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.center { text-align: center; }

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--blaze);
  margin: 0 0 1rem;
  display: block;
}
.h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.98;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  margin: 0 0 1.25rem;
  color: var(--ink);
}
.h2 .blaze { color: var(--blaze); }
.h2 .plum  { color: var(--plum-bright); }
.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: var(--muted);
  margin: 0 auto 1rem;
  max-width: 44rem;
}
.lead.left { margin-left: 0; margin-right: 0; }

/* ---------- header ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
}
.brand .dot { color: var(--blaze); }
.nav-cta {
  font-family: var(--mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  text-decoration: none;
  background: var(--blaze);
  color: #fff;
  padding: 0.7em 1.2em;
  border-radius: 999px;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--blaze-hover); transform: translateY(-1px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  text-decoration: none;
  padding: 0.95em 1.6em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn svg { width: 1em; height: 1em; fill: currentColor; }
.btn--blaze { background: var(--blaze); color: #fff; }
.btn--blaze:hover { background: var(--blaze-hover); transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--plum); }
.btn--light:hover { background: #ffe9df; transform: translateY(-2px); }

/* ---------- HERO ---------- */
.hero { padding: clamp(4rem, 11vw, 8rem) 0 clamp(3rem, 7vw, 5rem); position: relative; }
.hero .wrap { position: relative; z-index: 2; }
.hero-flag {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}
.hero-flag b { color: var(--blaze); }
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
  font-size: clamp(2.9rem, 9.5vw, 6.5rem);
  margin: 0 0 1.4rem;
  color: var(--ink);
}
.hero h1 .gradient {
  background-image: linear-gradient(255deg, var(--blaze) 12%, var(--plum-bright) 92%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--plum-bright);
}
.hero-sub {
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  max-width: 38rem;
  margin: 0 0 1.1rem;
}
.hero-sub .blaze { color: var(--blaze); }
.hero-body { font-size: 1.05rem; color: var(--muted); max-width: 36rem; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero-note {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em;
  color: var(--muted); text-transform: uppercase;
}
/* subtle floating product preview on white */
.hero-figure { margin-top: clamp(2.5rem, 5vw, 4rem); }
.hero-figure img {
  width: 100%; border-radius: var(--radius);
  box-shadow: var(--float-shadow);
}

/* ---------- THE COST (dark floating block on white) ---------- */
.cost .wrap { }
.cost-block {
  background: var(--ink-2);
  color: #fff;
  border-radius: 28px;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  box-shadow: var(--float-shadow);
}
.cost-block .eyebrow { color: #ff7a4d; }
.cost-block .h2 { color: #fff; }
.cost-block .h2 .blaze { color: #ff5a26; }
.cost-block .lead { color: rgba(255,255,255,0.74); }
.cost-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2.75rem;
}
.stat {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px; padding: 1.75rem 1.5rem;
  background: rgba(255,255,255,0.03);
}
.stat .num { font-family: var(--display); font-size: clamp(2.2rem,5vw,2.8rem); line-height: 1; color: #ff5a26; display: block; margin-bottom: 0.6rem; }
.stat .lbl { font-size: 0.96rem; line-height: 1.5; color: rgba(255,255,255,0.78); }

/* ---------- SPLIT (image + text, alternating) ---------- */
.split .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--reverse .media { order: 2; }
.split .media img { border-radius: var(--radius); box-shadow: var(--float-shadow); width: 100%; }
.split .copy .eyebrow { color: var(--blaze); }
.split .copy .h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
.split .copy p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* ---------- ARSENAL (cards floating on white) ---------- */
.arsenal-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.1rem; margin-top: 2.75rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 2rem 1.9rem; text-align: left;
  box-shadow: 0 14px 34px -22px rgba(20,16,26,0.4);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--float-shadow); }
.card .no {
  font-family: var(--mono); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em;
  color: var(--blaze); display: block; margin-bottom: 0.7rem;
}
.card h3 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  letter-spacing: -0.005em; font-size: 1.5rem; color: var(--ink); margin: 0 0 0.6rem;
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem;
}
.card p { font-size: 1rem; line-height: 1.6; color: var(--muted); margin: 0; }
.card--wide { grid-column: 1 / -1; }
.pendots { display: inline-flex; gap: 6px; vertical-align: middle; }
.pendots i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }

/* ---------- RITUAL (3 steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 2.75rem; text-align: left; }
.step .step-no { font-family: var(--display); font-size: 3.4rem; line-height: 1; color: var(--line); display: block; }
.step .step-no b { color: var(--plum-bright); font-weight: 400; }
.step h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.4rem; color: var(--ink); margin: 0.5rem 0; }
.step p { font-size: 1rem; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- OFFER (gradient floating block) ---------- */
.offer .wrap { }
.offer-block {
  border-radius: 28px;
  background-image: linear-gradient(250deg, var(--blaze) 0%, var(--plum) 100%);
  color: #fff; text-align: center;
  padding: clamp(2.75rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  box-shadow: var(--float-shadow);
}
.offer-block .eyebrow { color: #ffe2d5; }
.offer-block h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem,6vw,4rem); line-height: 1; margin: 0 0 1rem; }
.offer-block p { color: rgba(255,255,255,0.92); font-size: 1.12rem; max-width: 42rem; margin: 0 auto 2rem; }
.offer-block p strong { color: #fff; }

/* ---------- PRODUCT VARIANTS ---------- */
.variants .wrap { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.variant {
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
  box-shadow: 0 14px 34px -22px rgba(20,16,26,0.4);
  transition: transform .25s, box-shadow .25s;
}
.variant:hover { transform: translateY(-4px); box-shadow: var(--float-shadow); }
.variant .pic { background: #faf8fb; padding: 1.25rem; }
.variant .pic img { border-radius: 12px; width: 100%; }
.variant .body { padding: 1.75rem 1.9rem 2rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.variant .tag { font-family: var(--mono); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; }
.variant.plum .tag { color: var(--plum-bright); }
.variant.operator .tag { color: var(--blaze); }
.variant h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 2rem; margin: 0; color: var(--ink); }
.variant p { color: var(--muted); margin: 0 0 1rem; flex: 1; }
.variant .price { font-family: var(--mono); font-weight: 700; color: var(--ink); margin-bottom: 0.9rem; }
.variant .price s { color: var(--muted); font-weight: 400; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 2.5rem; max-width: 56rem; margin-left: auto; margin-right: auto; }
.q { border-top: 1px solid var(--line); }
.q:last-child { border-bottom: 1px solid var(--line); }
.q summary {
  list-style: none; cursor: pointer; padding: 1.5rem 0.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  letter-spacing: -0.005em; font-size: 1.2rem; color: var(--ink);
}
.q summary::-webkit-details-marker { display: none; }
.q .plus { flex: 0 0 auto; font-family: var(--mono); font-size: 1.5rem; color: var(--blaze); transition: transform .25s; line-height: 1; }
.q[open] .plus { transform: rotate(45deg); }
.q .ans { padding: 0 0.25rem 1.6rem; font-size: 1.02rem; line-height: 1.7; color: var(--muted); max-width: 52rem; }

/* ---------- WAITLIST ---------- */
.waitlist { text-align: center; }
.waitlist .h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.wl-form { display: flex; gap: 0.6rem; max-width: 30rem; margin: 1.75rem auto 0; }
.wl-form input {
  flex: 1; border: 2px solid var(--line); border-radius: 999px;
  padding: 0.9em 1.3em; font-family: var(--body); font-size: 1rem; color: var(--ink);
}
.wl-form input:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(122,46,99,0.16); }
.wl-form button { white-space: nowrap; }
.wl-msg { margin: 1.1rem auto 0; max-width: 30rem; font-size: 1rem; line-height: 1.5; font-weight: 500; }
.wl-msg.is-ok { color: var(--plum); }
.wl-msg.is-err { color: var(--blaze); }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); padding: 3rem 0; text-align: center; }
.footer .social { display: inline-flex; gap: 1.25rem; margin-bottom: 1.25rem; }
.footer .social a { color: var(--ink); transition: color .2s; }
.footer .social a:hover { color: var(--blaze); }
.footer .social svg { width: 22px; height: 22px; fill: currentColor; }
.footer .fine { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.footer .fine a { color: var(--muted); text-decoration: underline; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
.d1 { transition-delay: .07s; } .d2 { transition-delay: .14s; } .d3 { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- anchor scroll offset (sticky nav is 64px) ---------- */
:where(section[id], main[id]) { scroll-margin-top: 80px; }

/* ---------- zoomable product images ---------- */
.zoomable { cursor: zoom-in; position: relative; }
.zoomable .zoom-hint {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 0.4em;
  font-family: var(--mono); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.62rem;
  background: rgba(20,16,26,0.78); color: #fff;
  padding: 0.5em 0.8em; border-radius: 999px;
  opacity: 0; transition: opacity .2s; pointer-events: none;
}
.zoomable:hover .zoom-hint { opacity: 1; }
.zoom-hint svg { width: 0.95em; height: 0.95em; fill: currentColor; }

/* lightbox overlay */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(8,6,12,0.94);
  display: none; align-items: center; justify-content: center;
  padding: 4vw; cursor: zoom-out;
}
body.lb-active .nav { visibility: hidden; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 96vw; max-height: 92vh; border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7); }
.lightbox .lb-close {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--mono); color: #fff; background: none; border: none;
  font-size: 2rem; line-height: 1; cursor: pointer; padding: 0.2em;
}
.lightbox .lb-cap {
  position: absolute; left: 0; right: 0; bottom: 18px; text-align: center;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7); text-transform: uppercase;
}
@media (prefers-reduced-motion: no-preference) {
  .lightbox img { animation: lb-in .22s cubic-bezier(.22,.61,.36,1); }
  @keyframes lb-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .cost-grid, .arsenal-grid, .steps, .variants .wrap { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .split .wrap { grid-template-columns: 1fr; }
  .split--reverse .media { order: 0; }
}
@media (max-width: 520px) {
  .wl-form { flex-direction: column; }
  .wl-form button { width: 100%; justify-content: center; }
  .nav-cta { display: none; }

  /* On phones the wide calendar shots become unreadable strips.
     Give the standalone calendar product shots breathing room and a
     light card so the 2:1 shape reads as intentional, and prompt zoom. */
  .split .media img,
  .variant .pic img {
    background: #faf8fb;
    padding: 10px;
    border-radius: 12px;
  }
  .zoomable { cursor: default; }                 /* no hover on touch */
  .zoomable .zoom-hint { opacity: 1; }            /* always show the tap cue */
  .hero-figure img { border-radius: 14px; }
}
