/* bitshealth — one family, two colours, one live signal. */
:root {
  --ice: #ebf1f3;
  --paper: #ffffff;
  --ink: #0f2e33;
  --ink-2: #4a666b;
  --ink-3: #8aa0a4;
  --rule: #cfdde1;
  --rule-strong: #0f2e33;
  --pulse: #ff4b5c;
  --pulse-soft: #ffe3e6;
  --mint: #d8f0e7;
  --focus: #1f6fe5;
  --radius: 6px;
  --radius-lg: 14px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --font: "Bricolage Grotesque", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ice: #0b1d21; --paper: #12282d; --ink: #e8f1f2; --ink-2: #a9bfc3; --ink-3: #6f878b;
    --rule: #26434a; --rule-strong: #e8f1f2; --pulse: #ff6473; --pulse-soft: #4a2229; --mint: #17403b; --focus: #7cb0ff;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ice: #0b1d21; --paper: #12282d; --ink: #e8f1f2; --ink-2: #a9bfc3; --ink-3: #6f878b;
  --rule: #26434a; --rule-strong: #e8f1f2; --pulse: #ff6473; --pulse-soft: #4a2229; --mint: #17403b; --focus: #7cb0ff;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ice); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.5;
  font-optical-sizing: auto; font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--ink-3); }
a:hover { text-decoration-color: var(--pulse); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.015em; line-height: 1.1; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--ice); padding: 8px 12px; border-radius: var(--radius); z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--ice) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.wordmark { text-decoration: none; font-size: 24px; line-height: 1; display: inline-flex; align-items: baseline; letter-spacing: -0.02em; }
.wordmark b { font-weight: 800; font-variation-settings: "wdth" 80; }
.wordmark span { font-weight: 400; }
.wordmark i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--pulse); margin-left: 3px; transform: translateY(-1px); }
.nav { margin-left: auto; display: flex; gap: 2px; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: var(--radius); color: var(--ink-2); font-size: 16px; }
.nav a:hover { color: var(--ink); background: var(--paper); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--pulse); border-radius: 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--rule); border-radius: var(--radius); padding: 8px 10px; cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 12px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 18px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--pulse); padding-left: 12px; }
}

/* Hero */
.hero { padding-block: clamp(48px, 9vw, 112px) 0; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 500; letter-spacing: -0.035em; line-height: 0.98; max-width: 14ch; font-variation-settings: "wdth" 92; }
.hero .lede { max-width: 54ch; font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: var(--ink-2); margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16px; border: 1px solid var(--rule-strong); background: var(--ink); color: var(--ice); cursor: pointer; }
.btn:hover { background: var(--pulse); border-color: var(--pulse); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }

.signal { position: relative; margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper); }
.signal canvas { display: block; width: 100%; height: clamp(150px, 22vw, 240px); }
.signal-static { width: 100%; height: clamp(150px, 22vw, 240px); }
.readings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
.readings > div { padding: 18px var(--gutter) 18px 0; border-right: 1px solid var(--rule); }
.readings > div:first-child { padding-left: var(--gutter); }
.readings > div:last-child { border-right: 0; }
.reading-v { font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.reading-v small { font-size: 0.45em; font-weight: 400; color: var(--ink-2); margin-left: 4px; letter-spacing: 0; }
.reading-l { color: var(--ink-2); font-size: 15px; margin-top: 6px; }
.readings .live .reading-v { color: var(--pulse); }
.signal-caption { padding: 10px var(--gutter); font-size: 14px; color: var(--ink-3); }
@media (max-width: 700px) {
  .readings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .readings > div { padding: 14px var(--gutter); border-right: 0; border-bottom: 1px solid var(--rule); }
  .readings > div:nth-child(odd) { border-right: 1px solid var(--rule); }
  .readings > div:nth-last-child(-n+2) { border-bottom: 0; }
}

/* Axis-rail sections: a narrow label column, content on the right. */
.rail { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 32px clamp(24px, 5vw, 72px); padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--rule); }
.rail:first-of-type { border-top: 0; }
.rail-head { position: sticky; top: 88px; align-self: start; }
.rail-head h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.rail-head p { color: var(--ink-2); font-size: 15px; margin-top: 10px; max-width: 28ch; }
.rail-head a { font-size: 15px; }
@media (max-width: 860px) { .rail { grid-template-columns: 1fr; gap: 20px; } .rail-head { position: static; } .rail-head p { max-width: 50ch; } }

