:root {
  --cream: #fcfaf5;
  --paper: #fffefb;
  --ink: #262219;
  --ink-soft: #6f6858;
  --green: #0e9158;
  --green-dark: #096b42;
  --green-soft: #dcefe4;
  --coral: #e9684a;
  --amber: #f0b944;
  --line: #ded8cb;
  --night: #151812;
  --display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { transform: translateY(0); }
a:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  width: min(1280px, calc(100% - 48px));
  height: 92px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  text-decoration: none;
}
.brand > span:last-child > span, .screen-wordmark span { color: var(--green); }
.brand-ball {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
  font-size: 17px;
}
.header-links { display: flex; align-items: center; gap: 28px; }
.text-link { font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--green-dark); }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 20px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.button-dark { background: var(--ink); color: white; }
.button-primary { background: var(--green-dark); color: white; box-shadow: 0 12px 32px rgb(14 145 88 / 22%); }
.button-primary:hover { background: var(--green-dark); }
.button-quiet { border-color: var(--line); background: rgb(255 255 255 / 55%); }
.button-white { background: white; color: var(--ink); }
.button-outline { border-color: rgb(255 255 255 / 45%); color: white; }
.button small { display: block; margin-bottom: 2px; font-size: 9px; font-weight: 600; text-align: left; text-transform: uppercase; }

.hero {
  position: relative;
  display: grid;
  min-height: 850px;
  grid-template-columns: minmax(0, 1fr) minmax(450px, .82fr);
  align-items: center;
  gap: 60px;
  padding: 130px max(24px, calc((100vw - 1280px) / 2)) 90px;
  background:
    radial-gradient(circle at 8% 18%, rgb(240 185 68 / 20%) 0 6%, transparent 6.2%),
    linear-gradient(104deg, var(--cream) 0 58%, #e8f1e7 58% 100%);
}
.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 80px;
  background: repeating-linear-gradient(90deg, transparent 0 38px, rgb(14 145 88 / 12%) 38px 40px);
}
.hero-copy { position: relative; z-index: 2; max-width: 720px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow span { width: 30px; height: 3px; border-radius: 10px; background: currentColor; }
.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 6vw, 94px);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .91;
}
.hero h1 em { color: var(--green); font-style: normal; }
.hero-intro { max-width: 620px; margin: 30px 0 0; color: var(--ink-soft); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin: 14px 0 0; color: var(--ink-soft); font-size: 13px; font-weight: 600; }

