/* WaterFilters.com — 2030 edition. No frameworks, no web fonts. */
@view-transition { navigation: auto; }

:root {
  color-scheme: light dark;
  --murky: oklch(72% 0.09 75);
  --speck: oklch(48% 0.06 60);
  --bg: oklch(98.5% 0.008 230);
  --bg-2: oklch(95.5% 0.018 230);
  --ink: oklch(22% 0.03 250);
  --ink-2: oklch(45% 0.03 250);
  --line: oklch(22% 0.03 250 / 0.1);
  --glass: oklch(100% 0 0 / 0.55);
  --glass-line: oklch(100% 0 0 / 0.7);
  --aqua: oklch(72% 0.15 210);
  --aqua-deep: oklch(55% 0.17 240);
  --mint: oklch(85% 0.13 175);
  --violet: oklch(68% 0.17 285);
  --radius: 28px;
  --shadow: 0 1px 0 oklch(100% 0 0 / 0.6) inset, 0 20px 60px -20px oklch(40% 0.1 240 / 0.25);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --murky: oklch(62% 0.08 70);
    --speck: oklch(80% 0.05 70);
    --bg: oklch(15% 0.025 250);
    --bg-2: oklch(19% 0.03 250);
    --ink: oklch(95% 0.01 230);
    --ink-2: oklch(75% 0.02 230);
    --line: oklch(100% 0 0 / 0.09);
    --glass: oklch(25% 0.03 250 / 0.5);
    --glass-line: oklch(100% 0 0 / 0.1);
    --shadow: 0 1px 0 oklch(100% 0 0 / 0.06) inset, 0 30px 80px -30px oklch(0% 0 0 / 0.7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 clamp(1rem, 0.95rem + 0.2vw, 1.0625rem)/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 99px; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* Ambient aurora behind everything */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora::before, .aurora::after {
  content: ""; position: absolute; width: 70vmax; aspect-ratio: 1; border-radius: 50%;
  filter: blur(90px); opacity: 0.35;
  animation: drift 26s ease-in-out infinite alternate;
}
.aurora::before { background: var(--aqua); top: -35vmax; left: -20vmax; }
.aurora::after { background: var(--violet); bottom: -40vmax; right: -25vmax; animation-delay: -13s; opacity: 0.22; }
@keyframes drift { to { transform: translate(10vmax, 8vmax) scale(1.15); } }

/* Header */
.nav {
  position: sticky; top: 12px; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 12px; padding: 10px 10px 10px 18px;
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: 99px;
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -0.02em; }
.brand svg { width: 26px; height: 26px; }
.brand span b { font-weight: 650; color: var(--aqua-deep); }
@media (prefers-color-scheme: dark) { .brand span b { color: var(--aqua); } }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 8px 14px; border-radius: 99px; text-decoration: none; font-size: 0.94rem; color: var(--ink-2); transition: background .2s, color .2s; }
.nav ul a:hover, .nav ul a[aria-current="page"] { background: var(--line); color: var(--ink); }
@media (max-width: 560px) {
  .nav { padding-left: 14px; }
  .brand span { display: none; }
  .nav ul a { padding: 8px 11px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 99px;
  font-weight: 600; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 600;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--aqua), var(--aqua-deep));
  box-shadow: 0 10px 30px -10px var(--aqua-deep), 0 1px 0 oklch(100% 0 0 / .35) inset;
}
.btn-ghost { background: var(--glass); border: 1px solid var(--line); color: var(--ink); backdrop-filter: blur(10px); }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(24px, 5vw, 64px); padding-block: clamp(48px, 10vw, 120px) clamp(40px, 8vw, 96px); }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } .hero-visual { order: -1; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); padding: 6px 12px 6px 8px; border: 1px solid var(--line); border-radius: 99px; background: var(--glass); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px oklch(85% 0.13 175 / .25); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px oklch(85% 0.13 175 / 0); } }
.hero h1 { font-size: clamp(2.8rem, 1.6rem + 6vw, 6.4rem); font-weight: 700; margin-block: 22px 20px; }
.grad { background: linear-gradient(100deg, var(--aqua-deep), var(--aqua) 45%, var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); color: var(--ink-2); max-width: 34ch; margin: 0 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }


