:root {
    color-scheme: dark;

    --background: #111215;
    --surface: #191b20;
    --border: #36383e;
    --text: #f2f0eb;
    --muted: #b5b6bd;
    --accent: #f4cb79;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--background);
}

* { box-sizing: border-box; }

body { margin: 0; }

a {
    color: var(--accent);
    text-underline-offset: 0.22em;
}


.site-header, main, footer {
    width: min(100% - 48px, 780px);
    margin-inline: auto;
}

.site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    padding-block: 28px 22px;
    border-bottom: 1px solid var(--border);
}

.lab-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.lab-brand img { border-radius: 50%; }

.product-name {
    margin-left: auto;
    color: var(--muted);
    font-size: 0.85rem;
    text-decoration: none;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

footer nav { gap: 14px 22px; }

.site-header nav { width: 100%; }

nav a {
    font-size: 0.85rem;
    text-decoration: none;
}

a:hover { color: #ffe4af; }

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 6px;
    border-radius: 2px;
}

nav a[aria-current="page"] {
    color: var(--text);
    text-decoration: underline;
}

main { padding-block: 48px 60px; }

h1, h2 {
    line-height: 1.2;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

h1 {
    margin: 0 0 24px;
    font-size: clamp(2rem, 7vw, 3.5rem);
    font-weight: 650;
}

h2 {
    margin: 42px 0 16px;
    font-size: 1.45rem;
}

p { margin: 0 0 18px; }

li {
    padding-left: 5px;
    margin-bottom: 14px;
}

ol {
    padding-left: 22px;
    margin-bottom: 0;
}

.hero {
    position: relative;
    padding-block: 4px 18px;
}

.app-icon {
    display: block;
    width: 100px;
    height: 100px;
    margin-bottom: 26px;
    border-radius: 23px;
}

.badge {
    display: inline-block;
    margin-bottom: 20px;
    padding: 5px 11px;
    color: var(--accent);
    border: 1px solid #62533b;
    border-radius: 20px;
    font-size: 0.75rem;
}

.lead {
    max-width: 650px;
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1.6;
}

.card {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
}

.card h2 { margin-top: 0; }

.button {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    color: #161514;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 8px;
    font-weight: 650;
    text-decoration: none;
}

.button:hover {
    color: #161514;
    background: #ffe4af;
}

.meta {
    color: var(--muted);
    font-size: 0.85rem;
}

footer {
    padding-block: 26px 36px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.75rem;
}

footer p { margin-bottom: 12px; }

.skip-link {
    position: absolute;
    top: -100px;
    left: 24px;
    z-index: 1;
    padding: 10px 16px;
    background: var(--surface);
}

.skip-link:focus { top: 10px; }

@media (width <= 480px) {
    .site-header, main, footer { width: calc(100% - 36px); }

    .site-header {
        gap: 14px;
        padding-top: 20px;
    }

    .lab-brand { font-size: 0.75rem; }

    .lab-brand img {
        width: 32px;
        height: 32px;
    }

    .product-name {
        width: 100%;
        margin-left: 0;
    }

    main { padding-block: 32px 42px; }

    .card { padding: 20px; }
}
