/* ==========================================================================
   Play Pro Logic — Stylesheet
   A player-run gaming community site.
   Design language: tactical / systems-thinking — grid overlays, dossier-style
   monospace tags, and a signature "targeting bracket" corner motif used
   sparingly on key cards and bands.
   Structure: 1. Tokens  2. Reset & base  3. Layout utilities  4. Type
   5. Buttons  6. Header/Nav  7. Hero  8. Section generics  9. About
   10. Mission  11. Features  12. Games  13. Timeline  14. Compare
   15. Stats band  16. Testimonials  17. FAQ/Accordion  18. CTA band
   19. Footer  20. Legal pages  21. Animations  22. Responsive
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
    /* Surfaces */
    --ink-950: #0b0e13;
    --ink-900: #10141b;
    --ink-800: #171d26;
    --ink-700: #212a35;
    --ink-600: #2b3542;
    --line-on-dark: rgba(237, 240, 242, 0.1);
    --line-on-dark-strong: rgba(237, 240, 242, 0.18);

    /* Light surface (used for a couple of alternating bands) */
    --paper-100: #eceff2;
    --paper-200: #dfe3e8;
    --line-on-light: rgba(16, 20, 27, 0.12);

    /* Text */
    --chalk-100: #edf0f2;
    --chalk-300: #c3cad3;
    --slate-500: #8b96a5;
    --ink-text: #171d26;
    --ink-text-muted: #4d5866;

    /* Accents */
    --amber-500: #ff8c42;
    --amber-400: #ffa768;
    --amber-700: #d96f2b;
    --teal-400: #2fd9c4;
    --teal-600: #1fae9d;
    --ember-500: #ff5a5f;

    /* Fonts */
    --font-display: "Big Shoulders Display", sans-serif;
    --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

    /* Layout */
    --wrap-max: 1200px;
    --wrap-pad: 20px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --section-pad-y: 72px;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--ink-900);
    color: var(--chalk-100);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure {
    margin: 0;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

input,
textarea,
select {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--amber-500);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--amber-500);
    color: var(--ink-950);
    padding: 12px 18px;
    z-index: 1000;
    font-family: var(--font-mono);
    font-weight: 600;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- 3. Layout utilities ---------- */
.wrap {
    width: 100%;
    max-width: var(--wrap-max);
    margin-inline: auto;
    padding-inline: var(--wrap-pad);
}

.section {
    padding-block: var(--section-pad-y);
}

.section--alt {
    background: var(--ink-800);
}

.section__header {
    max-width: 640px;
    margin-bottom: 44px;
}

.section__header--on-dark {
    max-width: 640px;
}

.section__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.9rem, 1.5rem + 2vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-top: 10px;
}

.section__lede {
    margin-top: 14px;
    color: var(--chalk-300);
    font-size: 1.05rem;
    max-width: 52ch;
}

.eyebrow {
    display: inline-block;
    color: var(--amber-500);
}

.mono-tag {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-500);
}

.eyebrow.mono-tag {
    color: var(--amber-500);
}

/* Signature bracket / viewfinder motif — used sparingly */
.bracket {
    position: relative;
}

.bracket::before,
.bracket::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.bracket::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--amber-500);
    border-left: 2px solid var(--amber-500);
}

.bracket::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid var(--amber-500);
    border-right: 2px solid var(--amber-500);
}

/* ---------- 4. Type ---------- */
h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ---------- 5. Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: transform 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
    white-space: nowrap;
}

.btn--primary {
    background: var(--amber-500);
    color: var(--ink-950);
}

.btn--primary:hover {
    background: var(--amber-400);
    transform: translateY(-2px);
}

.btn--ghost {
    border: 1px solid var(--line-on-dark-strong);
    color: var(--chalk-100);
}

.btn--ghost:hover {
    border-color: var(--amber-500);
    color: var(--amber-500);
}

.btn--sm {
    padding: 9px 18px;
    font-size: 0.75rem;
}

.btn--full {
    width: 100%;
}