/* Sections */
section { padding-block: clamp(40px, 7vw, 96px); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); font-weight: 700; max-width: 16ch; }
.sec-head p { color: var(--ink-2); max-width: 42ch; margin: 0; }
.kicker { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua-deep); margin: 0 0 12px; }
@media (prefers-color-scheme: dark) { .kicker { color: var(--aqua); } }

/* Bento category grid */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s;
  container-type: inline-size;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in oklch, var(--aqua) 50%, transparent); }
.card::before { content: ""; position: absolute; width: 220px; aspect-ratio: 1; right: -70px; top: -70px; border-radius: 50%; background: radial-gradient(var(--hue, var(--aqua)), transparent 70%); opacity: .35; transition: opacity .35s, transform .5s; }
.card:hover::before { opacity: .6; transform: scale(1.2); }
.card .ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: color-mix(in oklch, var(--hue, var(--aqua)) 18%, transparent); color: var(--hue, var(--aqua-deep)); margin-bottom: 28px; }
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem); margin-bottom: 8px; }
.card p { color: var(--ink-2); margin: 0; }
.card .tag { display: inline-block; margin-top: 18px; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-2); }
.span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; } .span-4 { grid-column: span 4; }
.card.feature { min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; }
@media (max-width: 900px) { .span-3, .span-2, .span-4 { grid-column: span 3; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .span-3, .span-2, .span-4 { grid-column: auto; } }

/* Filtration pipeline */
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: stage; position: relative; }
.pipeline::before { content: ""; position: absolute; top: 27px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, var(--aqua), var(--mint), var(--violet)); opacity: .6; }
.stage { counter-increment: stage; padding: 0 16px; text-align: left; position: relative; }
.stage .dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--bg); border: 2px solid var(--aqua); margin-bottom: 20px; position: relative; }
.stage .dot::after { content: "0" counter(stage); font-size: .9rem; }
.stage h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.stage p { color: var(--ink-2); margin: 0; font-size: .95rem; }
@media (max-width: 760px) {
  .pipeline { grid-template-columns: 1fr; gap: 28px; }
  .pipeline::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(var(--aqua), var(--mint), var(--violet)); }
  .stage { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding: 0; }
  .stage .dot { grid-row: span 2; margin: 0; }
}

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.stats div { padding: clamp(24px, 4vw, 40px) 8px; text-align: center; }
.stats div + div { border-left: 1px solid var(--line); }
.stats b { display: block; font-size: clamp(2rem, 1.2rem + 3.5vw, 3.8rem); letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px; }
.stats span { color: var(--ink-2); font-size: .92rem; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } .stats div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* Domain offer */
.offer {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px);
  padding: clamp(32px, 6vw, 72px);
  color: white;
  background:
    radial-gradient(60% 80% at 100% 0%, oklch(85% 0.13 175 / .55), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, oklch(68% 0.17 285 / .6), transparent 60%),
    linear-gradient(135deg, oklch(45% 0.16 245), oklch(28% 0.1 260));
  box-shadow: 0 40px 100px -40px oklch(45% 0.16 245);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
}
.offer::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(oklch(100% 0 0 / .12) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, black); pointer-events: none; }
.offer > * { position: relative; z-index: 1; }
.offer .kicker { color: oklch(90% 0.1 175); }
.offer h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); font-weight: 700; margin-bottom: 16px; }
.offer p { color: oklch(100% 0 0 / .82); margin: 0 0 28px; max-width: 48ch; }
.price { text-align: right; }
.price small { display: block; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.price b { display: block; font-size: clamp(3rem, 2rem + 5vw, 6rem); letter-spacing: -0.05em; line-height: 1; margin: 6px 0; }
.offer .btn-primary { background: white; color: oklch(30% 0.1 255); box-shadow: 0 10px 30px -10px oklch(0% 0 0 / .5); }
.offer .btn-ghost { color: white; border-color: oklch(100% 0 0 / .3); background: oklch(100% 0 0 / .08); }
@media (max-width: 760px) { .offer { grid-template-columns: 1fr; } .price { text-align: left; order: -1; } }

/* Page header for inner pages */
.page-head { padding-block: clamp(56px, 10vw, 120px) clamp(24px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2.6rem, 1.5rem + 5vw, 5.4rem); font-weight: 700; margin: 18px 0 16px; }
.page-head p { color: var(--ink-2); font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); max-width: 56ch; margin: 0; }

/* Comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--glass-line); background: var(--glass); box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .95rem; }
th, td { text-align: left; padding: 18px 20px; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
tbody th { font-weight: 650; white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:hover { background: color-mix(in oklch, var(--aqua) 6%, transparent); }
.meter { display: inline-flex; gap: 3px; vertical-align: middle; }
.meter i { width: 14px; height: 6px; border-radius: 3px; background: var(--line); }
.meter[data-v="1"] i:nth-child(-n+1), .meter[data-v="2"] i:nth-child(-n+2), .meter[data-v="3"] i:nth-child(-n+3), .meter[data-v="4"] i:nth-child(-n+4), .meter[data-v="5"] i:nth-child(-n+5) { background: linear-gradient(90deg, var(--aqua), var(--mint)); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border-radius: 20px; border: 1px solid var(--glass-line); background: var(--glass); box-shadow: var(--shadow); padding: 4px 22px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--aqua-deep); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 20px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.info { display: grid; gap: 16px; align-content: start; }
.info .card { padding: 24px; }
.info .card .ico { margin-bottom: 16px; }
.info a { text-decoration: none; font-weight: 650; font-size: 1.25rem; letter-spacing: -0.02em; }
.info address { font-style: normal; color: var(--ink-2); }
form.card { display: grid; gap: 16px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { form .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
input, textarea, select {
  font: inherit; color: var(--ink); width: 100%; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: color-mix(in oklch, var(--bg) 70%, transparent);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 4px color-mix(in oklch, var(--aqua) 22%, transparent); }
textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--ink-2); margin: 0; }

/* Footer */
footer { padding-block: 48px 40px; margin-top: 40px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Sections are always visible (no scroll-triggered fade-in: some mobile browsers left them hidden). */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Card hues (classes, so CSP can forbid inline styles) */
a.card { text-decoration: none; }
.h-aqua { --hue: oklch(72% 0.15 210); } .h-mint { --hue: oklch(80% 0.13 175); } .h-violet { --hue: oklch(68% 0.17 285); }
.h-sky { --hue: oklch(74% 0.13 230); } .h-blue { --hue: oklch(62% 0.16 250); }
.mt { margin-top: 32px; }
.card .tag { align-self: flex-start; }

/* Contact form states */
.opt { font-weight: 400; opacity: .7; }
.err { color: oklch(60% 0.2 25); font-weight: 500; min-height: 0; }
.err:empty { display: none; }
[aria-invalid="true"] { border-color: oklch(60% 0.2 25); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-status { margin: 0; font-weight: 600; }
.form-status[data-kind="good"] { color: oklch(62% 0.15 160); }
.form-status[data-kind="bad"] { color: oklch(60% 0.2 25); }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
form h2 { font-size: 1.6rem; }
.turnstile:empty { display: none; }

/* ---------- Mobile & touch polish ---------- */
/* Never allow sideways panning, even if a decoration pokes out. */
html, body { overflow-x: clip; }
/* Anchor links land below the sticky header. */
[id] { scroll-margin-top: 96px; }
/* Long words/emails wrap instead of widening the layout. */
.offer { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.offer h2, .price small, .info a, .page-head h1 { overflow-wrap: break-word; }
@media (max-width: 760px) { .offer { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) {
  .offer { padding: 28px 22px; }
  .cta-row .btn { flex: 1 1 100%; justify-content: center; }
}
/* 16px+ inputs so iOS Safari doesn't zoom in when a field is tapped. */
input, textarea, select { font-size: max(1rem, 16px); }
/* Comfortable tap targets (44px, Apple HIG / WCAG 2.5.5). */
.brand { min-height: 44px; padding-right: 6px; }
.nav ul a { min-height: 44px; display: flex; align-items: center; }
footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; }
footer nav { gap: 8px 14px; }
.info a { display: inline-block; padding-block: 8px; }
.btn { min-height: 48px; }
/* Hover lifts only on devices that really hover (avoids sticky hover on touch). */
@media (hover: none) { .card:hover, .btn:hover { transform: none; } }

/* Guide table becomes stacked cards on small screens and portrait tablets. */
@media (max-width: 900px) {
  .table-wrap { overflow: visible; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  table { min-width: 0; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table, tbody, tr, th, td { display: block; }
  tbody { display: grid; gap: 14px; }
  tbody tr { border-radius: 22px; border: 1px solid var(--glass-line); background: var(--glass); box-shadow: var(--shadow); padding: 6px 20px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  tbody tr:hover { background: var(--glass); }
  tbody th { font-size: 1.25rem; letter-spacing: -0.02em; padding: 14px 0 8px; border-bottom: 1px solid var(--line); white-space: normal; }
  tbody td { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; }
  tbody td::before { content: attr(data-label); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding-top: 3px; }
  tbody tr > :last-child { border-bottom: 0; }
}
@media (max-width: 340px) { tbody td { grid-template-columns: 1fr; gap: 2px; } }

.brand, .brand svg { flex-shrink: 0; }
@media (min-width: 561px) and (max-width: 900px) { tbody { grid-template-columns: 1fr 1fr; } }
@media (max-width: 340px) {
  .nav { padding: 6px 6px 6px 12px; gap: 6px; }
  .nav ul { gap: 0; }
  .nav ul a { padding-inline: 9px; font-size: .9rem; }
}
/* Domain panel on small phones: scale text to fit instead of breaking mid-word. */
.offer h2, .price small { overflow-wrap: break-word; }
@media (max-width: 400px) {
  .offer h2 { font-size: clamp(1.5rem, 8.4vw, 2rem); }
  .price small.email { text-transform: none; letter-spacing: 0; font-size: .85rem; }
}

/* Phone link in the shop panel: comfortable tap target. */
.price a { display: inline-block; padding-block: 14px; color: inherit; text-underline-offset: 3px; }

/* ---------- Hero: product lineup ("Every filter. One place.") ---------- */
.lineup { width: 100%; display: grid; gap: 16px; justify-items: center; }
.lineup .defs { position: absolute; }
.shelf { position: relative; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: clamp(2px, 1vw, 12px); padding-bottom: 22px; }
.shelf::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: 8px; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in oklch, var(--aqua) 60%, transparent), transparent); }
.prod { flex: 1 1 0; min-width: 0; max-width: 96px; display: grid; justify-items: center; opacity: .45; transform: translateY(6px) scale(.92); transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .5s, filter .5s; }
.prod svg { width: 100%; height: auto; overflow: visible; }
.prod.on { opacity: 1; transform: translateY(-12px) scale(1.14); filter: drop-shadow(0 14px 20px color-mix(in oklch, var(--aqua) 45%, transparent)); }
.p-line { fill: url(#pglass) oklch(72% 0.15 210 / 0.25); stroke: var(--ink); stroke-opacity: .45; stroke-width: 1.6; stroke-linejoin: round; }
.p-detail { fill: none; stroke: var(--ink); stroke-opacity: .32; stroke-width: 1.2; stroke-linecap: round; }
.p-water { fill: var(--aqua); opacity: .55; }
.pg-a { stop-color: var(--aqua); stop-opacity: .45; } .pg-b { stop-color: var(--violet); stop-opacity: .12; }
.now { margin: 0; display: grid; gap: 2px; text-align: center; min-height: 3.6em; }
.now a { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; padding-block: 6px; }
.now a::after { content: " →"; color: var(--aqua-deep); }
.now a:hover { text-decoration: underline; text-underline-offset: 4px; }
.now span { color: var(--ink-2); font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { font: inherit; font-size: .85rem; font-weight: 600; min-height: 44px; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--glass); color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.chip:hover { border-color: color-mix(in oklch, var(--aqua) 50%, transparent); }
.chip[aria-pressed="true"] { background: var(--aqua-deep); color: white; border-color: transparent; }
@media (max-width: 400px) { .chip { font-size: .8rem; padding: 6px 11px; } .now a { font-size: 1.1rem; } }

/* Hero: "inside the filter" cartridge animation above the lineup */
.hero-visual { display: grid; gap: 8px; justify-items: center; min-width: 0; }
.cartridge { width: min(100%, 380px); aspect-ratio: 36 / 40; justify-self: center; }
.cartridge canvas { width: 100%; height: 100%; display: block; }
.hero-visual .shelf { max-width: 560px; }
.hero-visual .prod { max-width: 96px; }
@media (max-width: 560px) { .cartridge { width: min(100%, 320px); } }
/* How it works: animation beside the four stages */
.how-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.how-grid .pipeline { grid-template-columns: 1fr; gap: 26px; }
.how-grid .pipeline::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(var(--aqua), var(--mint), var(--violet)); }
.how-grid .stage { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding: 0; }
.how-grid .stage .dot { grid-row: span 2; margin: 0; }
@media (max-width: 860px) { .how-grid { grid-template-columns: minmax(0, 1fr); } }

/* Hero spotlight: the highlighted product, large, above the shelf */
.spotlight { position: relative; height: clamp(150px, 20vw, 230px); aspect-ratio: 60 / 110; display: grid; place-items: center; }
.spotlight::after { content: ""; position: absolute; left: -40%; right: -40%; bottom: -6px; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in oklch, var(--aqua) 70%, transparent), transparent); z-index: -1; }
.spotlight svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 18px 28px color-mix(in oklch, var(--aqua) 50%, transparent)); animation: floaty 5s ease-in-out infinite; }
.spotlight .p-line { stroke-width: 1.2; }
.spotlight.swap svg { animation: pop .55s cubic-bezier(.2,.8,.2,1), floaty 5s ease-in-out .55s infinite; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.9); } }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.hero-visual .shelf { padding-top: 8px; }

