/* Just Film It / Get It Seen. Palette option A, cream-first with dark bands.
   Tokens and contrast rules: CLAUDE.md section 7. Define colors here only. */
:root {
  --cream: #F5F0E8;        /* page background; text on dark bands */
  --ink: #14100C;          /* body text and headings on cream */
  --black: #000000;        /* hero band, offer block, footer. Nowhere else */
  --orange: #E8520A;       /* accent only: tag line, rules, chapter numbers, buttons */
  --link: #B8400A;         /* text links on cream, always underlined */
  --card: #FBF8F2;         /* card and proof block background */
  --line: #DDD4C4;         /* hairlines and card borders */
  --muted: #5C544A;        /* secondary text on cream */
  --on-dark-soft: #D9D2C5; /* secondary text on black */

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --col: 760px;
  --wide: 1040px;
  --gutter: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#app { flex: 1; display: flex; flex-direction: column; }
main { flex: 1; }

.wrap { width: 100%; max-width: calc(var(--col) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wide { width: 100%; max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1;
}

a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.dark a { color: var(--cream); }

/* Focus: visible on both cream and black. */
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 3px; }
[tabindex="-1"]:focus-visible { outline: none; } /* headings focused for screen readers on step change */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--cream); color: var(--ink); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- Header and footer ---------- */
.dark { background: var(--black); color: var(--cream); }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: .06em; color: var(--cream); text-decoration: none; }
.logo span { color: var(--orange); }
.nav-link { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-soft) !important; }
.foot { font-size: 13px; padding: 22px var(--gutter); text-align: center; letter-spacing: .04em; color: var(--on-dark-soft); }
.foot a { color: var(--on-dark-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--black) !important;  /* black on orange, about 5.6:1. Never white */
  font-family: var(--body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  padding: 15px 26px;
  border: 0;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.08); }
.btn-ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--line);
  font: 600 15px/1.2 var(--body); padding: 11px 18px; border-radius: 5px; cursor: pointer;
}
.btn-ghost:hover { border-color: var(--muted); }

/* ---------- Hero band ---------- */
.hero { padding-bottom: 64px; }
.hero .wrap { padding-top: 34px; }
.tag { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.hero h1 { font-size: clamp(42px, 8vw, 78px); }
.hero .sub { font-size: clamp(17px, 2.2vw, 19px); color: var(--on-dark-soft); margin-top: 20px; max-width: 620px; }

/* ---------- Result body ---------- */
.body { padding: 56px 0 50px; }
.body p { margin-bottom: 20px; }
.rule { width: 44px; height: 3px; background: var(--orange); margin: 0 0 22px; }
h2.display { font-size: clamp(28px, 4.5vw, 34px); margin-bottom: 16px; }

.proof { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 28px 32px; margin: 34px 0; }
.label { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.proof ul { list-style: none; }
.row { display: flex; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); align-items: baseline; }
.row:first-child { border-top: 0; }
.ch { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--orange); width: 64px; flex: none; }
.row b { font-weight: 600; }
.row .pg { margin-left: auto; font-size: 14px; color: var(--muted); white-space: nowrap; padding-left: 12px; }
.row .note { display: block; font-size: 15px; color: var(--muted); }

.season { border-left: 3px solid var(--orange); padding: 4px 0 4px 22px; margin: 34px 0; }
.season h2 { margin-bottom: 14px; }
.season .row { border-top: 1px solid var(--line); margin-top: 6px; }
.season-held { font-size: 16px; color: var(--muted); border-left: 3px solid var(--line); padding: 2px 0 2px 18px; margin: 28px 0; }

/* ---------- Offer block ---------- */
.offer { border-radius: 8px; padding: 38px 40px; margin: 38px 0 26px; display: flex; gap: 36px; align-items: center; }
.offer .lead { font-size: 15px; color: var(--on-dark-soft); margin-bottom: 10px; }
.offer h2 { font-size: clamp(28px, 4.5vw, 36px); margin-bottom: 10px; }
.offer p { font-size: 15.5px; color: var(--on-dark-soft); margin: 0; }
.price { text-align: center; flex: none; }
.price .n { font-family: var(--display); font-weight: 700; font-size: 70px; line-height: 1; color: var(--cream); }
.offer .price-note { font-size: 13px; line-height: 1.45; color: var(--on-dark-soft); max-width: 190px; margin: 12px auto 0; }
.price .btn { margin-top: 14px; }

.offer-review { display: block; }
.offer-review p { margin-bottom: 14px; }
.offer-review .terms { font-weight: 600; color: var(--cream); font-size: 17px; margin: 22px 0 2px; }
.offer-review .btn { margin-top: 18px; }
.offer-between { text-align: center; font-size: 14px; color: var(--muted); margin: 10px 0 -14px; }

.affiliate { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 28px 32px; margin: 34px 0; }
.affiliate p { margin-bottom: 12px; }
.resources h3 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 22px 0 8px; }
.resources ul { list-style: none; margin: 0; padding: 0; }
.resources li { padding: 10px 0; border-top: 1px solid var(--line); }
.resources li a { font-weight: 600; }
.resources li span { display: block; font-size: 15.5px; color: var(--muted); }

.free { font-size: 15.5px; color: var(--muted); text-align: center; padding-top: 4px; }

