@font-face {
  font-family: Nunito;
  src: url("assets/Nunito-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("assets/Nunito-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --background: #0c091c;
  --text: #f2eff9;
  --muted: #aaa1bc;
  --line: #30273f;
  --yellow: #ffe246;
  font: 600 16px/1.6 Nunito, ui-rounded, system-ui, sans-serif;
  background: var(--background);
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--yellow); }
button, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 6px; }
button, summary { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
::selection { color: var(--background); background: var(--yellow); }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; padding: 10px 18px; background: var(--yellow); color: var(--background); }
.skip-link:focus { top: 10px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 104px; margin: 0 5%; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; }
.site-brand img { object-fit: contain; }
.header-note, .back-link { color: var(--muted); font-size: 13px; }
.landing { flex: 1; width: min(1040px, 90%); margin: 24px auto 50px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.logo-stage { width: 100%; max-width: 400px; margin: auto; }
.logo-stage > svg { display: block; width: 100%; height: auto; overflow: visible; }
.motion-toggle { display: flex; align-items: center; gap: 8px; margin: 24px auto 0; padding: 12px; background: transparent; border: 0; color: var(--muted); font-size: 11px; cursor: pointer; }
.motion-toggle:hover { color: var(--text); }
.motion-toggle:disabled { cursor: default; }
.motion-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.5; }
.play-icon { display: none; }
.motion-toggle[aria-pressed="true"] .pause-icon { display: none; }
.motion-toggle[aria-pressed="true"] .play-icon { display: block; }
.skip-link { position: fixed; top: 12px; left: 12px; transform: translateY(-160%); padding: 10px 18px; background: var(--yellow); color: var(--background); z-index: 2; }
.skip-link:focus { transform: none; color: var(--background); }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 5vw; }
.site-header { min-height: 110px; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; letter-spacing: .01em; }
.site-brand img { object-fit: contain; }
.header-note, .back-link { font-size: 13px; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 26px; }
.language-switcher { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 7px; }
.language-switcher a { display: grid; place-items: center; min-width: 40px; min-height: 38px; border-radius: 4px; color: var(--muted); font-size: 12px; }
.language-switcher a[aria-current="page"] { color: var(--text); background: #30273f; }
.language-switcher a:hover { color: var(--yellow); }
.landing { width: min(1080px, 90%); margin: auto; padding: 42px 0 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.logo-stage { position: relative; width: 100%; max-width: 440px; justify-self: center; }
#flow-logo { width: 100%; height: auto; overflow: visible; display: block; }
.motion-toggle { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 25px auto 0; border: 0; background: transparent; color: var(--muted); font-size: 12px; padding: 10px 14px; min-height: 44px; cursor: pointer; }
.motion-toggle:hover { color: var(--text); }
.motion-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.play-icon, [aria-pressed="true"] .pause-icon { display: none; }
[aria-pressed="true"] .play-icon { display: block; }
.motion-toggle:disabled { cursor: default; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.status-dot { width: 5px; height: 5px; flex-shrink: 0; background: #23eee0; border-radius: 50%; }
h1 { font-size: clamp(42px, 4.3vw, 60px); line-height: 1.12; font-weight: 700; letter-spacing: -.045em; margin: 0; }
.intro { font-size: 20px; line-height: 1.6; color: var(--muted); margin: 22px 0 30px; }
.site-main { flex: 1; }
.site-main > .landing { min-height: calc(100svh - 110px); }
.how-to-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 20px; font-size: 13px; color: var(--muted); }
.how-to-link svg, .help-tools summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.game-overview, .how-to-play { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 90px; width: min(1080px, 90%); margin: 0 auto; border-top: 1px solid var(--line); }
.game-overview { align-items: center; padding: 54px 0; }
.game-overview h2, .help-heading h2 { margin: 0; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.2; letter-spacing: -.035em; }
.game-overview ul { display: grid; gap: 12px; margin: 0; padding-left: 1.2em; color: var(--muted); }
.game-overview li::marker { color: var(--yellow); }
.how-to-play { padding: 72px 0 90px; scroll-margin-top: 28px; }
.help-goal { max-width: 340px; color: var(--muted); margin: 24px 0 0; font-size: 17px; }
.help-content { min-width: 0; }
.help-content h3 { font-size: 18px; line-height: 1.4; margin: 0 0 9px; }
.help-content p, .help-content dd { font-size: 15px; line-height: 1.8; color: var(--muted); margin: 0; }
.help-steps { list-style: none; counter-reset: help-step; margin: 0; padding: 0; }
.help-steps li { position: relative; counter-increment: help-step; padding: 0 0 32px 48px; }
.help-steps li::before { content: counter(help-step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid currentColor; border-radius: 50%; color: var(--yellow); font-size: 12px; }
.help-steps li:nth-child(2)::before { color: #ff419c; }
.help-steps li:nth-child(3)::before { color: #23eee0; }
.help-steps li:not(:last-child)::after { content: ""; position: absolute; top: 35px; bottom: 7px; left: 14px; width: 1px; background: var(--line); }
.help-rule { padding-left: 48px; margin-bottom: 26px; }
.help-rule h3 { font-size: 16px; }
.help-tools { margin: 6px 0 0 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.help-tools summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; min-height: 56px; list-style: none; font-size: 16px; cursor: pointer; }
.help-tools summary::-webkit-details-marker { display: none; }
.help-tools summary:hover { color: var(--yellow); }
.help-tools summary svg { flex-shrink: 0; }
.help-tools[open] summary svg { transform: rotate(180deg); }
.help-tools dl { margin: 20px 0 24px; }
.help-tools dt { margin: 22px 0 6px; font-size: 15px; }
.help-tools .help-tools-rule { margin-bottom: 24px; }
.beta-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-height: 54px; padding: 13px 24px; color: var(--background); background: var(--yellow); border: 1px solid var(--yellow); border-radius: 8px; font-weight: 700; cursor: pointer; list-style: none; }
.beta-button::-webkit-details-marker { display: none; }
.beta-button:hover { color: var(--background); background: #ffeb80; }
.beta-button span { font-size: 20px; line-height: 1; }
.arrow-icon { display: block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.beta-pending { margin: 0; max-width: 340px; }
.beta-pending[open] .beta-button span { transform: rotate(90deg); }
.beta-pending p { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.stores { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 42px 0 0; padding: 0; }
.store-badge { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid #40364f; border-radius: 7px; color: var(--muted); cursor: not-allowed; user-select: none; }
.store-badge > svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.store-badge small, .store-badge strong { display: block; line-height: 1.25; }
.store-badge small { font-size: 9px; }
.store-badge strong { font-size: 13px; font-weight: 700; white-space: nowrap; }
.site-footer { min-height: 80px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; gap: 14px; }
.site-footer { flex-wrap: wrap; gap: 8px 24px; padding: 14px 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a[aria-current="page"] { color: var(--text); }
.legal { width: min(640px, 90%); margin: 60px auto 100px; flex: 1; }
.legal h1 { margin-bottom: 28px; }
.legal section { margin-top: 32px; }
.legal h2 { font-size: 17px; margin: 0 0 8px; }
.legal section p { color: var(--muted); margin: 0; }
.privacy-page { width: min(720px, 90%); overflow-wrap: anywhere; }
.privacy-page h1 { font-size: clamp(32px, 4.3vw, 52px); }
.privacy-page > p, .privacy-page section p { margin: 16px 0; color: var(--muted); }
.privacy-page section { scroll-margin-top: 24px; margin-top: 38px; }
.privacy-page h3 { font-size: 16px; margin: 24px 0 8px; }
.privacy-page a { text-decoration: underline; text-underline-offset: 3px; }
.privacy-date { font-size: 13px; }
.editor-note { padding: 20px 24px; margin: 26px 0; border: 1px solid #66551c; border-left: 4px solid var(--yellow); background: #29220f; overflow-wrap: anywhere; }
.legal .editor-note, .legal .editor-note p, .legal .editor-note h3,
.legal .editor-note li, .legal .editor-note a { color: #ffe98a; }
.editor-note > strong, .editor-note h2 { color: var(--yellow); }
.editor-note h2 { font-size: 18px; margin: 0 0 10px; }
.editor-note > strong { display: block; font-size: 13px; margin-bottom: 10px; }
.legal .editor-note p { margin: 10px 0 0; }
.privacy-page .editor-note h3 { margin: 18px 0 6px; }
.editor-note p:first-child { margin-top: 0; }
.publication-warning { border: 2px solid var(--yellow); border-left-width: 6px; }
.legal .publication-warning h2 { color: var(--yellow); font-size: 20px; }
.privacy-toc { display: grid; gap: 4px; margin: 24px 0 32px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 8px; }
.privacy-toc a { padding: 7px 0; }
.privacy-fields { margin: 22px 0; }
.privacy-fields dt { font-weight: 700; margin: 22px 0 6px; }
.privacy-fields dd { margin: 0; color: var(--muted); }
.privacy-checklist, .privacy-sources { padding-left: 22px; color: var(--muted); }
.privacy-checklist li, .privacy-sources li { margin: 14px 0; }
@media (max-width: 1000px) and (min-width: 761px) {
  .game-overview, .how-to-play { gap: 38px; }
  .landing { gap: 38px; }
  .stores { gap: 7px; }
  .store-badge { padding: 9px; }
  .store-badge > svg { width: 18px; }
}
@media (max-width: 760px) {
  .site-main > .landing { min-height: auto; }
  .game-overview, .how-to-play { grid-template-columns: 1fr; }
  .game-overview { gap: 20px; padding: 38px 0; }
  .how-to-play { gap: 32px; padding: 44px 0 60px; scroll-margin-top: 22px; }
  .help-heading .eyebrow { justify-content: flex-start; }
  .help-goal { max-width: none; font-size: 16px; margin-top: 18px; }
  .site-header { flex-wrap: wrap; gap: 10px; padding: 14px 0; }
  .header-actions { gap: 12px; margin-left: auto; }
  .site-header { min-height: 80px; }
  .header-note { display: none; }
  .landing { grid-template-columns: 1fr; gap: 30px; padding: 18px 0 60px; width: 90%; text-align: center; }
  .logo-stage { width: min(78vw, 340px); }
  .motion-toggle { margin-top: 6px; }
  .eyebrow { justify-content: center; font-size: 9px; }
  h1 { font-size: 46px; }
  .intro { font-size: 18px; margin: 18px 0 24px; }
  .beta-pending { margin: auto; }
  .stores { justify-content: center; margin-top: 30px; gap: 7px; }
  .store-badge { padding: 9px; text-align: left; }
  .store-badge > svg { width: 18px; height: 18px; }
  .store-badge strong { font-size: 12px; }
  .legal { margin-top: 35px; }
  .legal .eyebrow { justify-content: flex-start; }
  .back-link { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
