/* ═══════════════════════════════════════════════════════════════════════════
   COMPLIANCE — landing design "Clay / Split"  (scoped to #cr-start)
   ---------------------------------------------------------------------------
   A marketing-grade front door for the obligations check. Everything is scoped
   under #cr-start (and the .cmp-band full-bleed bands inside it), so it vanishes
   the moment the questionnaire starts and never touches the questionnaire,
   review, results or the Event-readiness mode.

   🔴 CSP-safe: no inline <style>, no style="" attributes — all of it is here, in
      classes. 🎨 Colours come from tokens.css, so it follows the Clay light/dark
      theme; the one exception is the intentionally-dark "ink" band, which is a
      fixed deep-aubergine slab in both themes.
   ═══════════════════════════════════════════════════════════════════════════ */

/* The bands break the full viewport width; hide the horizontal overflow that
   the 100vw breakout would otherwise create. Only affects this page. */
body { overflow-x: hidden; }

#cr-start { max-width: var(--page-max); margin: 0 auto; }
#cr-start h1, #cr-start h2, #cr-start h3, #cr-start h5 { letter-spacing: -.03em; }

/* ── HERO — split: headline on the left, a live sample result on the right ─── */
#cr-start .cmp-hero {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
}
#cr-start .cmp-tagpill {
  display: inline-flex; align-items: center; gap: 8px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 999px; padding: 7px 16px;
  font-size: 13px; font-weight: 700; color: var(--ink-700); margin-bottom: var(--s5);
}
#cr-start .cmp-tagpill b { color: var(--emerald-600); }
#cr-start .cmp-hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.1rem); line-height: 1.02; font-weight: 800; max-width: 13ch;
}
#cr-start .cmp-hero h1 mark {
  background: var(--sun); color: #2A2140; padding: 0 10px; border-radius: 10px;
}
#cr-start .cmp-sub {
  margin-top: var(--s5); font-size: 1.18rem; color: var(--ink-700); max-width: 46ch; line-height: 1.6;
}
#cr-start .cmp-cta-row { margin-top: var(--s6); display: flex; gap: var(--s3); align-items: center; flex-wrap: wrap; }
#cr-start .cmp-micro { margin-top: var(--s4); font-size: 13.5px; color: var(--ink-500); font-weight: 500; }

/* Buttons — chunky, with the hard pressable shadow. */
#cr-start .cmp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--emerald-600); color: #fff; border: 0; cursor: pointer;
  font-family: var(--font-ui); font-size: 1rem; font-weight: 700;
  padding: 15px 28px; border-radius: 16px; text-decoration: none;
  box-shadow: 0 4px 0 var(--clay-shadow); transition: transform .12s, box-shadow .12s, opacity .15s;
}
#cr-start .cmp-btn:hover { transform: translateY(1px); box-shadow: 0 3px 0 var(--clay-shadow); }
#cr-start .cmp-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--clay-shadow); }
#cr-start .cmp-btn:disabled { opacity: .6; cursor: progress; box-shadow: 0 4px 0 var(--clay-shadow); }
#cr-start .cmp-btn-sun { background: var(--sun); color: #2A2140; box-shadow: 0 4px 0 var(--sun-shadow); }
#cr-start .cmp-btn-sun:hover { box-shadow: 0 3px 0 var(--sun-shadow); }
#cr-start .cmp-btn-sun:active { box-shadow: 0 1px 0 var(--sun-shadow); }
#cr-start .cmp-btn-sun:disabled { box-shadow: 0 4px 0 var(--sun-shadow); }
#cr-start .cmp-btn-ghost {
  display: inline-flex; align-items: center; background: transparent; color: var(--ink-700);
  border: 1px solid var(--border-str); font-weight: 600; padding: 14px 24px; border-radius: 16px;
  text-decoration: none; transition: color .15s, border-color .15s;
}
#cr-start .cmp-btn-ghost:hover { color: var(--ink-900); border-color: var(--ink-500); }

/* The sample "result" card beside the headline. */
#cr-start .cmp-prev {
  background: var(--surface-2); border-radius: 24px; padding: 24px;
  box-shadow: 0 24px 54px -26px rgba(42,33,64,.4); border: 1px solid var(--border);
}
#cr-start .cmp-prev-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
#cr-start .cmp-prev-h b { font-size: 15px; font-weight: 800; }
#cr-start .cmp-prev-h span { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; color: var(--ink-400); }
#cr-start .cmp-prev-n { font-size: 12.5px; color: var(--ink-500); margin-bottom: 16px; }
#cr-start .cmp-ob {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px;
  border-radius: 13px; background: var(--surface-1); margin-bottom: 8px;
}
#cr-start .cmp-ob .dt { width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; background: var(--ink-400); }
#cr-start .cmp-ob.g .dt { background: var(--accent2); }
#cr-start .cmp-ob.a .dt { background: var(--sun); }
#cr-start .cmp-ob.b .dt { background: var(--emerald-600); }
#cr-start .cmp-ob h5 { font-size: 14px; font-weight: 700; }
#cr-start .cmp-ob p { font-size: 12.5px; color: var(--ink-500); margin-top: 2px; }
#cr-start .cmp-ob .tg { margin-left: auto; font-size: 10.5px; font-weight: 800; color: var(--ink-400); letter-spacing: .05em; white-space: nowrap; padding-top: 2px; }
#cr-start .cmp-prev-f { margin-top: 14px; font-size: 12px; color: var(--ink-400); text-align: center; }

