:root {
    --bg: oklch(16% 0.012 260);
    --fg: oklch(93% 0.01 260);
    --muted: oklch(58% 0.015 260);
    --faint: oklch(38% 0.015 260);
    --accent: oklch(78% 0.13 75);
    --line: oklch(28% 0.015 260);

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

    /* Fluid type scale: clamp(min, preferred, max) */
    --step-name: clamp(2.5rem, 1.7rem + 4vw, 4rem);
    --step-bio: clamp(1.1rem, 1rem + 0.6vw, 1.3rem);
    --step-link: clamp(1rem, 0.92rem + 0.4vw, 1.15rem);
    --step-val: clamp(1.4rem, 1.15rem + 1vw, 1.9rem);
    --step-lbl: clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);
    --step-domain: clamp(0.8rem, 0.75rem + 0.2vw, 0.9rem);
}

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

html,
body {
    height: 100%;
}

html {
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-sans);
    font-feature-settings:
        "kern" 1,
        "liga" 1,
        "calt" 1;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.wrap {
    width: 100%;
    max-width: 32rem;
    text-align: center;
}

.name {
    font-size: var(--step-name);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-wrap: balance;
}

.bio {
    margin-top: 0.9rem;
    font-size: var(--step-bio);
    color: var(--muted);
    line-height: 1.65;
    max-width: 32ch;
    margin-inline: auto;
    text-wrap: pretty;
}

.links {
    margin-top: 1.4rem;
    font-size: var(--step-link);
}

.links a {
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
    transition:
        color 0.15s ease,
        border-color 0.15s ease;
}

.links a:hover,
.links a:focus-visible {
    color: var(--fg);
    border-color: var(--accent);
}

.counter {
    margin-top: 2.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: center;
    gap: 1.6rem;
}

.unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.unit .val {
    font-size: var(--step-val);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
    color: var(--accent);
}

.unit .lbl {
    font-size: var(--step-lbl);
    color: var(--faint);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.domain {
    margin-top: 2rem;
    font-size: var(--step-domain);
    color: var(--faint);
    letter-spacing: 0.04em;
}