/* Rows: category list, device list, guide list */
.rows { border-top: 1px solid var(--rule-strong); }
.row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.row:hover .row-title { text-decoration: underline; text-decoration-color: var(--pulse); text-underline-offset: 4px; }
.row-icon { width: 56px; height: 56px; color: var(--ink); background: var(--paper); border-radius: var(--radius-lg); display: grid; place-items: center; }
.row-icon svg { width: 36px; height: 36px; }
.result .row-icon svg { width: 60px; height: auto; }
.row-title { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.row-sub { color: var(--ink-2); font-size: 15px; margin-top: 2px; }
.row-meta { text-align: right; color: var(--ink-2); font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row-meta strong { display: block; color: var(--ink); font-weight: 600; font-size: 17px; }
@media (max-width: 560px) { .row { grid-template-columns: 48px minmax(0, 1fr); } .row-meta { grid-column: 2; text-align: left; } .row-icon { width: 48px; height: 48px; } }

/* Device grid for the shortlist */
.picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; }
.pick { background: var(--paper); padding: 22px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; min-height: 230px; }
.pick:hover { background: var(--mint); }
.pick-icon { color: var(--ink); width: 44px; height: 44px; }
.pick-kicker { color: var(--ink-2); font-size: 15px; }
.pick h3 { font-size: 1.25rem; }
.pick p { color: var(--ink-2); font-size: 15px; flex: 1; }
.pick .price { font-weight: 600; font-variant-numeric: tabular-nums; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 13.5px; padding: 3px 9px; border-radius: 999px; background: var(--paper); border: 1px solid var(--rule); color: var(--ink-2); white-space: nowrap; }
.tag.on { background: var(--mint); color: var(--ink); border-color: transparent; }

/* Page title block */
.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 500; letter-spacing: -0.03em; max-width: 20ch; }
.page-head .lede { color: var(--ink-2); font-size: 1.15rem; max-width: 60ch; margin-top: 16px; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); }

/* Filters (devices page) */
.filters { display: grid; gap: 14px; padding: 18px 0 22px; border-bottom: 1px solid var(--rule-strong); margin-bottom: 4px; }
.filter-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-line .lbl { font-size: 14px; color: var(--ink-2); min-width: 84px; }
.chip { font: inherit; font-size: 14.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink-2); cursor: pointer; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ice); border-color: var(--ink); }
.search { font: inherit; font-size: 16px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); min-width: min(100%, 280px); }
.select { font: inherit; font-size: 15px; padding: 8px 12px; border-radius: var(--radius); border: 1px solid var(--rule); background: var(--paper); color: var(--ink); }
.count { font-size: 15px; color: var(--ink-2); margin: 12px 0 0; font-variant-numeric: tabular-nums; }
.empty { padding: 40px 0; color: var(--ink-2); }
.empty button { margin-top: 10px; }

/* Device page */
.device-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(24px, 5vw, 72px); align-items: start; padding-block: clamp(40px, 6vw, 72px); }
.device-art { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-lg); aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--ink); }
.device-art svg { width: 55%; height: auto; }
.facts { border-top: 1px solid var(--rule-strong); margin-top: 28px; }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; }
@media (max-width: 760px) { .device-hero { grid-template-columns: 1fr; } }
.prose { max-width: 66ch; font-size: 1.08rem; line-height: 1.6; }
.prose h2 { font-size: 1.5rem; margin: 1.8em 0 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }
.plist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule-strong); }
.plist li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--rule); position: relative; font-size: 15.5px; }
.plist li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 10px; height: 10px; border-radius: 50%; }
.plist.good li::before { background: var(--mint); border: 1px solid var(--ink-3); }
.plist.bad li::before { background: var(--pulse-soft); border: 1px solid var(--pulse); }
.plist h3 { font-size: 1rem; }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; }
.metric-grid a { background: var(--paper); padding: 14px 16px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.metric-grid a:hover { background: var(--mint); }
.metric-grid strong { font-weight: 600; }
.metric-grid span { font-size: 14px; color: var(--ink-2); }

/* Metrics glossary */
.glossary { border-top: 1px solid var(--rule-strong); }
.term { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 20px clamp(24px, 5vw, 64px); padding: 36px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 90px; }
.term h2 { font-size: 1.6rem; letter-spacing: -0.02em; }
.term .unit { color: var(--ink-2); font-size: 15px; margin-top: 6px; }
.term .short { margin-top: 12px; font-size: 1.05rem; }
.term-body h3 { font-size: 1rem; font-weight: 600; margin: 0 0 6px; }
.term-body > div { margin-bottom: 20px; max-width: 66ch; }
.term-body > div:last-child { margin-bottom: 0; }
.term-body p { color: var(--ink); }
@media (max-width: 760px) { .term { grid-template-columns: 1fr; } }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.toc a { font-size: 14.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--rule); background: var(--paper); text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--ink); border-color: var(--ink); }

