:root {
    --background: #101010;
    --surface: #181818;
    --surface-hover: #222222;
    --surface-active: #282828;
    --border: #2d2d2d;
    --border-hover: #444444;
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --accent: #e63946;
    --accent-hover: #f04b57;
    --max-width: 1100px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--background);
    color: var(--text-primary);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

button {
    font: inherit;
}

.home {
    width: min(100% - 40px, var(--max-width));
    margin: 0 auto;
}

.accent {
    color: var(--accent);
}

/* ==============================
   HEADER
============================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    background: rgb(16 16 16 / 92%);
    backdrop-filter: blur(10px);
}

.site-header-inner {
    width: min(100% - 40px, var(--max-width));
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none;
}

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

.site-nav a {
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text-primary);
}

.site-nav a:focus-visible,
.site-logo:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

/* ==============================
   HERO
============================== */
.hero {
    padding: 70px 0;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 700px;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -0.05em;
}

.hero-text {
    max-width: 550px;
    margin-top: 25px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ==============================
   SECTION HEADINGS
============================== */
.section-heading {
    margin-bottom: 30px;
}

.section-heading h2 {
    font-size: 2rem;
    line-height: 1.1;
}

/* ==============================
   BUTTONS
============================== */
.button {
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

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

fieldset:disabled {
    opacity: 0.5;
}

.button-primary {
    background: var(--accent);
    color: white;
}

.button-primary:hover {
    background: var(--accent-hover);
}

.button-secondary {
    border-color: var(--border-hover);
    background: transparent;
    color: var(--text-primary);
}

.button-secondary:hover {
    border-color: var(--accent);
    background: var(--surface-hover);
}

.arrow {
    color: #555;
    font-size: 1.5rem;
}

/* ==============================
   FOOTER
============================== */

.site-footer {
    border-top: 1px solid var(--border);
}

.site-footer-inner {
    width: min(100% - 40px, var(--max-width));
    margin: 0 auto;
    padding: 25px 0;
}

.site-footer-bottom {
    color: var(--text-muted);
    font-size: 0.7rem;
    display: flex;
    justify-content: space-between;
    gap: 0.5em;
}

.site-footer-bottom a {
    color: var(--accent);
    text-decoration: none;
}

/* ==============================
   RESPONSIVE
============================== */

@media (max-width: 700px) {
    .home {
        width: min(100% - 30px, var(--max-width));
    }

    .hero {
        padding: 70px 0 50px;
    }

    .hero h1 {
        font-size: clamp(3.5rem, 18vw, 6rem);
    }

    .arrow {
        display: none;
    }

    .site-header-inner {
        width: min(100% - 30px, var(--max-width));
        min-height: 60px;
    }

    .site-logo {
        font-size: 0.9rem;
    }

    .site-nav {
        gap: 16px;
    }

    .site-nav a {
        font-size: 0.68rem;
    }

    .site-footer-inner {
        width: min(100% - 30px, var(--max-width));
    }
}
