:root {
  color-scheme: light;
  --ink: #102027;
  --muted: #51656d;
  --soft: #eef8fa;
  --line: #d7e6ea;
  --brand: #0f6b7f;
  --brand-dark: #08495b;
  --accent: #31a6b8;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(12, 72, 88, 0.15);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fbfdfe;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(251, 253, 254, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(10, 58, 73, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 8px;
  font-size: 17px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.nav-item {
  position: relative;
  padding: 10px 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  display: grid;
  gap: 2px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.dropdown a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
}

.dropdown a:hover {
  color: var(--brand-dark);
  background: var(--soft);
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-links > a:hover,
.nav-item > a:hover,
.footer-links a:hover {
  color: var(--brand);
}

.header-cta,
.button,
.notify-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}

.header-cta {
  padding: 0 18px;
  color: var(--white);
  background: var(--brand);
}

.hero {
  min-height: 730px;
  display: grid;
  align-items: center;
  padding: 74px clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(251, 253, 254, 0.98) 0%, rgba(251, 253, 254, 0.92) 42%, rgba(251, 253, 254, 0.28) 72%),
    url("assets/medprepsupply-hero.png") center right / cover no-repeat;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow,
.product-kicker {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 650px;
  font-size: 68px;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 44px;
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.hero-subcopy {
  max-width: 600px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.button {
  padding: 0 22px;
}

.button.primary {
  color: var(--white);
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(15, 107, 127, 0.2);
}

.button.secondary {
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 560px;
  margin: 0;
}

.trust-row div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.trust-row dt {
  font-size: 19px;
  font-weight: 850;
}

.trust-row dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.search-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 16px clamp(20px, 5vw, 72px);
  background: var(--brand-dark);
  color: var(--white);
  font-size: 14px;
  font-weight: 750;
}

.search-strip a {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.section {
  padding: 78px clamp(20px, 5vw, 72px);
}

.page-hero {
  padding: 86px clamp(20px, 5vw, 72px) 54px;
  background: linear-gradient(135deg, #f6fbfc, #eaf7fa);
  border-bottom: 1px solid var(--line);
}

.page-hero .hero-copy {
  max-width: 860px;
}

.page-hero h1 {
  max-width: 860px;
  font-size: 56px;
}

.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
}

.intro-section p:last-child,
.kit-copy p,
.cta-section p,
.learn-grid p,
.product-content p,
.faq-list p {
  color: var(--muted);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(12, 72, 88, 0.07);
}

.product-card .price {
  margin-bottom: 12px;
  color: var(--brand-dark);
  font-size: 24px;
  font-weight: 900;
}

.product-card .status {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 5px 9px;
  color: var(--brand-dark);
  background: var(--soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.product-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
}

.product-media {
  min-height: 220px;
  background: linear-gradient(135deg, #e9f6f8, #ffffff);
  position: relative;
}

.product-media::before,
.product-media::after {
  content: "";
  position: absolute;
  border-radius: 8px;
}

.vial-media::before {
  width: 76px;
  height: 138px;
  left: 32%;
  top: 48px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(180, 224, 231, 0.8));
  border: 2px solid #a7d8df;
  box-shadow: inset 0 -34px 0 rgba(49, 166, 184, 0.18);
}

.vial-media::after {
  width: 70px;
  height: 22px;
  left: calc(32% + 3px);
  top: 28px;
  background: #68787d;
}

.syringe-media::before {
  width: 190px;
  height: 24px;
  left: 30px;
  top: 102px;
  background: #d9f0f4;
  border: 2px solid #94cdd6;
  transform: rotate(-12deg);
}

.syringe-media::after {
  width: 88px;
  height: 8px;
  left: 190px;
  top: 91px;
  background: #73868c;
  transform: rotate(-12deg);
}

.wipe-media::before {
  width: 178px;
  height: 112px;
  left: 34px;
  top: 56px;
  background: #ffffff;
  border: 2px solid #b9dfe5;
  box-shadow: 18px 18px 0 #d9f0f4;
}

.wipe-media::after {
  width: 112px;
  height: 14px;
  left: 66px;
  top: 106px;
  background: #31a6b8;
}

.storage-media::before {
  width: 180px;
  height: 110px;
  left: 40px;
  top: 66px;
  background: #f7fbfc;
  border: 2px solid #9dd1da;
  box-shadow: inset 0 0 0 12px #e1f2f5;
}

.storage-media::after {
  width: 42px;
  height: 42px;
  left: 72px;
  top: 98px;
  background: #31a6b8;
  box-shadow: 56px 0 0 #31a6b8, 112px 0 0 #31a6b8;
}

.product-content {
  padding: 26px;
}

.size-card {
  position: relative;
  background:
    linear-gradient(135deg, rgba(49, 166, 184, 0.12), rgba(255, 255, 255, 0) 58%),
    var(--white);
}

.size-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.product-content ul {
  margin: 18px 0;
  padding-left: 19px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--brand);
  font-weight: 850;
}

.kits-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 84px);
  background: var(--soft);
}

.kit-list {
  display: grid;
  gap: 14px;
}

.kit-list article,
.learn-grid article {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.kit-list span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.catalog-section {
  padding-top: 46px;
}

.catalog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.catalog-nav a {
  padding: 9px 13px;
  color: var(--brand-dark);
  background: var(--soft);
  border-radius: 999px;
  font-weight: 800;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.shop-grid .product-card {
  display: flex;
  flex-direction: column;
}

.shop-grid .product-content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.shop-grid .text-link {
  margin-top: auto;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(280px, 0.26fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.article-body {
  max-width: 860px;
}

.article-body h2,
.policy-body h2 {
  margin-top: 34px;
  font-size: 30px;
}

.article-body p,
.article-body li,
.policy-body p,
.policy-body li {
  color: var(--muted);
}

.article-body ul,
.policy-body ul {
  padding-left: 22px;
}

.sidebar-box,
.policy-card,
.contact-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(12, 72, 88, 0.06);
}

.sidebar-box {
  position: sticky;
  top: 92px;
}

.sidebar-box a {
  display: block;
  margin-top: 12px;
  color: var(--brand);
  font-weight: 850;
}

.policy-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.policy-body {
  max-width: 940px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.form-grid textarea {
  min-height: 132px;
  resize: vertical;
}

.form-grid button {
  width: fit-content;
  min-height: 46px;
  padding: 0 18px;
  color: var(--white);
  background: var(--brand);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.faq-section {
  background: #f6fbfc;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 850;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.65fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.cta-section p,
.cta-section .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.notify-form {
  padding: 26px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.notify-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 850;
}

.notify-form div {
  display: flex;
  gap: 10px;
}

.notify-form input {
  min-width: 0;
  flex: 1;
  min-height: 46px;
  padding: 0 14px;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
}

.notify-form button {
  padding: 0 16px;
  color: var(--brand-dark);
  background: var(--white);
}

.notify-form p {
  min-height: 22px;
  margin: 10px 0 0;
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 72px);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 12px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero {
    min-height: 680px;
    background:
      linear-gradient(90deg, rgba(251, 253, 254, 0.98) 0%, rgba(251, 253, 254, 0.9) 58%, rgba(251, 253, 254, 0.5) 100%),
      url("assets/medprepsupply-hero.png") center / cover no-repeat;
  }

  .intro-section,
  .kits-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .learn-grid,
  .shop-grid,
  .policy-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-box {
    position: static;
  }

  .product-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .dropdown {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
    padding-bottom: 46px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .trust-row,
  .product-grid,
  .learn-grid,
  .shop-grid,
  .policy-grid,
  .contact-grid,
  .product-card.featured {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 40px;
  }

  .product-card.featured {
    grid-column: auto;
  }

  .notify-form div,
  .site-footer {
    flex-direction: column;
  }
}
