/* ReEntry landing — "90s/2000s magazine cover × bento grid".
   Palette: crème / marine / ochre / noir / rouge tampon.
   No external assets except Google Fonts. Kept small. */

:root {
  --creme:   #F6F4EF;
  --marine:  #1B2A4A;
  --ochre:   #E8A838;
  --noir:    #0E0E10;
  --rouge:   #E63725;

  --ink:     var(--marine);
  --paper:   var(--creme);

  --sans: "Archivo Black", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 46rem;
  --shadow: 4px 4px 0 var(--noir);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* photocopy grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

section { padding: 56px 0; border-top: 3px solid var(--noir); }
section:first-child { border-top: 0; }

p { margin: 0 0 1em; }
strong { font-weight: 700; }
a { color: var(--marine); }

/* ---------- editorial rule / section number ---------- */
.rule {
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--mono); font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 20px; padding-bottom: 8px;
  border-bottom: 2px solid var(--noir);
}
.rule-num { color: var(--rouge); }
.rule-label { color: var(--marine); }
.rule-invert { border-color: var(--creme); }
.rule-invert .rule-label { color: var(--creme); }

/* ---------- big magazine heds ---------- */
.hed-2 {
  font-family: var(--sans); text-transform: uppercase;
  font-size: clamp(2rem, 8.5vw, 3.4rem); line-height: .92;
  letter-spacing: -0.03em; margin: 0 0 .5em; color: var(--marine);
}
.hed-2.on-marine { color: var(--creme); }

.section-lede { font-size: 1.1rem; max-width: 38rem; line-height: 1.55; }
.section-lede em { font-style: italic; font-weight: 700; }
.section-lede.on-marine-dim { color: rgba(246,244,239,.82); }

/* ---------- COVER / HERO ---------- */
.cover {
  padding: 0; border-top: 0;
  border-bottom: 3px solid var(--noir);
  position: relative; overflow: hidden;
}
.cover-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 22px 20px 40px; position: relative;
}

.masthead {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; padding-bottom: 12px;
  border-bottom: 2px solid var(--noir); gap: 10px;
}
.dateline { color: var(--marine); text-transform: uppercase; }
.barcode { flex: none; }

.masthead-title { display: flex; align-items: center; gap: 10px; margin: 18px 0 6px; }
.logo-mark { color: var(--rouge); display: inline-flex; }
.wordmark {
  font-family: var(--sans); text-transform: uppercase;
  font-size: clamp(3rem, 16vw, 6.6rem); line-height: 1;
  letter-spacing: -0.05em; margin: 0; color: var(--marine);
}

/* cover lines: in-flow flex row between wordmark and hed — never over the letters */
.coverlines {
  display: none;
  justify-content: space-between; align-items: flex-start; gap: 16px;
  margin: 14px 0 4px;
}
.coverline {
  font-family: var(--mono); font-size: .74rem; font-weight: 500;
  line-height: 1.35; text-transform: uppercase; letter-spacing: .04em;
  background: var(--ochre); color: var(--noir);
  border: 2px solid var(--noir); padding: 8px 10px;
  box-shadow: var(--shadow);
}
.coverline-tl { transform: rotate(-3deg); }
.coverline-tr { transform: rotate(2.5deg); text-align: right; }

.cover-hed { position: relative; margin: 14px 0 20px; }
.hed {
  font-family: var(--sans); text-transform: uppercase;
  font-size: clamp(2.3rem, 10vw, 4.4rem); line-height: 1.04;
  letter-spacing: -0.035em; margin: 0; color: var(--marine);
}
.hed-mark {
  background: var(--ochre); color: var(--noir);
  padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.scribble {
  font-family: var(--hand); color: var(--ochre);
  font-size: 1.45rem; font-weight: 700; line-height: 1.1;
}
.scribble-hed { display: block; margin-top: 10px; transform: rotate(-2deg); }

.cover-lede { font-size: 1.15rem; max-width: 34rem; line-height: 1.5; margin-top: 6px; }
.cover-lede strong { color: var(--marine); background: rgba(232,168,56,.35); padding: 0 3px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-family: var(--mono); font-weight: 700; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .04em;
  padding: 14px 22px; cursor: pointer;
  border: 2px solid var(--noir); box-shadow: var(--shadow);
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--noir); }
.btn-primary { background: var(--marine); color: var(--creme); }
.btn-ghost { background: var(--creme); color: var(--marine); }
.btn-block { width: 100%; display: block; }

