/* ==========================================================================
   FilterJug.com — storefront design system

   Same structural DNA as its sister storefront: warm-neutral paper, dense
   hard-edged cards, a finder in place of a marketing hero, a saturated CTA.
   Recoloured for water — deep filtered-blue brand, a warm amber CTA to cut
   against it — and typeset in Sora/Inter rather than Archivo/Figtree, so the
   two sites read as siblings rather than as clones.

   One component carries the site's whole editorial position: `.cert`. Three
   evidence levels, three visual weights, everywhere a cartridge appears.
   ========================================================================== */

:root {
  /* Surfaces — cool paper, a shade off white */
  --paper: #f5f7f8;
  --card: #ffffff;
  --card-alt: #fafbfc;
  --line: #e2e7ea;
  --line-strong: #cdd6da;

  /* Ink */
  --ink: #111a1e;
  --ink-2: #33434a;
  --ink-3: #5f6d74;
  --ink-4: #8b979d;

  /* Brand — deep filtered blue */
  --brand: #0b5c73;
  --brand-dark: #084456;
  --brand-light: #e6f1f5;
  --brand-mid: #a8cddb;
  --brand-bright: #2496b8;

  /* Accent — CTA. Amber, because everything else here is blue and a buy
     button has to stop being part of the water. */
  --accent: #e08707;
  --accent-dark: #b96c02;
  --accent-light: #fdf3e2;

  /* Evidence levels — the site's editorial spine */
  --certified: #0e7a52;
  --certified-light: #e7f5ee;
  --tested: #9a6b06;
  --tested-light: #fdf5e4;
  --claimed: #6b7078;
  --claimed-light: #f0f2f3;

  /* Status */
  --alert: #b7381a;
  --alert-light: #fdeeea;

  /* Type */
  --display: 'Sora', system-ui, -apple-system, sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Metrics */
  --max: 1320px;
  --gutter: 20px;
  --r-sm: 4px;
  --r: 8px;
  --r-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(17, 26, 30, 0.06);
  --shadow: 0 2px 8px rgba(17, 26, 30, 0.08);
  --shadow-lg: 0 12px 32px rgba(17, 26, 30, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 700;
}

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

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

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 11px 18px;
  border: 1.5px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn:hover {
  text-decoration: none;
}
.btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-dark);
}
.btn-buy {
  background: var(--accent);
  color: #1b1205;
  width: 100%;
}
.btn-buy:hover {
  background: var(--accent-dark);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.btn-sm {
  padding: 8px 13px;
  font-size: 0.81rem;
}

/* --------------------------------------------------------------------------
   Utility bar
   -------------------------------------------------------------------------- */
.utility {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
}
.utility .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  flex-wrap: wrap;
}
.utility > .wrap > div:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.utility svg {
  width: 14px;
  height: 14px;
  stroke: var(--brand-mid);
}
.utility strong {
  color: #fff;
  font-weight: 600;
}
.utility-links {
  display: flex;
  gap: 16px;
}
.utility-links a {
  color: rgba(255, 255, 255, 0.72);
}
.utility-links a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Masthead
   -------------------------------------------------------------------------- */
.masthead {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.masthead-main {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-block: 15px;
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.16rem;
  color: var(--ink);
  letter-spacing: -0.035em;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.brand:hover {
  text-decoration: none;
}
.brand em {
  font-style: normal;
  color: var(--brand);
}
.brand-suffix {
  color: var(--ink-4);
  font-weight: 600;
  font-size: 0.85em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--brand);
  display: grid;
  place-items: center;
}
.brand-mark svg {
  width: 19px;
  height: 19px;
  stroke: #fff;
}

.searchbar {
  flex: 1;
  display: flex;
  max-width: 560px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--card-alt);
  overflow: hidden;
  position: relative;
}
.searchbar:focus-within {
  border-color: var(--brand);
  background: var(--card);
}
.searchbar input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 13px;
  font-family: var(--body);
  font-size: 0.88rem;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.searchbar button {
  border: 0;
  background: transparent;
  padding-inline: 13px;
  cursor: pointer;
  color: var(--ink-3);
}
.searchbar button svg {
  width: 17px;
  height: 17px;
}
.searchbar button:hover {
  color: var(--brand);
}

