:root {
    color-scheme: light dark;
    --page: #f3f4eb;
    --surface: #fcfcf7;
    --ink: #172b23;
    --muted: #475d54;
    --line: #d8dfd3;
    --pine: #102822;
    --mint: #c7f0ca;
    --amber: #ffc681;
    --link: #236142;
    font-family: "Instrument Sans", system-ui, -apple-system, "PingFang SC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); line-height: 1.58; }
a { color: var(--link); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.14; }
h1 { font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -.065em; font-weight: 650; }
h2 { font-size: clamp(1.45rem, 4vw, 2.1rem); letter-spacing: -.035em; }
h3 { font-size: 1.2rem; }
p, li { max-width: 68ch; }
p + p { margin-top: 1rem; }
.wrap { width: min(100% - 3rem, 68rem); margin-inline: auto; }
.rail { border-bottom: 1px solid var(--line); }
.top, .footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.15rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 1.15rem; }
.brand img { width: 2.35rem; height: 2.35rem; border-radius: .65rem; }
nav { display: flex; flex-wrap: wrap; gap: .45rem 1.3rem; }
nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 3.4rem; padding-block: clamp(3rem, 9vw, 7rem); }
.hero-copy { display: grid; justify-items: start; gap: 1.4rem; }
.hero p { font-size: clamp(1.1rem, 2.3vw, 1.35rem); color: var(--muted); }
.action { color: var(--mint); background: var(--pine); padding: .65rem 1.05rem; border-radius: .65rem; font-weight: 650; text-decoration: none; }
.action:hover { text-decoration: underline; }
.preview { display: grid; gap: 1.1rem; color: var(--mint); background: var(--pine); border-radius: 1.65rem; padding: clamp(1.3rem, 4.5vw, 2.4rem); }
.preview .protocol { font-size: .95rem; }
.preview .protocol::before { display: inline-block; content: ""; width: .55rem; height: .55rem; border-radius: 50%; margin-inline-end: .65rem; background: var(--amber); }
.preview strong { color: white; font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 650; }
.preview img { width: 100%; aspect-ratio: 3.15; object-fit: cover; object-position: center; border-radius: .5rem; }
.preview small { font-size: .875rem; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.features section { padding-block: 1.7rem 3.1rem; padding-inline-end: 1rem; }
.features section + section { padding-inline-start: 1.3rem; border-inline-start: 1px solid var(--line); }
.features p { color: var(--muted); margin-top: .6rem; }
.article { padding-block: clamp(2.5rem, 7vw, 5rem); }
.article h1 { font-size: clamp(2.4rem, 6vw, 4.75rem); margin-bottom: 1.2rem; }
.article h2 { margin-bottom: .68rem; }
.article section { margin-top: 1.1rem; border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1.05rem, 3vw, 1.7rem); background: var(--surface); }
.article ul, .article ol { margin-bottom: 0; padding-inline-start: 1.4rem; }
.article li + li { margin-top: .4rem; }
footer { border-top: 1px solid var(--line); color: var(--muted); }
footer a { font-size: .95rem; }
@media (max-width: 46rem) {
    .hero { grid-template-columns: 1fr; gap: 1.8rem; }
    .features { grid-template-columns: 1fr; }
    .features section, .features section + section { padding: 1.25rem 0; border-inline-start: 0; }
    .features section + section { border-top: 1px solid var(--line); }
}
@media (max-width: 26rem) { .wrap { width: calc(100% - 2rem); } }
@media (prefers-color-scheme: dark) {
    :root { --page: #101b17; --surface: #1a2720; --ink: #eef4e9; --muted: #bad0c1; --line: #34493e; --link: #bce7c7; }
    .preview { border: 1px solid var(--line); }
    .action { color: var(--pine); background: var(--mint); }
}
