:root {
  --bg: #faf7f2; --surface: #ffffff; --ink: #1d1a16; --muted: #6e665c; --line: #e8e1d6;
  --accent: #e2522e; --accent-soft: #fde7df; --good: #1f7a4d; --bad: #a3322a; --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #15130f; --surface: #1f1c17; --ink: #f3eee6; --muted: #a59c90; --line: #332e27;
    --accent: #ff6b45; --accent-soft: #3a211a; --good: #5fd39a; --bad: #ff8a7e; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 Inter, system-ui, sans-serif; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3, .logo { font-family: "Bricolage Grotesque", Inter, sans-serif; letter-spacing: -0.02em; line-height: 1.12; }

.localbar { background: #1d1a16; color: #ffd166; font-size: .85rem; text-align: center; padding: 6px 12px; }
.localbar a { color: #fff; font-weight: 600; }
.top { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(8px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; }
.logo { font-weight: 800; font-size: 1.4rem; text-decoration: none; white-space: nowrap; }
.logo.small { font-size: 1.2rem; }
.logo .dot { color: var(--accent); }
nav { display: flex; gap: 18px; font-size: .93rem; overflow-x: auto; scrollbar-width: none; }
nav a { text-decoration: none; color: var(--muted); white-space: nowrap; }
nav a:hover { color: var(--ink); }

.hero { padding: 64px 0 36px; max-width: 780px; }
.hero.small { padding: 44px 0 20px; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); margin: 0 0 16px; font-weight: 800; }
.hero.small h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { color: var(--muted); font-size: 1.12rem; margin: 0; }
.kicker { display: inline-block; color: var(--accent); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: .92rem; font-weight: 500; }
.chip span { color: var(--muted); margin-left: 4px; }
.chip:hover { border-color: var(--accent); }

section { margin: 28px 0 48px; }
.sechead { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.sechead h2 { margin: 0; font-size: 1.55rem; }
.note { color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 14px 16px; }

.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.tcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .15s, border-color .15s; }
.tcard:hover { transform: translateY(-2px); border-color: var(--accent); }
.tcover { position: relative; aspect-ratio: 16/10; background: #fff; }
.tcover > img { width: 100%; height: 100%; object-fit: cover; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; height: 100%; gap: 1px; background: var(--line); }
.mosaic img, .mosaic span { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 10px; }
.mosaic span { display: grid; place-items: center; font: 800 2rem "Bricolage Grotesque", sans-serif; color: #d9d2c7; }
.tniche, .tdraft { position: absolute; top: 12px; left: 12px; background: var(--ink); color: var(--bg); font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; }
.tdraft { left: auto; right: 12px; background: #ffd166; color: #1d1a16; }
.tbody { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tbody h3 { margin: 0; font-size: 1.22rem; }
.tbody p { margin: 0; color: var(--muted); font-size: .93rem; }
.tdate { margin-top: auto; color: var(--muted); font-size: .8rem; padding-top: 6px; }

.draftbar { background: #fff3cd; color: #6b4e00; border-radius: 12px; padding: 10px 14px; margin-top: 20px; font-size: .92rem; display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; }
.draftbar a { font-weight: 600; }
.article { max-width: 820px; }
.ahead { padding: 40px 0 8px; }
.ahead h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 14px; font-weight: 800; }
.meta { color: var(--muted); font-size: .88rem; margin: 14px 0 0; }

.quick { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 28px 0 40px; }
.qh { margin: 0 0 8px; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.quick ol { list-style: none; margin: 0; padding: 0; }
.quick li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.quick li:first-child { border-top: 0; }
.quick li > a:first-child { display: flex; align-items: center; gap: 12px; flex: 1; text-decoration: none; min-width: 0; }
.qn { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font: 800 .95rem "Bricolage Grotesque", sans-serif; }
.qt { display: flex; flex-direction: column; min-width: 0; }
.qt strong { font-size: .97rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qt em { font-style: normal; color: var(--muted); font-size: .85rem; }
.quick .btn { padding: 7px 14px; font-size: .88rem; margin: 0; flex: none; }

.product { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding: 32px 0; border-top: 1px solid var(--line); margin: 0; scroll-margin-top: 80px; }
.pimg { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; padding: 18px; align-self: start; }
.pimg img { max-height: 100%; object-fit: contain; }
.noimg { color: #aaa; font-size: .85rem; text-align: center; }
.pnum { position: absolute; top: -14px; left: -14px; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font: 800 1.35rem "Bricolage Grotesque", sans-serif; box-shadow: 0 0 0 4px var(--bg); }
.verdict { display: inline-block; margin: 0 0 8px; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: .82rem; padding: 3px 10px; border-radius: 6px; }
.pbody h2 { margin: 0 0 10px; font-size: 1.5rem; }
.pbody > p { margin: 0 0 14px; }
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 16px 0; }
.pch { font-weight: 700; font-size: .85rem; margin: 0 0 6px; }
.pch.good { color: var(--good); } .pch.bad { color: var(--bad); }
.pc ul { margin: 0; padding-left: 18px; font-size: .95rem; }
.pc li { margin: 4px 0; }
.bestfor { background: var(--surface); border-left: 3px solid var(--accent); padding: 10px 14px; border-radius: 0 10px 10px 0; font-size: .95rem; }
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; border-radius: 10px; padding: 11px 20px; margin-top: 6px; }
.btn:hover { filter: brightness(1.08); }
.warnlink { color: var(--bad); font-size: .82rem; }
.prose { font-size: 1.02rem; }
.prose h2 { font-size: 1.4rem; margin-top: 30px; }
.howto { color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); padding-top: 18px; }

.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; padding-top: 28px; padding-bottom: 40px; margin-top: 56px; }
.footgrid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.footgrid a:not(.logo) { display: block; text-decoration: none; padding: 2px 0; }
.footgrid a:hover { color: var(--ink); }
.fh { font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.disclosure { margin-top: 24px; }
.copy { font-size: .8rem; }

@media (max-width: 720px) {
  .product { grid-template-columns: 1fr; gap: 18px; }
  .pimg { max-width: 320px; }
  .pc { grid-template-columns: 1fr; }
  .footgrid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 24px; }
  .quick .btn { display: none; }
}