/* ── FULL-BLEED BANDS ─────────────────────────────────────────────────────── */
#cr-start .cmp-band { width: 100vw; margin-left: calc(50% - 50vw); padding: clamp(3rem, 6vw, 5rem) 0; }
#cr-start .cmp-band-in { max-width: var(--page-max); margin: 0 auto; padding: 0 40px; }
#cr-start .cmp-soft { background: var(--surface-1); }
/* White card surface — marks a band as its own, called-out section without a label. */
#cr-start .cmp-tint { background: var(--surface-2); }
/* The mid CTA band. It rides the accent role, so it is clay in the light theme and
   blue in the dark one — never the stranded aubergine it used to hardcode. */
#cr-start .cmp-ink { background: var(--emerald-600); color: var(--on-emerald); position: relative; overflow: hidden; }
#cr-start .cmp-ink::after {
  content: ""; position: absolute; left: 50%; top: -220px; width: 620px; height: 620px;
  margin-left: -310px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 66%); pointer-events: none;
}
#cr-start .cmp-ink > * { position: relative; }
#cr-start .cmp-ink h2 { color: var(--on-emerald); }
#cr-start .cmp-ink .cmp-lede { color: var(--on-emerald); opacity: .85; }
/* Micro-copy and its link sit on the accent band — carry the band's text colour,
   not the muted ink/accent they default to (which is near-invisible here). */
#cr-start .cmp-ink .cmp-micro { color: var(--on-emerald); opacity: .9; }
#cr-start .cmp-ink .cmp-micro a { color: var(--on-emerald); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
#cr-start .cmp-ctr { text-align: center; }
#cr-start .cmp-ctr h2, #cr-start .cmp-ctr .cmp-lede { margin-left: auto; margin-right: auto; }
#cr-start .cmp-ctr-row { justify-content: center; margin-top: var(--s6); }

#cr-start h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.06; font-weight: 800; max-width: 20ch; }
#cr-start .cmp-lede { margin-top: var(--s4); font-size: 1.12rem; color: var(--ink-700); max-width: 58ch; line-height: 1.65; }
#cr-start .cmp-lede + .cmp-lede { margin-top: var(--s3); }
#cr-start .cmp-kicker {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800;
  color: var(--emerald-600); margin-bottom: var(--s4);
}

/* ── TAGLINES — hand-drawn underlines, not boxes ──────────────────────────── */
#cr-start .cmp-tags { padding: clamp(3rem, 6vw, 4.5rem) 0; text-align: center; }
#cr-start .cmp-tagline {
  font-size: clamp(1.7rem, 4vw, 3rem); font-weight: 800; line-height: 1.55; max-width: 22ch; margin: 0 auto;
}
#cr-start .cmp-tagline .t1, #cr-start .cmp-tagline .t2, #cr-start .cmp-tagline .t3 {
  position: relative; white-space: nowrap; display: inline-block;
}
#cr-start .cmp-tagline .t1 svg { position: absolute; left: 0; bottom: -10px; width: 100%; height: 14px; overflow: visible; }
#cr-start .cmp-tagline .t2 svg { position: absolute; left: -12px; top: -10px; width: calc(100% + 24px); height: calc(100% + 20px); overflow: visible; }
#cr-start .cmp-tagline .hl { background: var(--sun); color: #2A2140; border-radius: 8px; padding: 0 10px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ── AUTHORITIES — split: argument on the left, grid on the right ─────────── */
#cr-start .cmp-au { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 4vw, 3.4rem); align-items: start; }
#cr-start .cmp-augrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#cr-start .cmp-aui { background: var(--surface-2); border: 1px solid var(--border); border-radius: 18px; padding: 15px 17px; display: flex; gap: 13px; align-items: flex-start; }
#cr-start .cmp-aui .ab { font-size: 12px; font-weight: 800; color: var(--emerald-600); background: var(--emerald-50); border-radius: 8px; padding: 4px 9px; flex-shrink: 0; }
#cr-start .cmp-aui h5 { font-size: 14.5px; font-weight: 700; }
#cr-start .cmp-aui p { font-size: 12.5px; color: var(--ink-500); margin-top: 2px; line-height: 1.45; }
#cr-start .cmp-punch { margin-top: var(--s5); font-size: 1.45rem; font-weight: 800; }
#cr-start .cmp-punch em { background: var(--sun); color: #2A2140; font-style: normal; padding: 1px 9px; border-radius: 9px; }

