/* WristfulFinds design system, "extravagant" edition (shares its look with ExtravagantFinds).
   Mulberry and champagne on porcelain: a floating glass header, a bento hero with a dark mulberry mesh,
   28px-rounded cards, pill chips, Newsreader headlines, DM Sans text, DM Mono labels.
   Hand-maintained: build.py does not write this file. */

:root {
  --bg: #FBF6EE;
  --bg-2: #F3EBDD;
  --surface: #FFFDF9;
  --glass: rgba(255, 253, 249, 0.74);
  --ink: #141210;
  --muted: #62594D;
  --line: rgba(60, 40, 10, 0.12);
  --line-strong: rgba(60, 40, 10, 0.24);
  --accent: #1F3A2E;
  --accent-ink: #FBF6EE;
  --gold: #8F6A1F;
  --save: #1F3A2E;
  --hero: #F1E4C8;
  --hero-ink: #141210;
  --hero-muted: #5E5444;
  --hero-gold: #8F6A1F;
  --hero-line: rgba(60, 40, 10, 0.20);
  --hero-fill: rgba(255, 253, 249, 0.72);
  --hero-btn: #1F3A2E;
  --hero-btn-ink: #FBF6EE;
  --hero-glow-a: rgba(233, 196, 120, 0.55);
  --hero-glow-b: rgba(214, 170, 96, 0.40);
  --hero-glow-c: rgba(255, 246, 224, 0.7);
  --tint-watch: #EFE7D8;
  --tint-bracelet: #F4E7CB;
  --tint-accessory: #E7E8DA;
  --shadow: 0 1px 2px rgba(60, 40, 10, 0.05), 0 14px 34px -20px rgba(60, 40, 10, 0.32);
  --display: "Times Now", "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Apercu", "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Apercu Mono", "DM Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
/* Dark mode, only when the visitor turns it on with the header switch. */
:root[data-wf-theme="dark"] {
  --bg: #0E100E; --bg-2: #161914; --surface: #181B17; --glass: rgba(24, 27, 23, 0.72); --muted: #AEB0A6;
  --ink: #F1EFE8; --muted: #AEB0A6; --line: rgba(255, 255, 255, 0.09); --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #8FC2A8; --accent-ink: #0E100E; --gold: #D9AE75; --save: #8FC2A8;
  --hero: #0F2219; --hero-ink: #F6F1E6; --hero-muted: #D6E0DB; --hero-gold: #E2B982; --hero-line: rgba(255, 255, 255, 0.14); --hero-fill: rgba(255, 255, 255, 0.08); --hero-btn: #E2B982; --hero-btn-ink: #1F1405;
  --hero-glow-a: rgba(197, 143, 86, 0.34); --hero-glow-b: rgba(43, 110, 80, 0.62); --hero-glow-c: rgba(30, 80, 58, 0.5);
  --tint-watch: #1E211C; --tint-bracelet: #2A2418; --tint-accessory: #1C241F;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03), 0 18px 40px -22px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
  padding-block: 0 48px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap { max-width: 1200px; margin: 0 auto; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
img, svg { max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.eyebrow { display: block; margin: 0 0 10px; color: var(--gold); }
.tm { font-family: var(--body); font-size: 0.72em; font-weight: 500; vertical-align: super; line-height: 0; margin-left: 1px; }
.sec { padding-block: 80px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.sec-head h2, .results-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1; }
.sec-head p { color: var(--muted); max-width: 44ch; }

/* ---------- header: a floating glass pill ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; padding-block: 12px; }
.top-inner { display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; gap: 9px; margin-right: auto; font-family: var(--display); font-size: 1.35rem; line-height: 1; text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand em { color: var(--gold); }
.brand .tm { font-size: 0.42em; color: var(--muted); }
.brand .mark { width: 32px; height: 32px; flex: none; }
.top nav { display: flex; gap: 2px; }
.top nav a { padding: 9px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 14px; white-space: nowrap; }
.top nav a:hover { background: var(--bg-2); color: var(--ink); }
.cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.cta svg { width: 15px; height: 15px; }
.cta:hover { color: var(--bg); filter: brightness(1.25); }
.theme-btn { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--ink); }
.theme-btn:hover { border-color: var(--ink); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .sun, :root[data-wf-theme="dark"] .theme-btn .moon { display: none; }
:root[data-wf-theme="dark"] .theme-btn .sun { display: block; }

/* ---------- hero bento ---------- */
.hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; padding-top: 6px; }
.bento { position: relative; overflow: hidden; min-width: 0; padding: 26px; border-radius: 28px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.hero-main {
  grid-column: span 8; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 22px;
  min-height: 560px; padding: clamp(24px, 4.2vw, 56px); border-color: transparent; color: var(--hero-ink);
  background:
    radial-gradient(55% 70% at 88% 8%, var(--hero-glow-a), transparent 62%),
    radial-gradient(70% 90% at 0% 100%, var(--hero-glow-b), transparent 62%),
    radial-gradient(40% 50% at 40% 40%, var(--hero-glow-c), transparent 70%),
    var(--hero);
}
.hero-main::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.10; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hero-main > * { position: relative; z-index: 1; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--hero-line); border-radius: 999px; color: var(--hero-muted); background: var(--hero-fill); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hero-gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hero-gold) 22%, transparent); }
.hero h1 { margin-top: auto; font-size: clamp(3rem, 7.6vw, 6.4rem); line-height: 0.92; letter-spacing: -0.03em; }
.hero h1 em { font-style: italic; color: var(--hero-gold); }
.hero-lede { max-width: 50ch; color: var(--hero-muted); font-size: 1.05rem; }
.ask { display: grid; gap: 10px; }
.ask > label { color: var(--hero-muted); }
.ask-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 24px; border: 1px solid var(--hero-line); background: var(--hero-fill); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ask-row input { flex: 1 1 240px; min-width: 0; padding: 12px 14px; border: 0; border-radius: 18px; background: transparent; color: var(--hero-ink); font-size: 16px; }
.ask-row input::placeholder { color: var(--hero-muted); opacity: 0.78; }
.ask-row input:focus-visible { outline: 2px solid var(--hero-gold); outline-offset: 0; }
.micbtn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--hero-line); border-radius: 999px; background: var(--hero-fill); color: var(--hero-ink); font-size: 15px; font-weight: 500; }
.micbtn svg { width: 18px; height: 18px; flex: none; }
.micbtn:hover { border-color: var(--hero-ink); }
.micbtn.live, .micbtn[aria-pressed="true"] { background: var(--hero-btn); border-color: var(--hero-btn); color: var(--hero-btn-ink); }
.micbtn.live svg { animation: pulse 1.1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.ask .btn { background: var(--hero-btn); border-color: var(--hero-btn); color: var(--hero-btn-ink); }
.ask :focus-visible, .hero-links :focus-visible { outline-color: var(--hero-gold); }
.ask-status { min-height: 1.4em; color: var(--hero-muted); font-size: 14px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; }
.hero-links button { padding: 0; border: 0; background: none; color: var(--hero-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--hero-gold) 60%, transparent); }
.hero-links button:hover { text-decoration-color: var(--hero-gold); }