/* price sticker (magazine corner) */
.price-sticker {
  display: inline-flex; align-items: baseline; gap: 6px;
  margin-top: 26px;
  background: var(--rouge); color: var(--creme);
  border: 2px solid var(--noir); box-shadow: var(--shadow);
  padding: 8px 14px; transform: rotate(-3deg);
  font-family: var(--sans);
}
.ps-was { font-family: var(--mono); font-weight: 700; font-size: 1rem; text-decoration: line-through; opacity: .8; }
.ps-now { font-size: 2rem; line-height: 1; }
.ps-per { font-family: var(--mono); font-weight: 700; font-size: .8rem; }

.micro { font-size: .82rem; font-family: var(--mono); }
.micro.center { text-align: center; margin-top: 18px; }

/* ---------- PAIN ---------- */
.pain h2 { margin-top: 6px; }
.quotes { display: grid; gap: 16px; margin-top: 22px; }
blockquote {
  margin: 0; padding: 18px 20px;
  background: var(--creme); color: var(--marine);
  border: 2px solid var(--noir); box-shadow: var(--shadow);
  font-size: 1.02rem; font-style: italic;
}
blockquote:nth-child(2) { transform: rotate(-.6deg); }
blockquote cite {
  display: block; margin-top: 12px; font-style: normal;
  font-family: var(--mono); font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; color: var(--rouge);
}

/* ---------- HOW / steps ---------- */
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.step {
  position: relative; padding: 22px 20px 20px 66px;
  border: 2px solid var(--noir); box-shadow: var(--shadow);
  background: var(--creme);
}
.step-b { background: var(--marine); color: var(--creme); }
.step-b h3, .step-b p { color: var(--creme); }
.step .num {
  position: absolute; left: 16px; top: 20px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  font-family: var(--sans); font-size: 1.05rem;
  background: var(--ochre); color: var(--noir);
  border: 2px solid var(--noir);
}
.step h3 {
  font-family: var(--sans); text-transform: uppercase;
  font-size: 1.05rem; letter-spacing: -0.01em; margin: 0 0 6px;
  line-height: 1;
}
.step p { margin: 0; font-size: .98rem; }
.step em { font-style: italic; font-weight: 700; }

/* ---------- science / bento ---------- */
.science-kicker {
  font-family: var(--mono); font-size: .76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--rouge); margin: 34px 0 8px;
}
.science-intro { max-width: 38rem; }

.bento { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
.cell {
  border: 2px solid var(--noir); box-shadow: var(--shadow);
  padding: 22px; position: relative;
}
.cell p { margin: 0; font-size: .96rem; line-height: 1.5; }
.cell b { font-weight: 700; }
.cell-stat {
  display: block; font-family: var(--sans);
  font-size: clamp(2.6rem, 12vw, 4rem); line-height: .9;
  letter-spacing: -0.03em; margin-bottom: 8px;
}
.cell-stat .pct { font-size: .5em; }
.cell-stat .arrow { font-size: .5em; margin: 0 .12em; color: var(--rouge); }
.cell-hero { background: var(--creme); color: var(--marine); }
.cell-hero .cell-stat { color: var(--rouge); }
.cell-marine { background: var(--marine); color: var(--creme); }
.cell-marine .cell-stat { color: var(--ochre); }
.cell-marine .arrow { color: var(--ochre); }
.cell-ochre { background: var(--ochre); color: var(--noir); }
.scribble-cell {
  font-family: var(--hand); font-size: 1.35rem; font-weight: 700;
  display: inline-block; margin-top: 10px; transform: rotate(-2deg);
  color: var(--noir);
}

/* footnote refs */
.ref {
  font-family: var(--mono); font-size: .62em; vertical-align: super;
  text-decoration: none; font-weight: 700; margin-left: 1px; padding: 0 2px;
  color: var(--rouge);
}
.cell-marine .ref, .step-b .ref { color: var(--ochre); }

/* ---------- PRICING ---------- */
.price-card {
  position: relative; margin-top: 24px; padding: 30px 26px 26px;
  background: var(--creme); color: var(--marine);
  border: 3px solid var(--noir); box-shadow: 6px 6px 0 var(--noir);
}
.stamp {
  position: absolute; top: -18px; right: 18px;
  font-family: var(--sans); font-size: .8rem; line-height: 1;
  text-align: center; text-transform: uppercase;
  background: var(--rouge); color: var(--creme);
  border: 2px solid var(--noir); box-shadow: var(--shadow);
  padding: 8px 12px; transform: rotate(4deg);
}
.price-head {
  font-family: var(--mono); font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--marine);
}
.price-figure { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 10px; }
.price-figure .was { font-family: var(--mono); color: var(--marine); opacity: .55; text-decoration: line-through; font-size: 1.4rem; font-weight: 700; }
.price-figure .now { font-family: var(--sans); font-size: 3.4rem; line-height: 1; letter-spacing: -0.04em; }
.price-figure .per { font-family: var(--mono); font-weight: 700; font-size: 1rem; }
.price-note { font-size: .94rem; }
.price-list { list-style: none; margin: 16px 0 22px; padding: 0; display: grid; gap: 10px; }
.price-list li { padding-left: 30px; position: relative; font-size: .98rem; }
.price-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; display: grid; place-items: center;
  background: var(--ochre); color: var(--noir);
  border: 2px solid var(--noir); font-size: .72rem; font-weight: 900;
}

