:root {
    color-scheme: light;
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    color: #182733;
    background: #f7f9fa;
    --line: #d7e0e5;
    --accent: #14476a;
    --quiet: #485961;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .18em; }
.container { width: min(1080px, calc(100% - 2.25rem)); margin-inline: auto; }
.header { background: #fff; border-bottom: 1px solid var(--line); }
.bar, .line, .actions { display: flex; flex-wrap: wrap; gap: .75rem 1.2rem; }
.bar { min-height: 5rem; align-items: center; justify-content: space-between; padding-block: .65rem; }
.brand { font-weight: 750; text-decoration: none; color: inherit; font-size: 1.2rem; }
.brand small { display: block; color: var(--quiet); font-size: .82rem; font-weight: 500; }
nav { display: flex; gap: 1.25rem; }
main { padding-block: clamp(1.6rem, 6vw, 4rem); }
footer { padding-block: 1.25rem 2rem; border-top: 1px solid var(--line); font-size: .9rem; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(1.9rem, 5vw, 3.05rem); line-height: 1.15; letter-spacing: -.035em; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.13rem; }
main > * + *, .intro > * + *, .product > * + * { margin-top: .9rem; }
.intro p, .meta { color: var(--quiet); }
.meta { font-size: .9rem; }
.panel { padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: .65rem; }
.notice { border-inline-start: 3px solid var(--accent); background: #eaf4fa; padding: .75rem; }
.stack { display: grid; justify-items: stretch; gap: .6rem; }
.narrow { max-width: 36rem; }
.finder, .products { display: grid; gap: .85rem; }
.finder { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); align-items: end; }
.products { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.product img { width: 100%; max-height: 240px; aspect-ratio: 4 / 3; object-fit: contain; display: block; background: #f4f6f7; border-radius: .35rem; }
.actions { align-items: end; }
.line { justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: .65rem; }
.check { display: flex; align-items: center; gap: .5rem; }
label { display: grid; gap: .25rem; min-width: 0; font-weight: 600; font-size: .9rem; }
input, select, textarea, button { font: inherit; }
input:not([type=checkbox]), select, textarea, button { min-height: 2.75rem; border: 1px solid var(--line); border-radius: .4rem; padding: .45rem .65rem; }
input:not([type=checkbox]), select, textarea { width: 100%; background: #fff; color: inherit; font-size: 1rem; }
textarea { resize: vertical; }
button { color: #fff; background: var(--accent); border-color: var(--accent); cursor: pointer; font-weight: 650; }
.secondary { color: var(--accent); background: #fff; }
button:hover { filter: brightness(.94); }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid #1674a4; outline-offset: 3px; }
summary { cursor: pointer; }
details[open] summary { margin-bottom: .85rem; }
