:root {
    --ink: #f4ead4;
    --muted: #b8b3aa;
    --night: #07131c;
    --night-soft: #0d202b;
    --panel: #112a35;
    --line: rgba(226, 202, 154, 0.2);
    --gold: #d9b56c;
    --gold-light: #f1d79d;
    --ember: #ef6c3e;
    --max: 1180px;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 85% 10%, rgba(28, 83, 100, 0.3), transparent 28rem),
        var(--night);
    font-family: var(--sans);
    line-height: 1.6;
}

a { color: inherit; }

.skip-link {
    position: absolute;
    left: 1rem;
    top: -5rem;
    z-index: 100;
    padding: 0.65rem 1rem;
    color: var(--night);
    background: var(--gold-light);
}

.skip-link:focus { top: 1rem; }

.site-header {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 50%;
    width: min(calc(100% - 3rem), var(--max));
    min-height: 86px;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    width: fit-content;
    text-decoration: none;
}

.brand-mark {
    display: block;
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.55));
}

.brand-name {
    font-family: var(--serif);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.primary-nav { display: flex; gap: 1.15rem; }

.primary-nav a,
.site-footer a {
    color: var(--muted);
    text-decoration: none;
    transition: color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current='page'],
.site-footer a:hover,
.site-footer a:focus-visible { color: var(--ink); }

.site-header > .button,
.header-session { justify-self: end; }

.header-session { margin: 0; }
.header-session .button { color: var(--ink); cursor: pointer; font-family: inherit; }

.hero {
    position: relative;
    min-height: min(870px, 100vh);
    display: flex;
    align-items: center;
    isolation: isolate;
    background-position: center;
    background-size: cover;
}

.hero-gladshiem-banner {
    align-items: flex-end;
    min-height: min(946px, 100vh);
    background-image: url('../images/gg-banner.png?v=20260905-135325');
    background-position: center;
}

.hero-shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4, 8, 12, 0.62) 0%, rgba(4, 8, 12, 0.04) 22%, rgba(4, 8, 12, 0.03) 58%, rgba(4, 8, 12, 0.96) 100%),
        linear-gradient(90deg, rgba(4, 8, 12, 0.22), transparent 25%, transparent 75%, rgba(4, 8, 12, 0.18));
}

.hero-content {
    width: min(calc(100% - 3rem), var(--max));
    margin: 5.5rem auto 0;
}

.hero-content-banner {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.92);
}