/* ---------- 6. Header / Nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(16, 20, 27, 0.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-on-dark);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand__mark {
    width: 30px;
    height: 30px;
}

.brand__mark-fill {
    fill: var(--amber-500);
}

.brand__mark-outline {
    stroke: var(--chalk-100);
    stroke-width: 2.4;
}

.brand__type {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
}

.brand__tag {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    color: var(--slate-500);
    text-transform: uppercase;
}

.main-nav {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--ink-900);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
    overflow-y: auto;
}

.main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav__list {
    display: flex;
    flex-direction: column;
    padding: 24px var(--wrap-pad) 40px;
}

.main-nav__list li {
    border-bottom: 1px solid var(--line-on-dark);
}

.main-nav__list a {
    display: block;
    padding: 16px 4px;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
}

.main-nav__list a:hover {
    color: var(--amber-500);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-header__actions .btn--sm {
    display: none;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
}

.nav-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--chalk-100);
    transition: transform 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 7. Hero ---------- */
.hero {
    position: relative;
    padding-block: 56px 64px;
    overflow: hidden;
}

.hero__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line-on-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-on-dark) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
    opacity: 0.6;
}

.hero__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.hero__title {
    font-size: clamp(2.6rem, 2rem + 4vw, 4.6rem);
    line-height: 0.98;
    margin-top: 14px;
}

.hero__lede {
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--chalk-300);
    max-width: 46ch;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 24px;
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid var(--line-on-dark);
    max-width: 480px;
}

.hero__stat dt {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate-500);
}

.hero__stat dd {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--amber-500);
    margin-top: 4px;
}

.hero__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.hero__graphic {
    width: min(100%, 340px);
    height: auto;
}

.hero__graphic-ring {
    stroke: var(--line-on-dark-strong);
    stroke-width: 1;
}

.hero__graphic-line {
    stroke: var(--line-on-dark);
    stroke-width: 1;
}

.hero__graphic-crosshair {
    stroke: var(--line-on-dark-strong);
    stroke-width: 1;
    stroke-dasharray: 2 6;
}

.hero__graphic-frame {
    stroke: var(--line-on-dark);
    stroke-width: 1;
    fill: none;
}

.hero__graphic-core {
    fill: var(--amber-500);
}

.hero__graphic-blip {
    fill: var(--teal-400);
    animation: blip-pulse 2.6s ease-in-out infinite;
}

.hero__graphic-blip--alt {
    fill: var(--amber-500);
    animation-delay: 1.1s;
}

@keyframes blip-pulse {
    0%,
    100% {
        opacity: 0.5;
        r: 5;
    }
    50% {
        opacity: 1;
        r: 7;
    }
}

.hero__visual-caption {
    color: var(--slate-500);
}

/* ---------- 9. About ---------- */
.about__grid {
    display: grid;
    gap: 40px;
}

.about__story p + p {
    margin-top: 16px;
}

.about__story p {
    color: var(--chalk-300);
}

.about__story .section__title {
    margin-bottom: 8px;
}

.about__callouts {
    display: grid;
    gap: 16px;
}

.callout-card {
    background: var(--ink-800);
    border: 1px solid var(--line-on-dark);
    border-radius: var(--radius-md);
    padding: 22px;
}

.callout-card__label {
    margin-bottom: 8px;
}

.callout-card__value {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
}

/* ---------- 10. Mission ---------- */
.mission__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
}

.pillar-card {
    background: var(--ink-900);
    border: 1px solid var(--line-on-dark);
    border-radius: var(--radius-md);
    padding: 30px 26px;
}

.section--alt .pillar-card {
    background: var(--ink-900);
}

.pillar-card__tag {
    margin-bottom: 14px;
}

.pillar-card__title {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.pillar-card__body {
    color: var(--chalk-300);
}

.pillar-card--lg {
    background: linear-gradient(155deg, var(--ink-700), var(--ink-900));
}

/* ---------- 11. Features ---------- */
.features__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
}

.feature-card {
    padding: 26px 4px;
    border-top: 1px solid var(--line-on-dark);
}

.feature-card__icon {
    width: 30px;
    height: 30px;
    color: var(--teal-400);
    margin-bottom: 18px;
}

.feature-card__title {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.feature-card__body {
    color: var(--chalk-300);
}

/* ---------- 12. Games ---------- */
.games__grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

.game-card {
    background: var(--ink-900);
    border: 1px solid var(--line-on-dark);
    border-radius: var(--radius-md);
    padding: 24px;
}

.game-card__meta {
    margin-bottom: 14px;
    color: var(--teal-400);
}

.game-card__title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.game-card__body {
    color: var(--chalk-300);
}

/* ---------- 13. Timeline ---------- */
.timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-left: 28px;
    border-left: 1px solid var(--line-on-dark);
}

