:root {
  --ink: #090909;
  --text: #414456;
  --muted: #666978;
  --line: #dedfe5;
  --soft: #f5f5f7;
  --white: #ffffff;
  --red: #d80f2a;
  --blue: #1648e8;
  --gold: #ffd21c;
  --radius: 22px;
  --shadow: 0 18px 42px rgba(20, 22, 30, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: #fff; font-family: "DM Sans", Inter, ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 14px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 20; height: 72px; border-bottom: 1px solid var(--line); background: #fff; }
.nav { height: 72px; display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 18px; letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand strong { font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 27px; margin-left: auto; }
.nav-links > a { color: #5f6270; font-size: 14px; font-weight: 500; }
.nav-links > a:hover, .nav-links > a.on { color: #000; font-weight: 600; }
.nav-stand { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; margin-left: 2px; padding: 0 20px; color: #fff; border: 0; border-radius: 999px; background: #1d1d1d; box-shadow: 0 7px 16px rgba(0,0,0,.2); cursor: pointer; font-weight: 700; }
.nav-stand-icon, .btn-icon { width: 31px; height: 31px; display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; }
.menu-button { display: none; margin-left: auto; padding: 9px; border: 0; background: transparent; }
.menu-button span:not(.sr-only) { display: block; width: 23px; height: 2px; margin: 4px 0; background: #111; }

.hero { position: relative; overflow: hidden; padding: 70px 0 76px; background: linear-gradient(180deg, #f5f5f7, #fff 78%); }
.hero::before { content: ""; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(10,10,10,.07), transparent 65%); }
.hero::after { content: ""; position: absolute; left: -140px; bottom: -200px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(10,10,10,.04), transparent 65%); }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-copy, .hero-side, .entry-card { min-width: 0; }
.hero-side { display: grid; gap: 14px; }
.kickoff-card { padding: 22px; color: #fff; border-radius: var(--radius); background: #0a0a0a; box-shadow: var(--shadow); }
.hero-copy > .kickoff-card { max-width: 680px; margin-top: 16px; }
.kickoff-eyebrow { margin: 0; color: #afc4ff; font-family: "Space Mono", monospace; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.kickoff-countdown { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; margin: 14px 0 10px; font-variant-numeric: tabular-nums; }
.kickoff-unit { display: inline-flex; align-items: baseline; gap: 3px; }
.kickoff-unit b { font-size: clamp(29px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.kickoff-unit small { color: rgba(255,255,255,.68); font-size: 11px; font-weight: 600; }
.kickoff-note { margin: 0; color: rgba(255,255,255,.78); font-size: 12px; line-height: 1.6; }
.kickoff-countdown.is-live { font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.season-pill { width: fit-content; display: flex; align-items: center; gap: 9px; padding: 8px 14px; border: 1px solid #d9dae0; border-radius: 999px; background: rgba(255,255,255,.7); font-size: 12px; }
.season-pill span { color: #4d5467; }
.season-pill strong { font-weight: 700; }
.hero h1 { margin: 17px 0 12px; font-size: clamp(48px, 5vw, 67px); line-height: .98; letter-spacing: -.055em; }
.hero-lead { max-width: 620px; margin: 0; color: #555a6e; font-size: 17px; line-height: 1.72; }
.hero-lead strong { color: #4e5262; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { color: #fff; background: #171717; box-shadow: 0 8px 18px rgba(0,0,0,.22); }
.btn-light { color: #111; border-color: #dfe0e5; background: rgba(255,255,255,.65); }
.btn-white { color: #111; background: #fff; }
.hero-note { margin: 14px 0 0; color: #777a87; font-size: 12px; }
.mono-label { margin: 0; font-family: "Space Mono", monospace; font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }

.entry-card { padding: 21px; border: 1px solid #dedfe5; border-radius: 21px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.entry-card-label { display: flex; align-items: center; gap: 12px; }
.entry-card-label img { width: 30px; height: 30px; object-fit: contain; }
.entry-card-label span { color: #687084; font-family: "Space Mono", monospace; font-size: 9px; letter-spacing: .15em; }
.entry-card h2 { margin: 15px 0 19px; font-size: clamp(26px, 3vw, 36px); line-height: 1.05; letter-spacing: -.045em; }
.card-rule { height: 1px; margin-bottom: 16px; background: #d9dae0; }
.entry-card > .mono-label { margin: 0 10px 4px; color: #62697b; }
.reward-list { margin-top: 5px; }
.reward-row { min-height: 49px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 10px; border-bottom: 1px solid #dcdee4; color: #4f5364; font-size: 12px; }
.reward-row strong { color: #080808; font-size: 13px; text-align: right; }
.reward-main { min-height: 53px; margin-bottom: 2px; border: 0; border-radius: 12px; color: #111; background: #f0f0f2; font-weight: 700; }
.entry-card-button { width: 100%; min-height: 44px; margin-top: 17px; border: 0; border-radius: 11px; background: #f1f1f3; cursor: pointer; font-weight: 700; }

.section { padding: 92px 0; }
.section-copy { max-width: 720px; margin-bottom: 34px; }
.section-kicker { margin: 0 0 14px; color: #5f6880; font-family: "Space Mono", monospace; font-size: 13px; font-weight: 700; letter-spacing: .18em; }
.section h2, .closing-cta h2 { margin: 0; font-size: clamp(40px, 4.2vw, 58px); line-height: 1.05; letter-spacing: -.045em; }
.section-copy > p:last-child { max-width: 690px; margin: 14px 0 0; color: #5b6072; font-size: 16px; line-height: 1.72; }
.stage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stage-card { position: relative; min-height: 470px; overflow: hidden; border-radius: 24px; padding: 31px; color: #fff; }
.stage-red { background: linear-gradient(135deg, #a50022, #df1736); }
.stage-blue { background: linear-gradient(135deg, #1230bd, #1859f4); }
.stage-pattern { position: absolute; inset: -35px -20px auto; color: rgba(255,255,255,.065); font-size: 150px; font-weight: 800; letter-spacing: -.08em; transform: rotate(-8deg); }
.stage-card > img { position: absolute; top: 35px; right: 34px; width: 100px; height: 100px; object-fit: contain; padding: 5px; border-radius: 50%; background: #fff; }
.stage-badge { position: absolute; top: 35px; right: 35px; width: 86px; height: 86px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; font-family: "Space Mono", monospace; font-size: 12px; font-weight: 700; letter-spacing: .12em; background: rgba(255,255,255,.08); }
.stage-card-copy { position: absolute; z-index: 2; left: 31px; right: 31px; bottom: 31px; }
.stage-card-copy .mono-label { color: rgba(255,255,255,.68); }
.stage-card h3 { margin: 10px 0 7px; font-size: 39px; letter-spacing: -.04em; }
.stage-card-copy > p:not(.mono-label) { max-width: 430px; margin: 0; color: rgba(255,255,255,.75); font-size: 14px; }
.stage-card-copy > strong { display: block; margin-top: 23px; font-size: 31px; }
.stage-card button { margin-top: 19px; padding: 0; color: #fff; border: 0; background: transparent; cursor: pointer; font-weight: 700; }
.stage-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.stage-tags span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-size: 10px; }

.stands { background: #f5f5f7; }
.stands-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.stands-copy > p:not(.section-kicker) { max-width: 610px; color: #5c6070; font-size: 16px; line-height: 1.7; }
.check-list { display: grid; gap: 12px; padding: 0; margin: 25px 0 28px; list-style: none; color: #424653; font-size: 14px; }
.check-list li { display: flex; align-items: center; gap: 12px; }
.check-list li::before { content: ""; width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #111; }
.stand-price-card { padding: 39px; border: 1px solid #dcdee4; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.stand-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 50%; color: #fff; background: #161616; font-family: "Space Mono", monospace; font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.stand-price-card > .mono-label { color: #687084; }
.stand-price-card > strong { display: block; margin: 7px 0 11px; font-size: 54px; letter-spacing: -.05em; }
.stand-price-card > strong small { font-size: 14px; letter-spacing: 0; }
.stand-price-card > p:not(.mono-label) { color: #666a79; font-size: 14px; line-height: 1.65; }
.stand-categories { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 23px; }
.stand-categories span { padding: 8px 12px; border-radius: 999px; background: #f1f1f3; font-size: 10px; font-weight: 700; }

.how-it-works { background: #fff; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { padding: 29px; border: 1px solid #e0e1e6; border-radius: 19px; }
.step > span { color: #174be6; font-family: "Space Mono", monospace; font-size: 11px; font-weight: 700; }
.step h3 { margin: 36px 0 8px; font-size: 20px; }
.step p { margin: 0; color: #686b79; font-size: 13px; line-height: 1.6; }

.closing-cta { padding: 68px 0; color: #fff; background: #0b0b0c; }
.closing-inner { display: grid; grid-template-columns: 92px 1fr auto; gap: 34px; align-items: center; }
.closing-inner > img { width: 92px; height: 92px; object-fit: contain; padding: 5px; border-radius: 50%; background: #fff; }
.closing-cta .mono-label { margin-bottom: 9px; color: #8babff; }
.closing-cta h2 { font-size: clamp(33px, 4vw, 50px); }
.site-footer { padding: 38px 0; border-top: 1px solid #e0e1e5; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; }
.footer-links { display: flex; gap: 22px; color: #646775; font-size: 12px; }
.footer-grid > p { justify-self: end; margin: 0; color: #686b78; font-size: 11px; line-height: 1.6; text-align: right; }
.footer-grid > p span { color: #173cae; }

.modal[hidden] { display: none; }
.modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8,9,12,.7); backdrop-filter: blur(6px); }
.modal-panel { position: relative; width: min(690px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 38px; border-radius: 24px; background: #fff; box-shadow: 0 28px 90px rgba(0,0,0,.25); }
/* Close button stays visible while the form scrolls (sticky + float, no layout impact). */
.modal-close { position: sticky; z-index: 3; top: -22px; float: right; display: grid; place-items: center; width: 36px; height: 36px; margin: -22px -22px -36px 0; padding: 0; border: 0; border-radius: 50%; color: #111; background: #f1f2f5; cursor: pointer; transition: background .15s ease; }
.modal-close:hover { background: #e2e4ea; }
.modal-close:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Simple thin grey scrollbar in the form. */
.modal-panel { scrollbar-width: thin; scrollbar-color: #c9cbd3 transparent; }
.modal-heading h2 { margin: 0; font-size: 40px; letter-spacing: -.04em; }
.modal-heading > p:last-child { margin: 9px 0 0; color: #666a79; font-size: 13px; }
.registration-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 26px 0; }
.registration-tabs button { display: grid; gap: 4px; padding: 13px 9px; border: 1px solid #dfe0e5; border-radius: 12px; background: #f6f6f7; cursor: pointer; }
.registration-tabs button[aria-selected="true"] { color: #fff; border-color: #111; background: #111; }
.registration-tabs span { font-size: 11px; font-weight: 700; }
.registration-tabs b { font-size: 9px; }
#registration-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-fields { display: contents; }
.field { display: grid; gap: 7px; }
.field.full-field, .consent, .preview-notice, .submit-button { grid-column: 1 / -1; }
.field span { font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 49px; padding: 0 13px; border: 1px solid #dcdee4; border-radius: 10px; outline: none; background: #fff; }
.field textarea { min-height: 88px; padding-top: 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #111; box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
.consent { display: flex; gap: 10px; align-items: flex-start; color: #636775; font-size: 11px; line-height: 1.5; }
.consent input { margin-top: 3px; accent-color: #111; }
.preview-notice { padding: 10px 12px; border-radius: 9px; color: #725e05; background: #fff5c5; font-size: 10px; }
.submit-button { width: 100%; }
.submit-button:disabled { opacity: .7; cursor: progress; }
.form-error { grid-column: 1 / -1; margin: 0; padding: 10px 12px; border-radius: 9px; color: #8a0d1f; background: #ffe8eb; font-size: 12px; }
.form-error[hidden] { display: none; }
.success-state { padding: 20px 0 8px; text-align: center; }
.success-state[hidden] { display: none; }
.success-mark { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 17px; border-radius: 50%; color: #fff; background: #111; font-family: "Space Mono", monospace; font-size: 15px; font-weight: 700; letter-spacing: .08em; }
.success-state h3 { margin: 0; font-size: 28px; }
.success-state p { max-width: 440px; margin: 9px auto 18px; color: #686b79; font-size: 13px; }
.success-state > strong { display: block; margin-bottom: 18px; color: #1648e8; font-size: 18px; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.visible, .js .hero .reveal { opacity: 1; transform: translateY(0); }

@media (max-width: 940px) {
  .nav-links { gap: 17px; }
  .nav-links > a:nth-child(4), .nav-links > a:nth-child(5) { display: none; }
  .hero-in, .stands-grid { grid-template-columns: 1fr; }
  .hero-side { max-width: 680px; }
  .closing-inner { grid-template-columns: 78px 1fr; }
  .closing-inner > img { width: 78px; height: 78px; }
  .closing-inner > .btn { grid-column: 2; justify-self: start; }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 28px); }
  .site-header, .nav { height: 66px; }
  .brand img { width: 35px; height: 35px; }
  .menu-button { display: block; }
  .nav-links { position: absolute; top: 66px; left: 14px; right: 14px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border: 1px solid #dedfe4; border-radius: 15px; background: #fff; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-links > a:nth-child(4), .nav-links > a:nth-child(5) { display: block; padding: 12px 9px; }
  .nav-stand { margin-top: 8px; justify-content: center; }
  .hero { padding: 46px 0 60px; }
  .hero-in { gap: 30px; }
  .hero h1 { font-size: 47px; }
  .hero-lead { font-size: 15px; }
  .hero-cta .btn { width: 100%; min-width: 0; padding-inline: 16px; }
  .entry-card { padding: 17px; }
  .section { padding: 68px 0; }
  .section h2 { font-size: 39px; }
  .stage-grid, .steps-grid { grid-template-columns: 1fr; }
  .stage-card { min-height: 440px; }
  .closing-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .closing-inner > .btn { grid-column: auto; justify-self: center; }
  .footer-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-grid > p { justify-self: center; text-align: center; }
  .modal-panel { padding: 29px 19px 23px; }
  .modal-close { top: -16px; margin: -16px -8px -36px 0; }
  .modal-heading h2 { padding-right: 30px; font-size: 34px; }
  #registration-form { grid-template-columns: 1fr; }
  .field.full-field, .consent, .preview-notice, .submit-button { grid-column: auto; }
}

@media (max-width: 420px) {
  .kickoff-card { padding: 20px; }
  .kickoff-countdown { gap: 10px; }
  .kickoff-unit b { font-size: 27px; }
  .kickoff-unit small { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
