:root {
  --ink: #123242;
  --ink-soft: #4d6672;
  --blue: #208dbb;
  --blue-dark: #09658b;
  --blue-pale: #eaf6fb;
  --sand: #f5f1e7;
  --cream: #fcfaf5;
  --eucalyptus: #4f756c;
  --ochre: #c36d36;
  --white: #fff;
  --line: #dbe5e8;
  --shadow: 0 18px 50px rgba(18, 50, 66, .1);
  --radius: 20px;
  --max: 1180px;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Manrope", "Inter", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--blue-dark); text-underline-offset: .2em; }
a:hover { color: var(--ink); }
button, input, select { font: inherit; }

:focus-visible {
  outline: 3px solid #f3a65c;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  top: 1rem;
  padding: .7rem 1rem;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 780px); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-compact { padding: 48px 0; }
.section-tint { background: var(--cream); }
.section-blue { background: var(--blue-pale); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .8rem;
  color: var(--blue-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--ochre); }
h1, h2, h3 { margin: 0; font-family: var(--font-heading); font-weight: 750; line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 5.7vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); }
h3 { font-size: 1.2rem; letter-spacing: -.02em; }
p { margin: 0 0 1.25rem; }
.lead { max-width: 760px; color: var(--ink-soft); font-size: clamp(1.12rem, 2vw, 1.32rem); line-height: 1.7; }
.section-heading { max-width: 760px; margin-bottom: 2.2rem; }
.section-heading p { margin: .9rem 0 0; color: var(--ink-soft); }