.timeline__item {
    position: relative;
}

.timeline__badge {
    position: absolute;
    left: -28px;
    transform: translateX(-50%);
    background: var(--ink-900);
    color: var(--amber-500);
    border: 1px solid var(--amber-500);
    border-radius: 999px;
    padding: 4px 10px;
    white-space: nowrap;
}

.timeline__content {
    padding-left: 20px;
}

.timeline__title {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.timeline__body {
    color: var(--chalk-300);
    max-width: 60ch;
}

/* ---------- 14. Compare ---------- */
.compare {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
}

.compare__col {
    padding: 28px 24px;
    border-radius: var(--radius-md);
}

.compare__col--before {
    border: 1px solid var(--line-on-dark);
}

.compare__col--after {
    background: linear-gradient(155deg, var(--ink-700), var(--ink-900));
    border: 1px solid var(--amber-700);
}

.compare__heading {
    font-size: 1.1rem;
    margin-bottom: 18px;
}

.compare__col--before .compare__heading {
    color: var(--slate-500);
}

.compare__col--after .compare__heading {
    color: var(--amber-500);
}

.compare__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.compare__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--chalk-300);
}

.compare__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    fill: none;
    stroke-width: 2;
}

.compare__icon--x {
    stroke: var(--slate-500);
}

.compare__icon--check {
    stroke: var(--amber-500);
}

/* ---------- 15. Stats band ---------- */
.stats-band {
    position: relative;
    background: var(--ink-950);
    padding-block: var(--section-pad-y);
    overflow: hidden;
}

.stats-band__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line-on-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-on-dark) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
}

.stats-band__grid {
    position: relative;
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr;
}

.stat-block {
    text-align: left;
    border-top: 1px solid var(--line-on-dark);
    padding-top: 18px;
}

.stat-block__value {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 2rem + 2vw, 3.2rem);
    font-weight: 700;
    color: var(--amber-500);
    line-height: 1;
}

.stat-block__unit {
    font-size: 1.2rem;
    color: var(--chalk-300);
    margin-left: 4px;
}

.stat-block__label {
    margin-top: 10px;
}

/* ---------- 16. Testimonials ---------- */
.testimonial-track {
    display: flex;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    gap: 20px;
    scroll-behavior: smooth;
}

.testimonial-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    background: var(--ink-800);
    border: 1px solid var(--line-on-dark);
    border-radius: var(--radius-md);
    padding: 30px 26px;
}

.testimonial-card__quote {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.35;
}

.testimonial-card__meta {
    margin-top: 20px;
    color: var(--teal-400);
}

.testimonial-controls {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.testimonial-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line-on-dark-strong);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.testimonial-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.testimonial-btn:hover {
    border-color: var(--amber-500);
    color: var(--amber-500);
}

/* ---------- 17. FAQ / Accordion ---------- */
.accordion__item {
    border-bottom: 1px solid var(--line-on-dark);
}

.accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 4px;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
}

.accordion__chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--amber-500);
    stroke-width: 2;
    transition: transform 0.25s var(--ease-out);
}

.accordion__trigger[aria-expanded="true"] .accordion__chevron {
    transform: rotate(180deg);
}

.accordion__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s var(--ease-out);
}

.accordion__panel > p {
    overflow: hidden;
    min-height: 0;
    color: var(--chalk-300);
    padding-bottom: 0;
    max-width: 68ch;
}

.accordion__item.is-open .accordion__panel {
    grid-template-rows: 1fr;
}

.accordion__item.is-open .accordion__panel > p {
    padding-bottom: 22px;
}

/* ---------- 18. CTA band ---------- */
.cta-band {
    padding-block: var(--section-pad-y);
}

.cta-band__inner {
    background: linear-gradient(155deg, var(--ink-700), var(--ink-950));
    border: 1px solid var(--line-on-dark-strong);
    border-radius: var(--radius-md);
    padding: 40px 24px;
    display: grid;
    gap: 36px;
}

.cta-band__email {
    margin-top: 18px;
    color: var(--chalk-300);
}

.cta-band__email a {
    color: var(--amber-500);
    text-decoration: underline;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-form__row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cta-form__row label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--slate-500);
}

