/* Dienas deva — customer UI */
:root {
  --bg: #F4F4F0; --surface: #FFFFFF; --ink: #0C0D0C; --muted: #5B605C; --faint: #8A8F8B;
  --line: #E4E4DE; --line-strong: #D9D9D2; --lime: #D4FF3F; --violet: #ECE8FF; --violet-ink: #3B3466;
  --mint: #E3F0EB; --mint-ink: #0A4F41; --amber: #FDF1D8; --amber-ink: #6B4A0B;
  --dark: #0C0D0C; --dark-2: #161817; --dark-line: #2A2D2B; --dark-muted: #A9AEAA;
  --radius: 28px; --radius-sm: 18px;
  --font: 'Geist', ui-sans-serif, system-ui, sans-serif; --mono: 'Geist Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.03em; line-height: 1.1; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.dark-page :focus-visible { outline-color: var(--lime); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; z-index: 10; }
.skip-link:focus { top: 12px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--muted); }
.muted-dark { color: var(--dark-muted); }
.lime { color: var(--lime); }
.small { font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 99px; background: var(--lime); display: inline-block; }
.dot.dark { background: var(--ink); }

/* Header */
.header-wrap { padding-top: 20px; }
.site-header { background: var(--surface); border-radius: 99px; min-height: 64px; padding: 10px 10px 10px 22px; display: flex; align-items: center; gap: 20px; box-shadow: 0 1px 0 var(--line); }
.wordmark { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 21px; letter-spacing: -0.045em; white-space: nowrap; }
.site-nav { display: flex; gap: 4px; font-size: 15px; font-weight: 500; }
.site-nav a, .site-nav .soon { padding: 10px 14px; border-radius: 99px; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { background: var(--bg); }
.site-nav .soon { color: var(--muted); }
.site-nav small { font-family: var(--mono); font-size: 11px; }
.helper-button { margin-left: auto; background: var(--ink); color: #fff; min-height: 44px; padding: 0 18px; border-radius: 99px; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; }
.dark-page .site-header { background: var(--dark-2); box-shadow: 0 0 0 1px var(--dark-line); color: #fff; }
.dark-page .logo-mark { color: #fff; }
.dark-page .site-nav a:hover, .dark-page .site-nav a[aria-current] { background: #222523; }
.dark-page .site-nav .soon { color: var(--dark-muted); }
.dark-page .helper-button { background: var(--lime); color: var(--ink); }
.dark-page .helper-button .dot { background: var(--ink); }

/* Hero + search */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 40px; }
.pill-stat { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px 6px 8px; font-size: 14px; margin: 0 0 24px; }
.pill-stat span { background: var(--lime); border-radius: 99px; padding: 2px 10px; font-family: var(--mono); font-size: 12px; font-weight: 600; }
.hero h1 { font-size: clamp(44px, 5.4vw, 78px); line-height: .95; letter-spacing: -0.05em; font-weight: 700; margin-bottom: 24px; text-wrap: balance; }
.hero h1 .muted { color: var(--faint); }
.lead { font-size: 19px; color: var(--muted); max-width: 540px; margin: 0 0 28px; }
.search-form { position: relative; background: var(--surface); border-radius: 22px; padding: 8px; display: flex; gap: 8px; align-items: center; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(12,13,12,.35); max-width: 600px; }
.search-icon { margin-left: 12px; color: var(--muted); flex-shrink: 0; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; height: 52px; padding: 0 6px; }
.search-form input::-webkit-search-cancel-button { cursor: pointer; }
.search-form button { background: var(--lime); border: 0; border-radius: 16px; padding: 0 20px; height: 52px; font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap; }
.search-form:focus-within { box-shadow: 0 0 0 2px var(--ink), 0 18px 40px -24px rgba(12,13,12,.35); }
.search-helper { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--muted); }
#search-status { margin-left: 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; cursor: pointer; }
.chip span { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--lime); border-color: var(--lime); }
.chip.on span { color: var(--ink); }
.is-searching .home-only { display: none !important; }
.is-searching .hero { grid-template-columns: minmax(0, 1fr); padding-top: 40px; padding-bottom: 24px; }
.is-searching .hero h1 { font-size: 44px; letter-spacing: -0.04em; }

.hero-visual { display: flex; flex-direction: column; }
.showcase { margin-left: 40px; background: var(--dark); color: #fff; border-radius: 32px; padding: 26px; display: flex; flex-direction: column; gap: 16px; text-decoration: none; }
.showcase-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--dark-muted); }
.showcase-product { display: flex; gap: 14px; align-items: center; font-size: 19px; letter-spacing: -0.02em; line-height: 1.25; }
.showcase .price-bar { color: #fff; }
.showcase .bar-store { color: #C9CDCA; }
.showcase .bar-track { background: #1F2220; }
.showcase .bar-track span { background: #5B605C; }
.showcase .best .bar-track span { background: var(--lime); }
.showcase-foot { border-top: 1px solid var(--dark-line); padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--dark-muted); font-size: 14px; }
.showcase-foot b { color: #fff; }
.showcase-foot .big { font-size: 32px; letter-spacing: -0.045em; }
.helper-bubble { position: relative; margin-top: -18px; width: 300px; background: var(--surface); border-radius: 24px; padding: 20px; box-shadow: 0 24px 50px -24px rgba(12,13,12,.4); display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.mono-small { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.bubble { background: var(--bg); border-radius: 16px 16px 16px 4px; padding: 12px 14px; font-size: 14px; line-height: 1.45; }
.helper-bubble .link { font-size: 14px; font-weight: 600; }

/* Badges */
.badge-lime, .badge-dark, .badge-soft { display: inline-block; border-radius: 99px; padding: 3px 10px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge-lime { background: var(--lime); color: var(--ink); }
.badge-dark { background: var(--ink); color: var(--lime); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.badge-soft { background: var(--mint); color: var(--mint-ink); }
.mono-pill { font-family: var(--mono); font-size: 12px; background: var(--bg); border-radius: 99px; padding: 5px 10px; }

/* Product image */
.product-image { position: relative; width: 200px; aspect-ratio: 1; flex-shrink: 0; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.product-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10%; background: #fff; }
.product-image img.failed { display: none; }
.image-placeholder { font-weight: 700; font-size: 22px; letter-spacing: -0.04em; color: var(--faint); text-transform: uppercase; }
.product-image.small { width: 64px; border-radius: 16px; }
.product-image.small .image-placeholder { font-size: 14px; }
.product-image.tiny { width: 48px; border-radius: 12px; }
.product-image.tiny .image-placeholder { font-size: 12px; }
.product-image.large { width: 100%; border-radius: var(--radius); }
.product-image.small img, .product-image.tiny img { padding: 6%; }

/* Price bars */
.price-bars { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.price-bar { display: grid; grid-template-columns: 116px minmax(40px, 1fr) 70px; align-items: center; gap: 10px; font-size: 13px; }
.bar-store { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 8px; border-radius: 99px; background: var(--bg); }
.bar-track span { display: block; height: 8px; border-radius: 99px; background: #C9CDCA; }
.best .bar-track span { background: var(--ink); }
.bar-price { font-family: var(--mono); text-align: right; }
.best .bar-price { font-weight: 700; }

/* Bento (home) */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; padding-top: 24px; }
.s2 { grid-column: span 2; } .s3 { grid-column: span 3; } .s4 { grid-column: span 4; } .s6 { grid-column: span 6; }
.tile { background: var(--surface); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; min-height: 200px; }
a.tile:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.tile-lime { background: var(--lime); padding: 36px; min-height: 300px; }
.tile-dark { background: var(--dark); color: #fff; }
.tile-violet { background: var(--violet); color: var(--violet-ink); }
.tile-title { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
.tile-title.small { font-size: 24px; letter-spacing: -0.035em; line-height: 1.15; }
.tile-text { font-size: 15px; line-height: 1.5; max-width: 480px; }
.tile-cta { margin-top: auto; align-self: flex-start; background: var(--ink); color: #fff; border-radius: 99px; padding: 14px 22px; font-weight: 600; }
.tile-link { margin-top: auto; font-weight: 600; font-size: 15px; }
.formula { margin-top: auto; background: var(--bg); border-radius: var(--radius-sm); padding: 16px; font-family: var(--mono); font-size: 14px; line-height: 1.8; }
.formula b { font-size: 18px; }
.type-head, .type-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.type-foot { margin-top: auto; }
.absorption { display: inline-flex; gap: 4px; }
.absorption span { width: 18px; height: 6px; border-radius: 99px; background: var(--line); }
.absorption span.on { background: var(--ink); }
.price-pill { font-family: var(--mono); font-size: 13px; font-weight: 600; background: var(--bg); border-radius: 99px; padding: 6px 10px; white-space: nowrap; }
.deal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.deal { display: flex; flex-direction: column; gap: 6px; text-decoration: none; padding: 14px; border-radius: 22px; }
.deal:hover { background: var(--bg); }
.deal .product-image { width: 100%; aspect-ratio: 4 / 3; margin-bottom: 8px; }
.deal .badge-soft { align-self: flex-start; }
.deal strong { font-size: 16px; line-height: 1.3; }
.deal-cost { margin-top: auto; font-size: 14px; color: var(--muted); }
.deal-cost b { font-size: 28px; letter-spacing: -0.045em; color: var(--ink); }
.store-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.store-chips span { border: 1px solid #2F3330; border-radius: 99px; padding: 10px 16px; font-size: 15px; }

/* Search results: product card */
.results { padding-top: 8px; }
.results:empty { display: none; }
.results-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 8px 0 16px; }
.results-heading h2 { font-size: 28px; }
.results-heading span, .result-note { color: var(--muted); font-size: 14px; }
.product-card { background: var(--surface); border-radius: var(--radius); padding: 28px; margin-bottom: 16px; }
.product-overview { display: flex; gap: 28px; align-items: flex-start; }
.product-description { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.product-description .eyebrow { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.product-description h3 { font-size: 26px; }
.product-description h3 a { text-decoration: none; }
.product-description h3 a:hover { text-decoration: underline; }
.product-description > a, .small-link { font-size: 14px; font-weight: 600; }
.small-link.light { color: var(--dark-muted); }
.product-details { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px 20px; margin: 4px 0; }
.product-details dt { font-size: 12px; color: var(--muted); }
.product-details dd { margin: 0; font-weight: 600; font-size: 15px; }
details summary { cursor: pointer; font-size: 14px; font-weight: 600; }
details p { font-size: 14px; color: var(--muted); }
.cost-box { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; min-width: 140px; }
.cost-box strong { font-size: 40px; letter-spacing: -0.05em; line-height: 1; }
.cost-box span { font-size: 13px; color: var(--muted); }
.cost-box .saving { margin-top: 8px; background: var(--amber); color: var(--amber-ink); border-radius: 8px; padding: 4px 8px; font-weight: 600; }
.offers-heading, .panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 24px 0 8px; }
.offers-heading h4, .panel-head h2 { font-size: 18px; letter-spacing: -0.02em; }
.offers-heading span { color: var(--muted); font-size: 14px; }
.store-offers { border-top: 1px solid var(--line); container-type: inline-size; }
.store-row { display: grid; grid-template-columns: minmax(180px, 1.2fr) minmax(140px, 1fr) 150px 130px; gap: 16px; align-items: center; padding: 14px 6px; border-bottom: 1px solid var(--line); }
.store-row.best { background: linear-gradient(90deg, rgba(212,255,63,.28), rgba(212,255,63,0)); border-radius: 14px; }
.store-row.no-offer { color: var(--faint); }
.store-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.store-monogram { width: 32px; height: 32px; border-radius: 10px; background: var(--bg); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--ink); }
.offer-date { font-size: 13px; color: var(--muted); display: flex; flex-direction: column; }
.offer-date-stale small { color: var(--amber-ink); background: var(--amber); align-self: flex-start; border-radius: 6px; padding: 1px 6px; margin-top: 2px; }
.offer-price { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; text-align: right; }
.offer-price span { font-size: 15px; }
.offer-price sup { font-size: 14px; }
.price-condition { display: block; font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.store-link { justify-self: end; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line-strong); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.store-link:hover { border-color: var(--ink); }
.best .store-link { background: var(--ink); border-color: var(--ink); color: #fff; }
.missing-offer { grid-column: 2 / -1; font-size: 14px; }
.empty-state { background: var(--surface); border-radius: var(--radius); padding: 48px; text-align: center; }
.empty-icon { display: inline-flex; width: 48px; height: 48px; border-radius: 99px; background: var(--lime); align-items: center; justify-content: center; font-weight: 700; font-size: 22px; margin-bottom: 12px; }
.empty-state h3 { font-size: 24px; margin-bottom: 6px; }
.empty-state p { color: var(--muted); margin: 0; }

/* Browse */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; padding-top: 48px; padding-bottom: 20px; }
.page-head .mono a { text-decoration: none; }
.page-head h1 { font-size: clamp(40px, 5vw, 60px); letter-spacing: -0.05em; line-height: 1; margin-top: 10px; }
.page-head h1 .muted { color: var(--faint); }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; background: var(--surface); border-radius: 99px; padding: 4px; }
.tabs a { min-height: 40px; display: flex; align-items: center; padding: 0 16px; border-radius: 99px; text-decoration: none; font-size: 15px; font-weight: 500; }
.tabs a[aria-current] { background: var(--ink); color: #fff; }
.info-strip { background: var(--mint); color: var(--mint-ink); border-radius: var(--radius-sm); padding: 16px 20px; display: flex; gap: 18px; align-items: center; margin-bottom: 20px; }
.info-strip p { margin: 0; font-size: 15px; }
.info-strip a { font-weight: 600; }
.info-strip .absorption span.on { background: var(--mint-ink); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.filters .chip { background: var(--surface); border-color: var(--line); }
.filters .chip.on { background: var(--lime); border-color: var(--lime); }
.sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sort select { min-height: 44px; border-radius: 99px; border: 1px solid var(--line-strong); background: var(--surface); padding: 0 14px; color: var(--ink); }
.list { display: flex; flex-direction: column; gap: 10px; padding-bottom: 24px; }
.list-head, .product-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr) 160px; gap: 28px; align-items: center; }
.list-head { padding: 0 28px; }
.list-head span:last-child { text-align: right; }
.product-row { background: var(--surface); border-radius: var(--radius); padding: 20px 28px; }
.product-row.top { box-shadow: inset 0 0 0 2px var(--ink); }
.row-main { display: flex; gap: 16px; align-items: center; min-width: 0; text-decoration: none; }
.row-main:hover strong { text-decoration: underline; }
.row-text { display: flex; flex-direction: column; min-width: 0; }
.row-text strong { font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.row-text span { font-size: 13px; color: var(--muted); margin-top: 4px; }
.row-cost { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.row-cost .badge-dark { margin-bottom: 6px; }
.row-cost strong { font-size: 34px; letter-spacing: -0.05em; line-height: 1; }
.row-cost span:last-child { font-size: 13px; color: var(--muted); }
.footnote { font-size: 13px; color: var(--muted); margin: 8px 0 0; }

/* Product page */
.product-page { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 40px; padding-bottom: 24px; }
.product-side { flex: 1 1 300px; max-width: 380px; display: flex; flex-direction: column; gap: 16px; }
.fact-grid { background: var(--surface); border-radius: var(--radius-sm); padding: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.composition { background: var(--surface); border-radius: var(--radius-sm); padding: 16px 20px; }
.product-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.product-main > .mono a { text-decoration: none; }
.product-main .badge-soft { align-self: flex-start; }
.product-main h1 { font-size: clamp(32px, 4vw, 46px); letter-spacing: -0.045em; }
.product-main > p { margin: 0; }
.cost-hero { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.cost-hero div { display: flex; flex-direction: column; gap: 2px; }
.cost-hero strong { font-size: 34px; letter-spacing: -0.05em; line-height: 1.05; }
.cost-hero .button-lime { margin-left: auto; }
.button-lime, .button-light { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 16px; background: var(--lime); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; border: 0; cursor: pointer; }
.button-light { background: #fff; color: var(--ink); border-radius: 99px; }
.panel { background: var(--surface); border-radius: var(--radius); padding: 24px 28px; }
.panel .panel-head { margin-top: 0; }
.panel-mint { background: var(--mint); color: var(--mint-ink); }
.panel-mint h2 { font-size: 20px; margin-bottom: 8px; }
.panel-mint p { margin: 0 0 8px; }
.panel .links a { font-weight: 600; margin-right: 16px; }
.history { width: 100%; height: 120px; display: block; }
.history line { stroke: var(--line); stroke-width: 1; }
.history polyline { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mini-list { display: flex; flex-direction: column; }
.mini-list a { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-top: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.mini-list a > span { flex: 1; min-width: 0; }
.mini-list .muted { font-size: 13px; }
.mini-list strong { font-family: var(--mono); font-size: 15px; white-space: nowrap; }
.mini-list small { color: var(--muted); }

/* Helper */
.dark-page { background: var(--dark); color: #fff; }
.dark-page .site-footer { color: var(--dark-muted); }
.helper { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 40px; padding-bottom: 32px; }
.helper-form { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.helper-form > .mono { margin: 0; }
.helper h1 { font-size: clamp(38px, 5vw, 56px); letter-spacing: -0.05em; line-height: 1; margin-top: -12px; }
.question { border: 0; margin: 0; padding: 0; }
.question legend { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; padding: 0; }
.question legend .mono { font-size: 13px; margin-right: 6px; }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option span, .option-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1.5px solid #3A3E3B; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; }
.option input:checked + span, .option-link.on { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.option input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.option:hover span, .option-link:hover { border-color: #fff; }
.free-text { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 22px; padding: 8px; display: flex; gap: 8px; }
.free-text input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font-size: 16px; padding: 0 14px; height: 52px; }
.free-text input::placeholder { color: #8A8F8B; }
.free-text button { width: 52px; height: 52px; border-radius: 16px; border: 0; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.helper-form .small { margin: -12px 0 0; }
.helper-result { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.result-card { background: #fff; color: var(--ink); border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.result-card.placeholder { min-height: 300px; }
.result-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.result-card h2 { font-size: clamp(34px, 4vw, 48px); letter-spacing: -0.05em; line-height: 1; }
.why { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.why li { position: relative; padding-left: 30px; font-size: 15px; }
.why li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 99px; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C0D0C' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.best-pick { background: var(--dark); color: #fff; border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.best-head { display: flex; gap: 14px; align-items: flex-start; }
.best-head > div:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.best-head .badge-lime { align-self: flex-start; }
.best-head strong { font-size: 18px; letter-spacing: -0.02em; line-height: 1.3; }
.best-head .muted-dark { font-size: 13px; }
.best-cost { text-align: right; display: flex; flex-direction: column; }
.best-cost strong { font-size: 36px; letter-spacing: -0.05em; line-height: 1; }
.best-pick .small-link { text-align: center; }
.override { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 24px; padding: 22px; }
.override p { font-size: 14px; margin: 4px 0 14px; }
.override .option-link { color: #fff; }
.override .option-link.on { color: var(--ink); }

/* Learn */
.page-intro { padding-top: 56px; padding-bottom: 28px; }
.page-intro h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.05em; line-height: 1.02; max-width: 860px; margin-bottom: 18px; }
.table-box { background: var(--surface); border-radius: var(--radius); overflow-x: auto; }
.types-table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 15px; }
.types-table th, .types-table td { padding: 18px 16px; text-align: left; border-top: 1px solid var(--line); vertical-align: middle; }
.types-table thead th { border-top: 0; background: var(--bg); font-size: 12px; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.types-table tbody th { font-size: 20px; font-weight: 700; letter-spacing: -0.03em; }
.types-table tbody th a { text-decoration: none; }
.types-table tbody th small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.types-table .cost { font-family: var(--mono); font-weight: 600; text-align: right; }
.gut { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.gut-good { background: var(--mint); color: var(--mint-ink); }
.gut-mid { background: var(--bg); border: 1px solid var(--line-strong); }
.gut-loose { background: var(--amber); color: var(--amber-ink); }
.section-title { font-size: 32px; margin: 40px 0 16px; }
.faq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.faq .tile { min-height: 0; }
.cta-band { margin-top: 24px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; text-decoration: none; }
.cta-band > span:first-child { display: flex; flex-direction: column; }
.cta-band b { font-size: 26px; letter-spacing: -0.04em; }

/* Calculator */
.calculator { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-bottom: 8px; }
.calc-form { flex: 1 1 380px; min-width: 0; background: var(--surface); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.question.light legend, .dose-label { font-size: 16px; font-weight: 600; margin-bottom: 10px; padding: 0; display: flex; justify-content: space-between; gap: 12px; }
.question.light .option span { border-color: var(--line-strong); color: var(--ink); }
.question.light .option:hover span { border-color: var(--ink); }
.question.light .option input:checked + span { background: var(--lime); border-color: var(--lime); }
.question.light .option input:focus-visible + span { outline-color: var(--ink); }
.dose-label output { font-family: var(--mono); font-size: 18px; }
.dose-range { width: 100%; accent-color: var(--ink); height: 32px; margin: 0; }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.calc-result { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.result-panel { background: var(--surface); border-radius: var(--radius); padding: 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.result-panel.dark { background: var(--dark); color: #fff; }
.result-panel .panel-head { margin: 0 0 4px; }
.big-number { font-size: clamp(44px, 6vw, 64px); letter-spacing: -0.05em; line-height: 1; }
.intake-bar { height: 14px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: 10px; }
.intake-supplement { display: block; height: 100%; background: var(--lime); box-shadow: inset -2px 0 0 var(--ink); }
.intake-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted); }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.swatch.lime { background: var(--lime); box-shadow: inset 0 0 0 1px var(--ink); }
.swatch.grey { background: var(--line); }
.conversion { font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.03em; line-height: 1.2; margin: 4px 0; }
.conversion strong { color: var(--lime); }
.dose-list { list-style: none; margin: 0; padding: 0; counter-reset: dose; }
.dose-list a { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-top: 1px solid var(--line); text-decoration: none; }
.dose-list a:hover b { text-decoration: underline; }
.dose-name { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 15px; }
.dose-name .muted { font-size: 13px; }
.dose-cost { text-align: right; display: flex; flex-direction: column; white-space: nowrap; }
.dose-cost strong { font-size: 22px; letter-spacing: -0.03em; }
.dose-cost .muted { font-size: 12px; }

/* Footer */
.site-footer { padding-top: 48px; padding-bottom: 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); }

/* Responsive */
@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .showcase { margin-left: 0; }
  .helper-bubble { margin-top: 16px; width: auto; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s2, .s3 { grid-column: span 1; } .s4, .s6 { grid-column: span 2; }
  .list-head { display: none; }
  .product-row { grid-template-columns: minmax(0, 1fr) auto; }
  .product-row .price-bars { grid-column: 1 / -1; grid-row: 2; }
}
@container (max-width: 700px) {
  .store-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .offer-date { grid-column: 1; grid-row: 2; }
  .offer-price { grid-column: 2; grid-row: 1; }
  .store-link { grid-column: 2; grid-row: 2; }
  .missing-offer { grid-column: 2; grid-row: 1; }
}
@media (max-width: 700px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .site-header { padding-left: 16px; border-radius: 24px; flex-wrap: wrap; row-gap: 4px; }
  .site-nav { order: 3; width: 100%; margin: 0 -8px; }
  .site-nav .soon { display: none; }
  .info-strip { flex-direction: column; align-items: flex-start; gap: 10px; }
  .search-form button { padding: 0 14px; }
  .bento, .deal-grid, .faq { grid-template-columns: minmax(0, 1fr); }
  .s2, .s3, .s4, .s6 { grid-column: auto; }
  .tile, .tile-lime { padding: 24px; }
  .product-overview { flex-wrap: wrap; }
  .product-overview .product-image { width: 120px; }
  .cost-box { align-items: flex-start; text-align: left; }
  .product-card, .panel { padding: 20px; }
  .product-row { padding: 16px; gap: 14px; }
  .price-bar { grid-template-columns: 96px minmax(30px, 1fr) 64px; }
  .row-cost strong { font-size: 26px; }
  .sort { margin-left: 0; }
  .cost-hero .button-lime { margin-left: 0; width: 100%; }
  .best-head { flex-wrap: wrap; }
  .site-footer { flex-direction: column; }
  .calc-form, .result-panel { padding: 20px; }
  .dose-list a { flex-wrap: wrap; row-gap: 6px; }
  .dose-name { flex-basis: calc(100% - 62px); }
  .dose-cost { flex-direction: row; align-items: baseline; gap: 8px; margin-left: 62px; text-align: left; }
}
@media (prefers-reduced-motion: no-preference) {
  .chip, .tile, .option span, .store-link { transition: border-color .15s, box-shadow .15s, background-color .15s; }
}