.masthead-actions {
  flex-shrink: 0;
}

/* Suggestion dropdown, shared by masthead and finder */
.suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  z-index: 60;
  overflow: hidden;
  max-height: 380px;
  overflow-y: auto;
}
.suggest a {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 10px 13px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.87rem;
}
.suggest a:last-child {
  border-bottom: 0;
}
.suggest a:hover,
.suggest a.is-active {
  background: var(--brand-light);
  text-decoration: none;
}
.suggest .s-brand {
  color: var(--ink-4);
  font-size: 0.78rem;
}
.suggest .s-meta {
  margin-left: auto;
  color: var(--ink-4);
  font-size: 0.75rem;
  white-space: nowrap;
}
.suggest .s-kind {
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--brand-light);
  color: var(--brand);
}
.suggest .s-kind[data-kind='filter'] {
  background: var(--accent-light);
  color: var(--accent-dark);
}
.suggest .s-kind[data-kind='water'] {
  background: var(--claimed-light);
  color: var(--ink-3);
}

/* Vertical + brand navigation */
.vertnav {
  border-top: 1px solid var(--line);
  background: var(--card);
}
.vertnav .wrap {
  display: flex;
  gap: 4px;
  overflow-x: auto;
}
.vertnav a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--ink-2);
  border-bottom: 2.5px solid transparent;
  white-space: nowrap;
}
.vertnav a svg {
  width: 17px;
  height: 17px;
  stroke: var(--ink-4);
}
.vertnav a:hover {
  color: var(--brand);
  text-decoration: none;
}
.vertnav a:hover svg,
.vertnav a[aria-current] svg {
  stroke: var(--brand);
}
.vertnav a[aria-current] {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.vertnav-extra {
  margin-left: auto;
}

.catnav {
  background: var(--card-alt);
  border-top: 1px solid var(--line);
}
.catnav .wrap {
  display: flex;
  gap: 2px;
  overflow-x: auto;
}
.catnav a {
  padding: 9px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
}
.catnav a:hover {
  color: var(--brand);
  text-decoration: none;
}
.catnav a[aria-current] {
  color: var(--brand);
  font-weight: 800;
}

/* Breadcrumbs */
.crumbs {
  background: var(--card-alt);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}
.crumbs .wrap {
  display: flex;
  gap: 7px;
  align-items: center;
  padding-block: 9px;
  flex-wrap: wrap;
}
.crumbs span {
  color: var(--ink-4);
}
.crumbs a {
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   Finder — the hero replacement
   -------------------------------------------------------------------------- */
.finder {
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding-block: 44px 38px;
}
.finder-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}
.finder h1 {
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  max-width: 18ch;
  margin-bottom: 12px;
  font-weight: 800;
}
.finder-copy p {
  font-size: 1.02rem;
  color: var(--ink-3);
  max-width: 54ch;
}
.finder-form {
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}
.finder-form > label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 11px;
  display: block;
}
.finder-input {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--card-alt);
  padding-left: 13px;
  position: relative;
}
.finder-input:focus-within {
  border-color: var(--brand);
  background: var(--card);
}
.finder-input > svg {
  width: 19px;
  height: 19px;
  stroke: var(--ink-4);
  flex-shrink: 0;
}
.finder-input input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 13px 0;
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.finder-input .btn {
  border-radius: 0 6px 6px 0;
  align-self: stretch;
}
.finder-popular {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px dashed var(--line);
}
.finder-popular span {
  font-size: 0.78rem;
  color: var(--ink-4);
  font-weight: 700;
  align-self: center;
  margin-right: 3px;
}
.finder-chip {
  font-size: 0.79rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 100px;
  background: var(--brand-light);
  color: var(--brand);
  border: 1px solid transparent;
}
.finder-chip:hover {
  border-color: var(--brand-mid);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */
.trustbar {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.trustbar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding-block: 17px;
}
.trust-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.trust-item svg {
  width: 19px;
  height: 19px;
  stroke: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
}
.trust-item strong {
  display: block;
  font-size: 0.84rem;
  color: var(--ink);
  font-weight: 700;
}
.trust-item span {
  font-size: 0.78rem;
  color: var(--ink-3);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Sections + page heads
   -------------------------------------------------------------------------- */
.section {
  padding-block: 44px;
}
.section-alt {
  background: var(--card);
  border-block: 1px solid var(--line);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
}
.section-head p {
  font-size: 0.92rem;
  color: var(--ink-3);
  margin-top: 6px;
  max-width: 74ch;
}
.section-head .more {
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}
.section-more {
  margin-top: 22px;
}

.page-head {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding-block: 36px 30px;
}
.page-head h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  max-width: 24ch;
  font-weight: 800;
}
.page-head .lede {
  font-size: 1.02rem;
  color: var(--ink-3);
  max-width: 72ch;
  margin-top: 12px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.eyebrow svg {
  width: 15px;
  height: 15px;
}
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.anchor-nav a {
  font-size: 0.81rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
}
.anchor-nav a:hover {
  border-color: var(--brand);
  color: var(--brand);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Byline
   -------------------------------------------------------------------------- */
.byline {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 20px;
}
.byline-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}
.byline-text {
  display: flex;
  flex-direction: column;
}
.byline-name {
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--ink);
}
.byline-meta {
  font-size: 0.77rem;
  color: var(--ink-4);
}

/* --------------------------------------------------------------------------
   Tiles — jugs, cartridges
   -------------------------------------------------------------------------- */
.tile-heading {
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 12px;
}
.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 17px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  position: relative;
}
.tile:hover {
  border-color: var(--brand-mid);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  text-decoration: none;
}
.tile-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r);
  background: var(--brand-light);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.tile-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--brand);
}
.tile-filter .tile-icon {
  background: var(--accent-light);
}
.tile-filter .tile-icon svg {
  stroke: var(--accent-dark);
}
.tile-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tile-brand {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.tile-name {
  font-family: var(--display);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.tile-meta {
  font-size: 0.79rem;
  color: var(--ink-3);
}
.tile-fits {
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--brand);
  margin-top: 3px;
}
.tile .cert {
  position: absolute;
  top: 13px;
  right: 13px;
}

/* --------------------------------------------------------------------------
   Certification badge — the editorial spine
   -------------------------------------------------------------------------- */
.cert {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
}
.cert svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.2;
}
.cert span {
  font-weight: 600;
  opacity: 0.75;
}
.cert-certified {
  background: var(--certified-light);
  color: var(--certified);
}
.cert-tested {
  background: var(--tested-light);
  color: var(--tested);
}
.cert-claimed {
  background: var(--claimed-light);
  color: var(--claimed);
}

