:root {
    --bg-center: #2c323a;
    --bg-mid: #252c33;
    --bg-outer: #1d232b;
    --text-heading: #f2f3f5;
    --text-body: #e8ecf0;
    --text-muted: rgba(232, 236, 240, 0.74);
    --primary: #6a0f2c;
    --primary-hover: #7d1b3b;
    --surface: rgba(242, 245, 248, 0.05);
    --surface-strong: rgba(242, 245, 248, 0.08);
    --border: rgba(232, 236, 240, 0.13);
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
    --radius-pill: 999px;
    --radius-card: 28px;
    --font-main: "Source Sans 3", sans-serif;
    --font-heading: "EB Garamond", serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--text-body);
    background:
        radial-gradient(circle at top center, var(--bg-center) 0%, var(--bg-mid) 42%, var(--bg-outer) 100%);
    background-color: var(--bg-outer);
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 28%),
        linear-gradient(315deg, rgba(106, 15, 44, 0.12), transparent 32%);
    pointer-events: none;
}

.page-glow {
    position: fixed;
    width: 34rem;
    height: 34rem;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.34;
    pointer-events: none;
}

.page-glow-left {
    top: -10rem;
    left: -10rem;
    background: rgba(106, 15, 44, 0.22);
}

.page-glow-right {
    right: -12rem;
    bottom: -12rem;
    background: rgba(106, 15, 44, 0.14);
}

.site-header,
.hero-shell,
.site-footer {
    position: relative;
    z-index: 1;
}

.site-header {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--text-heading);
    text-decoration: none;
}

.brand-logo {
    width: clamp(220px, 28vw, 290px);
    height: auto;
    display: block;
}

.brand-region {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(242, 243, 245, 0.16);
    border-radius: var(--radius-pill);
    background: rgba(242, 245, 248, 0.05);
    color: var(--text-body);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-shell {
    min-height: calc(100vh - 166px);
    display: grid;
    place-items: center;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 48px;
}

.hero-card {
    width: min(820px, 100%);
    padding: clamp(32px, 5vw, 54px);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
        rgba(18, 23, 30, 0.5);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.hero-card::before {
    content: "";
    display: block;
    width: 112px;
    height: 3px;
    margin-bottom: 28px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, rgba(242, 243, 245, 0.92), rgba(106, 15, 44, 0.92));
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    color: var(--text-heading);
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.02em;
}

.lead {
    max-width: 34rem;
    margin: 26px 0 0;
    color: var(--text-body);
    font-size: clamp(1.1rem, 2vw, 1.34rem);
    line-height: 1.55;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 28px;
    border-radius: var(--radius-pill);
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(106, 15, 44, 0.28);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(106, 15, 44, 0.34);
}

.btn-primary:focus-visible {
    outline: 2px solid rgba(242, 243, 245, 0.8);
    outline-offset: 4px;
}

.signal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 36px;
}

.signal-card {
    padding: 20px 20px 18px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
}

.signal-card:hover {
    background: var(--surface-strong);
}

.signal-label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--text-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.signal-card p {
    margin: 0;
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.55;
}

.signal-link {
    color: var(--text-heading);
    font-weight: 700;
    text-decoration: none;
}

.signal-link:hover,
.signal-link:focus-visible {
    text-decoration: underline;
}

.site-footer {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 28px;
}

.site-footer p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.94rem;
}

@media (max-width: 780px) {
    .site-header {
        padding-top: 22px;
    }

    .brand {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .hero-shell {
        min-height: auto;
        padding-top: 28px;
    }

    .hero-card {
        border-radius: 24px;
    }

    .signal-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 520px) {
    .site-header,
    .hero-shell,
    .site-footer {
        width: min(100% - 24px, 1120px);
    }

    .brand-logo {
        width: min(250px, 100%);
    }

    .lead {
        font-size: 1.04rem;
    }

    .hero-card {
        padding: 28px 22px;
    }
}