.cta-form__row input,
.cta-form__row select,
.cta-form__row textarea {
    background: var(--ink-900);
    border: 1px solid var(--line-on-dark-strong);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    color: var(--chalk-100);
}

.cta-form__row input:focus,
.cta-form__row select:focus,
.cta-form__row textarea:focus {
    border-color: var(--amber-500);
}

.cta-form__row textarea {
    resize: vertical;
}

.cta-form__status {
    min-height: 1.2em;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--teal-400);
}

.cta-form__status--error {
    color: var(--ember-500);
}

/* ---------- 19. Footer ---------- */
.site-footer {
    background: var(--ink-950);
    border-top: 1px solid var(--line-on-dark);
    padding-block: 56px 28px;
}

.site-footer__grid {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr;
}

.site-footer__brand .brand {
    margin-bottom: 16px;
}

.site-footer__blurb {
    color: var(--chalk-300);
    max-width: 42ch;
}

.social-list {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-list a {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line-on-dark-strong);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.social-list svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.social-list a:hover {
    border-color: var(--amber-500);
    color: var(--amber-500);
}

.site-footer__heading {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 16px;
}

.site-footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer__col a:hover {
    color: var(--amber-500);
}

.site-footer__coords {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mono-tag--link {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer__bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--line-on-dark);
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--slate-500);
    font-size: 0.85rem;
}

/* ---------- 20. Legal pages ---------- */
.legal-hero {
    padding-block: 48px 24px;
    border-bottom: 1px solid var(--line-on-dark);
}

.legal-hero__title {
    font-size: clamp(2.1rem, 1.8rem + 1.5vw, 3rem);
    margin-top: 10px;
}

.legal-hero__meta {
    margin-top: 14px;
}

.legal-body__grid {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr;
}

.legal-toc {
    order: 2;
}

.legal-toc__heading {
    margin-bottom: 12px;
}

.legal-toc ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-left: 1px solid var(--line-on-dark);
    padding-left: 16px;
}

.legal-toc a {
    color: var(--chalk-300);
    font-size: 0.9rem;
}

.legal-toc a:hover {
    color: var(--amber-500);
}

.legal-content {
    order: 1;
    max-width: 68ch;
    color: var(--chalk-300);
}

.legal-content h2 {
    font-size: 1.35rem;
    color: var(--chalk-100);
    margin-top: 40px;
    margin-bottom: 14px;
    scroll-margin-top: 96px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 14px;
}

.legal-content ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
    padding-left: 20px;
    list-style: disc;
}

.legal-content a {
    color: var(--amber-500);
    text-decoration: underline;
}

/* ---------- 21. Scroll reveal ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* ---------- 22. Responsive ---------- */
@media (min-width: 640px) {
    .hero__stats {
        grid-template-columns: repeat(3, auto);
    }

    .mission__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .games__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .compare {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-band__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-band__inner {
        padding: 56px 48px;
    }
}

@media (min-width: 860px) {
    :root {
        --section-pad-y: 96px;
    }

    .site-header__actions .btn--sm {
        display: inline-flex;
    }

    .nav-toggle {
        display: none;
    }

    .main-nav {
        position: static;
        background: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        inset: auto;
        overflow: visible;
    }

    .main-nav__list {
        flex-direction: row;
        gap: 30px;
        padding: 0;
    }

    .main-nav__list li {
        border-bottom: 0;
    }

    .main-nav__list a {
        padding: 0;
        font-family: var(--font-body);
        font-size: 0.95rem;
        font-weight: 500;
    }

    .hero__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
    }

    .hero__copy {
        flex: 1 1 560px;
    }

    .hero__visual {
        flex: 0 0 380px;
    }

    .about__grid {
        grid-template-columns: 1.4fr 1fr;
        align-items: start;
    }

    .mission__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .pillar-card--lg {
        grid-column: span 2;
        grid-row: span 1;
    }

    .features__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .games__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-band__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 10px);
    }

    .cta-band__inner {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .legal-body__grid {
        grid-template-columns: 220px 1fr;
    }

    .legal-toc {
        order: 1;
        position: sticky;
        top: 96px;
        align-self: start;
    }

    .legal-content {
        order: 2;
    }

    .site-footer__grid {
        grid-template-columns: 1.3fr 0.8fr 0.8fr 0.9fr;
    }
}

@media (min-width: 1080px) {
    .hero__title {
        white-space: nowrap;
    }
}
