:root {
    --ash: #100f12;
    --obsidian: #18171b;
    --iron: #2b2a2f;
    --parchment: #f3e7d1;
    --muted: #c9b99d;
    --ember: #c84f2e;
    --gold: #d9a642;
    --teal: #3f8f8a;
    --shadow: rgba(0, 0, 0, 0.48);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--parchment);
    background: var(--ash);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

.site-header {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(18px, 5vw, 64px);
    background: linear-gradient(180deg, rgba(16, 15, 18, 0.9), rgba(16, 15, 18, 0.16));
    backdrop-filter: blur(10px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(217, 166, 66, 0.55);
    background: rgba(24, 23, 27, 0.72);
    color: var(--gold);
    font-family: Cinzel, Georgia, serif;
    font-weight: 700;
}

.brand strong,
h1,
h2,
h3 {
    font-family: Cinzel, Georgia, serif;
    letter-spacing: 0;
}

.brand strong {
    display: block;
    line-height: 1.1;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
}

.site-nav {
    display: flex;
    gap: clamp(12px, 3vw, 30px);
    color: var(--muted);
    font-size: 0.94rem;
}

.site-nav a {
    text-decoration: none;
}

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

.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 120px clamp(20px, 7vw, 96px) 60px;
    background:
        linear-gradient(90deg, rgba(16, 15, 18, 0.92) 0%, rgba(16, 15, 18, 0.7) 36%, rgba(16, 15, 18, 0.2) 72%),
        linear-gradient(180deg, rgba(16, 15, 18, 0.2) 0%, rgba(16, 15, 18, 0.92) 100%),
        var(--hero-image) center / cover no-repeat;
}

.hero-content {
    max-width: 760px;
}

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

h1 {
    margin: 0;
    max-width: 10ch;
    font-size: clamp(3.4rem, 9vw, 7.8rem);
    line-height: 0.95;
}

.lead {
    max-width: 620px;
    margin: 24px 0 0;
    color: var(--parchment);
    font-size: clamp(1.08rem, 2.3vw, 1.42rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 700;
}

.button-primary {
    background: linear-gradient(180deg, #e0a84a, #b84a2e);
    color: #17110c;
    box-shadow: 0 14px 34px rgba(200, 79, 46, 0.24);
}

.button-primary:hover {
    filter: brightness(1.08);
}

.button-secondary {
    border-color: rgba(243, 231, 209, 0.36);
    background: rgba(16, 15, 18, 0.58);
    color: var(--parchment);
}

.content-band,
.download-panel {
    padding: clamp(52px, 8vw, 92px) clamp(20px, 7vw, 96px);
}

.content-band {
    background: linear-gradient(180deg, var(--ash), var(--obsidian));
}

.section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

h2 {
    margin: 0;
    font-size: clamp(2rem, 4.4vw, 3.6rem);
    line-height: 1.08;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-grid article {
    min-height: 210px;
    padding: 24px;
    border: 1px solid rgba(217, 166, 66, 0.2);
    background: linear-gradient(180deg, rgba(43, 42, 47, 0.86), rgba(24, 23, 27, 0.86));
}

h3 {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 1.28rem;
}

.feature-grid p,
.download-panel p,
.site-footer p {
    color: var(--muted);
}

.download-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-top: 1px solid rgba(217, 166, 66, 0.18);
    background:
        radial-gradient(circle at 15% 0%, rgba(200, 79, 46, 0.2), transparent 32%),
        linear-gradient(135deg, #18171b, #111215 56%, #1d241f);
}

.download-panel > div {
    max-width: 680px;
}

.site-footer {
    padding: 26px clamp(20px, 7vw, 96px);
    background: #0b0b0d;
    font-size: 0.92rem;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 820px) {
    .site-header {
        position: absolute;
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .site-nav {
        width: 100%;
        justify-content: space-between;
    }

    .hero {
        min-height: 92svh;
        align-items: flex-end;
        padding-top: 180px;
    }

    .feature-grid,
    .download-panel {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        display: grid;
    }

    .download-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .brand small {
        display: none;
    }

    .site-nav {
        font-size: 0.84rem;
    }

    h1 {
        font-size: 3.2rem;
    }

    .button {
        width: 100%;
    }
}