.hero-content-banner h1 {
    max-width: none;
    margin-bottom: 1rem;
    font-size: clamp(2.2rem, 3.2vw, 3.4rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-banner-panel {
    width: min(100%, 1120px);
    padding: clamp(1.6rem, 3vw, 2.7rem);
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(5, 21, 31, 0.96) 0%, rgba(5, 21, 31, 0.82) 58%, rgba(5, 21, 31, 0) 78%);
}

.hero-categories {
    margin: 0 0 1.35rem;
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: clamp(0.82rem, 1.45vw, 1.12rem);
    font-weight: 700;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-categories span { padding-inline: 0.55em; }
.hero-content-banner .hero-copy { max-width: 720px; margin: 0 auto; }
.hero-content-banner .button-row { justify-content: center; }

.eyebrow {
    margin: 0 0 0.7rem;
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.status-dot {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    margin-right: 0.45rem;
    border-radius: 50%;
    background: #62d89b;
    box-shadow: 0 0 0 0.28rem rgba(98, 216, 155, 0.14);
}

h1, h2, h3 { margin-top: 0; font-family: var(--serif); line-height: 1.05; }

h1 {
    max-width: 820px;
    margin-bottom: 1.25rem;
    font-size: clamp(3.3rem, 7vw, 6.8rem);
    font-weight: 500;
    letter-spacing: -0.045em;
}

h2 { font-size: clamp(2.1rem, 4vw, 3.65rem); font-weight: 500; letter-spacing: -0.03em; }
h3 { margin-bottom: 0.8rem; font-size: 1.85rem; font-weight: 500; }

.hero-copy { max-width: 640px; color: #ded8cd; font-size: 1.15rem; }

.button-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.7rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-2px); }
.button-primary { color: #15130e; background: var(--gold-light); }
.button-primary:hover { background: #ffe8b5; }
.button-secondary, .button-ghost { border-color: rgba(255, 255, 255, 0.42); background: rgba(7, 19, 28, 0.45); }
.button-secondary:hover, .button-ghost:hover { border-color: var(--gold); background: rgba(7, 19, 28, 0.75); }
.button-small { min-height: 40px; padding: 0.45rem 0.8rem; font-size: 0.75rem; }

.hero-caption {
    position: absolute;
    right: max(1.5rem, calc((100vw - var(--max)) / 2));
    bottom: 4rem;
    display: grid;
    max-width: 290px;
    padding-left: 1rem;
    border-left: 2px solid var(--gold);
    text-shadow: 0 2px 12px #000;
}

.hero-caption span { color: #d1cbc0; font-size: 0.86rem; }

.section-shell { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; }

.intro {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 5rem;
    align-items: end;
    padding-block: 7.5rem 5rem;
}

.intro h2 { margin-bottom: 0; }
.intro > p { margin: 0 0 0.35rem; color: var(--muted); font-size: 1.04rem; }

.beta-feature {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: hidden;
    margin-bottom: 2rem;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(270deg, rgba(4, 10, 15, 0.96) 0%, rgba(4, 10, 15, 0.72) 50%, rgba(4, 10, 15, 0.08) 100%),
        url('../images/broken-domains-hero.png') center / cover;
}

.beta-feature-copy { max-width: 620px; margin-left: auto; text-align: right; }
.beta-feature-copy h2 { margin-bottom: 0.8rem; }
.beta-feature-copy > p:not(.eyebrow) { color: #ded8cd; font-size: 1.05rem; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; padding-bottom: 7rem; }

.product-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(22, 54, 67, 0.92), rgba(9, 27, 37, 0.92));
}

.card-image { min-height: 0; aspect-ratio: 1; background-position: center; background-size: cover; }
.product-card-gcm .card-image { background-image: linear-gradient(0deg, rgba(7,19,28,.45), transparent 55%), url('../images/gcm-home-card-campaign-council.jpg'); }
.product-card-log .card-image { background-image: linear-gradient(0deg, rgba(7,19,28,.42), transparent 55%), url('../images/log-featured-rightnow.jpg'); }
.product-card-getica .card-image { background-image: linear-gradient(0deg, rgba(7,19,28,.45), transparent 55%), url('../images/getica-camp-arrival.png'); background-position: 65% center; }

.card-body { padding: 1.65rem; }
.card-body p:not(.product-type) { color: var(--muted); }
.product-type { color: var(--gold); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.text-link { color: var(--gold-light); font-weight: 800; text-decoration: none; }
.text-link:hover, .text-link:focus-visible { text-decoration: underline; text-underline-offset: 0.25em; }

.storyteller-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 7rem;
    padding: 3.2rem;
    border: 1px solid var(--line);
    background:
        linear-gradient(100deg, rgba(11, 33, 43, 0.98), rgba(11, 33, 43, 0.7)),
        url('../images/gladshiem-brand.png') center / cover;
}

.storyteller-callout h2 { margin-bottom: 0.8rem; }
.storyteller-callout p:not(.eyebrow) { max-width: 700px; margin-bottom: 0; color: var(--muted); }
.storyteller-callout .button { flex: 0 0 auto; }

.site-footer {
    width: min(calc(100% - 3rem), var(--max));
    margin: 0 auto;
    padding: 2.5rem 0 3.5rem;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.site-footer nav { display: flex; gap: 1.4rem; }

.page-hero {
    padding: 13rem 0 5rem;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(7, 19, 28, 0.88), rgba(7, 19, 28, 0.4)),
        url('../images/gladshiem-brand.png') center 40% / cover;
}

.page-hero-content { max-width: var(--max); }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p:last-child { max-width: 720px; color: #ded8cd; font-size: 1.1rem; }

.catalog { display: grid; gap: 1.5rem; padding-block: 5rem; }

.catalog-banner {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: clamp(1.6rem, 5vw, 4rem);
    border: 1px solid var(--line);
    border-radius: 8px;
    isolation: isolate;
    background-position: center;
    background-size: cover;
}

.catalog-banner::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: '';
    background: linear-gradient(90deg, rgba(4, 10, 15, 0.96) 0%, rgba(4, 10, 15, 0.72) 48%, rgba(4, 10, 15, 0.1) 84%);
}

.banner-broken { background-image: url('../images/broken-domains-hero.png'); }
.banner-gcm { background-image: url('../images/gcm-fantasy.png'); background-position: center 30%; }
.banner-log { background-image: url('../images/ladders-of-gold.jpg'); }
.banner-getica { background-image: url('../images/getica-danube.png'); }
.banner-storyteller { background-image: url('../images/gladshiem-brand.png'); }

.banner-copy { max-width: 620px; }
.banner-copy h2 { margin-bottom: 0.8rem; }
.banner-copy > p:not(.eyebrow) { color: #ded8cd; font-size: 1.05rem; }

.account-note {
    margin-bottom: 7rem;
    padding: 3.3rem;
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    background: linear-gradient(120deg, rgba(20, 56, 69, 0.72), rgba(8, 25, 34, 0.9));
}

.account-note h2 { margin-bottom: 0.8rem; }
.account-note > p:last-child { max-width: 850px; margin-bottom: 0; color: var(--muted); }

.gcm-hero {
    padding: 12rem 0 6rem;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 80% 25%, rgba(54, 145, 156, 0.2), transparent 25rem),
        linear-gradient(145deg, #0b2230, #07131c 70%);
}

.gcm-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 4rem;
}

.gcm-hero-grid h1 { font-size: clamp(3.2rem, 6.5vw, 6.5rem); }
.gcm-hero-grid img { width: 100%; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.35); }

.editions-section { padding-block: 7rem; }
.section-heading { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: end; margin-bottom: 3rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin-bottom: 0.35rem; color: var(--muted); }
.edition-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }

.edition-card {
    min-height: 330px;
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(20, 53, 65, 0.95), rgba(8, 25, 34, 0.95));
}

.edition-card p:not(.status-pill) { color: var(--muted); }
.edition-card .button { margin-top: 1.2rem; }
.status-pill { display: inline-block; margin: 0 0 2.5rem; padding: 0.3rem 0.65rem; border: 1px solid var(--line); border-radius: 20px; color: var(--gold-light); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.status-beta { border-color: rgba(98, 216, 155, 0.5); color: #9eedc4; }

.toolkit-section { padding-block: 7rem; border-block: 1px solid var(--line); background: #091b25; }
.toolkit-section h2 { max-width: 700px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 3rem; background: var(--line); border: 1px solid var(--line); }
.tool-grid article { padding: 2rem; background: #0b202b; }
.tool-grid span { color: var(--gold); font-family: var(--serif); font-size: 1.1rem; }
.tool-grid h3 { margin: 1.8rem 0 0.8rem; font-size: 1.45rem; }
.tool-grid p { margin-bottom: 0; color: var(--muted); }
.toolkit-section + .account-note { margin-top: 7rem; }

.connected-game {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding-block: 7rem;
}

.connected-game-art {
    min-height: 420px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: url('../images/ladders-of-gold.jpg') center / cover;
}

.connected-game p:not(.eyebrow) { color: var(--muted); }
.connected-game + .account-note { margin-top: 0; }

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
    padding-block: 5rem 7rem;
}

.prose-card {
    padding: clamp(2rem, 4vw, 3.2rem);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(20, 53, 65, 0.9), rgba(8, 25, 34, 0.94));
}

.prose-card-wide { grid-column: 1 / -1; }
.prose-card h2, .prose-card h3 { margin-bottom: 1rem; }
.prose-card p:last-child { margin-bottom: 0; }
.prose-card p:not(.eyebrow) { color: var(--muted); }
.prose-card-wide p:not(.eyebrow) { max-width: 900px; font-size: 1.05rem; }

.legal-copy {
    max-width: 880px;
    padding-block: 4.5rem 7rem;
}

.legal-copy h2 { margin: 3rem 0 0.8rem; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.legal-copy p { color: var(--muted); }
.legal-copy a { color: var(--gold-light); }
.legal-updated { margin-bottom: 3.5rem; color: var(--gold-light) !important; font-weight: 700; }

.auth-background {
    min-height: 100vh;
    padding: 10rem 1.5rem 6rem;
    background:
        linear-gradient(120deg, rgba(7, 19, 28, 0.94), rgba(7, 19, 28, 0.72)),
        url('../images/gg-banner.png?v=20260905-135325') center / cover fixed;
}

.auth-card {
    width: min(100%, 760px);
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid var(--line);
    border-radius: 9px;
    background: rgba(7, 23, 32, 0.96);
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.42);
}

.auth-card-compact { width: min(100%, 650px); }
.auth-card h1 { margin-bottom: 1rem; font-size: clamp(2.7rem, 7vw, 5rem); }
.auth-card > p:not(.eyebrow):not(.form-message),
.auth-intro { color: var(--muted); }
.auth-switch { margin: 2.2rem 0 0; }
.auth-switch a, .form-actions a, .auth-card a:not(.button), .form-context a { color: var(--gold-light); }

.portal-form { display: grid; gap: 1.2rem; margin-top: 2rem; }
.form-field { display: grid; gap: 0.45rem; }
.form-field label { color: var(--ink); font-size: 0.83rem; font-weight: 800; letter-spacing: 0.045em; }
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid rgba(226, 202, 154, 0.32);
    border-radius: 4px;
    padding: 0.8rem 0.9rem;
    color: var(--ink);
    background: rgba(3, 14, 21, 0.78);
    font: inherit;
}

.form-field textarea { resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 2px solid var(--gold); outline-offset: 2px; border-color: var(--gold); }
.form-hint { margin: 0; color: var(--muted); font-size: 0.8rem; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.portal-form .button { width: fit-content; cursor: pointer; font-family: inherit; }

.check-field { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--muted); }
.check-field input { flex: 0 0 auto; margin-top: 0.35rem; accent-color: var(--gold); }
.check-field a { color: var(--gold-light); }

.form-message { margin: 1.5rem 0; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: 4px; }
.form-message-error { border-color: rgba(239, 108, 62, 0.56); background: rgba(128, 42, 24, 0.25); }
.form-message-success { border-color: rgba(98, 216, 155, 0.46); background: rgba(25, 103, 68, 0.24); }
.form-message-warning { border-color: rgba(217, 181, 108, 0.5); background: rgba(93, 72, 29, 0.28); }

.auth-divider { display: flex; align-items: center; gap: 1rem; margin: 2.5rem 0 1rem; color: var(--gold); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.auth-divider::before, .auth-divider::after { height: 1px; flex: 1; content: ''; background: var(--line); }
.compact-buttons { margin-top: 1.2rem; }
.compact-buttons .button { min-height: 44px; }

.account-callout {
    margin: 2rem 0;
    padding: 1.2rem 1.3rem;
    border-left: 3px solid var(--gold);
    color: var(--muted);
    background: rgba(34, 80, 93, 0.28);
}

.account-callout strong { color: var(--ink); }
.account-callout p { margin: 0.45rem 0 0; }
.account-callout a { color: var(--gold-light); }

.login-gate {
    margin-block: 5rem 7rem;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    background: linear-gradient(120deg, rgba(20, 56, 69, 0.72), rgba(8, 25, 34, 0.94));
}

.login-gate h2 { margin-bottom: 0.9rem; }
.login-gate > p:not(.eyebrow) { max-width: 760px; color: var(--muted); }

.form-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 4rem;
    padding-block: 5rem 7rem;
}

.form-context { padding-top: 1rem; }
.form-context h2 { margin-bottom: 1rem; }
.form-context p:not(.eyebrow), .support-tips { color: var(--muted); }
.form-panel { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: 8px; background: rgba(12, 37, 48, 0.88); }
.form-panel .portal-form { margin-top: 0; }
.bot-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.support-tips { padding-left: 1.2rem; }
.support-tips li + li { margin-top: 0.55rem; }

.account-dashboard {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 1.4rem;
    padding-block: 5rem 2rem;
}

.account-profile, .account-summary {
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(20, 53, 65, 0.9), rgba(8, 25, 34, 0.94));
}

.account-details { display: grid; gap: 0; margin: 2rem 0 0; }
.account-details div { display: grid; grid-template-columns: minmax(120px, 0.4fr) 1fr; gap: 1rem; padding-block: 0.8rem; border-top: 1px solid var(--line); }
.account-details dt { color: var(--muted); }
.account-details dd { margin: 0; overflow-wrap: anywhere; }
.account-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 0; overflow: hidden; background: var(--line); }
.account-summary div { display: flex; flex-direction: column; justify-content: center; padding: 2rem; text-align: center; background: #0b202b; }
.account-summary span { color: var(--gold-light); font-family: var(--serif); font-size: 3rem; }
.account-summary small { color: var(--muted); }
.account-products { padding-block: 4rem; }
.account-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.account-product-grid a { display: grid; gap: 0.4rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 5px; text-decoration: none; background: rgba(12, 37, 48, 0.78); }
.account-product-grid a:hover, .account-product-grid a:focus-visible { border-color: var(--gold); }
.account-product-grid span { color: var(--gold-light); font-size: 0.84rem; }
.account-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; padding-bottom: 7rem; }

