/* Shared styles for generated content pages (guides, compare, features). Built by tool/build_site.py. */
:root {
  --bg: #F3F5F1; --surface: #FBFCFA; --surface-2: #EEF2EE; --hair: #DCE3DE;
  --ink: #13201C; --ink-2: #4B5B56; --ink-3: #5F6E69;
  --accent: #1D9E75; --accent-btn: #0F6E56; --accent-strong: #0F6E56; --accent-tint: #E1F5EE; --on-accent: #FFFFFF; --leaf: #0F6E56;
  --sun: #E7B548; --sun-tint: #FBF1D6;
  --mascot-ink: #0B3A2E; --mascot-cheek: rgba(255, 255, 255, .38);
  --r-lg: 24px; --r-md: 16px; --r-sm: 12px; --r-pill: 999px;
  --font-display: "Bricolage Grotesque", "Avenir Next", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Figtree", "Avenir Next", ui-sans-serif, system-ui, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1513; --surface: #141D1A; --surface-2: #1B2622; --hair: #25342F;
    --ink: #E9F0EC; --ink-2: #A9B8B2; --ink-3: #82938D;
    --accent: #34B98C; --accent-btn: #34B98C; --accent-strong: #8EDBC0; --accent-tint: #163329; --on-accent: #06201A; --leaf: #1A6B52;
    --sun: #E9C063; --sun-tint: #3A2F14;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0E1513; --surface: #141D1A; --surface-2: #1B2622; --hair: #25342F;
  --ink: #E9F0EC; --ink-2: #A9B8B2; --ink-3: #82938D;
  --accent: #34B98C; --accent-btn: #34B98C; --accent-strong: #8EDBC0; --accent-tint: #163329; --on-accent: #06201A; --leaf: #1A6B52;
  --sun: #E9C063; --sun-tint: #3A2F14;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
a { color: var(--accent-strong); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--hair); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; max-width: 1120px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--ink-2); font-weight: 600; font-size: 14px; padding: 8px 10px; border-radius: var(--r-pill); white-space: nowrap; }
.nav a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.nav a[aria-current] { color: var(--ink); background: var(--surface-2); }
.nav .cta { background: var(--accent-btn); color: var(--on-accent); margin-left: 6px; }
.nav .cta:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 560px) { .nav .hide-sm { display: none; } }
@media (max-width: 420px) { .brand-name { display: none; } .nav a { padding: 8px 9px; } }

/* page head */
.crumbs { padding-top: 28px; font-size: 14px; color: var(--ink-3); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/" / ""; margin-right: 6px; color: var(--hair); }
.crumbs a { color: var(--ink-2); font-weight: 600; }
.page-head { padding: 18px 0 28px; border-bottom: 1px solid var(--hair); margin-bottom: 8px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-strong); }
.page-head h1 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; font-size: clamp(32px, 5.6vw, 48px); margin: 10px 0 14px; text-wrap: balance; }
.lede { color: var(--ink-2); font-size: 19px; line-height: 1.55; }
.byline { margin-top: 16px; font-size: 14px; color: var(--ink-3); }

/* prose */
main { padding-bottom: 56px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: 28px; line-height: 1.2; margin-top: 44px; scroll-margin-top: 80px; }
.prose h3 { font-size: 20px; font-weight: 600; line-height: 1.3; margin-top: 30px; scroll-margin-top: 80px; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 0; }
.prose li + li { margin-top: 8px; }
.prose a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent-strong) 40%, transparent); }
.prose strong { font-weight: 600; }
.prose small, .prose .note { font-size: 14px; color: var(--ink-3); }
.prose blockquote { margin: 24px 0 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); color: var(--ink-2); }

.table-wrap { overflow-x: auto; border: 1px solid var(--hair); border-radius: var(--r-md); background: var(--surface); }
.prose table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--hair); }
.prose th { font-weight: 600; background: var(--surface-2); white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }

.tldr, .callout { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: 20px 22px; }
.tldr { border-color: color-mix(in srgb, var(--accent) 35%, var(--hair)); background: var(--accent-tint); }
.tldr > b, .callout > b { display: block; font-family: var(--font-display); font-size: 18px; margin-bottom: 6px; }
.tldr ul { margin-top: 6px; }
.callout.warn { background: var(--sun-tint); border-color: color-mix(in srgb, var(--sun) 45%, var(--hair)); }

.toc { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-md); padding: 16px 20px; font-size: 15px; }
.toc b { display: block; margin-bottom: 6px; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.toc ol { margin: 0; padding-left: 20px; }
.toc li + li { margin-top: 4px; }

figure.shot { display: grid; justify-items: center; gap: 10px; }
figure.shot img { width: min(280px, 70vw); height: auto; border-radius: 28px; border: 1px solid var(--hair); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .35); }
figure.shot figcaption { font-size: 14px; color: var(--ink-3); text-align: center; max-width: 46ch; }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-md); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--accent-strong); border-bottom: 2px solid var(--accent-strong); transform: rotate(45deg); transition: transform .2s ease; margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details > div { padding: 0 18px 18px; color: var(--ink-2); }

/* call to action */
.cta-box { margin-top: 40px; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: 24px 22px; display: grid; gap: 14px; }
.cta-box h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: 24px; line-height: 1.2; margin: 0; }
.cta-box p { color: var(--ink-2); font-size: 15px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 14px; border-radius: var(--r-md); background: var(--ink); color: var(--bg); border: 1px solid transparent; font-weight: 600; line-height: 1.1; transition: transform .15s ease; }
.store:hover { text-decoration: none; transform: translateY(-1px); }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-size: 11px; font-weight: 400; opacity: .75; margin-bottom: 2px; }
.store span { font-size: 16px; }
.store.ghost { background: var(--surface); color: var(--ink); border-color: var(--hair); }
.fine { font-size: 14px; color: var(--ink-3); }

/* related + index cards */
.related { margin-top: 44px; }
.related h2, .index-section h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: 22px; margin-bottom: 12px; }
.cards { display: grid; gap: 12px; }
@media (min-width: 720px) { .cards.two { grid-template-columns: 1fr 1fr; } }
.card-link { display: block; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-md); padding: 16px 18px; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.card-link:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-1px); }
.card-link b { display: block; font-weight: 600; line-height: 1.35; }
.card-link span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.index-section { margin-top: 36px; }

/* footer */
footer { border-top: 1px solid var(--hair); padding: 28px 0 40px; font-size: 14px; color: var(--ink-3); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; max-width: 1120px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
footer nav a { color: var(--ink-2); font-weight: 600; }

.m-body { fill: var(--accent); } .m-leaf { fill: var(--leaf); } .m-leaf2 { fill: var(--accent); opacity: .75; }
.m-ink { fill: var(--mascot-ink); } .m-line { fill: none; stroke: var(--mascot-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.m-cheek { fill: var(--mascot-cheek); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