/* --------------------------------------------------------------------------
   Product cards
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 13px;
}
.card-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(228px, 1fr);
  gap: 13px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.card-media {
  aspect-ratio: 1;
  background: var(--card-alt);
  display: grid;
  place-items: center;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}
.card-media img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}
.card-media .placeholder {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--brand-light);
  display: grid;
  place-items: center;
}
.card-media .placeholder svg {
  width: 30px;
  height: 30px;
  stroke: var(--brand);
}
.card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card-brand {
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.card-title {
  font-size: 0.93rem;
  line-height: 1.3;
}
.card-rank {
  position: absolute;
  top: 9px;
  left: 9px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.76rem;
  font-weight: 800;
  z-index: 2;
}
.card-flag {
  position: absolute;
  top: 9px;
  right: 9px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--accent);
  color: #1b1205;
  z-index: 2;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.chip {
  font-size: 0.71rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--brand-light);
  color: var(--brand);
}
.card-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.card-facts li {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--card-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 7px;
}
.card-warn {
  display: flex;
  gap: 6px;
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--alert);
  background: var(--alert-light);
  border-radius: var(--r-sm);
  padding: 7px 8px;
}
.card-warn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}
.card-oos {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--alert);
}
.card-note {
  font-size: 0.79rem;
  color: var(--ink-3);
  line-height: 1.5;
}
.card-meta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 4px;
}
.price-none {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--ink-2);
}
.price-none svg {
  width: 14px;
  height: 14px;
  stroke: var(--brand);
}
.rating {
  font-size: 0.79rem;
  color: var(--ink-3);
}
.rating .stars {
  color: var(--accent);
  letter-spacing: -0.5px;
}
.card-specs {
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Jug page — head, facts, fitment blocks
   -------------------------------------------------------------------------- */
