/* Standalone studio page; shared navigation lives in header.css. */
:root {
    --about-bg: #040a12;
    --about-surface: #14243a;
    --about-text: #d0d9e5;
    --about-muted: #a3b8cb;
    --about-accent: #91ddd2;
    --about-border: #30485d;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    padding-top: 64px;
    color: var(--about-text);
    background: var(--about-bg);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.7;
}
[hidden] { display: none !important; }
img { max-width: 100%; }
a { color: var(--about-accent); text-underline-offset: 0.2em; }
a:hover { color: #b5f1e7; }
:where(a, button):focus-visible { outline: 3px solid #ffe55c; outline-offset: 4px; border-radius: 4px; }
:where(h1, h2, h3, [id]) { scroll-margin-top: 84px; }
.skip-link {
    position: fixed;
    top: 8px;
    left: 16px;
    z-index: 10000;
    transform: translateY(-180%);
    padding: 10px 16px;
    color: #0b1727;
    background: #ffe55c;
    font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }
.about-main { width: min(1040px, calc(100% - 48px)); margin: 0 auto; padding: 40px 0 24px; }
.about-breadcrumbs { margin-bottom: 26px; color: var(--about-muted); font-size: 15px; }
.about-breadcrumbs a { display: inline-block; padding-block: 4px; }
.about-breadcrumbs span { margin-inline: 9px; }
.about-intro { max-width: 72ch; margin-bottom: 44px; }
.about-kicker { margin: 0 0 8px; color: var(--about-muted); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
h1, h2, h3 { color: #edf3f8; line-height: 1.25; }
h1 { margin: 0 0 18px; font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -0.025em; }
h2 { margin: 0 0 18px; font-size: clamp(1.45rem, 2.5vw, 1.9rem); }
h3 { margin: 0 0 9px; font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
strong { color: #eef4f9; }
.about-lead { max-width: 54ch; margin-bottom: 18px; font-size: 1.22em; color: #e4eee9; }
.about-section { padding-block: 34px; border-top: 1px solid var(--about-border); }
.about-game { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; }
.about-game > * { min-width: 0; }
.about-game-image { margin: 0; }
.about-game-image img { display: block; width: 100%; height: auto; border: 1px solid var(--about-border); border-radius: 12px; }
.about-game-image figcaption { margin-top: 10px; color: var(--about-muted); font-size: 14px; line-height: 1.5; }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px; }
.about-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    color: #0b1727;
    background: var(--about-accent);
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    line-height: 1.5;
}
.about-play:hover { color: #0b1727; background: #b5f1e7; }
.about-secondary { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }
.about-light { margin-top: 32px; padding: 24px; border: 1px solid var(--about-border); border-radius: 12px; background: var(--about-surface); }
.about-light h3 { font-size: 1.15rem; }
.about-light ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: care-step; }
.about-light li { min-width: 0; counter-increment: care-step; }
.about-light li::before { content: counter(care-step); display: block; margin-bottom: 6px; color: var(--about-accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.about-light li p { margin-bottom: 0; color: var(--about-muted); font-size: 16px; line-height: 1.65; }
.about-prose { max-width: 72ch; }
.about-contact p:last-child { margin-bottom: 0; }
.about-contact a { display: inline-block; min-height: 44px; padding-block: 5px; overflow-wrap: anywhere; }

@media (max-width: 767px) {
    body { font-size: 17px; }
    .about-main { width: calc(100% - 32px); padding-top: 26px; }
    .about-intro { margin-bottom: 30px; }
    .about-section { padding-block: 28px; }
    .about-game { grid-template-columns: 1fr; gap: 24px; }
    .about-light { margin-top: 24px; padding: 20px; }
    .about-light ol { grid-template-columns: 1fr; gap: 20px; }
    .about-light li { padding-top: 16px; border-top: 1px solid var(--about-border); }
    .about-light li:first-child { padding-top: 0; border-top: 0; }
}

@media (max-width: 350px) {
    .about-play { width: 100%; padding-inline: 14px; }
}