@media (max-width: 850px) {
    .site-header { grid-template-columns: 1fr auto; padding-block: 0.8rem; }
    .primary-nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; padding-bottom: 0.7rem; }
    .hero { min-height: 800px; }
    .hero-caption { display: none; }
    .hero-shade { background: linear-gradient(180deg, rgba(4,8,12,.68) 0%, rgba(4,8,12,.02) 26%, rgba(4,8,12,.12) 53%, rgba(4,8,12,.98) 100%); }
    .hero-content-banner { margin-bottom: 1.5rem; }
    .intro { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 5rem; }
    .beta-feature {
        min-height: 500px;
        background:
            linear-gradient(180deg, rgba(4, 10, 15, 0.1) 15%, rgba(4, 10, 15, 0.96) 78%),
            url('../images/broken-domains-hero.png') center / cover;
    }
    .product-grid { grid-template-columns: 1fr; }
    .storyteller-callout { align-items: flex-start; flex-direction: column; padding: 2rem; }
    .gcm-hero-grid, .section-heading, .connected-game { grid-template-columns: 1fr; gap: 2rem; }
    .gcm-hero-grid img { max-width: 640px; }
    .tool-grid { grid-template-columns: 1fr; }
    .content-grid, .form-layout, .account-dashboard { grid-template-columns: 1fr; gap: 1.5rem; }
    .account-product-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .site-header { width: min(calc(100% - 2rem), var(--max)); }
    .brand-name { display: none; }
    .primary-nav { justify-content: flex-start; gap: 1rem; overflow-x: auto; font-size: 0.86rem; }
    .site-header > .button, .header-session .button { font-size: 0.67rem; }
    .hero-content, .section-shell, .site-footer { width: min(calc(100% - 2rem), var(--max)); }
    .hero-gladshiem-banner { min-height: 760px; background-position: center top; }
    .hero-content-banner { margin-bottom: 0.5rem; }
    .hero-banner-panel { padding: 1.2rem 0.75rem; }
    .hero-content-banner h1 { font-size: clamp(1.85rem, 9vw, 2.75rem); letter-spacing: 0.07em; white-space: normal; }
    .hero-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 0; line-height: 1.6; white-space: normal; }
    .hero-content-banner .hero-copy { font-size: 1rem; }
    .beta-feature { min-height: 480px; padding: 1.5rem; }
    h1 { font-size: clamp(2.9rem, 16vw, 4.5rem); }
    .button-row .button { width: 100%; }
    .card-image { min-height: 250px; }
    .site-footer { flex-direction: column; }
    .site-footer nav { flex-wrap: wrap; }
    .page-hero { padding-top: 11.5rem; }
    .catalog-banner { min-height: 560px; }
    .catalog-banner::before { background: linear-gradient(0deg, rgba(4,10,15,.98) 0%, rgba(4,10,15,.75) 58%, rgba(4,10,15,.2) 100%); }
    .account-note { padding: 2rem; }
    .edition-grid { grid-template-columns: 1fr; }
    .auth-background { padding: 10.5rem 1rem 4rem; }
    .auth-card { padding: 1.5rem; }
    .form-actions { align-items: flex-start; flex-direction: column; }
    .content-grid { grid-template-columns: 1fr; }
    .prose-card-wide { grid-column: auto; }
    .account-summary { grid-template-columns: 1fr 1fr; }
}