.jug-head {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.jug-note {
  font-size: 0.92rem;
  color: var(--ink-2);
  background: var(--brand-light);
  border-left: 3px solid var(--brand-mid);
  padding: 11px 14px;
  border-radius: 0 var(--r) var(--r) 0;
  margin-top: 14px;
  max-width: 66ch;
}
.jug-facts {
  background: var(--card-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
}
.jug-facts h2 {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 13px;
}
.jug-facts dl > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}
.jug-facts dl > div:last-child {
  border-bottom: 0;
}
.jug-facts dt {
  color: var(--ink-3);
  font-weight: 500;
}
.jug-facts dd {
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}
.unverified {
  display: flex;
  gap: 7px;
  font-size: 0.77rem;
  color: var(--ink-3);
  line-height: 1.45;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px dashed var(--line);
}
.unverified svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.fit-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 16px;
}
.fit-block-stock {
  border-color: var(--brand-mid);
  box-shadow: 0 0 0 3px var(--brand-light);
}
.fit-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.fit-head h3 {
  font-size: 1.12rem;
}
.fit-head p {
  font-size: 0.88rem;
  color: var(--ink-3);
  margin-top: 5px;
  max-width: 68ch;
}
.fit-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.fit-tag {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
}
.fit-tag-stock {
  background: var(--brand);
  color: #fff;
}
.fit-tag-third {
  background: var(--claimed-light);
  color: var(--ink-3);
}
.fit-tag-legacy {
  background: var(--alert-light);
  color: var(--alert);
}
.fit-life {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-3);
}
.fit-life svg {
  width: 14px;
  height: 14px;
}

.trait-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}
.trait {
  background: var(--card-alt);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 13px 15px;
}
.trait strong {
  display: block;
  font-size: 0.87rem;
  color: var(--ink);
  margin-bottom: 3px;
}
.trait span {
  font-size: 0.79rem;
  color: var(--ink-3);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Reduction table + evidence panel
   -------------------------------------------------------------------------- */
.reduction {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.reduction-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
}
.reduction-col h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.reduction-col h3 svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.4;
}
.reduction-yes h3 svg {
  stroke: var(--certified);
}
.reduction-no h3 svg {
  stroke: var(--alert);
}
.reduction-adds {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.reduction-adds svg {
  stroke: var(--brand-bright) !important;
}
.reduction-col ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.reduction-col li {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}
.reduction-yes li {
  background: var(--certified-light);
  color: var(--certified);
}
.reduction-yes li a {
  color: inherit;
}
.reduction-no li {
  background: var(--claimed-light);
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-color: var(--ink-4);
}
.reduction-no li a {
  color: inherit;
}
.reduction-note {
  font-size: 0.78rem;
  color: var(--ink-4);
  line-height: 1.5;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.evidence-panel {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: var(--r);
  padding: 16px 18px;
  background: var(--card);
}
.evidence-panel.evidence-certified {
  border-left-color: var(--certified);
}
.evidence-panel.evidence-tested {
  border-left-color: var(--tested);
}
.evidence-panel.evidence-claimed {
  border-left-color: var(--claimed);
}
.evidence-head {
  margin-bottom: 9px;
}
.evidence-panel p {
  font-size: 0.87rem;
  line-height: 1.55;
  max-width: 82ch;
}
.evidence-detail {
  margin-top: 9px;
  color: var(--ink-3);
}

.evidence-flag {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 100px;
}
.evidence-strong {
  background: var(--certified-light);
  color: var(--certified);
}
.evidence-moderate {
  background: var(--tested-light);
  color: var(--tested);
}
.evidence-weak {
  background: var(--alert-light);
  color: var(--alert);
}

/* --------------------------------------------------------------------------
   Warnings, callouts, disclosure
   -------------------------------------------------------------------------- */
.split-warning {
  background: var(--card);
  border: 1.5px solid var(--alert);
  border-radius: var(--r-lg);
  padding: 22px;
}
.split-warning-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
}
.split-warning-head svg {
  width: 22px;
  height: 22px;
  stroke: var(--alert);
  flex-shrink: 0;
}
.split-warning-head h2 {
  font-size: 1.15rem;
}
.split-warning > p {
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 88ch;
}
.split-warning-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.split-warning-cols > div {
  background: var(--card-alt);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 16px;
}
.split-warning-cols h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  margin-bottom: 6px;
}
.split-warning-cols h3 svg {
  width: 15px;
  height: 15px;
  stroke: var(--brand);
}
.split-warning-cols p {
  font-size: 0.83rem;
  color: var(--ink-3);
}

