/* Fizz SEO Schema. Motif: the page and its source side by side. Warm paper, an editor pane, syntax colours
   (keys violet, strings green, numbers amber) and brackets. Serif headings, monospace labels. */
:root {
  --paper: #f6f4ef; --surface: #ffffff; --raised: #faf9f6; --ink: #15171c; --ink-2: #545966; --ink-3: #868b96;
  --rule: #e4e1d9; --hair: rgba(21, 23, 28, .09);
  --accent: #5233d6; --accent-soft: #ece8fd; --ok: #18794e; --ok-soft: #e2f4ea; --warn: #a35200; --warn-soft: #fdf0dc;
  --err: #b42318; --err-soft: #fde7e4;
  --ed-bg: #14161d; --ed-panel: #1b1e27; --ed-line: #2a2e3a; --ed-ink: #d9dce4; --ed-dim: #6f7588;
  --tk-key: #b7a6ff; --tk-str: #8fd6a6; --tk-num: #f3c07a; --tk-pun: #8d93a5;
  --shadow: 0 1px 2px rgba(21, 23, 28, .05), 0 8px 24px -12px rgba(21, 23, 28, .16);
  --shadow-lg: 0 2px 6px rgba(21, 23, 28, .05), 0 30px 70px -30px rgba(21, 23, 28, .35);
  --serif: "Iowan Old Style", "Charter", "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1014; --surface: #171920; --raised: #1c1f27; --ink: #eceef3; --ink-2: #a8adba; --ink-3: #737987;
    --rule: #2a2d37; --hair: rgba(255, 255, 255, .08);
    --accent: #a594ff; --accent-soft: rgba(165, 148, 255, .14); --ok: #5fd39a; --ok-soft: rgba(95, 211, 154, .12);
    --warn: #f2b45a; --warn-soft: rgba(242, 180, 90, .13); --err: #ff8a7a; --err-soft: rgba(255, 138, 122, .13);
    --ed-bg: #0a0b0f; --ed-panel: #12141a; --ed-line: #23262f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 28px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .3), 0 34px 80px -30px rgba(0, 0, 0, .8);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); overflow-x: clip; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
code, .mono { font-family: var(--mono); font-size: .86em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.eyebrow { font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; color: var(--accent); margin: 0 0 12px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--hair); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; white-space: nowrap; letter-spacing: -0.01em; }
.brand img { width: 26px; height: 26px; }
.top nav { margin-left: auto; display: flex; gap: 22px; font-size: .94rem; }
.top nav a { text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }
@media (max-width: 760px) { .top nav a.opt { display: none; } .top nav { gap: 14px; font-size: .9rem; } }

/* CTA from the build */
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 10px; background: var(--accent); color: #fff;
  font-weight: 650; text-decoration: none; box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent);
  transition: transform .2s var(--ease), box-shadow .2s; }
@media (prefers-color-scheme: dark) { .cta-btn { color: #120d2b; } }
.cta-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--accent) 80%, transparent); }
@media (prefers-color-scheme: dark) { .cta-btn:hover { color: #120d2b; } }
.cta-note { font-size: .86rem; color: var(--ink-2); max-width: 26em; }

/* Hero */
.hero { position: relative; padding: 64px 0 96px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 13%, transparent) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 35%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 70% 35%, #000 20%, transparent 75%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px 340px at 78% 30%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%); }
.hero .wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1040px) { .hero .wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; } }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.1rem); }
.hero h1 em { font-style: italic; color: var(--accent); }
.lead { font-size: 1.16rem; color: var(--ink-2); margin: 20px 0 24px; max-width: 30em; }
.chip { display: inline-block; max-width: 30em; line-height: 1.5; padding: 10px 14px; border-radius: 10px; margin: 0 0 26px;
  background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--shadow); font-size: .9rem; color: var(--ink-2); }
.chip strong { color: var(--ok); font-size: 1rem; margin-right: 4px; }
.chip a { color: var(--ink); font-weight: 600; }

