:root {
  --cranberry: #b51f31;
  --cranberry-dark: #841827;
  --graphite: #1f2730;
  --muted: #69717b;
  --line: #e7eaee;
  --cool: #f5f8fa;
  --seafoam: #dff3ec;
  --seafoam-strong: #7fc3ad;
  --gold: #f4c95d;
  --blue: #dfeaf7;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(31, 39, 48, 0.12);
  --radius: 8px;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--graphite);
  font-size: 16px;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 78px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(231, 234, 238, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cranberry-dark);
  font-size: 22px;
  font-weight: 780;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--cranberry);
  background: #fff4f5;
  border: 1px solid #f8cbd1;
  border-radius: 50%;
}

.brand-mark svg {
  width: 28px;
  height: 28px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  color: #414a55;
  font-size: 14px;
  font-weight: 680;
}

.site-nav a,
.site-footer nav a {
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.site-nav a:hover,
.site-footer nav a:hover {
  color: var(--cranberry);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--white);
  background: var(--cranberry);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 760;
  box-shadow: 0 12px 28px rgba(181, 31, 49, 0.2);
}

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 54px;
  min-height: calc(100vh - 128px);
  padding: 70px 0 36px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy::before {
  content: "";
  position: absolute;
  top: -34px;
  left: -36px;
  width: 120px;
  height: 120px;
  background:
    radial-gradient(circle at 45% 38%, rgba(181, 31, 49, 0.12) 0 30%, transparent 31%),
    radial-gradient(circle at 58% 38%, rgba(181, 31, 49, 0.12) 0 30%, transparent 31%);
  transform: rotate(-22deg);
  pointer-events: none;
}

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

h1 {
  margin-bottom: 18px;
  color: var(--graphite);
  font-size: clamp(64px, 9vw, 126px);
  line-height: 0.9;
  font-weight: 850;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 560px;
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  font-weight: 780;
  letter-spacing: 0;
}

.hero-body {
  max-width: 540px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions,
.hero-notes {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 780;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button svg,
.text-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button.primary {
  color: var(--white);
  background: var(--cranberry);
  box-shadow: 0 16px 38px rgba(181, 31, 49, 0.23);
}

.button.secondary {
  color: var(--cranberry-dark);
  background: #fff5f6;
  border: 1px solid #f6ccd2;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.hero-notes {
  margin-top: 28px;
}

.hero-notes span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  color: #404953;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 760;
}

.hero-media {
  position: relative;
  isolation: isolate;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 8% -4% -5% 13%;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(223, 243, 236, 0.9), rgba(223, 234, 247, 0.8)),
    var(--cool);
  border-radius: 50% 34% 44% 36%;
}

.real-hero-products {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 14px;
}

.real-hero-products figure,
.product-photo {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.real-hero-products figure {
  min-height: 0;
  aspect-ratio: 1.2;
}

.real-hero-products .hero-product-main {
  grid-row: 1 / 4;
  aspect-ratio: auto;
}

.real-hero-products img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.real-hero-products .hero-product-main img {
  object-fit: contain;
  object-position: center center;
  padding: 22px;
}

.stage-preview {
  width: min(1180px, calc(100% - 40px));
  margin: -2px auto 0;
  padding-bottom: 70px;
}

.stage-preview div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 30px;
  background: var(--graphite);
  color: var(--white);
  border-radius: var(--radius);
}

.stage-preview strong {
  font-size: 18px;
}

.stage-preview span {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  text-align: right;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 52px;
  padding: 44px 0 86px;
}

.section-intro h2,
.science-copy h2,
.partner-layout h2,
.contact h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  font-weight: 820;
  letter-spacing: 0;
}

.section-intro p,
.science-copy p,
.partner-layout p,
.contact-copy p {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

.stage-rail {
  display: grid;
  gap: 16px;
}

.stage-card {
  display: grid;
  grid-template-columns: 70px 180px 1fr;
  align-items: center;
  gap: 22px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(31, 39, 48, 0.05);
}

.stage-card span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--cranberry);
  background: #fff3f4;
  border-radius: 50%;
  font-weight: 820;
}

