/* lowest.dev — minimum overhead stylesheet */

:root {
    --bg: #ffffff;
    --text: #1a1a1a;
    --rule: #e5e5e5;
    --accent: #2563eb;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", system-ui, sans-serif;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

body {
    padding: 0 1.25rem 6rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px dotted var(--accent);
}

hr {
    max-width: 540px;
    margin: 2rem auto;
    border: 0;
    border-top: 1px solid var(--rule);
}

main, .foot, .hero {
    max-width: 540px;
    margin: 0 auto;
}

/* Hero ------------------------------------------------------------ */
.hero {
    margin-top: 40vh;
    transform: translateY(-50%);
    text-align: center;
}

.hero hr {
    margin: 1.25rem auto;
    width: 100%;
}

.domain {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin: 0;
    color: var(--text);
}

.counter-line {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.counter {
    color: var(--accent);
    font-weight: 500;
}

.counter-label {
    margin-left: 0.4rem;
    color: var(--text);
}

/* Section labels -------------------------------------------------- */
.label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 0.75rem;
    color: var(--text);
}

.block {
    margin: 2rem 0;
}

/* Key/value spec rows -------------------------------------------- */
.spec {
    margin: 0;
    padding: 0;
}

.spec .row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.5rem 0;
    border-bottom: 1px dotted var(--rule);
    gap: 0.75rem;
}

.spec dt {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    flex: 0 0 auto;
}

.spec dd {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text);
    text-align: right;
    font-variant-numeric: tabular-nums;
    flex: 0 0 auto;
}

/* Benchmark bars -------------------------------------------------- */
.benchmark-note {
    font-size: 0.75rem;
    color: var(--text);
    margin: 0 0 0.75rem;
    font-variant-numeric: tabular-nums;
}

.legend {
    display: inline-block;
    width: 18px;
    height: 8px;
    vertical-align: middle;
    margin: 0 0.15rem 0 0.1rem;
}
.legend.before { background: var(--rule); }
.legend.after  { background: var(--accent); }

.bars { margin: 0; }

.bar-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.bar-label {
    width: 80px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
}

.bar {
    height: 16px;
    width: 0;
    transition: width 1s ease;
    flex: 0 0 auto;
}

.bar.before { background: var(--rule); }
.bar.after  { background: var(--accent); }

.bar-pct {
    font-size: 0.75rem;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    min-width: 40px;
    text-align: right;
}

/* Install commands ------------------------------------------------ */
.cmd {
    margin: 0 0 0.5rem;
    padding: 0.5rem 0;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text);
    border-bottom: 1px dotted var(--rule);
    font-variant-numeric: tabular-nums;
    white-space: pre-wrap;
}

/* Footer ---------------------------------------------------------- */
.foot {
    margin-top: 3rem;
}

.copy {
    margin: 1.5rem 0 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    text-align: center;
}
