:root {
    --bg-top: #04070d;
    --bg-bottom: #190f16;
    --panel: rgba(13, 16, 24, 0.82);
    --panel-strong: rgba(11, 13, 21, 0.92);
    --panel-border: rgba(255, 255, 255, 0.08);
    --panel-soft: rgba(255, 255, 255, 0.04);
    --text: #f8efe7;
    --muted: #c2b4a8;
    --gold: #e9bb70;
    --accent: #e16b43;
    --font-display: "Cinzel", Georgia, serif;
    --font-body: "Manrope", "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: var(--font-body);
    background:
        radial-gradient(circle at top left, rgba(225, 107, 67, 0.18), transparent 24%),
        radial-gradient(circle at 82% 18%, rgba(255, 190, 120, 0.12), transparent 18%),
        linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
}

a {
    color: inherit;
}

.landing-shell {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    padding: 24px 0 42px;
}

.landing-header,
.landing-nav,
.hero-actions,
.hero-metrics,
.access-tabs,
.access-actions,
.account-stats {
    display: flex;
}

.landing-header {
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.brand-lockup {
    display: inline-grid;
    gap: 6px;
    text-decoration: none;
}

.brand-lockup strong {
    font-family: var(--font-display);
    font-size: 1.45rem;
}

.brand-pill,
.eyebrow,
.hero-metric span,
.account-label,
.account-stat span {
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.landing-nav {
    gap: 16px;
    flex-wrap: wrap;
}

.landing-nav a {
    color: var(--muted);
    text-decoration: none;
}

.landing-main {
    margin-top: 26px;
}

.hero-stage,
.access-card,
.hero-metric,
.account-strip,
.account-stat {
    border: 1px solid var(--panel-border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 34%),
        var(--panel);
    backdrop-filter: blur(18px);
}

.hero-stage {
    border-radius: 32px;
    padding: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 380px);
    gap: 20px;
}

.hero-copy-block {
    display: grid;
    align-content: center;
}

h1,
h2 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
}

h1 {
    margin-top: 12px;
    font-size: clamp(3rem, 7vw, 5.8rem);
    line-height: 0.9;
}

h2 {
    font-size: 1.32rem;
}

.hero-copy,
.access-copy,
.status-copy,
#tokenSummary {
    color: var(--muted);
    line-height: 1.6;
}

.hero-copy {
    max-width: 34ch;
    margin-top: 18px;
    font-size: 1rem;
}

.hero-actions {
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.hero-button.primary {
    color: #fff7ef;
    background: linear-gradient(135deg, #bc422f, #ef7f47);
}

.hero-button.ghost {
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-button.quiet {
    color: var(--muted);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.full-width {
    width: 100%;
}

.hero-metrics {
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.hero-metric {
    flex: 1 1 180px;
    min-width: 170px;
    border-radius: 20px;
    padding: 14px 16px;
    display: grid;
    gap: 6px;
}

.hero-metric strong {
    font-size: 1rem;
    line-height: 1.35;
}

.access-card {
    border-radius: 28px;
    padding: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 32%),
        var(--panel-strong);
    display: grid;
    gap: 16px;
}

.access-header {
    display: grid;
    gap: 8px;
}

.access-copy,
.status-copy,
#tokenSummary {
    margin: 0;
}

.access-tabs {
    gap: 8px;
    padding: 6px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.access-tabs button {
    flex: 1 1 0;
    min-height: 42px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.access-tabs button.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.auth-form {
    display: grid;
    gap: 12px;
}

.auth-form.is-hidden {
    display: none;
}

.auth-form label {
    display: grid;
    gap: 8px;
}

.auth-form span {
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-form input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--panel-soft);
    color: var(--text);
    font: inherit;
}

.access-actions {
    gap: 10px;
    flex-wrap: wrap;
}

.account-strip {
    border-radius: 22px;
    padding: 16px;
    display: grid;
    gap: 14px;
}

.account-copy {
    display: grid;
    gap: 8px;
}

.account-copy strong {
    font-size: 1.1rem;
}

.account-stats {
    gap: 10px;
    flex-wrap: wrap;
}

.account-stat {
    flex: 1 1 calc(50% - 5px);
    min-width: 120px;
    border-radius: 18px;
    padding: 14px;
    display: grid;
    gap: 6px;
}

.account-stat strong {
    font-size: 1rem;
}

@media (max-width: 940px) {
    .hero-stage {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .landing-shell {
        width: min(100%, calc(100% - 18px));
        padding-top: 18px;
    }

    .landing-header,
    .landing-nav,
    .hero-actions,
    .access-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stage,
    .access-card {
        padding: 20px;
        border-radius: 24px;
    }

    .hero-metric,
    .account-stat {
        flex-basis: 100%;
    }

    h1 {
        font-size: clamp(2.7rem, 14vw, 4.3rem);
    }
}
