:root {
  --bg: #f6f5f2; --panel: #ffffff; --band: #eceae4; --text: #1f2421; --muted: #5d6761; --line: #dedbd3;
  --accent: #1f5f4a; --accent-text: #ffffff; --accent-soft: #e2f0e8;
  color-scheme: light dark;
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #171a18; --panel: #212522; --band: #1c201d; --text: #e9ebe8; --muted: #a0a8a3; --line: #363b37;
    --accent: #5cc09e; --accent-text: #10211a; --accent-soft: #21392d; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 12px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.top { position: sticky; top: 0; z-index: 1; background: color-mix(in srgb, var(--panel) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; text-decoration: none; }
.top nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.top nav a:not(.button) { color: var(--muted); text-decoration: none; font-size: .95rem; }
.top nav a:not(.button):hover { color: var(--text); }
@media (max-width: 560px) { .top nav a[href^="#"], .top nav a[aria-current], .top nav a[href="/"] { display: none; }
  .top-row, .top nav { flex-wrap: nowrap; } .top nav { gap: 12px; } .brand { white-space: nowrap; } }
@media (max-width: 400px) { .brand { gap: 8px; font-size: .95rem; } .top .button { padding: 6px 12px; } }
.button { white-space: nowrap; }

.button { display: inline-block; padding: 8px 16px; border-radius: 8px; background: var(--accent); color: var(--accent-text); font-weight: 600; text-decoration: none; }
.button:hover { filter: brightness(1.08); }
.button.big { padding: 12px 22px; font-size: 1.05rem; }
.quiet { color: var(--muted); }

.hero { padding: 56px 0 64px; }
.hero-grid { display: grid; gap: 40px; align-items: center; grid-template-columns: 1.15fr 1fr; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 32px; } }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 24px; }

/* A sleeved card with its label, drawn in CSS. */
.label-demo { margin: 0; display: grid; justify-items: center; gap: 14px; }
.label-demo figcaption { color: var(--muted); font-size: .9rem; text-align: center; max-width: 24em; }
.sleeve { width: min(300px, 82vw); padding: 14px; border-radius: 14px; background: color-mix(in srgb, var(--panel) 70%, transparent);
  border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgb(0 0 0 / .35); transform: rotate(-2deg); }
.card-art { position: relative; overflow: hidden; aspect-ratio: 5 / 5.2; border-radius: 8px;
  background: linear-gradient(150deg, #2b6f8f 0%, #1f5f4a 45%, #c9a447 100%); }
.card-shine { position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgb(255 255 255 / .35) 50%, transparent 60%); }
.label { display: flex; gap: 12px; align-items: center; margin-top: 12px; padding: 10px; background: #fff; color: #111; border-radius: 4px; box-shadow: 0 1px 0 rgb(0 0 0 / .08); }
.qr { width: 74px; height: 74px; flex: none; shape-rendering: crispEdges; }
.label-text { display: grid; gap: 1px; font-size: .82rem; line-height: 1.3; }
.label-text strong { font-size: .88rem; }
.label-price { font-weight: 700; font-size: 1rem; }
.label-text code { font-size: .75rem; color: #555; }

section { padding: 64px 0; }
.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lede { color: var(--muted); font-size: 1.08rem; max-width: 40em; margin-bottom: 28px; }

.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li, .features article { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.steps p, .features p { color: var(--muted); margin: 0; }
.step-num { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 12px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; }

.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.numbers { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); max-width: 900px; }
.numbers li { padding-left: 28px; position: relative; color: var(--muted); }
.numbers li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.numbers strong { color: var(--text); }

.closing { text-align: center; }
.closing p { color: var(--muted); }

footer { padding: 28px 0 40px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }

/* ---------- Guide */
.top nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.guide-intro { padding: 40px 0 8px; max-width: 46em; }
.guide-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .guide-grid { grid-template-columns: 1fr; gap: 8px; } }
.toc { position: sticky; top: 76px; padding: 16px 0; font-size: .95rem; }
.toc-title { font-weight: 700; margin-bottom: 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--accent); }
@media (max-width: 860px) {
  .toc { position: static; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
  .toc ol { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
.guide-body section { display: flow-root; padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 64px; }
.guide-body section:first-child { border-top: 0; }
.guide-body h2 { margin-bottom: 16px; }
.howto { margin: 0 0 16px; padding-left: 1.4em; display: grid; gap: 10px; }
.howto li::marker { color: var(--accent); font-weight: 700; }
.howto ul { margin: 6px 0 0; padding-left: 1.2em; display: grid; gap: 4px; }
.ui { color: var(--accent); font-weight: 600; }
code { font-size: .9em; }
.note { color: var(--muted); font-size: .95rem; }
.callout { display: flow-root; margin: 20px 0 0; padding: 16px 20px; background: var(--accent-soft); border-radius: 12px; }
.callout h3 { margin-bottom: 6px; }
.callout p { margin: 0; }
.tips { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; }

.shot { float: right; width: 260px; margin: 4px 0 20px 36px; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px -16px rgb(0 0 0 / .35); }
.shot img + img { margin-top: 12px; }
.shot figcaption { margin-top: 8px; color: var(--muted); font-size: .85rem; text-align: center; }
.shot.wide { float: none; width: 100%; margin: 24px 0 0; }
@media (max-width: 700px) {
  .guide-body section { display: flex; flex-direction: column; }
  .guide-body section > .shot { order: 1; }
  .shot { float: none; width: auto; max-width: 320px; margin: 4px auto 24px; }
  .shot.wide { max-width: 100%; }
}
@media (max-width: 340px) { .top nav a:not(.button) { display: none; } }