.stage-card h3 {
  margin-bottom: 0;
  font-size: 23px;
}

.stage-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.product-section {
  padding: 86px 0 96px;
  background:
    linear-gradient(180deg, rgba(245, 248, 250, 0.78), rgba(255, 255, 255, 0.94)),
    var(--cool);
}

.section-intro.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: var(--cranberry);
  font-size: 15px;
  font-weight: 820;
}

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

.product-card {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(231, 234, 238, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(31, 39, 48, 0.07);
}

.product-card h3 {
  margin-bottom: 10px;
  font-size: 30px;
}

.product-price {
  margin-bottom: 8px;
  color: var(--cranberry);
  font-size: 26px;
  line-height: 1;
  font-weight: 860;
}

.product-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.product-photo {
  display: grid;
  place-items: center;
  height: 292px;
  margin-bottom: 28px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.96), transparent 30%),
    linear-gradient(140deg, var(--seafoam), var(--blue));
  box-shadow: 0 18px 42px rgba(31, 39, 48, 0.08);
}

.product-photo img {
  width: 100%;
  height: calc(100% + 30px);
  object-fit: contain;
  object-position: center top;
  transform: translateY(2px);
}

.product-photo.feature-photo img {
  height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 12px;
}

.product-card-featured .product-photo img {
  height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 16px;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.product-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 8px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.product-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 22px 0 16px;
}

