:root {
    color-scheme: dark;
    --bg: #0d0d0f;
    --panel: #18181c;
    --line: #303037;
    --accent: #f97316;
    --text: #f4f4f5;
    --muted: #a1a1aa
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.6 system-ui, sans-serif
}

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

header,
main,
footer {
    max-width: 1120px;
    margin: auto;
    padding: 24px
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--line)
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 1px
}

.brand img {
    width: 48px
}

nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center
}

.button,
button {
    display: inline-block;
    background: var(--accent);
    color: #171717;
    border: 0;
    border-radius: 8px;
    padding: 12px 18px;
    font: inherit;
    font-weight: 700;
    cursor: pointer
}

.secondary {
    background: var(--panel);
    color: var(--text);
    border: 1px solid var(--line)
}

.hero {
    padding: 70px 0 50px;
    max-width: 780px
}

h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1.1;
    margin: 12px 0 20px
}

h2 {
    line-height: 1.2
}

.eyebrow {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: .8rem
}

p,
small {
    color: var(--muted)
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 16px
}

.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px
}

.panel h3 {
    margin-top: 0
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

footer {
    border-top: 1px solid var(--line);
    margin-top: 40px
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid white;
    outline-offset: 4px
}

.number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent)
}

@media(max-width:600px) {

    header,
    main,
    footer {
        padding: 18px
    }

    .hero {
        padding: 35px 0
    }

    nav {
        width: 100%
    }

    .actions>* {
        flex: 1;
        text-align: center
    }
}

.brand img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0
}