/* Leagues — site styles. Warm cream, ink, coral accent;
   Bricolage Grotesque (display) + Hanken Grotesk (text). */

:root {
  --bg: #f8f5ee;
  --bg-soft: #fcfbf8;
  --card: #ffffff;
  --chip: #fdeae3;
  --ink: #1c1813;
  --muted: #6f675b;
  --faint: #a59c8c;
  --accent: #ec4327;
  --accent-2: #f59c4f;
  --accent-soft: rgba(236, 67, 39, 0.12);
  --border: #ece4d6;
  --border-soft: #f0eadf;
  --radius: 24px;
  --maxw: 1040px;
  --shadow: 0 24px 60px -28px rgba(40, 24, 12, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

h1, h2, h3, .display {
  font-family: "Bricolage Grotesque", "Hanken Grotesk", sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.08;
  font-weight: 800;
  margin: 0;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(248, 245, 238, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; letter-spacing: 0.05em; font-size: 19px; color: var(--ink) !important; }
.brand .dot { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-right a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-right a:hover { color: var(--ink); text-decoration: none; }
.nav-cta {
  background: var(--ink); color: #fff !important; padding: 9px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 700;
}
.nav-cta:hover { text-decoration: none; opacity: 0.92; }

/* ---------- Buttons ---------- */
.cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff !important; font-weight: 700;
  padding: 16px 30px; border-radius: 999px; font-size: 16px;
  box-shadow: 0 16px 34px -10px rgba(236, 67, 39, 0.55);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cta:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 20px 40px -10px rgba(236, 67, 39, 0.6); }
.cta.ghost { background: transparent; color: var(--muted) !important; box-shadow: none; padding-left: 10px; }
.cta.ghost:hover { color: var(--ink) !important; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; text-align: center; padding: 92px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto 0; height: 520px; z-index: -1;
  background:
    radial-gradient(closest-side, rgba(236, 67, 39, 0.16), transparent 70%) 50% 18% / 720px 480px no-repeat,
    radial-gradient(closest-side, rgba(245, 156, 79, 0.14), transparent 70%) 78% 4% / 460px 380px no-repeat;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); padding: 7px 15px; border-radius: 999px;
}
.hero h1 { font-size: clamp(46px, 9vw, 84px); margin: 24px 0 14px; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); max-width: 560px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
.note { color: var(--faint); font-size: 13.5px; margin-top: 18px; }

/* ---------- Verdict card mockup ---------- */
.showcase { padding: 18px 0 8px; perspective: 1400px; }
.verdict-card {
  position: relative; max-width: 420px; margin: 0 auto;
  background: var(--card); border: 1.5px solid var(--border-soft);
  border-radius: 30px; padding: 26px 24px 22px; box-shadow: var(--shadow);
  transform: rotateX(6deg);
}
.verdict-top { display: flex; align-items: center; justify-content: center; gap: 18px; }
.face {
  width: 96px; height: 124px; border-radius: 18px; position: relative; overflow: hidden;
  border: 3px solid #fff; box-shadow: 0 14px 30px -14px rgba(40,24,12,.5);
}
.face.you { background: linear-gradient(150deg, #ffd9a8, #f2a65a); transform: rotate(-5deg); }
.face.them { background: linear-gradient(150deg, #f7b8a6, #ec6a4f); transform: rotate(5deg); }
.face .silh {
  position: absolute; left: 50%; bottom: -8px; width: 64px; height: 64px; transform: translateX(-50%);
  background: rgba(28,24,19,.16); border-radius: 50% 50% 44% 44%;
}
.face .head { position:absolute; left:50%; bottom:34px; width:40px; height:40px; transform:translateX(-50%); background: rgba(28,24,19,.16); border-radius:50%; }
.score { text-align: center; }
.score .num { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 34px; line-height: 1; }
.score .num.win { color: var(--accent); }
.score .lbl { color: var(--faint); font-size: 12px; font-weight: 600; margin-top: 4px; }
.vs {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800;
  font-size: 14px; border: 3px solid #fff; box-shadow: 0 8px 18px -6px rgba(236,67,39,.6);
}
.verdict-badge {
  display: inline-block; margin: 18px auto 0; background: var(--accent); color: #fff;
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; letter-spacing: 0.08em;
  font-size: 13px; padding: 8px 18px; border-radius: 999px;
}
.verdict-card .roast { color: var(--muted); font-size: 14px; margin-top: 12px; font-style: italic; }
.verdict-card.tag::after {
  content: "SETTLER"; position: absolute; top: -12px; right: 22px;
  background: var(--ink); color: #fff; font-family: "Bricolage Grotesque", sans-serif;
  font-size: 11px; font-weight: 800; letter-spacing: .1em; padding: 5px 12px; border-radius: 999px;
  transform: rotate(6deg);
}

/* ---------- Section heading ---------- */
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 36px; }
.section-head .kicker { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(30px, 5vw, 44px); margin: 10px 0 8px; }
.section-head p { color: var(--muted); margin: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .18s ease, box-shadow .18s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(40,24,12,.4); }
.step .n {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--chip); color: var(--accent); font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800; font-size: 18px; margin-bottom: 14px;
}
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Pillars strip ---------- */
.pillars { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.pillar { background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: 999px; padding: 9px 18px; font-weight: 600; color: var(--muted); font-size: 14px; }
.pillar b { color: var(--ink); }

/* ---------- Closing CTA ---------- */
.closer {
  background: linear-gradient(160deg, #1c1813, #2b231b); color: #fff;
  border-radius: 32px; padding: 56px 32px; text-align: center; margin: 24px 0 8px;
  box-shadow: var(--shadow);
}
.closer h2 { font-size: clamp(30px, 5vw, 46px); }
.closer h2 .accent { color: var(--accent-2); }
.closer p { color: rgba(255,255,255,.7); max-width: 460px; margin: 12px auto 26px; }
.closer .note { color: rgba(255,255,255,.45); }

/* ---------- Callout (legal + landing) ---------- */
.callout {
  background: var(--chip); border: 1.5px solid #f6d6cb; border-radius: 18px;
  padding: 18px 20px; color: #6b2417; font-size: 15px;
}

/* ---------- Legal pages ---------- */
.legal { padding: 52px 0 64px; }
.legal h1 { font-size: clamp(34px, 6vw, 50px); margin-bottom: 6px; }
.legal .updated { color: var(--faint); font-size: 14px; margin-bottom: 10px; }
.legal .intro { color: var(--muted); margin-bottom: 12px; font-size: 18px; }
.legal h2 { font-size: 23px; margin: 40px 0 10px; }
.legal h3 { font-size: 17px; margin: 22px 0 6px; }
.legal p, .legal li { color: #34302a; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal .callout { margin: 22px 0; }
.toc { background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: 18px; padding: 18px 22px; margin: 20px 0 30px; }
.toc strong { font-family: "Bricolage Grotesque", sans-serif; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.toc ol { margin: 10px 0 0; padding-left: 20px; columns: 2; }
.toc a { color: var(--muted); font-weight: 600; font-size: 15px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 34px 0 56px; color: var(--faint); font-size: 14px; margin-top: 30px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between; }
.footer .brand { font-size: 16px; }
.footer a { color: var(--muted); font-weight: 600; }
.footer .links a { margin-left: 18px; }

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .nav-right a:not(.nav-cta) { display: none; }
  .verdict-card { transform: none; }
}