.hero-visual { position: relative; z-index: 2; min-height: 640px; }
.phone-shell {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 336px;
  padding: 10px;
  transform: translate(-50%, -50%) rotate(2.5deg);
  border: 2px solid #3b3f36;
  border-radius: 46px;
  background: var(--night);
  box-shadow: 0 42px 75px rgb(31 40 30 / 28%);
}
.phone-top { position: absolute; z-index: 2; top: 18px; left: 50%; width: 100px; height: 24px; transform: translateX(-50%); border-radius: 20px; background: var(--night); }
.phone-screen { min-height: 616px; overflow: hidden; border-radius: 36px; background: var(--cream); padding: 32px 16px 14px; }
.screen-head { display: flex; align-items: center; justify-content: space-between; }
.screen-wordmark { font-family: var(--display); font-size: 19px; font-weight: 800; letter-spacing: -.06em; }
.screen-profile { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--green-dark); color: white; font-size: 11px; font-weight: 800; }
.screen-kicker { margin: 26px 0 10px; color: var(--ink-soft); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.match-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 8px; border-radius: 22px; background: white; padding: 20px 10px; box-shadow: 0 8px 26px rgb(46 42 32 / 7%); }
.club { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.club strong { overflow: hidden; width: 100%; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.crest { display: grid; width: 52px; height: 52px; place-items: center; border: 4px solid white; border-radius: 50%; color: white; font-family: var(--display); font-size: 21px; font-weight: 800; box-shadow: 0 0 0 1px var(--line); }
.crest-blue { background: #193b81; }
.crest-red { background: #a8273b; }
.kickoff { padding-top: 6px; text-align: center; }
.kickoff span { display: block; font-family: var(--display); font-size: 22px; font-weight: 800; }
.kickoff small { color: var(--ink-soft); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.prediction-card { margin-top: 12px; border-radius: 20px; background: var(--green-soft); padding: 14px; }
.prediction-card p { margin: 0 0 10px; color: var(--green-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.prediction-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.prediction-options span { display: grid; height: 38px; place-items: center; border-radius: 10px; background: white; font-size: 13px; font-weight: 800; }
.prediction-options .active { background: var(--green-dark); color: white; }
.stake { display: flex; align-items: center; justify-content: space-between; margin-top: 11px; font-size: 11px; }
.rating-preview { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; border-radius: 20px; background: var(--night); padding: 16px; color: white; }
.rating-preview small { display: block; margin-bottom: 3px; color: rgb(255 255 255 / 55%); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.rating-preview strong { font-family: var(--display); font-size: 16px; }
.rating-ball { display: flex; width: 58px; height: 58px; align-items: baseline; justify-content: center; border-radius: 50%; background: var(--amber); color: var(--ink); padding-top: 9px; }
.rating-ball span { font-family: var(--display); font-size: 28px; font-weight: 800; line-height: 1; }
.rating-ball small { color: var(--ink); font-size: 9px; }
.screen-nav { display: flex; justify-content: space-between; margin-top: 20px; color: var(--ink-soft); font-size: 8px; font-weight: 700; }
.screen-nav .selected { color: var(--green); }
.visual-label { position: absolute; z-index: 5; right: 9%; bottom: 2%; padding: 5px 9px; border: 1px solid var(--line); border-radius: 20px; background: var(--cream); color: var(--ink-soft); font-size: 10px; font-weight: 700; }
.floating-ticket { position: absolute; z-index: 4; width: 205px; border: 1px solid rgb(38 34 25 / 10%); border-radius: 15px; background: white; padding: 12px 14px; box-shadow: 0 14px 32px rgb(31 40 30 / 16%); transform: rotate(-4deg); }
.floating-ticket span { display: block; margin-bottom: 3px; color: var(--green-dark); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.floating-ticket strong { font-family: var(--display); font-size: 15px; }
.ticket-top { top: 16%; left: -2%; }
.ticket-bottom { right: -3%; bottom: 18%; transform: rotate(5deg); }
.orbit { position: absolute; border: 1px solid rgb(14 145 88 / 20%); border-radius: 50%; }
.orbit-one { inset: 3% 1%; }
.orbit-two { inset: 15% 13%; border-color: rgb(233 104 74 / 28%); }

.manifesto { display: flex; min-height: 120px; align-items: center; justify-content: center; gap: 24px; overflow: hidden; background: var(--green); color: white; padding: 22px 24px; }
.manifesto p { margin: 0; font-family: var(--display); font-size: clamp(22px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.manifesto span { color: var(--amber); font-size: 13px; }

.how { max-width: 1280px; margin: 0 auto; padding: 130px 24px 140px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 70px; }
.section-heading .eyebrow { align-self: flex-start; }
.section-heading h2, .journal h2, .community h2, .final-cta h2 { margin: 0; font-family: var(--display); font-size: clamp(44px, 5vw, 72px); font-weight: 800; letter-spacing: -.065em; line-height: .98; }
.steps { margin: 0; padding: 0; list-style: none; }
.step { display: grid; min-height: 230px; grid-template-columns: minmax(0, 1fr) 260px; align-items: center; gap: 54px; border-top: 1px solid var(--line); padding: 34px 0; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-label { margin: 0 0 2px; color: var(--green-dark); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.step h3 { margin: 0; font-family: var(--display); font-size: 34px; letter-spacing: -.04em; }
.step-content > p:last-child { max-width: 630px; margin: 8px 0 0; color: var(--ink-soft); font-size: 16px; }
.step-art { justify-self: end; }
.prediction-strip { display: grid; width: 240px; grid-template-columns: repeat(3, 1fr); gap: 7px; border-radius: 18px; background: var(--green-soft); padding: 10px; }
.prediction-strip span { display: grid; height: 62px; place-items: center; border-radius: 12px; background: white; font-family: var(--display); font-size: 23px; font-weight: 800; }
.prediction-strip .chosen { background: var(--green-dark); color: white; }
.live-line { display: flex; width: 260px; align-items: center; justify-content: space-between; border-radius: 18px; background: var(--ink); color: white; padding: 18px; }
.live-line span { font-size: 12px; font-weight: 800; }
.live-line strong { font-family: var(--display); font-size: 30px; }
.live-line i { border-radius: 12px; background: var(--coral); padding: 3px 8px; font-size: 10px; font-style: normal; font-weight: 800; }
.score-stamp { display: flex; width: 132px; height: 132px; align-items: baseline; justify-content: center; border-radius: 50%; background: var(--amber); padding-top: 30px; transform: rotate(-7deg); }
.score-stamp strong { font-family: var(--display); font-size: 54px; letter-spacing: -.08em; line-height: 1; }
.score-stamp span { font-size: 11px; font-weight: 800; }

.journal { display: grid; grid-template-columns: minmax(0, .8fr) minmax(520px, 1fr); align-items: center; gap: 90px; overflow: hidden; background: var(--night); color: white; padding: 130px max(24px, calc((100vw - 1280px) / 2)); }
.eyebrow-light { color: #8be1b1; }
.journal-copy > p:not(.eyebrow) { max-width: 590px; margin: 26px 0 0; color: rgb(255 255 255 / 68%); font-size: 17px; }
.journal-list { display: grid; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.journal-list li { font-size: 15px; font-weight: 700; }
.journal-list span { display: inline-grid; width: 25px; height: 25px; margin-right: 8px; place-items: center; border-radius: 50%; background: var(--green); }
.journal-stack { position: relative; min-height: 530px; }
.journal-stack::before { content: ""; position: absolute; inset: 7% 9%; border: 1px solid rgb(255 255 255 / 13%); border-radius: 50%; }
.journal-card { position: absolute; width: min(480px, 86%); border-radius: 20px; background: var(--paper); color: var(--ink); padding: 22px; box-shadow: 0 24px 55px rgb(0 0 0 / 28%); }
.journal-card div { display: flex; flex-direction: column; }
.journal-card small { color: var(--ink-soft); font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.journal-card strong { font-family: var(--display); font-size: 21px; }
.journal-card > span { position: absolute; top: 18px; right: 20px; display: grid; width: 55px; height: 55px; place-items: center; border-radius: 50%; background: var(--green); color: white; font-family: var(--display); font-size: 22px; font-weight: 800; }
.journal-card p { margin: 24px 0 0; color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.card-one { z-index: 3; top: 15%; left: 4%; transform: rotate(-5deg); }
.card-two { z-index: 2; top: 37%; left: 13%; transform: rotate(3deg); }
.card-two > span { background: var(--coral); }
.card-three { z-index: 1; top: 58%; left: 4%; transform: rotate(-1deg); }
.card-three > span { background: var(--amber); color: var(--ink); }
.illustration-note { position: absolute; right: 7%; bottom: 0; color: rgb(255 255 255 / 40%); font-size: 10px; font-weight: 700; }

.community { max-width: 1280px; margin: 0 auto; padding: 135px 24px; }
.community-intro { display: grid; grid-template-columns: .7fr 1.2fr; gap: 50px; }
.community-intro .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.community-intro > p:last-child { align-self: end; margin: 0; color: var(--ink-soft); font-size: 17px; }
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 70px; }
.community-grid article { min-height: 260px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); padding: 28px; }
.community-grid article:nth-child(2) { background: var(--green-soft); }
.community-grid article:nth-child(3) { background: #f8e9df; }
.feature-icon { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-family: var(--display); font-size: 25px; }
.community-grid h3 { margin: 45px 0 8px; font-family: var(--display); font-size: 25px; letter-spacing: -.04em; }
.community-grid p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.final-cta { display: flex; min-height: 430px; align-items: end; justify-content: space-between; gap: 60px; background: var(--green-dark); color: white; padding: 90px max(24px, calc((100vw - 1280px) / 2)); }
.final-cta h2 { max-width: 780px; }
.cta-actions { display: flex; min-width: 230px; flex-direction: column; gap: 12px; }

.site-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; background: var(--cream); padding: 38px max(24px, calc((100vw - 1280px) / 2)); }
.site-footer > p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer nav a { font-size: 13px; font-weight: 700; }
.site-footer .copyright { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; text-align: right; }

@media (max-width: 960px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 140px; }
  .hero-copy { max-width: 800px; }
  .hero-visual { min-height: 650px; }
  .section-heading { display: block; }
  .section-heading h2 { margin-top: 25px; }
  .step { grid-template-columns: minmax(0, 1fr) 240px; }
  .step-art { justify-self: end; }
  .journal { grid-template-columns: 1fr; }
  .journal-stack { max-width: 680px; width: 100%; margin: 0 auto; }
  .community-intro { grid-template-columns: 1fr; }
  .community-intro > p:last-child { max-width: 700px; }
  .final-cta { align-items: start; flex-direction: column; }
  .cta-actions { width: min(380px, 100%); }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p:not(.copyright) { display: none; }
  .site-footer nav { grid-column: 1 / -1; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .site-header { width: calc(100% - 32px); height: 74px; }
  .brand { font-size: 21px; }
  .brand-ball { width: 27px; height: 27px; }
  .hide-mobile { display: none; }
  .hero { gap: 20px; padding: 120px 20px 64px; background: linear-gradient(165deg, var(--cream) 0 62%, #e8f1e7 62% 100%); }
  .hero h1 { font-size: clamp(48px, 15vw, 66px); }
  .hero-intro { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 590px; margin: 0 -12px; }
  .phone-shell { width: 294px; }
  .phone-screen { min-height: 540px; }
  .ticket-top { top: 12%; left: 0; }
  .ticket-bottom { right: 0; bottom: 17%; }
  .floating-ticket { width: 150px; padding: 10px; }
  .floating-ticket strong { font-size: 12px; }
  .visual-label { right: 4%; }
  .manifesto { display: grid; min-height: 190px; justify-content: stretch; gap: 4px; overflow: visible; text-align: center; }
  .manifesto p { font-size: 20px; white-space: normal; }
  .manifesto span { display: none; }
  .how { padding: 90px 20px; }
  .section-heading { margin-bottom: 50px; }
  .section-heading h2, .journal h2, .community h2, .final-cta h2 { font-size: 43px; }
  .step { min-height: 0; grid-template-columns: 1fr; gap: 18px; padding: 30px 0; }
  .step-art { grid-column: auto; }
  .prediction-strip, .live-line { width: 100%; }
  .score-stamp { width: 105px; height: 105px; padding-top: 24px; }
  .score-stamp strong { font-size: 44px; }
  .journal { gap: 50px; padding: 90px 20px; }
  .journal-copy > p:not(.eyebrow) { font-size: 16px; }
  .journal-stack { min-height: 500px; }
  .journal-card { width: 93%; padding: 18px; }
  .journal-card strong { max-width: 210px; font-size: 17px; }
  .journal-card p { font-size: 13px; }
  .card-one { left: 0; }
  .card-two { left: 5%; }
  .card-three { left: 0; }
  .community { padding: 90px 20px; }
  .community-grid { grid-template-columns: 1fr; margin-top: 50px; }
  .community-grid article { min-height: 230px; }
  .final-cta { min-height: 560px; padding: 80px 20px; }
  .site-footer { grid-template-columns: 1fr; padding: 34px 20px; }
  .site-footer nav { grid-column: 1; flex-direction: column; gap: 10px; }
  .site-footer .copyright { grid-column: 1; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