.tagtile { grid-column: span 4; display: flex; flex-direction: column; gap: 16px; }
.tagtile h2 { font-size: 1.75rem; line-height: 1.05; }
.ledger { display: grid; gap: 14px; }
.lrow { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: baseline; }
.lrow .k { color: var(--muted); }
.lrow .v { justify-self: end; font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.bar { grid-column: 1 / -1; display: block; height: 8px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.bar i { display: block; height: 100%; min-width: 6px; border-radius: inherit; background: var(--accent); }
.tt-save { margin-top: auto; color: var(--muted); font-size: 14px; }
.statstile { grid-column: span 4; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; align-content: end; background: var(--bg-2); box-shadow: none; }
.stat { display: block; font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -0.02em; }
.statstile span { color: var(--muted); font-size: 14px; }
.promise { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.promise svg { width: 18px; height: 18px; flex: none; color: var(--save); }

/* ---------- art and photos ---------- */
.art { position: relative; display: grid; place-items: center; height: 120px; background: var(--tint, var(--bg-2)); color: var(--ink); }
.art svg { width: 100%; max-width: 150px; height: auto; max-height: 96px; }
.art .tag { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 9px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--muted); }
.art .tag.r { left: auto; right: 12px; color: var(--gold); }
.t-watch { --tint: var(--tint-watch); }
.t-bracelet { --tint: var(--tint-bracelet); }
.t-accessory { --tint: var(--tint-accessory); }
.art .ph { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity 0.4s ease, transform 0.6s ease; }
.art.has-photo .ph { opacity: 1; }
.art.has-photo svg { visibility: hidden; }
.art .credit { display: none; position: absolute; right: 10px; bottom: 10px; z-index: 1; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 8px; border-radius: 999px; background: rgba(20, 10, 14, 0.62); color: #fff; font-size: 11px; text-decoration: none; }
.art.has-photo .credit { display: block; }
a.credit:hover { text-decoration: underline; }

/* ---------- browse bento ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 14px; }
.tile { position: relative; display: block; padding: 0; overflow: hidden; text-align: left; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.tile:first-child { grid-column: span 2; grid-row: span 2; }
.tile .art { position: absolute; inset: 0; height: auto; }
.tile .art svg { max-width: 130px; max-height: 96px; transform: translateY(-22px); }
.tile:first-child .art svg { max-width: 230px; max-height: 170px; }
.tile .tbody { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 20px; border: 1px solid var(--line); background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.tile .tbody > div { display: grid; gap: 1px; }
.tile strong { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.05; }
.tile:first-child strong { font-size: 2.3rem; }
.tile .tbody span { color: var(--muted); font-size: 13.5px; }
.tile .go { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bg) !important; }

/* ---------- picker ---------- */
.picker-panel { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 2.15fr); gap: 28px 40px; padding: clamp(20px, 3.2vw, 40px); border-radius: 32px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.picker-intro h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1; }
.picker-intro p { margin-top: 14px; color: var(--muted); max-width: 32ch; }
.picker-intro .mono { display: block; margin-top: 18px; color: var(--gold); }
#pickerForm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; min-width: 0; }
.f-wide { grid-column: 1 / -1; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; cursor: pointer; user-select: none; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.chips label:hover { border-color: var(--ink); }
.chips input:checked + label { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chips input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px 24px; align-items: end; }
.row2 label.mono { display: block; margin-bottom: 10px; color: var(--muted); }
select { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); font-size: 15px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); font-weight: 600; font-size: 15px; white-space: nowrap; text-decoration: none; }
.btn:hover { filter: brightness(1.12); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--ink); filter: none; }
.btn.sm { padding: 8px 16px; font-size: 14px; }
#goBtn { width: 100%; padding-block: 14px; }