.nofit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.nofit {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-alt);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px 14px;
  color: var(--ink);
}
.nofit:hover {
  border-color: var(--alert);
  text-decoration: none;
}
.nofit svg {
  width: 17px;
  height: 17px;
  stroke: var(--alert);
  stroke-width: 2.4;
  flex-shrink: 0;
}
.nofit strong {
  display: block;
  font-size: 0.87rem;
}
.nofit em {
  font-style: normal;
  font-size: 0.76rem;
  color: var(--ink-4);
}

.swap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}
.swap {
  background: var(--card-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  color: var(--ink);
}
.swap:hover {
  border-color: var(--brand-mid);
  text-decoration: none;
}
.swap-dir {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}
.swap strong {
  font-family: var(--display);
  font-size: 0.95rem;
}

.callout {
  display: flex;
  gap: 11px;
  border-radius: var(--r);
  padding: 14px 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  margin-block: 18px;
}
.callout svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.callout-info {
  background: var(--brand-light);
  color: var(--ink-2);
}
.callout-info svg {
  stroke: var(--brand);
}
.callout-warn {
  background: var(--alert-light);
  color: var(--ink-2);
}
.callout-warn svg {
  stroke: var(--alert);
}

.disclosure {
  display: flex;
  gap: 10px;
  background: var(--card-alt);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 13px 15px;
  font-size: 0.79rem;
  color: var(--ink-3);
  line-height: 1.5;
  margin-block: 26px;
}
.disclosure svg {
  width: 16px;
  height: 16px;
  stroke: var(--ink-4);
  flex-shrink: 0;
  margin-top: 1px;
}

/* --------------------------------------------------------------------------
   Concerns
   -------------------------------------------------------------------------- */
.concern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 12px;
}
.concern-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 19px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.concern-tile:hover {
  border-color: var(--brand-mid);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  text-decoration: none;
}
.concern-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r);
  background: var(--brand-light);
  display: grid;
  place-items: center;
}
.concern-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--brand);
}
.concern-name {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.concern-blurb {
  font-size: 0.83rem;
  color: var(--ink-3);
  line-height: 1.5;
}
.concern-evidence {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 100px;
  margin-top: 3px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.two-col h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.02rem;
  margin-bottom: 11px;
}
.two-col h2.mt {
  margin-top: 22px;
}
.two-col h2 svg {
  width: 17px;
  height: 17px;
  stroke: var(--brand);
}
.two-col p {
  font-size: 0.91rem;
  line-height: 1.6;
}
.tick-list {
  list-style: none;
}
.tick-list li {
  font-size: 0.89rem;
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
  margin-bottom: 7px;
}
.tick-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-mid);
}