/* ── EXPLAINER (what "compliance" means) ───────────────────────────────────── */
#cr-start .cmp-what { max-width: 860px; margin-inline: auto; text-align: center; }
#cr-start .cmp-what .cmp-lede { margin-inline: auto; }
#cr-start .cmp-whatgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: var(--s6); text-align: left; }
#cr-start .cmp-wi { background: var(--surface-2); border: 1px solid var(--border); border-radius: 18px; padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; }
#cr-start .cmp-wi .wn { font-family: var(--font-num, inherit); font-size: 15px; font-weight: 800; color: var(--on-emerald); background: var(--emerald-600); width: 28px; height: 28px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
#cr-start .cmp-wi h5 { font-size: 15px; font-weight: 700; }
#cr-start .cmp-wi p { font-size: 13px; color: var(--ink-500); margin-top: 3px; line-height: 1.5; }
#cr-start .cmp-note-plain { margin-top: var(--s5); font-size: 14.5px; color: var(--ink-700); line-height: 1.6; max-width: 640px; margin-inline: auto; }
#cr-start .cmp-note-plain em { font-style: normal; font-weight: 700; color: var(--ink-900); }

/* ── STEPS ────────────────────────────────────────────────────────────────── */
#cr-start .cmp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: var(--s6); }
#cr-start .cmp-step { background: var(--surface-2); border: 1px solid var(--border); border-radius: 20px; padding: 28px 24px; text-align: left; }
#cr-start .cmp-soft .cmp-step { background: var(--surface-2); }
#cr-start .cmp-step .n { display: inline-block; font-size: 12px; font-weight: 800; color: #fff; background: var(--emerald-600); border-radius: 9px; padding: 5px 11px; margin-bottom: 15px; letter-spacing: .03em; }
#cr-start .cmp-step h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 7px; }
#cr-start .cmp-step p { font-size: .95rem; color: var(--ink-700); line-height: 1.6; }

/* ── WHAT YOU GET — illustration + cards ──────────────────────────────────── */
#cr-start .cmp-getrow { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 4vw, 3.2rem); align-items: center; margin-top: var(--s6); }
#cr-start .cmp-art { display: grid; place-items: center; }
#cr-start .cmp-cards-v { display: grid; gap: 12px; }
#cr-start .cmp-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 22px; padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; transition: border-color .15s, transform .15s; }
#cr-start .cmp-card:hover { border-color: var(--border-str); transform: translateY(-1px); }
#cr-start .cmp-card .ic { width: 44px; height: 44px; border-radius: 13px; background: var(--emerald-50); color: var(--emerald-600); display: grid; place-items: center; flex-shrink: 0; }
#cr-start .cmp-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 5px; }
#cr-start .cmp-card p { font-size: .95rem; color: var(--ink-700); line-height: 1.55; }
#cr-start .cmp-card em { color: var(--ink-900); font-style: normal; font-weight: 700; }
#cr-start .cmp-get-cta { margin-top: var(--s6); }

/* ── HONESTY (two panes) ──────────────────────────────────────────────────── */
#cr-start .cmp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: var(--s6); text-align: left; }
#cr-start .cmp-pane { border-radius: 20px; padding: 28px 26px; background: var(--surface-2); border: 1px solid var(--border); }
#cr-start .cmp-pane.no { background: transparent; border: 2px dashed var(--border-str); }
#cr-start .cmp-pane h4 { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--s5); font-weight: 800; }
#cr-start .cmp-pane.yes h4 { color: var(--accent2); }
#cr-start .cmp-pane.no h4 { color: var(--ink-400); }
#cr-start .cmp-pane ul { list-style: none; margin: 0; padding: 0; }
#cr-start .cmp-pane li { display: flex; gap: 12px; padding: 11px 0; font-size: 1rem; line-height: 1.5; border-bottom: 1px solid var(--border); }
#cr-start .cmp-pane li:last-child { border-bottom: 0; }
#cr-start .cmp-pane.no li { color: var(--ink-500); }
#cr-start .cmp-pane li span { flex-shrink: 0; font-weight: 800; }
#cr-start .cmp-pane.yes li span { color: var(--accent2); }
#cr-start .cmp-pane.no li span { color: var(--ink-400); }
#cr-start .cmp-pull { margin-top: var(--s6); font-size: 1.35rem; font-weight: 700; max-width: 50ch; margin-left: auto; margin-right: auto; text-align: center; }

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
#cr-start .cmp-foot { border-top: 1px solid var(--border); padding: var(--s7) 0 var(--s8); margin-top: var(--s2); }
#cr-start .cmp-foot-in { display: flex; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; align-items: baseline; }
#cr-start .cmp-foot-in p { font-size: 12px; color: var(--ink-500); max-width: 62ch; line-height: 1.7; }
#cr-start .cmp-tagline-ft { font-size: 15px; font-weight: 800; color: var(--emerald-600); }

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  #cr-start .cmp-hero, #cr-start .cmp-au, #cr-start .cmp-getrow { grid-template-columns: 1fr; gap: 2rem; }
  #cr-start .cmp-steps, #cr-start .cmp-augrid, #cr-start .cmp-two, #cr-start .cmp-whatgrid { grid-template-columns: 1fr; }
  #cr-start .cmp-band-in { padding: 0 24px; }
}
