:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, sans-serif;
  color: #163b32;
  background: #f6f8f1;
  line-height: 1.6;
  --ink: #163b32;
  --muted: #49635a;
  --edge: #dce6d7;
  --green: #184f40;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #246d64; outline-offset: 4px; border-radius: 4px; }
img { display: block; max-width: 100%; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--edge); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 780; text-decoration: none; letter-spacing: -.045em; }
.brand img { border-radius: 12px; flex: none; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 30px; }
.site-nav a { padding-block: 5px; text-decoration: none; font-size: .9rem; font-weight: 640; }
.site-nav a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 76px); align-items: center; padding-block: 58px 64px; }
.eyebrow { font-size: .77rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 760; color: #396856; margin: 0 0 12px; }
h1, h2, h3 { line-height: 1.1; margin: 0; }
.hero h1, .section-title h2, .policy h1 { font-family: Georgia, serif; font-weight: 600; letter-spacing: -.045em; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); text-wrap: balance; }
.intro { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.18rem); max-width: 38ch; margin: 20px 0 26px; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 48px; border: 1px solid transparent; border-radius: 12px; padding: 9px 18px; font-size: .94rem; font-weight: 700; text-decoration: none; }
.primary { background: var(--green); color: #fff; }
.primary:hover { background: #103e32; }
.secondary { background: #fffef9; border-color: #cbdccf; }
.secondary:hover { background: #e9f1e8; }
.hero-image { position: relative; margin: 0; overflow: hidden; border-radius: 26px; border: 1px solid #cde1da; box-shadow: 0 15px 40px #294e4420; background: #b6dcf0; }
.hero-image img { width: 100%; height: auto; }
.hero-image figcaption { position: absolute; right: 14px; bottom: 14px; background: #fbfff4ef; padding: 4px 10px; border-radius: 8px; font-size: .76rem; font-weight: 650; }

.games { padding: 26px 0 58px; border-top: 1px solid var(--edge); scroll-margin-block-start: 22px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 24px; }
.section-title h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.section-title p, .play-note { color: var(--muted); margin: 0; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.game-card { display: flex; height: 100%; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 18px; border: 1px solid; border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.game-card h3 { font-size: 1.5rem; letter-spacing: -.035em; }
.game-card p { margin: 10px 0 0; max-width: 43ch; color: #38564d; }
.slide-card { background: #e6f3f4; border-color: #cee4e7; }
.kart-card { background: #eeedf8; border-color: #dcdcee; }
.game-button { border-color: #ffffff; background: #ffffffad; }
.game-button:hover { background: #fff; }
.play-note { margin-top: 20px; font-size: .9rem; }

.site-footer { border-top: 1px solid var(--edge); background: #edf2e8; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px 36px; padding-block: 22px 30px; }
.operator { color: var(--muted); font-size: .88rem; }
.operator p { margin: 0; }
.footer-links { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 5px 16px; font-size: .86rem; font-weight: 650; }
.footer-links a { text-decoration: none; }
.footer-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

.policy { display: flex; flex-direction: column; min-height: 100vh; }
.policy-content { width: min(760px, calc(100% - 48px)); flex: 1; padding-block: 48px 64px; }
.policy h1 { font-size: clamp(2.45rem, 6vw, 3.55rem); }
.policy h2 { font-size: 1.3rem; margin-top: 28px; }
.policy-content p, .policy-content li { color: #3c574e; }
.policy-content li + li { margin-top: 7px; }
.policy-content a { color: #185d4a; text-underline-offset: 3px; overflow-wrap: anywhere; }

@media (max-width: 800px) {
  .wrap { width: min(660px, calc(100% - 40px)); }
  .hero { grid-template-columns: 1fr; gap: 25px; padding-block: 34px 38px; }
  .hero-image { border-radius: 18px; }
  .games { padding-bottom: 37px; }
}

@media (max-width: 540px) {
  .header-inner { min-height: 64px; gap: 8px; }
  .brand { font-size: 1.1rem; gap: 6px; }
  .brand img { width: 30px; height: 30px; border-radius: 9px; }
  .site-nav { gap: 4px 12px; justify-content: flex-end; }
  .site-nav a { font-size: .77rem; }
  .game-grid { grid-template-columns: 1fr; gap: 12px; }
  .policy-content { padding-block: 34px 44px; }
}