/* --------------------------------------------------------------------------
   Brands
   -------------------------------------------------------------------------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.brand-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 19px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink-2);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.brand-tile:hover {
  border-color: var(--brand-mid);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  text-decoration: none;
}
.brand-tile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand-tile-head strong {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--ink);
}
.brand-tier {
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--claimed-light);
  color: var(--ink-3);
}
.tier-major {
  background: var(--brand-light);
  color: var(--brand);
}
.tier-premium {
  background: var(--tested-light);
  color: var(--tested);
}
.brand-known {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-3);
}
.brand-counts {
  font-size: 0.76rem;
  color: var(--ink-4);
  font-weight: 600;
  margin-top: 2px;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pros,
.cons {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
}
.pros h2,
.cons h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin-bottom: 12px;
}
.pros h2 svg {
  width: 17px;
  height: 17px;
  stroke: var(--certified);
  stroke-width: 2.4;
}
.cons h2 svg {
  width: 17px;
  height: 17px;
  stroke: var(--alert);
}
.pros ul {
  list-style: none;
}
.pros li {
  font-size: 0.89rem;
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}
.pros li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--certified);
  font-weight: 800;
}
.cons p {
  font-size: 0.89rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Prose + FAQ + definition lists
   -------------------------------------------------------------------------- */
.prose {
  max-width: 76ch;
}
.prose p {
  font-size: 0.97rem;
  line-height: 1.72;
  margin-bottom: 15px;
}
.prose h2 {
  font-size: 1.28rem;
  margin-top: 32px;
  margin-bottom: 12px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose ul,
.prose ol {
  margin: 0 0 15px 20px;
}
.prose li {
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 7px;
}

.deflist {
  margin-bottom: 22px;
}
.deflist > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.deflist dt {
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.97rem;
  margin-bottom: 5px;
}
.deflist dd {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-2);
}

.faq {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  max-width: 88ch;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:last-child {
  border-bottom: 0;
}
.faq summary {
  padding: 15px 44px 15px 18px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink-4);
  border-bottom: 2px solid var(--ink-4);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s;
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq summary:hover {
  background: var(--card-alt);
}
.faq-answer {
  padding: 0 18px 17px;
}
.faq-answer p {
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--ink-2);
  margin-bottom: 11px;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Search page
   -------------------------------------------------------------------------- */
.search-page {
  max-width: 720px;
}
.search-results {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.search-results a {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 13px 15px;
  color: var(--ink);
}
.search-results a:hover {
  border-color: var(--brand-mid);
  text-decoration: none;
}
.search-empty {
  font-size: 0.92rem;
  color: var(--ink-3);
  padding: 18px 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.66);
  padding-block: 44px 26px;
  margin-top: 44px;
  font-size: 0.84rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.9fr repeat(5, 1fr);
  gap: 30px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.02rem;
  color: #fff;
  margin-bottom: 11px;
}
.footer-brand svg {
  width: 19px;
  height: 19px;
  stroke: var(--brand-mid);
}
.footer-about p {
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: 11px;
  max-width: 44ch;
}
.footer-vocab {
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}
.footer-disclosure {
  font-size: 0.75rem !important;
  color: rgba(255, 255, 255, 0.45);
}
.footer-heading {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 11px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.44);
}
.footer-bottom > div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-bottom svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-about {
    grid-column: 1 / -1;
  }
  .trustbar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .finder-inner,
  .jug-head,
  .reduction,
  .two-col,
  .pros-cons,
  .split-warning-cols {
    grid-template-columns: 1fr;
  }
  .finder-inner {
    gap: 26px;
  }
  .masthead-main {
    flex-wrap: wrap;
    gap: 14px;
  }
  .searchbar {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }
  .masthead-actions {
    margin-left: auto;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 14.5px;
  }
  .section {
    padding-block: 32px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trustbar-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .tile-grid,
  .card-grid,
  .concern-grid,
  .brand-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  .finder-input {
    flex-wrap: wrap;
  }
  .finder-input .btn {
    flex-basis: 100%;
    border-radius: 0 0 6px 6px;
  }
  .utility-links {
    display: none;
  }
  .fit-head {
    flex-direction: column;
    gap: 12px;
  }
}

/* Partial-reduction subsection on concern pages */
.partial-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 0.98rem;
  color: var(--tested);
}
.partial-heading svg {
  width: 16px;
  height: 16px;
}
.partial-note {
  font-size: 0.86rem;
  color: var(--ink-3);
  max-width: 74ch;
  margin: -6px 0 14px;
}