/* ---------- Editorial pages: breadcrumbs, dates, short answer, sources, prose ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .88rem; color: var(--ink-2); margin-bottom: 14px; }
.crumbs a { color: var(--ink-2); text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.crumbs a:hover { color: var(--ink); }
.page-head .dates { font-size: .88rem; color: var(--ink-2); margin-top: 14px; }
.answer { margin-top: 24px; max-width: 70ch; padding: 20px 22px; border-radius: 20px; border: 1px solid var(--glass-line); background: var(--glass); box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.answer h2 { font-size: 1.05rem; letter-spacing: 0; margin-bottom: 8px; color: var(--aqua-deep); }
.answer p { margin: 0; color: var(--ink); }
.sources { max-width: 70ch; }
.sources h2, .prose h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); margin: 28px 0 10px; }
.sources ul, .prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: 8px; }
.sources li a, .prose a { text-underline-offset: 3px; }
.sources p, .prose p { color: var(--ink-2); }
.prose { padding-top: 0; }
.prose > * { max-width: 72ch; }
.prose li { color: var(--ink-2); } .prose li b { color: var(--ink); }
.sources li a { display: inline-block; padding-block: 10px; }
.sources ul { gap: 0; }
.prose .cta-row { margin-top: 28px; }
.about-stats { margin-block: 8px 48px; }

/* Hero product drawings are links */
a.prod, a.spotlight { color: inherit; text-decoration: none; cursor: pointer; border-radius: 12px; }
a.prod:hover { opacity: 1; }
a.prod:focus-visible, a.spotlight:focus-visible { outline: 2px solid var(--aqua); outline-offset: 4px; }
