@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f7f6ef;
  --ink: #173e35;
  --muted: #65736b;
  --line: #dcdfd4;
  --accent: #c2d49a;
  --red: #b75b48;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--red); outline-offset: 6px; }
.shell { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 10; padding: 14px; background: var(--paper); }
.skip-link:focus { top: 12px; }
.site-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; font-size: 27px; font-weight: 700; letter-spacing: -1.2px; }
.brand img { margin-right: 11px; border-radius: 12px; }
.brand-light { font-weight: 400; }
.brand-dot { color: #7a915b; }
nav { display: flex; align-items: center; gap: 36px; font-size: 14px; }
.nav-about:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 36px; padding: 19px 25px; border: 1px solid var(--ink); border-radius: 5px; background: var(--ink); color: #fff; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.4; cursor: pointer; transition: background .2s, transform .2s; }
.button:hover:not(:disabled) { background: #285549; transform: translateY(-2px); }
.button:disabled { opacity: .6; cursor: not-allowed; }
.button span { font-size: 20px; font-weight: 400; line-height: 1; }
.button-small { padding: 12px 19px; gap: 23px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 24px; font-size: 10px; font-weight: 700; letter-spacing: 2px; line-height: 1.6; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.red { color: var(--red); }
.game-section { padding-block: 28px 60px; scroll-margin-top: 24px; }
.game-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.game-heading .eyebrow { margin-bottom: 12px; }
.game-open { font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.game-frame { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; background: #000; box-shadow: 0 0 0 1px var(--line); }
.game-frame:fullscreen { width: 100vw; height: 100vh; min-height: 0; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.game-controls { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.game-controls .button { flex-shrink: 0; }
.game-hint { color: var(--muted); font-size: 12px; line-height: 1.7; }
.about { padding-block: 58px 74px; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 70px; align-items: end; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 16px; }
h1, h2 { margin: 0; font-size: 39px; line-height: 1.2; letter-spacing: -1.3px; }
.section-heading > p:last-child { max-width: 395px; margin: 0 0 3px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; margin-top: 47px; }
.feature { position: relative; padding-top: 25px; border-top: 1px solid var(--line); }
.feature-icon { font-size: 30px; }
.feature-number { position: absolute; top: 34px; right: 0; color: #778372; font-size: 10px; letter-spacing: 1px; }
.feature h3 { margin: 23px 0 12px; font-size: 17px; font-weight: 500; letter-spacing: -.3px; }
.feature p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.invitation { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 42px; border-radius: 8px; background: var(--ink); color: var(--paper); }
.invitation .eyebrow { margin-bottom: 12px; color: var(--accent); }
.invitation h2 { font-size: 32px; letter-spacing: -1px; }
.button-light { flex-shrink: 0; background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button-light:hover { background: #e2e9d4; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 38px; }
.footer-brand { font-size: 20px; }
.site-footer p { color: var(--muted); font-size: 11px; }
.footer-suits { word-spacing: 8px; font-size: 17px; }
.footer-suits span { color: var(--red); }

@media (max-width: 900px) {
  .shell { width: calc(100% - 48px); }
  .features { gap: 25px; }
  .invitation { padding: 30px; }
  .invitation h2 { font-size: 28px; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 40px); }
  .site-header { min-height: 88px; gap: 12px; }
  .brand { font-size: 23px; }
  .brand img { width: 34px; height: 34px; margin-right: 7px; }
  .nav-about { display: none; }
  .button-small { padding: 11px 12px; gap: 8px; font-size: 11px; }
  .game-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .game-frame { height: 75svh; min-height: 480px; aspect-ratio: auto; }
  .game-controls { align-items: flex-start; flex-direction: column; gap: 0; }
  .about { padding-block: 40px 48px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading .eyebrow { margin-bottom: 0; }
  h1, h2 { font-size: 34px; }
  .features { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .feature h3 { margin-top: 14px; }
  .invitation { flex-direction: column; align-items: flex-start; padding: 28px; }
  .invitation .button { width: 100%; gap: 20px; }
  .site-footer { flex-wrap: wrap; padding-block: 30px; }
  .site-footer p { order: 3; width: 100%; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
