:root {
    --ink: #2f3437;
    --teal: #487f86;
    --teal-deep: #3a686e;
    --paper: #ffffff;
    --mist: #eef5f5;
    --line: #d5e4e4;
    --muted: #5c6568;
    --radius: 1rem;
    --radius-sm: 0.75rem;
    --shadow: 0 12px 32px rgba(47, 52, 55, 0.07);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--teal);
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--teal-deep);
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.88em;
    background: var(--mist);
    padding: 0.12em 0.35em;
    border-radius: 0.3em;
}

:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
}

.skip {
    position: absolute;
    left: 0.75rem;
    top: -3rem;
    z-index: 20;
    background: var(--teal);
    color: #fff;
    padding: 0.5rem 0.9rem;
    border-radius: 0.5rem;
    text-decoration: none;
}

.skip:focus {
    top: 0.75rem;
    color: #fff;
}

.wrap {
    width: min(100% - 2.5rem, 42rem);
    margin-inline: auto;
}

.page-hub .wrap {
    width: min(100% - 2.5rem, 52rem);
}

.site-header {
    padding: 1.35rem 0 1.1rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--ink);
    min-width: 0;
}

.brand:hover {
    color: var(--ink);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    border-radius: 0.7rem;
    overflow: hidden;
    background: var(--mist);
    padding: 0.28rem;
}

.logo-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    min-width: 0;
}

.brand-name {
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.brand-tag {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    gap: 1.15rem;
    font-size: 0.95rem;
}

.nav a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
    color: var(--teal);
}

.nav a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
}

main {
    flex: 1;
    padding: 3.25rem 0 4.5rem;
}

.hero {
    margin-bottom: 3.25rem;
}

.hero-mark {
    margin: 0 0 1.15rem;
}

.hero-mark img {
    display: block;
    width: 5.5rem;
    height: auto;
}

.eyebrow {
    display: inline-block;
    color: var(--teal);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 0.85rem;
}

h1,
h2,
h3 {
    letter-spacing: -0.03em;
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: clamp(1.85rem, 4vw, 2.55rem);
    margin: 0 0 1rem;
}

h2 {
    font-size: clamp(1.3rem, 2.4vw, 1.55rem);
    margin: 0 0 1.1rem;
}

h3 {
    font-size: 1.12rem;
    margin: 0 0 0.45rem;
}

.lede {
    font-size: 1.12rem;
    color: var(--ink);
    margin: 0;
    max-width: 38rem;
}

.section {
    margin-top: 3.25rem;
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.section-head h2 {
    margin: 0;
}

.hint {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0;
}

.kit-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 0.15rem);
    padding: 1.75rem 1.8rem 1.65rem;
    box-shadow: var(--shadow);
}

.kit-card.featured {
    background:
        linear-gradient(180deg, var(--mist) 0%, var(--paper) 42%);
}

.kit-kicker {
    display: inline-block;
    background: var(--teal);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

.kit-card h3 {
    font-size: 1.28rem;
    margin-bottom: 0.65rem;
}

.kit-card p {
    margin: 0 0 1rem;
    color: var(--muted);
}

.price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.65rem 1rem;
    margin: 0 0 0.85rem;
}

.price {
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--ink);
}

.price-note {
    color: var(--muted);
    font-size: 0.92rem;
}

.guarantee {
    background: var(--mist);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
}

.flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
}

.flow li {
    background: var(--mist);
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
}

.flow .arrow {
    background: transparent;
    color: var(--teal);
    padding: 0;
    font-weight: 700;
}

.kit-soon {
    border: 1.5px dashed var(--line);
    border-radius: var(--radius);
    padding: 1.5rem 1.4rem;
    background: transparent;
    box-shadow: none;
    margin-top: 1rem;
}

.kit-soon h3 {
    color: var(--muted);
    font-weight: 600;
}

