:root {
    --bg: #111114;
    --surface: #19191e;
    --surface-hover: #202027;
    --border: #2b2b34;

    --text: #f2f2f4;
    --text-muted: #9a9aa6;

    --accent: #8b7cf6;
    --accent-hover: #9b8df8;
    --accent-soft: rgba(139, 124, 246, 0.14);

    --danger: #e57373;

    --radius: 14px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;

    background: var(--bg);
    color: var(--text);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    height: 72px;

    display: flex;
    align-items: center;

    padding: 0 32px;

    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.logo span {
    color: var(--accent);
    display: inline-block;
    transition: transform 150ms ease;
}

.logo:hover span {
    transform: rotate(-3deg) translateY(-1px);
}

.page {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: 64px 0;
}

h1 {
    margin: 0;

    font-size: 42px;
    line-height: 1.1;
    letter-spacing: -0.045em;
    font-weight: 800;
}

h2 {
    font-size: 20px;
    margin-top: 48px;
}

.subtitle {
    color: var(--text-muted);
    margin-top: 10px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 18px;

    border: 0;
    border-radius: 10px;

    background: var(--accent);
    color: white;

    font: inherit;
    font-weight: 650;

    cursor: pointer;

    transition:
        background 120ms ease,
        transform 120ms ease;
}

.button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px) rotate(-0.5deg);
}

.button:active {
    transform: translateY(0);
}

.button.secondary {
    background: var(--surface);
    border: 1px solid var(--border);
}

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

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.start-button {
    display: block;
    margin: 2rem auto;
    padding: 0.8rem 2.5rem;

    border: none;
    border-radius: 8px;

    background: #222;
    color: white;

    font-size: 1.1rem;
    font-weight: 700;

    cursor: pointer;
    transition: transform 0.1s, background 0.1s;
}

.start-button:hover {
    background: #333;
    transform: translateY(-2px);
}

.start-button:active {
    transform: translateY(0);
}