/* Compare */
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.slots label { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.slots select { width: 100%; }
@media (max-width: 640px) { .slots { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--paper); }
table.cmp { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 15.5px; }
.cmp th, .cmp td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.cmp thead th { font-weight: 600; font-size: 1.05rem; position: sticky; top: 0; background: var(--paper); }
.cmp thead th a { text-decoration: none; }
.cmp thead th a:hover { text-decoration: underline; }
.cmp tbody th { font-weight: 500; color: var(--ink-2); width: 190px; }
.cmp tr:last-child td, .cmp tr:last-child th { border-bottom: 0; }
.cmp .group th { background: var(--ice); color: var(--ink); font-weight: 600; font-size: 14px; padding-top: 14px; }
.yes, .no { display: inline-flex; align-items: center; gap: 6px; }
.yes svg, .no svg { width: 18px; height: 18px; }
.yes { color: var(--ink); }
.no { color: var(--ink-3); }
.note { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 3px; }

/* Finder */
.quiz { display: grid; gap: 28px; max-width: 760px; }
.q { border-top: 1px solid var(--rule-strong); padding-top: 18px; }
.q h2 { font-size: 1.2rem; margin-bottom: 12px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { font: inherit; font-size: 15.5px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); cursor: pointer; }
.opt:hover { border-color: var(--ink); }
.opt[aria-pressed="true"] { background: var(--ink); color: var(--ice); border-color: var(--ink); }
.results { margin-top: 40px; }
.results h2 { font-size: 1.5rem; margin-bottom: 16px; }
.result { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 20px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-lg); margin-bottom: 12px; }
.result:first-child { border-color: var(--ink); }
.result .row-icon { width: 64px; height: 64px; background: var(--ice); }
.result h3 { font-size: 1.25rem; }
.result h3 a { text-decoration: none; }
.result h3 a:hover { text-decoration: underline; }
.result .why { color: var(--ink-2); font-size: 15px; margin: 6px 0 10px; }
.result .fits { display: flex; flex-wrap: wrap; gap: 6px; }

/* Guides */
.guide-list { border-top: 1px solid var(--rule-strong); }
.guide-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px 32px; padding: 26px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.guide-item:hover h3 { text-decoration: underline; text-decoration-color: var(--pulse); text-underline-offset: 4px; }
.guide-item time, .guide-item .gcat { font-size: 14px; color: var(--ink-2); display: block; }
.guide-item h3 { font-size: 1.4rem; letter-spacing: -0.02em; }
.guide-item p { color: var(--ink-2); margin-top: 8px; max-width: 60ch; }
@media (max-width: 600px) { .guide-item { grid-template-columns: 1fr; gap: 6px; } }
.article { max-width: 68ch; padding-bottom: clamp(48px, 7vw, 96px); }
.article h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 500; letter-spacing: -0.03em; }
.article .dek { font-size: 1.25rem; color: var(--ink-2); margin-top: 16px; }
.article .byline { font-size: 14.5px; color: var(--ink-3); margin: 18px 0 36px; padding-bottom: 18px; border-bottom: 1px solid var(--rule-strong); }
.article .prose p, .article .prose li { font-size: 1.1rem; line-height: 1.62; }

