@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #102f36;
  --ink-soft: #34535a;
  --brand: #087f98;
  --brand-dark: #05667b;
  --brand-pale: #e9f6f8;
  --surface: #ffffff;
  --canvas: #f5f8f7;
  --line: #d8e3e2;
  --signal: #14804a;
  --warning: #9b5c00;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 12px 30px rgba(16, 47, 54, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Alexandria", "Segoe UI", Tahoma, sans-serif;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
body[data-menu-open="true"] { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid rgba(8, 127, 152, 0.35); outline-offset: 3px; }
.skip-link { position: fixed; top: -80px; right: 16px; z-index: 200; padding: 10px 16px; color: #fff; background: var(--ink); border-radius: 4px; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.topbar, .floating-header {
  position: sticky;
  top: 0;
  left: auto;
  transform: none;
  z-index: 100;
  width: 100%;
  padding: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}
.nav, .header-content {
  width: min(var(--max), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand, .brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}
.brand-mark { width: 38px; height: 42px; object-fit: contain; }
.links, .nav-links { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.links a, .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}
.links a:hover, .nav-link:hover, .nav-link.is-active { color: var(--brand-dark); border-bottom-color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta, .btn, .cta-button, .btn-ultra {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.header-cta, .btn-primary, .cta-button, .btn-primary-ultra { color: #fff; background: var(--brand-dark); }
.header-cta:hover, .btn-primary:hover, .cta-button:hover, .btn-primary-ultra:hover { color: #fff; background: #044e5e; transform: translateY(-1px); }
.btn-secondary, .btn-secondary-ultra { color: var(--ink); background: #fff; border-color: #a9c2c4; }
.btn-secondary:hover, .btn-secondary-ultra:hover { color: var(--brand-dark); border-color: var(--brand); background: var(--brand-pale); }
.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}
.menu-toggle span { width: 21px; height: 2px; background: currentColor; border-radius: 2px; }
.theme-fab, .theme-toggle { display: none !important; }

.home-hero {
  min-height: 610px;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #17383f;
}
.home-hero-media, .home-hero-media::after { position: absolute; inset: 0; }
.home-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-hero-media::after { content: ""; background: linear-gradient(90deg, rgba(5, 34, 40, .20) 0%, rgba(5, 34, 40, .72) 58%, rgba(5, 34, 40, .94) 100%); }
.home-hero-inner { position: relative; z-index: 1; width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 94px 0 72px; }
.eyebrow { margin: 0 0 14px; color: #bdeaf0; font-size: 14px; font-weight: 700; }
.home-hero h1 { max-width: 760px; margin: 0; font-size: clamp(38px, 5.5vw, 70px); line-height: 1.23; letter-spacing: 0; }
.home-hero-copy { max-width: 690px; margin: 22px 0 0; color: #eef8f9; font-size: clamp(17px, 2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.home-hero .btn-secondary { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); }
.home-hero .btn-secondary:hover { background: #fff; color: var(--ink); }
.hero-note { margin: 18px 0 0; color: #d8e9eb; font-size: 13px; }

.section { padding: 76px 20px; }
.section-alt { background: #eef4f3; border-block: 1px solid var(--line); }
.section-dark { color: #fff; background: var(--ink); }
.section-shell, .hero-inner, .wrap, .content-wrap, .footer-content, .footer-cta-shell { width: min(var(--max), 100%); margin-inline: auto; }
.section-head { max-width: 720px; margin-bottom: 30px; }
.section-kicker, .section-badge { color: var(--brand-dark); font-size: 13px; font-weight: 800; }
.section-title, .section-title-ultra, .hero h1, .hero-strip h1 { margin: 8px 0 12px; color: var(--ink); font-size: clamp(28px, 4vw, 44px); line-height: 1.35; letter-spacing: 0; }
.section-description, .hero p, .hero-strip p { margin: 0; color: var(--ink-soft); font-size: 17px; }
.section-dark .section-title, .section-dark .section-description { color: #fff; }

.need-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.need-card {
  min-height: 190px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(16,47,54,.04);
}
.need-card:hover { border-color: #88b6bd; box-shadow: var(--shadow); transform: translateY(-2px); }
.need-number { color: var(--brand); font-size: 13px; font-weight: 800; }
.need-card h3 { margin: 18px 0 8px; font-size: 19px; line-height: 1.5; }
.need-card p { margin: 0 0 18px; color: var(--ink-soft); font-size: 14px; }
.need-link { margin-top: auto; font-size: 14px; font-weight: 800; }

.product-grid, .grid, .card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card, .card, .info-card {
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(16,47,54,.05);
}
.product-card:hover, .card:hover, .info-card:hover { border-color: #94bbc0; box-shadow: var(--shadow); }
.product-image, .card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 18px; background: #fff; }
.product-body, .card-body, .info-card { padding: 20px; }
.product-category, .meta { color: var(--brand-dark); font-size: 12px; font-weight: 800; }
.product-card h3, .card-title, .info-card h2 { margin: 8px 0; color: var(--ink); font-size: 18px; line-height: 1.55; }
.product-card p, .card-body p, .info-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.product-link { display: inline-flex; margin-top: 18px; font-weight: 800; }
.store-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.store-filter {
  min-height: 42px;
  padding: 8px 14px;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid #abc2c4;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}
.store-filter:hover, .store-filter.is-active { color: #fff; background: var(--brand-dark); border-color: var(--brand-dark); }
.product-card[hidden] { display: none; }
.store-empty { display: none; padding: 24px; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.store-empty.is-visible { display: block; }

.support-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; }
.support-image { min-height: 430px; width: 100%; object-fit: cover; border-radius: var(--radius); }
.check-list { display: grid; gap: 0; margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.2); }
.check-list li { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.check-list strong { display: block; color: #bdeaf0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: steps; }
.step { position: relative; padding-top: 18px; border-top: 3px solid var(--brand); }
.step::before { counter-increment: steps; content: "0" counter(steps); display: block; margin-bottom: 22px; color: var(--brand); font-size: 14px; font-weight: 800; }
.step h3 { margin: 0 0 8px; font-size: 20px; }
.step p { margin: 0; color: var(--ink-soft); }

.blog-strip { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 18px; }
.blog-card { min-height: 320px; position: relative; overflow: hidden; color: #fff; border-radius: var(--radius); background: var(--ink); }
.blog-card img { width: 100%; height: 100%; object-fit: cover; }
.blog-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,34,40,.94), rgba(5,34,40,.08)); }
.blog-card-body { position: absolute; inset: auto 0 0; z-index: 1; padding: 22px; }
.blog-card h3 { margin: 6px 0 0; color: #fff; font-size: 18px; line-height: 1.55; }
.blog-card:first-child h3 { font-size: 24px; }
.blog-card .meta { color: #bdeaf0; }

.hero { padding: 58px 20px 46px; background: #eaf3f3; border-bottom: 1px solid var(--line); }
.hero-inner { max-width: 900px; }
.wrap { padding: 42px 20px 76px; }
.article { max-width: 860px; margin: auto; padding: clamp(22px, 5vw, 54px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.article img.featured { width: 100%; max-height: 480px; margin: 0 0 28px; padding: 0; object-fit: cover; border-radius: 6px; background: #eef4f3; }
.article figure { margin: 30px 0; }
.article figcaption { margin-top: 8px; color: #60777c; font-size: 13px; }
.article h2 { margin: 38px 0 12px; font-size: 27px; line-height: 1.5; }
.article h3, .supplement-title { margin: 30px 0 10px; color: var(--ink); font-size: 21px; font-weight: 800; }
.article p, .article li { color: #2c4b52; }
.article a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.article blockquote, .disclaimer-box { margin: 24px 0; padding: 16px 18px; background: #f4f8f7; border-right: 4px solid var(--brand); border-radius: 4px; }
.article .cta { margin-top: 30px; padding: 24px; background: var(--brand-pale); border: 1px solid #b8dce1; border-radius: var(--radius); }
.article details { padding: 12px 0; border-bottom: 1px solid var(--line); }
.article summary { font-weight: 700; cursor: pointer; }

.media-panel, .purchase-panel, .accordion, .related-card, .related-card-shell,
.helpful-shell, .thumb, .badge, .meta-chip, .feature-item {
  border-radius: var(--radius) !important;
}
.media-panel, .purchase-panel, .related-card-shell, .helpful-shell { box-shadow: 0 8px 22px rgba(16,47,54,.06) !important; }

.page-shell { min-height: 50vh; }
.hero-strip { padding: 58px 20px 38px; background: #eaf3f3; border-bottom: 1px solid var(--line); }
.hero-card { width: min(900px, 100%); margin: auto; padding: 0; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.content-wrap { padding: 42px 20px 76px; }
.content-card, .service-content { max-width: 900px; margin: auto; padding: clamp(22px, 5vw, 48px) !important; background: #fff !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important; box-shadow: var(--shadow) !important; }
.service-content section + section { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.service-content h2 { margin: 0 0 12px; font-size: 25px; }
.service-content p, .service-content li { color: var(--ink-soft); }

.footer-cta { padding: 64px 20px; color: #fff; background: var(--ink); }
.footer-cta-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 0; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.footer-cta h2 { margin: 0 0 8px; color: #fff; font-size: 28px; }
.footer-cta p { margin: 0; color: #d9e8ea; }
.footer-cta .disclaimer-box { display: none; }
.footer-section, .footer { padding: 42px 20px; color: #526d73; background: #fff; border-top: 1px solid var(--line); text-align: center; }
.footer-logo { color: var(--ink); font-size: 20px; font-weight: 800; }
.footer-text { max-width: 680px; margin: 10px auto 18px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; }
.footer-link { color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.copyright { margin-top: 20px; color: #71878c; font-size: 12px; }

@media (max-width: 980px) {
  .nav, .header-content { width: min(100% - 28px, var(--max)); }
  .menu-toggle { display: flex; }
  .floating-header .menu-toggle { position: static; inset: auto; transform: none; }
  .links, .nav-links {
    position: fixed;
    inset: 72px 0 auto;
    max-height: calc(100vh - 72px);
    padding: 18px 20px 28px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    overflow: auto;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .links.is-open, .nav-links.is-open, .floating-header.is-open .nav-links { display: flex; }
  .links a, .nav-link { width: 100%; border-bottom-color: var(--line); }
  .header-cta { display: none; }
  .need-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .grid, .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-layout { grid-template-columns: 1fr; }
  .blog-strip { grid-template-columns: 1fr 1fr; }
  .blog-card:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .home-hero { min-height: 640px; }
  .home-hero-media img { object-position: 38% center; }
  .home-hero-media::after { background: linear-gradient(0deg, rgba(5,34,40,.97) 0%, rgba(5,34,40,.72) 58%, rgba(5,34,40,.18) 100%); }
  .home-hero-inner { width: calc(100% - 32px); padding: 170px 0 42px; }
  .home-hero h1 { font-size: 36px; }
  .hero-actions, .hero-actions .btn { width: 100%; }
  .section { padding: 54px 16px; }
  .need-grid, .product-grid, .grid, .card-grid, .steps, .blog-strip { grid-template-columns: 1fr; }
  .blog-card:first-child { grid-column: auto; }
  .need-card { min-height: 165px; }
  .footer-cta-card { align-items: flex-start; flex-direction: column; }
  .footer-cta .btn { width: 100%; }
  .article { border-inline: 0; border-radius: 0; box-shadow: none; }
  .wrap { padding-inline: 0; }
}

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