/* Demo: product page and its JSON-LD */
.demo { margin: 0; border-radius: 16px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--shadow-lg); overflow: hidden; }
.demo-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--rule); background: var(--raised); font-size: .8rem; color: var(--ink-3); }
.demo-bar .dots { display: flex; gap: 6px; } .demo-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--rule); }
.demo-bar .url { flex: 1; min-width: 0; font-family: var(--mono); padding: 4px 10px; border-radius: 6px; background: var(--surface); border: 1px solid var(--rule); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-bar .tag { font-family: var(--mono); font-size: .7rem; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--rule); }
.panes { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .panes { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); } }

.shop { padding: 20px; display: grid; gap: 14px; align-content: start; }
.shop .pic { aspect-ratio: 4 / 3; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 16%, var(--raised)), color-mix(in srgb, var(--warn) 14%, var(--raised))); }
.shop .pic svg { width: 46%; height: auto; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; opacity: .85; }
.shop .vendor { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.shop h3 { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; margin-top: 2px; }
.shop .stars { display: flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--ink-2); }
.shop .stars b { color: var(--warn); letter-spacing: 1px; font-weight: 400; }
.shop .price { font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.shop .sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.shop .sizes button { font: inherit; font-size: .84rem; min-width: 44px; padding: 7px 10px; border-radius: 8px; cursor: pointer;
  background: var(--surface); color: var(--ink); border: 1px solid var(--rule); transition: border-color .2s, background .2s; }
.shop .sizes button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.shop .sizes button.out { color: var(--ink-3); text-decoration: line-through; }
.shop .sizes button.out[aria-pressed="true"] { color: var(--paper); }
.shop .stock { font-size: .82rem; color: var(--ok); } .shop .stock.no { color: var(--err); }
.hl { border-radius: 4px; transition: background .25s, box-shadow .25s; }
.hl.on { background: color-mix(in srgb, var(--accent) 16%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }

.src { background: var(--ed-bg); color: var(--ed-ink); font-family: var(--mono); font-size: .76rem; line-height: 1.6; display: flex; flex-direction: column; min-width: 0; }
.src-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--ed-line); color: var(--ed-dim); }
.src-head .count { padding: 2px 8px; border-radius: 99px; background: rgba(255, 138, 122, .16); color: #ffb3a8; transition: background .3s, color .3s; }
.src-head .count.ok { background: rgba(95, 211, 154, .16); color: #8fe3b6; }
.blocks { padding: 10px; display: grid; gap: 10px; }
.blk { border: 1px solid var(--ed-line); border-radius: 10px; background: var(--ed-panel); overflow: hidden; transition: opacity .45s var(--ease), max-height .6s var(--ease), border-color .3s; max-height: 420px; }
.blk-h { display: flex; justify-content: space-between; gap: 8px; padding: 6px 10px; font-size: .7rem; color: var(--ed-dim); border-bottom: 1px solid var(--ed-line); }
.blk-h b { color: var(--ed-ink); font-weight: 600; }
.blk pre { margin: 0; padding: 8px 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.blk.dup { border-color: rgba(255, 138, 122, .5); }
.blk.gone { opacity: 0; max-height: 0; border-width: 0; margin-top: -10px; }
.k { color: var(--tk-key); } .s { color: var(--tk-str); } .n { color: var(--tk-num); } .p { color: var(--tk-pun); }
.ln { display: inline-block; width: 100%; padding-left: 2.2em; text-indent: -2.2em; border-radius: 3px; transition: background .25s; }
.ln.on { background: rgba(183, 166, 255, .16); }
.ln.flash { animation: flash 1s var(--ease); }
@keyframes flash { 0% { background: rgba(143, 214, 166, .32); } 100% { background: transparent; } }

.warnbar { margin: 0 10px 10px; padding: 10px 12px; border-radius: 10px; font-family: var(--sans); font-size: .82rem; line-height: 1.45;
  background: rgba(242, 180, 90, .12); border: 1px solid rgba(242, 180, 90, .35); color: #f6d7a6; transition: background .3s, border-color .3s, color .3s; }
.warnbar b { color: #ffe1b0; }
.warnbar code { color: #ffe1b0; font-size: .92em; }
.warnbar .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.warnbar button { font: inherit; font-size: .78rem; font-weight: 600; padding: 6px 10px; border-radius: 7px; cursor: pointer; border: 1px solid rgba(255, 225, 176, .4);
  background: rgba(255, 225, 176, .1); color: #ffe1b0; }
.warnbar button:hover { background: rgba(255, 225, 176, .2); }
.warnbar.done { background: rgba(95, 211, 154, .1); border-color: rgba(95, 211, 154, .35); color: #bfeccf; }
.warnbar.done b { color: #8fe3b6; }
.demo-foot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--rule); font-size: .78rem; color: var(--ink-3); background: var(--raised); }
.demo-foot button { font: inherit; color: var(--accent); background: none; border: 0; cursor: pointer; padding: 0; font-weight: 600; }

/* Sections */
.sec { padding: 96px 0; }
.sec.tight { padding-top: 0; }
.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.sec-head p { color: var(--ink-2); margin: 12px 0 0; }
.card { background: var(--surface); border: 1px solid var(--hair); border-radius: 16px; box-shadow: var(--shadow); min-width: 0; }

/* Map: what Google reads */
.map { display: grid; gap: 14px; }
@media (min-width: 880px) { .map { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.map .card { padding: 22px; display: grid; gap: 12px; align-content: start; }
.map .from { font-size: .82rem; color: var(--ink-3); }
.map .val { font-weight: 650; font-size: 1.05rem; }
.map .arrow { height: 18px; border-left: 1.5px dashed var(--accent); margin-left: 10px; }
.map pre { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--ed-bg); color: var(--ed-ink); font: .78rem/1.55 var(--mono); overflow-x: auto; }
.map .note { font-size: .84rem; color: var(--ink-2); margin: 0; }

/* Duplicate scan mock */
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 940px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; } }
.split h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.split .copy p { color: var(--ink-2); margin: 14px 0 0; }
.admin { padding: 22px; display: grid; gap: 14px; }
.admin .step { font-weight: 700; font-size: .95rem; }
.banner { border-radius: 12px; padding: 14px 16px; background: var(--warn-soft); border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent); font-size: .9rem; }
.banner b { display: block; margin-bottom: 6px; color: var(--warn); }
.banner ul { margin: 0; padding-left: 18px; }
.banner li + li { margin-top: 4px; }
.found { font-size: .82rem; color: var(--ink-2); font-family: var(--mono); overflow-wrap: anywhere; }
.toggles { border: 1px solid var(--rule); border-radius: 12px; padding: 6px 14px; background: var(--raised); }
.toggles .t-h { font-size: .74rem; color: var(--ink-3); padding: 6px 0 4px; font-family: var(--mono); }
.tg { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; font-size: .9rem; border-top: 1px solid var(--rule); }
.tg:first-of-type { border-top: 0; }
.sw { flex: none; width: 34px; height: 20px; border-radius: 99px; background: var(--ok); position: relative; }
.sw::after { content: ""; position: absolute; top: 3px; left: 17px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left .3s var(--ease); }
.sw.off { background: var(--rule); } .sw.off::after { left: 3px; }

/* Types grid */
.types { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.type { padding: 20px; display: grid; gap: 8px; align-content: start; }
.type .t { font-family: var(--mono); font-size: .86rem; color: var(--accent); }
.type .t::before { content: "\"@type\": "; color: var(--ink-3); }
.type p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.type .where { font-size: .76rem; color: var(--ink-3); font-family: var(--mono); }
.type.muted .t { color: var(--ink-3); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--err) 60%, transparent); }
.type.muted { background: var(--raised); box-shadow: none; }

/* Report mock */
.report { overflow: hidden; }
.report table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.report th { text-align: left; font-weight: 600; font-size: .76rem; color: var(--ink-3); padding: 12px 16px; border-bottom: 1px solid var(--rule); background: var(--raised); }
.report td { padding: 12px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.report tr:last-child td { border-bottom: 0; }
.report .pill { display: inline-block; font-size: .74rem; font-weight: 650; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); } .pill.warn { background: var(--warn-soft); color: var(--warn); } .pill.err { background: var(--err-soft); color: var(--err); }
.report .msg { color: var(--ink-2); font-size: .82rem; }
.report .rrt { color: var(--accent); font-size: .82rem; white-space: nowrap; }
@media (max-width: 560px) { .report .hide-sm { display: none; } .report td, .report th { padding: 10px 12px; } }

/* Number tiles */
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.tile { padding: 22px; }
.tile .big { font-family: var(--serif); font-size: 2.3rem; line-height: 1; font-weight: 600; letter-spacing: -0.02em; }
.tile p { margin: 10px 0 0; font-size: .9rem; color: var(--ink-2); }

/* Limits */
.limits { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.limit { padding: 20px 22px; border-left: 3px solid var(--warn); }
.limit h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: -0.005em; }
.limit p { margin: 6px 0 0; font-size: .9rem; color: var(--ink-2); }

/* Tool card */
.toolcard { display: grid; gap: 24px; padding: 30px; text-decoration: none; align-items: center; transition: transform .25s var(--ease), box-shadow .25s; }
.toolcard:hover { color: inherit; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.toolcard h2 { font-size: 1.8rem; }
.toolcard p { margin: 8px 0 14px; color: var(--ink-2); max-width: 34em; }
.toolcard .go { color: var(--accent); font-weight: 650; }
.toolcard .go::after { content: " \2192"; }
.mini { font: .78rem/1.7 var(--mono); padding: 14px 16px; border-radius: 12px; background: var(--ed-bg); color: var(--ed-ink); min-width: 0; }
.mini .r { display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.mini .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.ok { background: #5fd39a; } .dot.warn { background: #f2b45a; } .dot.err { background: #ff8a7a; }
@media (min-width: 820px) { .toolcard { grid-template-columns: minmax(0, 1fr) auto; padding: 36px 40px; } }

/* Comparison cards (markup from the build) */
.cmp-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); align-items: start; }
.cmp-card { position: relative; padding: 24px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--shadow); min-width: 0; }
.cmp-card.us { background: var(--ed-bg); color: var(--ed-ink); border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  box-shadow: 0 30px 70px -30px color-mix(in srgb, var(--accent) 70%, transparent), 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent); }
@media (min-width: 1000px) { .cmp-card.us { transform: translateY(-10px); } }
.cmp-badge { display: inline-block; font: 650 .72rem/1 var(--mono); padding: 6px 9px; border-radius: 99px; background: #a594ff; color: #120d2b; margin-bottom: 14px; }
.cmp-name { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; }
.cmp-plan { margin: 4px 0 0; font-size: .82rem; color: var(--ink-2); }
.cmp-card.us .cmp-plan, .cmp-card.us .cmp-tag { color: #a8adba; }
.cmp-price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 4px; }
.cmp-amount { font-family: var(--serif); font-size: 2.3rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.cmp-card.us .cmp-amount { color: var(--tk-str); }
.cmp-per { font-size: .85rem; color: var(--ink-3); }
.cmp-tag { margin: 6px 0 0; font-size: .8rem; color: var(--ink-2); }
.cmp-checks { list-style: none; margin: 18px 0 0; padding: 0; font-size: .86rem; }
.cmp-checks li { position: relative; padding: 9px 0 9px 26px; border-top: 1px solid var(--rule); }
.cmp-card.us .cmp-checks li { border-top-color: var(--ed-line); }
.cmp-checks li::before { position: absolute; left: 0; top: 9px; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; font-size: .68rem; font-weight: 800; }
.cmp-checks li.yes::before { content: "\2713"; background: var(--ok-soft); color: var(--ok); }
.cmp-checks li.no::before { content: "\2715"; background: color-mix(in srgb, var(--ink-3) 16%, transparent); color: var(--ink-3); }
.cmp-card.us .cmp-checks li.yes::before { background: rgba(95, 211, 154, .16); color: #8fe3b6; }
.cmp-card.us .cmp-checks li.no { color: #8d93a5; }
.cmp-sources { margin: 22px auto 0; max-width: 760px; text-align: center; font-size: .74rem; color: var(--ink-3); line-height: 1.6; }
.cmp-sources a { color: var(--ink-2); }

/* Guides list (markup from the build) */
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.guide-list li { position: relative; padding: 20px 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s; }
.guide-list li:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.guide-list a { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; line-height: 1.25; text-decoration: none; display: block; }
.guide-list a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.guide-list span { display: block; margin-top: 8px; font-size: .86rem; color: var(--ink-2); }

/* FAQ (markup from the build) */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 2px; font-weight: 650; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font: 400 1.3rem/1 var(--mono); color: var(--accent); transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 2px 18px; color: var(--ink-2); }
.faq-a p { margin: 0 0 10px; } .faq-a p:last-child { margin: 0; }

/* Closing + footer */
.closing { padding: 110px 0 120px; text-align: center; }
.closing h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.closing p { color: var(--ink-2); margin: 14px 0 26px; }
.closing .cta { justify-content: center; }
footer { border-top: 1px solid var(--rule); padding: 26px 0 34px; font-size: .84rem; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }

/* Scroll reveal (added by JS only, so content shows without it) */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } }

/* Articles */
.doc { max-width: 720px; margin: 0 auto; padding: 56px 24px 40px; }
.crumbs { font-size: .84rem; color: var(--ink-3); margin-bottom: 18px; font-family: var(--mono); }
.doc h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); }
.meta { font-size: .84rem; color: var(--ink-3); margin: 14px 0 34px; font-family: var(--mono); }
.prose { font-size: 1.04rem; line-height: 1.72; }
.prose h2 { font-size: 1.65rem; margin: 48px 0 12px; }
.prose h3 { font-family: var(--sans); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; margin: 30px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose blockquote { margin: 22px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--ink-2); font-family: var(--serif); font-size: 1.1rem; }
.prose code { padding: 1px 5px; border-radius: 5px; background: var(--accent-soft); }
.prose pre { margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; background: var(--ed-bg); color: var(--ed-ink); overflow-x: auto; font: .82rem/1.6 var(--mono); }
.prose pre code { background: none; padding: 0; font-size: 1em; }
.prose .table { overflow-x: auto; margin: 0 0 18px; }
.prose table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose a { color: var(--accent); }
.appbox, .related { max-width: 720px; margin: 0 auto; padding: 0 24px 40px; }
.appbox .card { padding: 26px; display: grid; gap: 12px; background: var(--ed-bg); color: var(--ed-ink); border-color: var(--ed-line); }
.appbox h2 { font-size: 1.5rem; } .appbox p { margin: 0; color: #a8adba; }
.related h2 { font-size: 1.4rem; margin-bottom: 16px; }
.related { padding-bottom: 80px; }
@media (max-width: 600px) { .doc, .appbox, .related { padding-left: 16px; padding-right: 16px; } }

/* Page head (guides index, tool) */
.page-head { padding: 56px 0 32px; max-width: 700px; }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); }
.page-head p { color: var(--ink-2); margin: 14px 0 0; font-size: 1.08rem; }

/* Phones: tighter rhythm, two-up type tiles, calmer card text */
.cmp-tag { line-height: 1.45; }
@media (max-width: 600px) {
  .sec { padding: 64px 0; }
  .sec.tight { padding-top: 0; }
  .hero { padding: 40px 0 64px; }
  .closing { padding: 72px 0 84px; }
  .types { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .type { padding: 14px; }
  .type .t { font-size: .78rem; overflow-wrap: anywhere; }
  .type .t::before { content: none; }
  .type p { font-size: .84rem; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { padding: 16px; }
  .tile .big { font-size: 1.6rem; }
  .tile p { font-size: .84rem; }
}
@media (max-width: 719px) { .shop .pic { aspect-ratio: 16 / 7; } .shop .pic svg { width: 30%; } }