/* Contact / about */
.contact-list { border-top: 1px solid var(--rule-strong); max-width: 640px; }
.contact-list div { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.contact-list dt { color: var(--ink-2); }
.contact-list dd { margin: 0; }
.contact-list dd small { display: block; color: var(--ink-2); font-size: 14px; }
@media (max-width: 520px) { .contact-list div { grid-template-columns: 1fr; gap: 4px; } }

/* Callout / disclaimer */
.callout { background: var(--paper); border-left: 3px solid var(--pulse); padding: 16px 20px; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; max-width: 66ch; font-size: 15.5px; color: var(--ink-2); }

/* Footer */
.site-foot { border-top: 1px solid var(--rule-strong); margin-top: clamp(48px, 7vw, 96px); padding-block: 40px 56px; font-size: 15px; color: var(--ink-2); }
.site-foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.site-foot h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 6px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot .fine { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--ink-3); max-width: 80ch; }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .site-foot .cols { grid-template-columns: 1fr; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Brand additions ---------- */
:root { --art-bg: var(--paper); --deep: #0f2e33; --deep-ink: #e8f1f2; --mintline: #6ee7a8; }
.promo { background: var(--deep); color: #cfe0e3; font-size: 14px; text-align: center; padding: 8px var(--gutter); padding-top: calc(8px + env(safe-area-inset-top, 0px)); }
.promo a { color: #fff; margin-left: 6px; }
.bag-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--rule); border-radius: 999px; padding: 7px 12px; cursor: pointer; font-size: 15px; }
.bag-btn:hover { border-color: var(--ink); }
.bag-btn svg { width: 18px; height: 18px; }
.bag-count { min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink); color: var(--ice); font-size: 12px; display: inline-grid; place-items: center; padding: 0 6px; font-variant-numeric: tabular-nums; }
.bag-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); background: var(--pulse); } }
@media (max-width: 760px) { .bag-btn { margin-left: auto; } .bag-btn > span:first-of-type { display: none; } }
.bag { position: fixed; inset: 0; z-index: 80; background: rgba(8, 24, 27, .45); display: flex; justify-content: flex-end; }
.bag-panel { width: min(420px, 100%); height: 100%; background: var(--paper); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(8, 24, 27, .2); animation: slidein .25s ease; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
@keyframes slidein { from { transform: translateX(30px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bag-panel, .bag-count.bump { animation: none; } }
.bag-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--rule); }
.bag-head h2 { font-size: 1.3rem; }
.bag-close { background: none; border: 0; cursor: pointer; padding: 6px; }
.bag-close svg { width: 20px; height: 20px; }
.bag-items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.bag-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.bag-item .thumb { width: 72px; height: 56px; background: var(--ice); border-radius: 10px; --art-bg: var(--ice); display: grid; place-items: center; }
.bag-item .thumb svg { width: 100%; height: 100%; }
.bag-item b { display: block; font-weight: 600; }
.bag-item small { color: var(--ink-2); font-size: 13.5px; }
.qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--rule); background: var(--paper); cursor: pointer; line-height: 1; }
.qty button:hover { border-color: var(--ink); }
.bag-item .line-price { font-weight: 600; font-variant-numeric: tabular-nums; }
.bag-foot { padding: 18px 22px 24px; border-top: 1px solid var(--rule); display: grid; gap: 12px; }
.bag-foot .sum { display: flex; justify-content: space-between; font-size: 1.1rem; font-weight: 600; }
.bag-foot .small-print { font-size: 13.5px; color: var(--ink-2); }
.bag-empty { padding: 40px 0; color: var(--ink-2); }
.bag-notice { background: var(--mint); border-radius: 10px; padding: 14px 16px; font-size: 15px; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.hero-note { font-size: 14px; color: var(--ink-2); margin-top: 16px; }
.hero-stage { position: relative; aspect-ratio: 1 / 0.9; --art-bg: var(--ice); }
.hero-stage .hs-watch { position: absolute; left: 4%; top: 0; width: 82%; }
.hero-stage .hs-ring { position: absolute; right: -4%; bottom: -2%; width: 58%; }
.hero-stage svg { width: 100%; height: auto; }
.hero { padding-block: clamp(32px, 6vw, 72px) 0; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-stage { max-width: 440px; width: 100%; margin-inline: auto; } }

.btn.small { padding: 7px 14px; font-size: 14px; margin-top: 6px; }
.btn.big { padding: 15px 28px; font-size: 17px; }
.btn.light { background: var(--deep-ink); color: var(--deep); border-color: var(--deep-ink); }
.btn.light:hover { background: var(--pulse); color: #fff; border-color: var(--pulse); }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.tiles.three { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.tile { background: var(--paper); border-radius: 18px; text-decoration: none; display: flex; flex-direction: column; overflow: hidden; border: 1px solid transparent; }
.tile:hover { border-color: var(--ink); }
.tile:hover .tile-art svg { transform: scale(1.04); }
.tile-art { padding: 18px 18px 0; }
.tile-art svg { width: 100%; height: auto; transition: transform .35s ease; }
@media (prefers-reduced-motion: reduce) { .tile-art svg { transition: none; } }
.tile-body { padding: 4px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tile-kind { font-size: 14px; color: var(--ink-2); }
.tile h3 { font-size: 1.3rem; }
.tile p { color: var(--ink-2); font-size: 15px; flex: 1; }
.tile-price { font-weight: 600; margin-top: 8px; font-variant-numeric: tabular-nums; }
.tile-price small, .pdp-price small { font-weight: 400; color: var(--ink-2); font-size: .8em; }
[hidden], .tile[hidden], .bag[hidden] { display: none !important; }

.app-band { background: var(--deep); color: var(--deep-ink); margin-block: clamp(48px, 7vw, 96px) 0; padding-block: clamp(56px, 8vw, 104px); }
.app-band h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 500; letter-spacing: -0.03em; }
.app-band p { color: #b4c8cb; font-size: 1.08rem; max-width: 46ch; margin-top: 16px; }
.app-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 860px) { .app-grid { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--mintline); border-bottom: 2px solid var(--mintline); transform: rotate(-45deg); }
.ticks.dark li::before { border-color: var(--ink); }
.ticks.dark { margin: 16px 0 20px; font-size: 15.5px; }
.phone { width: min(300px, 100%); margin-inline: auto; aspect-ratio: 9 / 18.5; border-radius: 44px; background: #050d0f; padding: 12px; box-shadow: 0 40px 80px rgba(0,0,0,.35), inset 0 0 0 2px #22353a; }
.phone-screen { height: 100%; border-radius: 34px; background: #0b1a1d; padding: 26px 20px; display: flex; flex-direction: column; gap: 14px; color: #e8f1f2; overflow: hidden; }
.ph-top { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.ph-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pulse); }
.ph-ring { position: relative; width: 62%; margin: 6px auto 0; }
.ph-ring svg { width: 100%; height: auto; }
.ph-ring div { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; }
.ph-ring b { font-size: 2.6rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.ph-ring span { font-size: 13px; color: var(--mintline); }
.app-band .ph-note, .ph-note { font-size: 13px; color: #9fb3b7; text-align: center; margin: 0; }
.ph-rows { display: grid; gap: 1px; background: #1f3237; border-radius: 14px; overflow: hidden; margin-top: auto; }
.ph-rows div { background: #12262a; padding: 10px 12px; display: flex; justify-content: space-between; font-size: 13px; }
.ph-rows span { color: #9fb3b7; }
.ph-rows b { font-weight: 600; font-variant-numeric: tabular-nums; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.plan { background: var(--paper); border-radius: 18px; padding: 26px; border: 1px solid var(--rule); }
.plan.plus { border-color: var(--ink); }
.plan h3 { font-size: 1.15rem; }
.plan-price { font-size: 2.6rem; font-weight: 500; letter-spacing: -0.03em; margin-top: 8px; }
.plan-price small { font-size: 15px; color: var(--ink-2); letter-spacing: 0; font-weight: 400; }

.row-icon.duo { --art-bg: var(--paper); }
.row-icon.duo span { display: block; width: 52px; }
.row-icon.duo svg { width: 52px; height: auto; }
.bundle .row-meta { display: flex; flex-direction: column; align-items: flex-end; }
@media (max-width: 560px) { .bundle .row-meta { align-items: flex-start; } }

.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px clamp(24px, 5vw, 64px); padding-block: clamp(28px, 4vw, 56px); align-items: start; }
.pdp-stage { background: var(--paper); border-radius: 24px; padding: clamp(20px, 5vw, 56px); position: sticky; top: 84px; }
.pdp-stage svg { width: 100%; height: auto; }
.pdp-stage svg * { transition: fill .3s ease; }
.pdp h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 500; letter-spacing: -0.03em; }
.pdp-line { font-size: 1.2rem; margin-top: 8px; }
.pdp-price { font-size: 1.6rem; font-weight: 600; margin-top: 16px; font-variant-numeric: tabular-nums; }
.pdp-blurb { color: var(--ink-2); margin-top: 14px; max-width: 52ch; }
.opt-set { border: 0; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); max-width: 280px; }
.opt-set legend { padding: 0; margin-bottom: 10px; }
.opt-set legend span { color: var(--ink); font-weight: 600; }
.swatches { display: flex; gap: 10px; }
.swatch { width: 38px; height: 38px; border-radius: 50%; background: var(--c); border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--rule); cursor: pointer; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.pdp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.assure { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--rule); font-size: 15px; color: var(--ink-2); }
.assure li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } .pdp-stage { position: static; } }
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-block: clamp(24px, 4vw, 48px); }
.highlights > div { background: var(--paper); border-radius: 18px; padding: 26px; }
.highlights h2 { font-size: 1.25rem; margin-bottom: 10px; }
.highlights p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 760px) { .highlights { grid-template-columns: 1fr; } }
.rail .facts { margin-top: 0; }
.facts dd { line-height: 1.6; }

.faq { border-top: 1px solid var(--rule-strong); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--ink-2); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 18px; color: var(--ink-2); max-width: 64ch; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--ice); padding: 12px 18px; border-radius: 999px; font-size: 15px; z-index: 90; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.site-foot .cols { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr; }
@media (max-width: 960px) { .site-foot .cols { grid-template-columns: 1fr 1fr 1fr; } .site-foot .cols > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-foot .cols { grid-template-columns: 1fr 1fr; } }
.metric-grid { gap: 0; background: var(--paper); }
.metric-grid a { box-shadow: inset -1px -1px 0 var(--rule); }