/* ---------- Free checklist form ---------- */
.free-card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 22px 26px; margin: 0 0 22px; }
.free-card p { font-size: 15.5px; color: var(--muted); margin: 0; }
.free-card b { color: var(--ink); font-weight: 600; }
.cl-form { margin-top: 14px; }
.cl-fields { display: flex; flex-wrap: wrap; gap: 10px; }
.cl-form input[type=email] {
  flex: 1 1 240px; min-width: 0; font: 400 16px/1.4 var(--body); padding: 12px 14px;
  border: 1px solid var(--muted); border-radius: 5px; background: #fff; color: var(--ink);
}
.cl-form .btn { margin: 0; }
.cl-form .btn[data-active] { opacity: .6; }
.cl-form .fine { margin: 10px 0 0; font-size: 14px; }
.cl-form .fine a { color: inherit; white-space: nowrap; }
/* Kit writes its messages into these two elements. */
.cl-form .cl-msg { list-style: none; margin: 0 0 10px; padding: 0; font-size: 14px; font-weight: 600; color: var(--link); }
.cl-form .cl-msg:empty { display: none; }
.cl-form [data-element="success"] { font-weight: 600; color: var(--ink); padding: 12px 0 2px; }
.offer-free { display: block; }
.offer-free .free-tag { font-size: .55em; color: var(--orange); letter-spacing: .06em; margin-left: 8px; white-space: nowrap; }
.offer-free .cl-form { margin-top: 20px; max-width: 560px; }
.offer-free .cl-msg, .offer-free [data-element="success"] { color: var(--cream); }
.offer-free .fine { color: var(--on-dark-soft); }
.free a { font-weight: 600; }

/* ---------- Home ---------- */
.home-hero { padding-bottom: 80px; }
.home-hero .wrap { padding-top: 56px; }
.home-hero h1 { font-size: clamp(46px, 9vw, 88px); }
.home-hero .sub { margin-bottom: 34px; }
.home-body { padding: 48px 0 60px; }
.home-body li { margin: 0 0 8px 20px; }

/* ---------- Quiz ---------- */
.quiz { padding: 48px 0 72px; }
.quiz-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; min-height: 44px; }
.step-count { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.quiz h1 { font-size: clamp(36px, 6.5vw, 56px); margin-bottom: 12px; }
.quiz .hint { color: var(--muted); margin-bottom: 8px; }
.quiz fieldset { border: 0; }
.quiz legend { padding: 0; }
.choices { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
.choice {
  width: 100%; text-align: left; display: flex; align-items: center; gap: 14px;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 6px;
  padding: 18px 20px; font: 400 17px/1.4 var(--body); cursor: pointer;
}
.choice:hover { border-color: var(--muted); }
.choice[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice .mark { width: 22px; height: 22px; flex: none; border: 2px solid var(--muted); border-radius: 50%; }
.choice[aria-pressed="true"] .mark { border-color: var(--ink); background: radial-gradient(circle, var(--orange) 0 5px, transparent 6px); }
label.choice input { width: 22px; height: 22px; flex: none; accent-color: var(--orange); }
label.choice:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
label.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.quiz-actions { margin-top: 30px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* ---------- Prototype-only markers ---------- */
.todo {
  font-family: ui-monospace, Menlo, monospace; font-size: .82em; font-weight: 400;
  text-transform: none; letter-spacing: 0; line-height: 1.5;
  background: repeating-linear-gradient(-45deg, #FFF3C4, #FFF3C4 8px, #FFEBA0 8px, #FFEBA0 16px);
  color: #3A2E00; border: 1px dashed #8A6D00; border-radius: 3px; padding: 1px 6px;
}
.draft {
  background: rgba(232, 82, 10, .13);
  box-shadow: inset 0 -2px 0 var(--orange);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  border-radius: 2px; padding: 0 2px;
}
.draft-key { display: inline-block; margin-left: 6px; }
h1 .todo, h2 .todo { font-size: 18px; display: inline-block; }
.toast {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  background: var(--ink); color: var(--cream); font-size: 14px; padding: 12px 18px; border-radius: 6px;
  max-width: calc(100% - 32px); box-shadow: 0 6px 24px rgba(0,0,0,.25); z-index: 20;
}
.proto-bar a { color: inherit; font-weight: 600; }
.proto-bar { background: #FFF3C4; color: #3A2E00; font-size: 13px; text-align: center; padding: 6px var(--gutter); }

/* ---------- Small screens ---------- */
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .offer { flex-direction: column; align-items: stretch; gap: 22px; padding: 30px 24px; }
  .price { text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
  .price .n { font-size: 56px; }
  .offer .price-note { max-width: none; margin: 4px 0 0; flex-basis: 100%; }
  .price .btn { margin-top: 6px; width: 100%; text-align: center; flex-basis: 100%; }
  .proof, .affiliate { padding: 22px 20px; }
  .row { flex-wrap: wrap; gap: 4px 14px; }
  .ch { width: auto; min-width: 48px; font-size: 20px; }
  .row b { flex: 1 1 60%; }
  .row .pg { margin-left: 0; padding-left: 0; flex-basis: 100%; padding-left: 62px; }
  .hero { padding-bottom: 44px; }
  .body { padding-top: 40px; }
  .season { padding-left: 16px; }
}
