:root {
    --home-bg: #110e0a;
    --home-panel: #161108;
    --home-panel-soft: #1a1408;
    --home-border: #2e2518;
    --home-text: #f0e8d8;
    --home-muted: #b8a888;
    --home-dim: #7a6a4a;
    --home-accent: #d4aa40;
    --home-accent-soft: #e8c050;
    --home-teal: #5aaa5a;
    --home-danger: #d05050;
    --home-success: #5aaa5a;
    --home-shadow: 0 20px 60px rgba(5, 5, 2, 0.4);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background:
        radial-gradient(ellipse at 30% 0%, rgba(212, 170, 64, 0.035) 0%, transparent 50%),
        var(--home-bg);
    color: var(--home-text);
    font-family: "Newsreader", Georgia, serif;
}

body {
    min-height: 100vh;
}

a {
    color: inherit;
}

.page-shell {
    width: min(1180px, calc(100vw - 32px));
    margin: 0 auto;
    padding-bottom: 40px;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--home-border);
}

.brand-mark {
    font-family: "Fraunces", serif;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--home-text);
    letter-spacing: -0.02em;
}

.brand-mark .brand-accent {
    color: var(--home-accent);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.site-nav a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--home-muted);
    transition: color 0.15s;
}

.site-nav a:hover {
    color: var(--home-text);
}

.site-nav a.active {
    color: var(--home-accent);
}

.header-cta {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 18px;
    border: 1px solid var(--home-dim);
    color: var(--home-accent);
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.15s;
}

.header-cta:hover {
    background: var(--home-accent);
    color: var(--home-bg);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 26px;
    padding: 42px 0 24px;
    align-items: stretch;
}

.hero-copy,
.hero-proof-card,
.trust-panel,
.teaser-card {
    border: 1px solid var(--home-border);
    background: var(--home-panel);
}

.hero-copy {
    border-radius: 2px;
    padding: 34px 30px 30px;
}

.hero-eyebrow,
.section-eyebrow,
.proof-card-eyebrow,
.teaser-label {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--home-accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-eyebrow::before {
    content: '';
    width: 14px;
    height: 1px;
    background: var(--home-dim);
}

.hero h1 {
    margin: 18px 0 14px;
    font-family: "Fraunces", serif;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.hero h1 em {
    font-style: italic;
    color: var(--home-accent);
}

.hero-subtitle {
    margin: 0;
    max-width: 640px;
    color: var(--home-muted);
    font-size: 1.06rem;
    line-height: 1.72;
}

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

.hero-primary,
.hero-secondary,
.section-link,
.trust-action,
.tool-card {
    text-decoration: none;
}

.hero-primary,
.hero-secondary {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 2px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.15s;
}

.hero-primary {
    background: var(--home-accent);
    color: var(--home-bg);
}

.hero-primary:hover {
    background: var(--home-accent-soft);
    transform: translateY(-1px);
}

.hero-secondary {
    border: 1px solid var(--home-dim);
    color: var(--home-accent);
}

.hero-secondary:hover {
    border-color: var(--home-accent);
}

.hero-note {
    margin-top: 18px;
    color: var(--home-dim);
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 640px;
}

.hero-proof-card {
    border-radius: 2px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.proof-grid {
    display: grid;
    gap: 1px;
    margin-top: 16px;
    background: var(--home-border);
}

.proof-stat {
    padding: 16px;
    background: var(--home-bg);
}

.proof-label {
    font-family: "IBM Plex Mono", monospace;
    color: var(--home-dim);
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 500;
}

.proof-value {
    margin-top: 10px;
    font-family: "IBM Plex Mono", monospace;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 600;
    color: var(--home-text);
}

.proof-subvalue {
    margin-top: 8px;
    color: var(--home-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.proof-methodology {
    margin-top: auto;
    padding-top: 18px;
    color: var(--home-dim);
    font-size: 0.84rem;
    line-height: 1.55;
}

.section {
    padding: 18px 0 0;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.section-heading h2 {
    margin: 12px 0 0;
    font-family: "Fraunces", serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.section-link {
    color: var(--home-accent);
    font-weight: 500;
    font-size: 0.85rem;
}

.bankroll-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.teaser-card {
    border-radius: 2px;
    padding: 22px 20px;
    border-left: 3px solid var(--home-accent);
}

.teaser-card h3,
.trust-copy h2 {
    margin: 10px 0 8px;
    font-family: "Fraunces", serif;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.teaser-card p,
.trust-copy p {
    margin: 0;
    color: var(--home-muted);
    font-weight: 300;
    line-height: 1.6;
    font-size: 0.9rem;
}

.teaser-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.teaser-pill {
    font-family: "IBM Plex Mono", monospace;
    padding: 4px 8px;
    border-radius: 2px;
    background: rgba(212, 170, 64, 0.06);
    color: var(--home-accent);
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid var(--home-dim);
}

.teaser-pill.muted {
    background: transparent;
    color: var(--home-dim);
    border-color: var(--home-border);
}

.trust-panel {
    border-radius: 2px;
    padding: 26px 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
}

.trust-actions {
    display: grid;
    gap: 12px;
}

.trust-action {
    display: block;
    border-radius: 2px;
    padding: 16px 18px;
    border: 1px solid var(--home-border);
    background: var(--home-bg);
    border-top: 2px solid var(--home-dim);
    transition: border-top-color 0.2s;
}

.trust-action:hover {
    border-top-color: var(--home-accent);
}

.trust-action span {
    display: block;
    color: var(--home-accent);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.trust-action strong {
    display: block;
    margin-top: 7px;
    color: var(--home-text);
    line-height: 1.45;
}

.site-footer {
    padding: 34px 0 14px;
}

.site-footer-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.site-footer-links a {
    color: var(--home-muted);
    text-decoration: none;
    font-size: 0.92rem;
}

.site-footer-note {
    margin: 0;
    color: var(--home-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .site-header {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero,
    .trust-panel,
    .bankroll-preview-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100vw - 24px, 100%);
    }

    .site-header {
        padding-top: 14px;
    }

    .site-nav {
        display: none;
    }

    .hero {
        padding-top: 24px;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-primary,
    .hero-secondary,
    .header-cta {
        width: 100%;
    }
}