.site-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.16);
  color: var(--white);
  background: var(--ink);
}
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--white); text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand:hover, .brand:focus-visible { color: var(--white); }
.brand img { width: 50px; height: 42px; object-fit: contain; }
.brand span { font-size: 1.02rem; }
.desktop-nav { display: flex; align-items: center; gap: .1rem; }
.nav-link, .desktop-nav summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .65rem .78rem;
  border-radius: 10px;
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-size: .89rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.desktop-nav summary::-webkit-details-marker { display: none; }
.desktop-nav summary::after { content: "⌄"; margin-left: .4rem; font-size: .85rem; }
.nav-link:hover, .desktop-nav summary:hover, .desktop-nav details[open] summary { color: var(--white); background: rgba(255,255,255,.1); }
.desktop-nav details { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 280px;
  padding: .55rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.dropdown a { display: block; padding: .7rem .8rem; border-radius: 10px; color: var(--ink); font-size: .9rem; font-weight: 650; text-decoration: none; }
.dropdown a:hover { background: var(--blue-pale); color: var(--blue-dark); }
.mobile-toggle { display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.35); border-radius: 12px; color: var(--white); background: transparent; cursor: pointer; }
.mobile-nav { display: none; padding: 0 0 1rem; }
.mobile-nav a, .mobile-nav summary { display: block; padding: .8rem .2rem; color: var(--white); font-weight: 700; text-decoration: none; list-style: none; }
.mobile-nav details a { padding-left: 1rem; color: rgba(255,255,255,.82); font-weight: 550; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(32,141,187,.2), transparent 32%), radial-gradient(circle at 78% 75%, rgba(195,109,54,.16), transparent 30%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 650px; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding: 80px 36px 84px 0; }
.hero h1 { max-width: 650px; }
.hero .lead { margin: 1.4rem 0 2rem; color: rgba(255,255,255,.78); }
.hero-media { position: relative; align-self: stretch; min-height: 520px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 88% center; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(18,50,66,.92) 11%, rgba(18,50,66,.64) 29%, rgba(18,50,66,.28) 48%, transparent 72%); pointer-events: none; }
.hero .eyebrow { color: #9edcf4; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .75rem 1.15rem;
  border: 2px solid transparent;
  border-radius: 13px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { color: var(--white); background: var(--blue-dark); }
.button-secondary { border-color: rgba(255,255,255,.45); background: transparent; }
.button-secondary:hover { background: rgba(255,255,255,.1); }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { color: var(--ink); background: var(--sand); }
.button-quiet { color: var(--blue-dark); border-color: var(--line); background: var(--white); }
.button-quiet:hover { color: var(--ink); background: var(--blue-pale); }

.finder-wrap { position: relative; z-index: 3; margin-top: -55px; }
.finder {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
  padding: 26px;
  border: 1px solid rgba(18,50,66,.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.finder-note {
  margin: .65rem 0 0;
  color: var(--ink-soft);
  font-size: .82rem;
  text-align: center;
}
.field { display: grid; gap: .45rem; }
label, .label { color: var(--ink); font-size: .88rem; font-weight: 800; }
select, input[type="text"], input[type="number"], input[type="email"], textarea {
  width: 100%;
  min-height: 50px;
  padding: .75rem .85rem;
  border: 1px solid #b9cbd1;
  border-radius: 11px;
  color: var(--ink);
  background: var(--white);
}

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover { color: var(--ink); transform: translateY(-3px); border-color: #9ec7d6; box-shadow: 0 14px 30px rgba(18,50,66,.08); }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--ink-soft); font-size: .94rem; }
.card .card-link { margin-top: auto; color: var(--blue-dark); font-weight: 800; }
.icon-tile { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1.1rem; border-radius: 13px; color: var(--blue-dark); background: var(--blue-pale); font-size: 1.25rem; font-weight: 900; }
.type-card:nth-child(2n) .icon-tile { color: var(--eucalyptus); background: #edf3ee; }
.type-card:nth-child(3n) .icon-tile { color: var(--ochre); background: #fbefe6; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split > div:first-child > .card + .card {
  margin-top: 1rem;
}
.feature-panel { padding: clamp(1.5rem, 4vw, 2.6rem); border-radius: 28px; color: var(--white); background: var(--ink); }
.feature-panel h2 { margin-bottom: 1rem; }
.feature-panel p { color: rgba(255,255,255,.76); }
.tick-list { padding: 0; margin: 1.4rem 0 2rem; list-style: none; }
.tick-list li { position: relative; padding: .45rem 0 .45rem 1.75rem; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; color: #72c8a9; font-weight: 900; }

.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat { padding: 1.5rem; border-left: 4px solid var(--ochre); background: var(--white); }
.stat strong { display: block; margin-bottom: .3rem; color: var(--ink); font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 750; line-height: 1; letter-spacing: -.035em; }
.stat span { color: var(--ink-soft); font-size: .92rem; }

.page-hero { padding: clamp(62px, 8vw, 104px) 0; background: linear-gradient(140deg, var(--cream), var(--blue-pale)); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.6rem, 5vw, 4.5rem); }
.page-hero .lead { margin-top: 1.25rem; }
.breadcrumbs { padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: .84rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .4rem; color: #8ca0aa; }
.breadcrumbs a { color: var(--ink-soft); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(2.5rem, 7vw, 6rem); }
.prose { min-width: 0; }
.prose h2 { margin: 2.8rem 0 1rem; font-size: clamp(1.8rem, 3.5vw, 2.45rem); }
.prose h3 { margin: 2rem 0 .75rem; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li { margin: .5rem 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .94rem; }
.prose th, .prose td { padding: .85rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--blue-pale); }
.side-nav { position: sticky; top: 1.5rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: 16px; background: var(--cream); }
.side-nav h2 { margin: 0 0 .8rem; font-family: inherit; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; }
.side-nav a { display: block; padding: .45rem 0; color: var(--ink-soft); font-size: .9rem; text-decoration: none; }
.side-nav a:hover { color: var(--blue-dark); }
.callout { margin: 2rem 0; padding: 1.4rem 1.5rem; border-left: 5px solid var(--blue); border-radius: 0 15px 15px 0; background: var(--blue-pale); }
.callout strong { display: block; margin-bottom: .35rem; }
.notice { margin-top: 3rem; padding: 1.25rem; border: 1px solid #e4d6ba; border-radius: 14px; color: #57482f; background: #fbf6e9; font-size: .9rem; }
.reviewed { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .84rem; }
.sources { margin-top: 2.4rem; padding: 1.4rem; border-radius: 16px; background: var(--cream); }
.sources h2 { margin: 0 0 .8rem; font-family: inherit; font-size: 1.15rem; }
.sources ul { margin: 0; padding-left: 1.2rem; }
.sources li { margin: .35rem 0; font-size: .88rem; }
.related { margin-top: 4rem; padding-top: 2.4rem; border-top: 1px solid var(--line); }
.related h2 { margin: 0 0 1.3rem; font-size: 2rem; }

.filters { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; align-items: end; margin-bottom: 1.4rem; padding: 1.25rem; border-radius: 18px; background: var(--cream); }
.filter-summary { margin: 0 0 1.4rem; color: var(--ink-soft); }
.provider-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.provider-card { padding: 1.45rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.provider-top { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.provider-card h2 { font-family: inherit; font-size: 1.25rem; letter-spacing: 0; }
.provider-card p { color: var(--ink-soft); font-size: .92rem; }
.provider-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin: 1.1rem 0; }
.provider-meta div { padding: .7rem; border-radius: 10px; background: var(--cream); }
.provider-meta dt { color: var(--ink-soft); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.provider-meta dd { margin: .2rem 0 0; font-size: .88rem; }
.tag { display: inline-flex; padding: .3rem .6rem; border-radius: 99px; color: var(--blue-dark); background: var(--blue-pale); font-size: .72rem; font-weight: 800; }
.provider-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.provider-actions a { font-size: .86rem; }
.provider-card[hidden] { display: none; }
.empty-state { padding: 2rem; border: 1px dashed #9fb8c1; border-radius: 16px; text-align: center; }

.jump-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 2.5rem; }
.jump-nav a { padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font-size: .88rem; font-weight: 800; text-decoration: none; }
.state-block { scroll-margin-top: 1rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.state-block h2 { margin: 0 0 .8rem; }

.tool-shell { padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.tool-section { padding: 1.3rem 0; border-top: 1px solid var(--line); }
.tool-section:first-child { padding-top: 0; border: 0; }
.tool-section h2 { margin: 0 0 1rem; font-family: inherit; font-size: 1.25rem; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem 1.2rem; }
.check-item { display: flex; gap: .7rem; align-items: flex-start; padding: .65rem .75rem; border-radius: 10px; background: var(--cream); cursor: pointer; }
.check-item input { width: 20px; height: 20px; margin-top: .16rem; accent-color: var(--blue-dark); }
.tool-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.privacy-note { margin: 0 0 1.3rem; padding: 1rem; border-radius: 12px; color: #35594f; background: #eaf4ef; font-size: .88rem; }
.inventory-row { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: .7rem; align-items: end; margin-bottom: .75rem; }
.remove-item { min-width: 48px; min-height: 48px; border: 1px solid #d7b3a4; border-radius: 10px; color: #8f3d24; background: #fff5f0; cursor: pointer; }
.calculator-total { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding: 1.25rem; border-radius: 14px; color: var(--white); background: var(--ink); }
.calculator-total strong { font-size: 1.5rem; }

.bar-chart { display: grid; gap: .9rem; margin: 2rem 0; }
.bar-row { display: grid; grid-template-columns: 130px 1fr 95px; gap: .8rem; align-items: center; }
.bar-track { height: 18px; border-radius: 99px; background: #e3ecef; overflow: hidden; }
.bar-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #62bbd7); }
.bar-value { font-weight: 800; text-align: right; }

.ad-slot { width: 100%; padding: clamp(2.25rem, 5vw, 4rem) 0; overflow: hidden; }
.ad-slot[hidden] { display: none; }
.ad-slot-inner { min-width: 0; min-height: 100px; }
.ad-slot .adsbygoogle { width: 100%; max-width: 100%; min-width: 0; }

.trust-strip { color: var(--white); background: var(--blue-dark); }
.trust-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 1.4rem; padding-bottom: 1.4rem; }
.trust-strip p { margin: 0; color: rgba(255,255,255,.82); font-size: .92rem; }

.site-footer { color: rgba(255,255,255,.76); background: #0b2836; }
.footer-main { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 2rem; padding: 64px 0 48px; }
.footer-brand p { max-width: 260px; font-size: .9rem; }
.footer-brand a,
.footer-brand a:hover {
  color: var(--white);
  text-decoration: none;
}
.site-footer .footer-brand .brand span {
  color: var(--white);
}
.footer-main h2 { margin: 0 0 .8rem; color: var(--white); font-family: inherit; font-size: .83rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-main a { display: block; padding: .28rem 0; color: rgba(255,255,255,.72); font-size: .86rem; text-decoration: none; }
.footer-main a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; }
.footer-bottom p { margin: 0; }

.not-found { display: grid; place-items: center; min-height: 66vh; text-align: center; background: linear-gradient(140deg, var(--cream), var(--blue-pale)); }
.not-found strong { display: block; color: var(--blue); font-family: var(--font-heading); font-size: clamp(5rem, 15vw, 10rem); font-weight: 800; line-height: .85; letter-spacing: -.06em; }
.not-found h1 { margin: 1rem 0; font-size: clamp(2.3rem, 5vw, 4rem); }
..not-found p {
  max-width: 620px;
  color: var(--ink-soft);
  text-align: center;
}

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

@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .js .mobile-toggle { display: inline-grid; place-items: center; }
  .js .mobile-nav { display: none; }
  .js .mobile-nav.is-open { display: block; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  body { font-size: 16px; }
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 72px; }
  .brand img { width: 42px; height: 36px; }
  .hero-grid { display: block; min-height: 0; }
  .hero-copy { padding: 64px 0 54px; }
  .hero-media { height: 300px; min-height: 0; margin-inline: -14px; }
  .hero-media img { display: block; object-position: 82% center; }
  .hero-media::after { inset: 0; background: linear-gradient(0deg, var(--ink) 0%, rgba(18,50,66,.58) 20%, transparent 54%); }
  .finder-wrap { margin-top: 0; padding-top: 20px; background: var(--cream); }
  .finder, .filters { grid-template-columns: 1fr; }
  .split, .article-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; order: -1; }
  .stats-row { grid-template-columns: 1fr; }
  .provider-grid { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 90px 1fr; }
  .bar-value { grid-column: 2; text-align: left; }
  .trust-strip .container { display: block; }
  .trust-strip .button { margin-top: .9rem; }
}

@media (max-width: 560px) {
  h1 { font-size: 2.75rem; }
  .brand span { font-size: .9rem; }
  .card-grid, .card-grid.three, .check-grid { grid-template-columns: 1fr; }
  .provider-meta { grid-template-columns: 1fr; }
  .inventory-row { grid-template-columns: 1fr 100px auto; }
  .inventory-row .item-name { grid-column: 1 / -1; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { display: block; }
}

@media print {
  @page { margin: 16mm; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .site-header, .site-footer, .breadcrumbs, .page-hero .eyebrow, .tool-actions, .trust-strip, .side-nav, .ad-zone, .ad-slot, .related, .notice, .privacy-note { display: none !important; }
  .section { padding: 20px 0; }
  .page-hero { padding: 0 0 18px; background: none; }
  .page-hero h1 { font-size: 24pt; }
  .tool-shell { padding: 0; border: 0; box-shadow: none; }
  .tool-section, .inventory-row, .check-item { break-inside: avoid; }
  input { border-color: #777 !important; }
  .calculator-total { color: #000; border: 2px solid #000; background: #fff; }
}

@media (max-width: 700px) {
  .finder-note {
    margin: .65rem 1rem 0;
    font-size: .78rem;
    line-height: 1.4;
    text-align: center;
  }

  .finder-wrap {
    padding-bottom: 1.4rem;
  }
}