/* ---------- results and cards ---------- */
.results-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.status { margin-top: 10px; color: var(--muted); }
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.card .art { margin: 8px 8px 0; height: 210px; border-radius: 21px; overflow: hidden; }
.card .body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 18px 20px 20px; }
.card h3 { font-size: 1.62rem; line-height: 1.08; }
.price { align-self: start; padding: 5px 12px; border-radius: 999px; background: var(--bg-2); font-family: var(--mono); font-size: 12px; font-variant-numeric: tabular-nums; }
.why { color: var(--muted); font-size: 15px; }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; }
.links a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-size: 13.5px; font-weight: 500; }
.links a:first-child { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.links a:hover { border-color: var(--ink); }
.top-row { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); }
.kind { color: var(--gold); }
.empty { grid-column: 1 / -1; padding: 32px; border: 1px dashed var(--line-strong); border-radius: 28px; color: var(--muted); }
.note { margin-top: 18px; color: var(--muted); font-size: 13px; max-width: 90ch; }

/* ---------- guides and steps ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guide-card { display: grid; gap: 10px; align-content: space-between; min-height: 200px; padding: 24px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.guide-card:nth-child(2) { background: var(--hero); color: var(--hero-ink); border-color: var(--line); }
.guide-card:nth-child(2) span:last-child { color: var(--hero-muted); }
.guide-card:nth-child(2) .mono { color: var(--hero-gold); }
.guide-card .mono { color: var(--gold); }
.guide-card strong { font-family: var(--display); font-weight: 400; font-size: 1.75rem; line-height: 1.05; }
.guide-card span:last-child { color: var(--muted); font-size: 14px; }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.quick .mono { margin-right: 6px; color: var(--muted); }
button.guide { padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; font-size: 14px; }
button.guide:hover { border-color: var(--ink); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step { padding: 26px; border-radius: 28px; background: var(--bg-2); }
.step .mono { color: var(--gold); }
.step h3 { margin: 10px 0 8px; font-size: 1.6rem; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- sizing ---------- */
.sizing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sizing-card, .fit-card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); overflow-x: auto; }
.sizing-card h4 { margin: 0 0 10px; font-family: var(--display); font-weight: 400; font-size: 1.5rem; }
.sizing-card p { margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.size-table th { text-align: left; padding: 0 0 8px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.size-table td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.size-table tr:last-child td { border-bottom: 0; }
.fit-card { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 8px 28px; align-items: center; background: var(--bg-2); box-shadow: none; }
.fit-card > * { grid-column: 1; }
.fit-card h2 { font-size: 1.9rem; margin: 0; }
.fit-card .fit-draw { grid-column: 2; grid-row: 1 / span 5; }
.fit-card > div:not(.fit-draw) { display: grid; gap: 6px; }
.fit-card label { color: var(--muted); }
.fit-case { font-family: var(--display); font-size: 2.4rem; line-height: 1.05; }
.fit-case-label, .fit-note { color: var(--muted); font-size: 13px; }
.fit-draw svg { width: 100%; max-width: 170px; }

/* ---------- footer: porcelain panel with a large wordmark ---------- */
footer { display: grid; gap: 6px; margin-top: 80px; padding: clamp(28px, 4vw, 44px); border-radius: 32px; background: var(--bg-2); color: var(--muted); font-size: 13px; }
.foot-mark { margin: 0 0 14px; font-family: var(--display); font-size: clamp(2.4rem, 8vw, 5.6rem); line-height: 0.95; letter-spacing: -0.03em; color: var(--ink); }
.foot-mark em { color: var(--gold); }
footer p { max-width: 78ch; }
footer strong { color: var(--ink); font-weight: 600; }
footer a { color: var(--ink); }
footer .op { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 8px; }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.socials a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; font-size: 13.5px; font-weight: 500; }
.socials a:hover { border-color: var(--ink); }

/* ---------- guide, about and legal pages ---------- */
.crumbs { margin-top: 28px; font-size: 13px; color: var(--muted); }
.article { max-width: 780px; margin: 0 auto; padding: 24px 0 8px; }
.article h1 { margin: 12px 0 14px; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1; }
.article h2 { margin: 40px 0 10px; font-size: 2rem; }
.article h3 { margin: 22px 0 6px; font-size: 1.4rem; }
.article .lead { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.article p, .article li { max-width: 68ch; margin-bottom: 0.9em; }
.article ul { list-style: disc; padding-left: 1.2em; }
.stack { display: grid; gap: 16px; margin-top: 24px; }
.article .cta { display: block; white-space: normal; gap: 0; margin-top: 32px; padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); color: var(--ink); text-align: center; font-weight: 400; font-size: inherit; }
.article .cta p { margin: 0 auto 14px; font-family: var(--display); font-size: 1.5rem; }
.article .cta .btn { color: var(--bg); }
.more-guides { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .card { animation: rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .card:nth-child(2) { animation-delay: 0.04s; } .card:nth-child(3) { animation-delay: 0.08s; }
  .card:nth-child(4) { animation-delay: 0.12s; } .card:nth-child(5) { animation-delay: 0.16s; } .card:nth-child(6) { animation-delay: 0.2s; }
  .tile, .card, .guide-card { transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.2s ease, box-shadow 0.25s ease; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tile:hover, .card:hover, .guide-card:hover { transform: translateY(-3px); }
  .tile:hover .ph, .card:hover .ph { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .art .ph { transition: none; } .micbtn.live svg { animation: none; } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-main { grid-column: 1 / -1; grid-row: auto; min-height: 0; }
  .tagtile, .statstile { grid-column: span 6; }
  .picker-panel { grid-template-columns: minmax(0, 1fr); }
  .guide-grid, .sizing-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .guide-card { min-height: 0; }
}
@media (max-width: 720px) {
  .top nav { display: none; }
  .brand { font-size: 1.2rem; }
  .hero h1 { margin-top: 18px; }
  .tagtile, .statstile { grid-column: 1 / -1; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 10px; }
  .tile:first-child { grid-column: 1 / -1; grid-row: auto; }
  .tile .art svg, .tile:first-child .art svg { max-width: 110px; max-height: 70px; transform: translateY(-26px); }
  .tile .tbody { left: 8px; right: 8px; bottom: 8px; padding: 9px 12px; border-radius: 16px; }
  .tile strong, .tile:first-child strong { font-size: 1.3rem; }
  .tile .tbody span { font-size: 12.5px; }
  .tile .go { display: none; }
  #pickerForm { grid-template-columns: minmax(0, 1fr); }
  .sec { padding-block: 56px 0; }
  .card .art { height: 190px; }
  .fit-card { grid-template-columns: minmax(0, 1fr); }
  .fit-card .fit-draw { grid-column: 1; grid-row: auto; }
}
@media (max-width: 440px) {
  .top-inner { gap: 8px; padding-left: 14px; }
  .brand { gap: 7px; font-size: 1.08rem; }
  .brand .mark { width: 26px; height: 26px; }
  .theme-btn { width: 36px; height: 36px; }
  .cta { padding: 9px 14px; }
  .cta svg { display: none; }
}
@media (max-width: 370px) {
  .hero-main { padding: 22px 18px; }
  .brand { min-width: 0; overflow: hidden; font-size: 1rem; }
  .ask-row input { flex-basis: 100%; }
}
.statstile .stat { font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--ink); }

/* ---------- compare ---------- */
.cmpbtn { margin-left: auto; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink); font-size: 13.5px; font-weight: 600; }
.cmpbtn:hover { border-color: var(--ink); }
.cmpbtn[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.cmp-tray { position: fixed; z-index: 25; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); transform: translateX(-50%); width: min(760px, calc(100% - 32px)); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 10px 10px 18px; border: 1px solid var(--line-strong); border-radius: 26px; background: var(--glass); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); box-shadow: var(--shadow); }
.cmp-tray .count { white-space: nowrap; font-weight: 600; }
.cmp-tray .tray-msg { flex-basis: 100%; font-size: 13px; color: var(--muted); }
.cmp-tray .tray-msg:empty { display: none; }
.cmp-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.cmp-chip { display: inline-flex; align-items: center; gap: 2px; max-width: 200px; padding: 3px 4px 3px 11px; border-radius: 999px; background: var(--bg-2); font-size: 13px; }
.cmp-chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-chip button { flex: none; width: 24px; height: 24px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 15px; line-height: 1; }
.cmp-chip button:hover { background: var(--surface); color: var(--ink); }
body.has-tray { padding-bottom: 150px; }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.cmp { width: 100%; min-width: 660px; border-collapse: collapse; table-layout: fixed; font-size: 14.5px; }
.cmp th, .cmp td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp col.lab { width: 130px; }
.cmp tbody th { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp thead th { font-weight: 400; }
.cmp .art { height: 140px; margin-bottom: 12px; border-radius: 18px; overflow: hidden; }
.cmp .pname { display: block; font-family: var(--display); font-size: 1.35rem; line-height: 1.1; }
.cmp .rm { margin-top: 10px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; }
.cmp .big { display: block; font-family: var(--display); font-size: 1.7rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.cmp .range { position: relative; display: block; height: 8px; margin-top: 10px; border-radius: 99px; background: var(--bg-2); }
.cmp .range i { position: absolute; top: 0; bottom: 0; border-radius: inherit; background: var(--accent); }
.cmp .badge { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--save) 14%, transparent); color: var(--save); font-size: 12px; font-weight: 600; }
.cmp .muted { color: var(--muted); }
.cmp .shop { display: flex; flex-wrap: wrap; gap: 8px; }
.cmp .shop a { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 500; }
.cmp .shop a:first-child { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.cmp-wrap .note { margin: 0; padding: 14px 18px 18px; }
@media (max-width: 720px) { .cmp-tray { padding: 10px 10px 10px 16px; border-radius: 22px; } .cmp-tray .count { flex: 1; } .cmp-chips { order: 3; flex-basis: 100%; flex-wrap: nowrap; overflow-x: auto; } .cmp-chip { flex: none; max-width: 170px; } .cmp-tray .tray-msg { order: 4; } .cmp col.lab { width: 96px; } .cmp th, .cmp td { padding: 14px 12px; } }
@media (max-width: 720px) { .cmp { min-width: 480px; } .cmp .big { font-size: 1.35rem; } .cmp .pname { font-size: 1.15rem; } }