.product-stats div {
  padding: 11px 10px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.product-stats dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.product-stats dd {
  margin: 3px 0 0;
  color: var(--cranberry-dark);
  font-size: 20px;
  font-weight: 840;
}

.product-card blockquote {
  margin: 0;
  padding-top: 16px;
  color: #47515d;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.product-card cite {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
}

.data-note {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.detail-section {
  padding: 92px 0 100px;
  background: var(--white);
}

.detail-grid {
  display: grid;
  gap: 22px;
}

.detail-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 22px;
  background: var(--cool);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.detail-copy h3 {
  margin-bottom: 12px;
  font-size: 32px;
  line-height: 1.05;
}

.detail-copy p {
  margin-bottom: 22px;
  color: var(--muted);
}

.detail-meta {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
}

.detail-meta div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.detail-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-meta dd {
  margin: 0;
  color: var(--cranberry-dark);
  font-size: 20px;
  font-weight: 860;
}

.detail-review {
  margin: 0 0 22px;
  padding: 16px 0 0;
  color: #47515d;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.detail-review cite {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
}

.detail-preview {
  max-height: 740px;
  margin: 0;
  overflow: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 56px rgba(31, 39, 48, 0.08);
}

.detail-preview img {
  width: 100%;
  height: auto;
}

.science {
  display: grid;
  grid-template-columns: 0.68fr 1fr;
  gap: 58px;
  padding: 92px 0;
}

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

.standards-grid article {
  min-height: 210px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.standards-grid h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.standards-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.standard-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: var(--seafoam);
}

.standard-icon.traceability {
  background:
    linear-gradient(90deg, transparent 44%, var(--cranberry) 45% 55%, transparent 56%),
    linear-gradient(0deg, transparent 44%, var(--cranberry) 45% 55%, transparent 56%),
    var(--seafoam);
}

.standard-icon.testing {
  background:
    radial-gradient(circle at 50% 28%, var(--cranberry) 0 6px, transparent 7px),
    linear-gradient(180deg, transparent 38%, rgba(181, 31, 49, 0.2) 39% 72%, transparent 73%),
    var(--blue);
}

.standard-icon.label {
  background:
    linear-gradient(180deg, var(--cranberry) 0 18%, transparent 19%),
    repeating-linear-gradient(180deg, transparent 0 8px, rgba(31, 39, 48, 0.2) 9px 10px),
    #fff3f4;
}

.standard-icon.routines {
  background:
    radial-gradient(circle at 25% 30%, var(--cranberry) 0 5px, transparent 6px),
    radial-gradient(circle at 72% 34%, var(--gold) 0 5px, transparent 6px),
    radial-gradient(circle at 50% 72%, var(--seafoam-strong) 0 5px, transparent 6px),
    var(--cool);
}

.partner-band {
  padding: 82px 0;
  background: var(--graphite);
  color: var(--white);
}

.partner-layout {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 56px;
  align-items: center;
}

.partner-layout p {
  color: rgba(255, 255, 255, 0.74);
}

.partner-panel {
  display: grid;
  gap: 14px;
}

.partner-panel div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.partner-panel strong,
.partner-panel span {
  display: block;
}

.partner-panel strong {
  margin-bottom: 8px;
  font-size: 20px;
}

.partner-panel span {
  color: rgba(255, 255, 255, 0.7);
}

.contact {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 62px;
  padding: 96px 0;
}

.fine-print {
  margin-top: 30px;
  padding: 18px 20px;
  color: #5e6671;
  background: var(--cool);
  border-left: 4px solid var(--cranberry);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 13px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 54px rgba(31, 39, 48, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #424c57;
  font-size: 13px;
  font-weight: 760;
}

.contact-form label:has(textarea) {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d7dde3;
  border-radius: 7px;
  padding: 13px 14px;
  color: var(--graphite);
  background: #fbfcfd;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cranberry);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(181, 31, 49, 0.1);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  justify-self: start;
}

.form-status {
  align-self: center;
  margin: 0;
  color: var(--cranberry-dark);
  font-size: 14px;
  font-weight: 720;
}

.site-footer {
  padding: 34px 0;
  color: #64707b;
  background: #f9fafb;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.site-footer p {
  margin-bottom: 0;
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  gap: 20px;
  color: #414a55;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 70px;
    padding: 0 20px;
  }

  .nav-toggle {
    display: inline-grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    place-content: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--graphite);
    border-radius: 2px;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .nav-open .site-nav {
    position: fixed;
    inset: 70px 16px auto;
    display: grid;
    justify-content: stretch;
    gap: 4px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-open .site-nav a {
    padding: 14px;
    border-radius: 7px;
  }

  .nav-open .site-nav a:hover {
    background: var(--cool);
  }

  .hero,
  .section-grid,
  .science,
  .partner-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    min-height: auto;
    padding-top: 54px;
  }

  .hero-media {
    order: -1;
  }

  .real-hero-products {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .real-hero-products .hero-product-main {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 1.6;
  }

  .real-hero-products figure:not(.hero-product-main) {
    aspect-ratio: 1.12;
  }

  .stage-preview {
    padding-bottom: 50px;
  }

  .stage-preview div,
  .section-intro.split {
    align-items: flex-start;
    flex-direction: column;
  }

  .stage-preview span {
    text-align: left;
  }

  .stage-card {
    grid-template-columns: 54px 1fr;
  }

  .stage-card p {
    grid-column: 2;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .detail-card {
    grid-template-columns: 1fr;
  }

  .detail-copy {
    min-height: auto;
  }

  .detail-preview {
    max-height: 680px;
  }

  .product-card {
    min-height: auto;
  }

  .standards-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (max-width: 620px) {
  .section-shell,
  .stage-preview {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    font-size: 20px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 64px;
  }

  .hero-lede {
    font-size: 34px;
  }

  .hero-body,
  .section-intro p,
  .science-copy p,
  .partner-layout p,
  .contact-copy p {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .stage-preview div,
  .stage-card,
  .contact-form {
    padding: 18px;
  }

  .section-grid,
  .science,
  .contact {
    padding: 64px 0;
  }

  .product-section,
  .detail-section,
  .partner-band {
    padding: 64px 0;
  }

  .product-card {
    padding: 20px;
  }

  .product-photo {
    height: 250px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}