/* ---------- WAITLIST (marine block, cover split feel) ---------- */
.waitlist { background: var(--marine); color: var(--creme); }
.waitlist .section-lede { color: rgba(246,244,239,.82); }
form { margin-top: 22px; }
.field { display: block; margin-bottom: 20px; }
.field > span {
  display: block; font-family: var(--mono); font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  font-size: .78rem; margin-bottom: 8px; color: var(--creme);
}
input[type=email], input[type=text] {
  width: 100%; padding: 14px; font-size: 1rem; font-family: inherit;
  background: var(--creme); color: var(--marine);
  border: 2px solid var(--noir); box-shadow: var(--shadow);
}
input:focus { outline: none; box-shadow: 0 0 0 3px var(--ochre); }
input::placeholder { color: rgba(27,42,74,.5); }

.wtp {
  border: 2px solid var(--noir); box-shadow: var(--shadow);
  padding: 16px 18px; margin: 0 0 22px; background: rgba(246,244,239,.06);
}
.wtp legend {
  font-family: var(--mono); font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; font-size: .8rem; padding: 0 6px; color: var(--creme);
}
.wtp .req { color: var(--ochre); font-weight: 400; font-size: .72rem; }
.radio { display: flex; align-items: center; gap: 12px; padding: 9px 0; cursor: pointer; color: rgba(246,244,239,.9); }
.radio input { width: 20px; height: 20px; accent-color: var(--ochre); flex: none; }
.radio:hover span { color: var(--creme); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-msg { margin: 16px 0 0; font-family: var(--mono); font-size: .9rem; min-height: 1.2em; font-weight: 700; }
.form-msg.ok { color: var(--ochre); }
.form-msg.err { color: #FF8A7A; }

/* ---------- FAQ ---------- */
.faq-item {
  border: 2px solid var(--noir); box-shadow: var(--shadow);
  padding: 2px 18px; margin-bottom: 14px; background: var(--creme);
}
.faq-item summary {
  cursor: pointer; font-family: var(--mono); font-weight: 700;
  font-size: .98rem; padding: 15px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--sans); color: var(--marine);
  font-size: 1.4rem; line-height: 1; flex: none;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { font-size: .98rem; margin: 0 0 15px; }

/* ---------- FOOTER ---------- */
footer { padding: 44px 0 60px; border-top: 3px solid var(--noir); background: var(--marine); color: rgba(246,244,239,.8); }
.foot-brand { font-family: var(--sans); text-transform: uppercase; letter-spacing: -0.01em; color: var(--creme); margin-bottom: 6px; font-size: 1.05rem; }
.foot-contact { font-family: var(--mono); font-size: .85rem; margin-bottom: 28px; }
.foot-contact a { color: var(--ochre); }
.sources { font-family: var(--mono); font-size: .74rem; padding-left: 20px; margin: 0; display: grid; gap: 8px; color: rgba(246,244,239,.65); }
.sources li { line-height: 1.5; }
.sources a { color: var(--ochre); }
.sources em { color: rgba(246,244,239,.85); font-style: italic; }

:target { scroll-margin-top: 20px; }
.sources li:target { color: var(--creme); }

/* ---------- LARGER SCREENS ---------- */
@media (min-width: 560px) {
  .coverlines { display: flex; }
}
@media (min-width: 700px) {
  .quotes { grid-template-columns: 1fr 1fr; }
  #waitlist-form { max-width: 36rem; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .cell-hero { grid-column: 1; grid-row: 1 / span 2; }
  .cell-marine { grid-column: 2; grid-row: 1; }
  .cell-ochre { grid-column: 2; grid-row: 2; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
