:root {
  color-scheme: light;
  --ink: #172e28;
  --soft: #50615a;
  --paper: #f8f7f1;
  --line: #d9ddd2;
  --forest: #142a26;
  --lime: #e2efad;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.25rem; }
body, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #a36524; outline-offset: 5px; }
.wrap { width: min(1160px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: absolute; top: 1rem; left: 1rem; z-index: 5; padding: .65rem 1rem; background: #fff; transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }

.masthead { background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 750; font-size: 1.11rem; letter-spacing: -.035em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font: 700 1.32rem/1 var(--serif); background: var(--ink); color: var(--lime); }
nav { display: flex; gap: clamp(1rem, 3.1vw, 2.55rem); }
nav a, .header-help { font-size: .88rem; text-decoration: none; font-weight: 630; }
nav a:hover, .header-help:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: .25em; }
.header-help { border: 1px solid #b8c4b7; border-radius: 100px; padding: .48rem .86rem; white-space: nowrap; }
.header-help span, .text-link span, .light-link span { margin-left: .25em; }

.hero { color: #fbf8e9; background: radial-gradient(ellipse at 66% -24%, #365348 0%, transparent 64%), var(--forest); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 4.5vw, 4.5rem); padding-block: clamp(2.8rem, 6vw, 5.5rem); }
.kicker { display: flex; gap: .66rem; align-items: center; color: var(--lime); font-size: .74rem; font-weight: 720; letter-spacing: .13em; text-transform: uppercase; }
.kicker span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex: 0 0 auto; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.055em; line-height: 1.04; }
h1 { font-size: clamp(3.25rem, 5.8vw, 5.65rem); margin: .85rem 0 1.2rem; }
h1 em { color: var(--lime); font-weight: inherit; }
h2 { font-size: clamp(2.2rem, 4.3vw, 3.7rem); margin: 0 0 .75rem; }
h3 { margin: 0 0 .35rem; font-size: 1.18rem; letter-spacing: -.026em; }
p { margin: 0; }
.intro { max-width: 29rem; font-size: clamp(1rem, 1.5vw, 1.16rem); color: #dce3d8; }
.button { display: inline-flex; gap: 1.25rem; align-items: center; margin-top: 1.85rem; padding: .73rem 1.1rem; border: 1px solid transparent; border-radius: .45rem; background: var(--lime); color: var(--forest); text-decoration: none; font-size: .94rem; font-weight: 700; }
.button:hover { background: #f1f7d1; }
.hero-figure { position: relative; overflow: hidden; border: 1px solid #afc7ae4d; border-radius: 1.15rem; background: #284238; }
.hero-figure img { width: 100%; height: auto; aspect-ratio: 1.32; object-fit: cover; }
.hero-figure figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: .3rem .7rem; border-radius: 100px; color: #fff; background: #102722ed; font-size: .75rem; }

.age-strip { background: #e7ecdb; border-bottom: 1px solid #d5ddca; }
.age-strip .wrap { min-height: 58px; display: flex; align-items: center; gap: .85rem; padding-block: .6rem; }
.age-strip strong { padding: .05rem .45rem; border: 1px solid #647862; border-radius: 100px; font-size: .77rem; }
.age-strip p { font-size: .88rem; }
.section { padding-block: clamp(3.25rem, 7vw, 6rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem 3.5rem; margin-bottom: 1.7rem; }
.section-heading h2 { margin: 0; }
.section-heading > p { max-width: 23rem; color: var(--soft); }

.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.resource { position: relative; display: block; border-radius: .8rem; padding: 1.38rem; border: 1px solid var(--line); background: #fffefa; text-decoration: none; }
.resource:hover { border-color: #7c9a77; background: #f4f7ea; }
.resource-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 1.25rem; border-radius: .6rem; background: #e9eee1; font-size: 1.22rem; }
.out-arrow { position: absolute; right: 1.38rem; top: 1.35rem; font-size: 1.32rem; color: #3f654a; }
.resource p, .game p, .faq-grid p, .legal p { color: var(--soft); }

.lotteries { background: #eeeee5; border-block: 1px solid var(--line); }
.game-list { border: 1px solid var(--line); border-radius: .85rem; background: #fffefa; overflow: hidden; }
.game { display: grid; grid-template-columns: 75px 1fr auto; gap: 1rem 1.35rem; align-items: center; padding: 1.25rem 1.5rem; }
.game + .game { border-top: 1px solid var(--line); }
.game-mark { display: grid; place-items: center; min-height: 60px; border-radius: .6rem; font-weight: 760; font-size: 1rem; letter-spacing: -.045em; }
.game-mark.violet { color: #473358; background: #ede4f3; }
.game-mark.gold { color: #634315; background: #f3ead5; }
.game-mark.blue { color: #23495a; background: #e0eef0; }
.game p { max-width: 37rem; font-size: .92rem; }
.text-link { color: #28583c; font-size: .9rem; font-weight: 700; text-decoration: underline; text-underline-offset: .25em; }
.text-link:hover { color: #0b3b21; }
.all-rules { display: inline-block; margin-top: 1.2rem; }

.faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 2rem 4rem; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1rem; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: #426d4d; font-size: 1.2em; line-height: 1.35; }
details[open] summary::after { content: "−"; }
details p { padding: 0 1.4rem 1rem 0; }
details p a, .legal p a { text-underline-offset: .2em; }

.support { margin-bottom: clamp(3.25rem, 7vw, 5.5rem); }
.support-inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem 3.5rem; align-items: center; background: var(--forest); color: #fbf8e9; border-radius: 1rem; padding: clamp(1.5rem, 5vw, 3.2rem); }
.support .kicker { margin-bottom: .65rem; }
.support p:not(.kicker) { max-width: 35rem; color: #dce3d8; }
.light-link { display: inline-block; margin-top: 1rem; color: var(--lime); text-underline-offset: .23em; }
.support-phone { display: grid; min-width: 215px; padding-left: 1.65rem; border-left: 1px solid #5a7164; }
.support-phone span { color: #dce3d8; font-size: .82rem; }
.support-phone a { color: var(--lime); font-size: clamp(1.2rem, 2.2vw, 1.65rem); font-weight: 740; text-underline-offset: .2em; }
.support-phone a + span { margin-top: .75rem; }

footer { background: #edeee5; border-top: 1px solid var(--line); }
.footer-grid { min-height: 135px; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem 3rem; padding-block: 2rem; }
.footer-grid p { color: var(--soft); margin-top: .75rem; max-width: 34rem; font-size: .87rem; }
.footer-links { display: grid; gap: .45rem; }
.footer-links a { font-size: .87rem; text-decoration: none; }
.legal { max-width: 750px; }
.legal h1 { font-size: clamp(2.9rem, 7vw, 4.7rem); margin-bottom: 2.25rem; }
.legal h2 { font: 710 1.18rem/1.3 var(--sans); letter-spacing: -.025em; margin-top: 1.8rem; }

@media (max-width: 850px) {
  .wrap { width: min(100% - 40px, 1160px); }
  .hero-grid { gap: 1.5rem; }
  .hero-break { display: none; }
  .game { grid-template-columns: 65px 1fr; }
  .game > a { grid-column: 2; }
}
@media (max-width: 630px) {
  .masthead-inner { min-height: auto; flex-wrap: wrap; padding-block: .8rem; }
  nav { order: 1; width: 100%; padding-top: .55rem; border-top: 1px solid var(--line); gap: 1.35rem; }
  .header-help { font-size: .78rem; }
  .hero-grid, .faq-grid, .support-inner, .resource-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 2.4rem; }
  .hero-figure img { aspect-ratio: 1.54; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: .7rem; }
  .game { padding: 1rem; }
  .support-phone { border-left: 0; border-top: 1px solid #5a7164; padding: 1rem 0 0; }
  .footer-grid { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
