/* ============================================================
   EVENTASTIC INSIDERS — Landing Page
   Type: Anton (headlines) + Figtree (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

:root {
  /* Palette */
  --navy-ink: #0E2A38;     /* primary text on light / dark band bg */
  --navy-deep: #0A2029;    /* footer + deepest dark */
  --navy-muted: #3A5562;   /* secondary body text on light */
  --lime: #C9F24E;         /* accent: highlights, buttons, numbers */
  --lime-deep: #B6E02F;    /* hover/active */
  --white: #FFFFFF;
  --off-white: #F4F6F3;    /* alternating light band */
  --green: #2FB457;        /* checkmarks */
  --red: #C2453B;          /* x marks */

  /* derived */
  --navy-line: rgba(255,255,255,0.12);
  --ink-line: rgba(14,42,56,0.12);
  --navy-soft: rgba(255,255,255,0.72);

  /* Type */
  --display: 'Anton', 'Arial Narrow', sans-serif;
  --body: 'Figtree', system-ui, sans-serif;

  /* Headline scale multiplier (tweakable) */
  --h-scale: 1;

  /* Accent (tweakable — defaults to lime) */
  --accent: var(--lime);
  --accent-deep: var(--lime-deep);

  /* Layout */
  --maxw: 1180px;
  --pad-x: clamp(20px, 5vw, 72px);
  --band-y: clamp(64px, 9vw, 132px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--navy-ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: clip;
  max-width: 100%;
}

img { max-width: 100%; display: block; }

/* ---------- Bands ---------- */
.band { padding: var(--band-y) 0; position: relative; }
.band--light { background: var(--white); color: var(--navy-ink); }
.band--off   { background: var(--off-white); color: var(--navy-ink); }
.band--dark  { background: var(--navy-ink); color: var(--white); }
.band--deep  { background: var(--navy-deep); color: var(--white); }
.wrap { max-width: 1100px; margin: 0 auto; width: 100%; padding: 0 48px; }
.wrap--wide { max-width: 1100px; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(12px, 1.1vw, 14px);
  color: var(--navy-muted);
  margin: 0 0 18px;
}
.band--dark .eyebrow, .band--deep .eyebrow { color: var(--accent); }

h1, h2, h3 { margin: 0; }

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.h-xl  { font-size: calc(clamp(44px, 8.2vw, 104px) * var(--h-scale)); }
.h-lg  { font-size: calc(clamp(2rem, 5vw, 4rem) * var(--h-scale)); }
.h-md  { font-size: calc(clamp(30px, 4.4vw, 54px) * var(--h-scale)); }
.h-sm  { font-size: calc(clamp(24px, 3vw, 36px) * var(--h-scale)); }

.lead {
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--navy-muted);
  max-width: 56ch;
}
.band--dark .lead, .band--deep .lead { color: var(--navy-soft); }

.body-txt { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; color: var(--navy-muted); }
.band--dark .body-txt, .band--deep .body-txt { color: var(--navy-soft); }

/* Body text always wraps and never exceeds its container. */
p, .body-txt, .lead, .offer__lead, .offer__close, .getin__intro, .math__q, .bridge {
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.hl { color: var(--accent); }
mark.hl { background: transparent; }

/* Accent words in Figtree BODY text on light bands → solid lime highlighter, navy text. */
.band--light .hl, .band--off .hl {
  display: inline;
  background: var(--accent);
  color: var(--navy-ink);
  padding: 2px 8px;
  border-radius: 4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Anton headlines carry no highlight box by default. */
.display .hl, .swipe {
  background: none;
  color: inherit;
  padding: 0;
  border-radius: 0;
}

/* On DARK navy bands, accent words inside Anton headlines use lime TEXT
   (readable on navy) — e.g. the hero's "can't stop talking about.". */
.band--dark .display .hl, .band--deep .display .hl,
.band--dark .swipe, .band--deep .swipe {
  color: var(--accent);
}

/* On LIGHT/off-white bands, accent words inside Anton headlines get a solid lime
   highlighter. A gradient "band" sized/positioned to Anton's cap metrics lets the lime
   sit exactly over the word's caps (down to the baseline) without bleeding onto the line
   above, while staying display:inline so the whole word is covered. */
.band--light .display .hl, .band--off .display .hl,
.band--light .swipe, .band--off .swipe {
  display: inline;
  color: var(--navy-ink);
  padding: 0 8px;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 0.3em;
  background-size: 100% 0.9em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Light-band headlines get a touch more line-height so the highlighter band on a
   wrapped accent word has clear space above it (Anton's default 0.92 packs lines too
   tight for a highlight to sit between them). */
.band--light .h-lg, .band--off .h-lg,
.band--light .h-md, .band--off .h-md {
  line-height: 1.0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--body); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em;
  font-size: clamp(15px, 1.2vw, 17px);
  padding: 18px 34px; border-radius: 4px;
  border: none; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  line-height: 1;
}
.btn--primary { background: var(--accent); color: var(--navy-ink); box-shadow: 0 6px 0 var(--accent-deep); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(2px); box-shadow: 0 4px 0 var(--accent-deep); }
.btn--primary:active { transform: translateY(6px); box-shadow: 0 0 0 var(--accent-deep); }
.btn--ghost { background: transparent; color: var(--white); border: 2px solid var(--navy-line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn .arrow { font-size: 1.15em; transform: translateY(-1px); }

/* ---------- Placeholder media ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: 8px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.045) 0 14px, rgba(255,255,255,0) 14px 28px),
    var(--navy-deep);
  border: 1px solid var(--navy-line);
  display: flex; align-items: center; justify-content: center;
  min-height: 220px; color: var(--navy-soft);
}
.ph--light {
  background:
    repeating-linear-gradient(135deg, rgba(14,42,56,0.05) 0 14px, rgba(14,42,56,0) 14px 28px),
    var(--off-white);
  border: 1px solid var(--ink-line); color: var(--navy-muted);
}
.ph__tag {
  font-family: 'Figtree', monospace; font-feature-settings: "tnum";
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  padding: 8px 14px; border: 1px dashed currentColor; border-radius: 999px;
  text-transform: uppercase; opacity: .8;
  font-variant-numeric: tabular-nums;
}
.ph__play {
  position: absolute; width: 78px; height: 78px; border-radius: 50%;
  background: var(--accent); display: grid; place-items: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.ph__play::after { content: ""; border-left: 24px solid var(--navy-ink); border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }

/* ---------- Utility ---------- */
.divider-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; text-transform: uppercase; letter-spacing: .14em;
  font-size: 13px;
}
.kicker-line { height: 4px; width: 56px; background: var(--accent); border-radius: 2px; }

.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
}

/* Hero headline: scale down on mobile so it fits without overflow.
   Uses !important to override the inline desktop size (70px); desktop is untouched. */
@media (max-width: 768px) {
  .hero__title { font-size: clamp(36px, 9vw, 60px) !important; }
}
@media (max-width: 420px) {
  .hero__title { font-size: clamp(30px, 9vw, 40px) !important; }
}