.kit-soon p {
    margin: 0;
    color: var(--muted);
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.card-link:hover {
    color: inherit;
    border-color: var(--teal);
    transform: translateY(-2px);
}

.card-link p {
    margin: 0;
    color: var(--muted);
}

.card-meta {
    display: inline-block;
    margin-top: 0.85rem;
    color: var(--teal);
    font-weight: 600;
    font-size: 0.92rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: var(--teal);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid var(--teal);
    border-radius: 999px;
    padding: 0.8rem 1.4rem;
    line-height: 1.2;
    cursor: pointer;
}

.btn:hover {
    background: var(--teal-deep);
    border-color: var(--teal-deep);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--teal);
}

.btn-ghost:hover {
    background: var(--mist);
    color: var(--teal-deep);
}

.callout {
    background: var(--mist);
    border-radius: var(--radius);
    padding: 1.25rem 1.4rem;
    margin: 1.5rem 0 0;
}

.callout p {
    margin: 0 0 0.75rem;
}

.callout p:last-child {
    margin-bottom: 0;
}

.callout .btn {
    margin-top: 0.35rem;
}

.crumb {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0 0 1.5rem;
}

.crumb a {
    color: var(--teal);
    text-decoration: none;
}

.crumb a:hover {
    text-decoration: underline;
}

.article-lede {
    font-size: 1.1rem;
    margin: 0 0 1.25rem;
}

.need-list,
.checklist {
    margin: 0.4rem 0 0;
    padding-left: 1.2rem;
}

.need-list li,
.checklist li {
    margin: 0.35rem 0;
}

.steps {
    counter-reset: step;
    list-style: none;
    margin: 0;
    padding: 0;
}

.step {
    position: relative;
    padding: 0 0 2.4rem 3.4rem;
}

.step:last-child {
    padding-bottom: 0;
}

.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    display: grid;
    place-items: center;
}

.step::after {
    content: "";
    position: absolute;
    left: 1.05rem;
    top: 2.5rem;
    bottom: 0.2rem;
    width: 2px;
    background: var(--line);
}

.step:last-child::after {
    display: none;
}

.step h2 {
    font-size: 1.2rem;
    margin: 0.15rem 0 0.7rem;
}

.step p,
.step ul {
    margin: 0 0 0.85rem;
}

.step ul {
    padding-left: 1.15rem;
}

.problems {
    display: grid;
    gap: 0.9rem;
}

.problem {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 1rem 1.15rem;
}

.problem h3 {
    margin: 0 0 0.35rem;
    font-size: 1.02rem;
}

.problem p {
    margin: 0;
    color: var(--muted);
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 1.5rem 0 2rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.site-footer .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.25rem;
}

.site-footer a {
    color: var(--muted);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--teal);
}

.sample {
    background: var(--mist);
    border-radius: var(--radius-sm);
    padding: 1rem 1.15rem;
    overflow-x: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0.85rem 0 0;
}

.sample code {
    background: transparent;
    padding: 0;
    font-size: inherit;
}

.compare-wrap {
    overflow-x: auto;
    margin-top: 1rem;
}

.compare {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.compare th,
.compare td {
    text-align: left;
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.compare thead th {
    background: var(--mist);
    font-weight: 600;
}

.compare tbody th {
    font-weight: 600;
    width: 40%;
}

@media (max-width: 640px) {
    .wrap,
    .page-hub .wrap {
        width: min(100% - 1.75rem, 52rem);
    }

    main {
        padding: 2.25rem 0 3.25rem;
    }

    .header-inner {
        align-items: flex-start;
    }

    .btn {
        width: 100%;
    }

    .step {
        padding-left: 3rem;
    }

    .compare thead {
        display: none;
    }

    .compare,
    .compare tbody,
    .compare tr,
    .compare th,
    .compare td {
        display: block;
        width: 100%;
    }

    .compare tr {
        border: 1px solid var(--line);
        border-radius: var(--radius-sm);
        padding: 0.75rem 0.9rem;
        margin: 0 0 0.75rem;
    }

    .compare tbody th,
    .compare td {
        border: 0;
        padding: 0.2rem 0;
        width: auto;
    }

    .compare td::before {
        content: attr(data-label);
        display: block;
        color: var(--muted);
        font-size: 0.78rem;
        font-weight: 600;
        margin-top: 0.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .card-link {
        transition: none;
    }
}
