/* ==========================================================================
   Mobile Peptides — Mobile-first landing page
   Brand: #0f3b64 | #0d66a6 | #449141
   ========================================================================== */

:root {
  --navy: #0f3b64;
  --blue: #0d66a6;
  --green: #449141;
  --navy-deep: #0a2a47;
  --navy-light: #164d7a;
  --blue-bright: #1a7fc4;
  --green-bright: #52a84f;
  --green-muted: rgba(68, 145, 65, 0.15);
  --blue-muted: rgba(13, 102, 166, 0.12);

  --white: #ffffff;
  --off-white: #f4f7fa;
  --gray-100: #e8eef4;
  --gray-200: #c5d0dc;
  --gray-400: #7a8fa3;
  --gray-600: #4a5f73;
  --text: #1a2e42;
  --text-muted: #5a7085;

  --font-display: "Instrument Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(15, 59, 100, 0.06);
  --shadow-md: 0 8px 32px rgba(15, 59, 100, 0.1);
  --shadow-lg: 0 24px 64px rgba(15, 59, 100, 0.14);

  --header-h: 64px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.35s var(--ease-out);

  --scrollbar-track: var(--off-white);
  --scrollbar-thumb: var(--green);
  --scrollbar-thumb-hover: var(--green-bright);
}

*, *::before, *::after {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

*::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border: 2px solid var(--scrollbar-track);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

*::-webkit-scrollbar-corner {
  background: var(--scrollbar-track);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--white);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--navy);
}

ul[role="list"] {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 9999;
  padding: var(--space-sm) var(--space-md);
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: var(--space-md);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(15, 59, 100, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  text-decoration: none;
}

.logo-mark {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.logo-accent {
  color: var(--green);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
  z-index: 1102;
  transition: background 0.2s, border-color 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover {
  background: var(--off-white);
  border-color: var(--gray-200);
}

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

body.nav-open .nav-toggle {
  background: var(--off-white);
}

body.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(15, 59, 100, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s;
}

body.nav-open .site-header {
  z-index: 1103;
}

body.nav-open .nav-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1101;
  display: flex;
  flex-direction: column;
  width: min(18.75rem, 100vw);
  max-width: 100%;
  padding: 0;
  background: var(--white);
  box-shadow: -8px 0 40px rgba(15, 59, 100, 0.18);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.35s var(--ease-out),
    visibility 0s linear 0.35s;
  overflow: hidden;
  overscroll-behavior: contain;
}

body.nav-open .nav {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition:
    transform 0.35s var(--ease-out),
    visibility 0s;
}

.nav-panel__head {
  flex-shrink: 0;
  padding: max(0.75rem, env(safe-area-inset-top, 0px)) 1.25rem 1rem;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.nav-panel__head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.nav-panel__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--off-white);
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.nav-close:hover {
  background: var(--gray-100);
}

.nav-panel__sub {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.nav-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.625rem;
  margin: 0;
  padding: 1rem 1.25rem max(1.5rem, env(safe-area-inset-bottom));
  list-style: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-list__cta {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--gray-100);
}

.nav-link,
.nav-cta {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.nav-link {
  padding: 0.875rem 1rem;
  font-size: 1rem;
  color: var(--navy);
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
}

.nav-link:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--white);
}

.nav-link:active {
  transform: scale(0.99);
}

.nav-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--blue-muted);
}

.nav-link[aria-current="page"] {
  border-color: var(--green);
  background: var(--green-muted);
  color: var(--navy);
}

.nav-cta {
  justify-content: center;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bright) 100%);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(68, 145, 65, 0.35);
}

.nav-cta:hover {
  filter: brightness(1.06);
  color: var(--white);
  box-shadow: 0 6px 22px rgba(68, 145, 65, 0.45);
}

.nav-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--blue-muted), 0 4px 16px rgba(68, 145, 65, 0.35);
}

@media (min-width: 900px) {
  .nav-toggle,
  .nav-overlay,
  .nav-close,
  .nav-panel__head {
    display: none;
  }

  .nav {
    position: fixed;
    top: env(safe-area-inset-top, 0);
    left: 50%;
    right: auto;
    bottom: auto;
    z-index: 1001;
    width: 100%;
    max-width: 1200px;
    height: var(--header-h);
    padding: 0 clamp(1.25rem, 5vw, 2.5rem);
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    transform: translateX(-50%) !important;
    visibility: visible !important;
    pointer-events: none;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    transition: none;
  }

  .nav-list {
    flex: none;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    overflow: visible;
    pointer-events: auto;
  }

  .nav-list__cta {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  .nav-link {
    padding: 0.5rem 0.9375rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--navy);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    box-shadow: none;
  }

  .nav-link:hover {
    color: var(--blue);
    background: var(--blue-muted);
    border-color: transparent;
    box-shadow: none;
  }

  .nav-link[aria-current="page"] {
    color: var(--blue);
    background: var(--blue-muted);
    border-color: transparent;
  }

  .nav-cta {
    margin-left: 0.375rem;
    padding: 0.625rem 1.125rem;
    font-size: 0.875rem;
    box-shadow: 0 4px 14px rgba(68, 145, 65, 0.3);
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bright) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(68, 145, 65, 0.35);
}

.btn-primary:hover {
  color: var(--white);
  box-shadow: 0 6px 28px rgba(68, 145, 65, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--gray-200);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-on-dark {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(13, 102, 166, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(68, 145, 65, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 40%, var(--navy-light) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  padding-block: var(--space-xl) var(--space-3xl);
}

.hero-copy {
  max-width: 36rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 var(--space-lg);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 12px var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.15); }
}

.hero-title {
  margin: 0 0 var(--space-lg);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 8vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, #7dd87a, var(--green-bright));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  margin: 0 0 var(--space-xl);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.hero-tagline {
  margin: 0;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-display);
  font-size: clamp(0.875rem, 3vw, 1.0625rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
  max-width: 32rem;
}

.hero-tagline-mark {
  font-style: normal;
  color: var(--green-bright);
  font-weight: 700;
  margin-right: 0.15em;
}

.hero-tagline-accent {
  font-style: normal;
  color: var(--green-bright);
  font-weight: 700;
}

.hero-media {
  position: relative;
}

.hero-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
}

.hero-badge {
  position: absolute;
  bottom: -1rem;
  left: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.badge-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.badge-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--green);
}

.hero-scroll {
  position: relative;
  z-index: 1;
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: var(--space-lg) clamp(1.25rem, 5vw, 2.5rem) var(--space-xl);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.scroll-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.4), transparent);
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
    gap: var(--space-3xl);
    padding-block: var(--space-3xl) var(--space-4xl);
  }

  .hero-copy {
    flex: 1;
  }

  .hero-media {
    flex: 0 0 42%;
    max-width: 480px;
  }

  .hero-scroll {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .hero-media {
    flex: 0 0 46%;
  }

  .hero-visual {
    aspect-ratio: 5 / 4;
  }
}

/* ==========================================================================
   Media placeholders — swap for <img> when assets ready
   ========================================================================== */
.media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(145deg, var(--gray-100) 0%, var(--off-white) 100%);
  border: 2px dashed var(--gray-200);
  color: var(--gray-400);
  overflow: hidden;
  position: relative;
}

.media-placeholder::before {
  content: attr(data-label);
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-400);
  opacity: 0.8;
  max-width: calc(100% - 1.5rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* When you add images, use: .media-placeholder.has-media { border: none; } */
.media-placeholder.has-media::before,
.media-placeholder.has-media .placeholder-icon,
.media-placeholder.has-media .placeholder-text {
  display: none;
}

.placeholder-icon {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.placeholder-text {
  font-size: 0.8125rem;
  font-weight: 500;
}

.hero-visual.media-placeholder {
  background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.35);
}

.hero-visual.media-placeholder::before {
  color: rgba(255, 255, 255, 0.4);
}

.hero-visual.has-media {
  background: var(--navy-deep);
  border: none;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 767px) {
  .hero-content {
    padding-block: var(--space-lg) var(--space-2xl);
    gap: var(--space-xl);
  }

  .hero-media {
    order: -1;
  }

  .hero-copy {
    order: 0;
  }
}

/* ==========================================================================
   Sections shared
   ========================================================================== */
.section {
  padding: var(--space-3xl) 0;
}

.section-eyebrow {
  margin: 0 0 var(--space-sm);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-eyebrow--light {
  color: var(--green-bright);
}

.section-title {
  margin: 0 0 var(--space-md);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section-title--light {
  color: var(--white);
}

.section-lead {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.section-lead--light {
  color: rgba(255, 255, 255, 0.78);
}

.section-header {
  margin-bottom: var(--space-2xl);
}

.section-header--row {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.link-arrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--blue);
  white-space: nowrap;
}

.link-arrow:hover {
  color: var(--green);
}

@media (min-width: 640px) {
  .section-header--row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

/* ==========================================================================
   How it works (science)
   ========================================================================== */
.science {
  background: var(--off-white);
}

.science-panel {
  display: grid;
  gap: var(--space-2xl);
  padding: var(--space-xl);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.science-header {
  margin-bottom: var(--space-xl);
}

.science-header .section-lead {
  max-width: 32rem;
}

.science-steps {
  margin: 0 0 var(--space-xl);
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.science-step {
  position: relative;
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
}

.science-step:not(:last-child) {
  border-bottom: 1px solid var(--gray-100);
}

.science-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 3.75rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue) 0%, var(--gray-100) 100%);
  transform: translateX(-50%);
  opacity: 0.35;
}

.science-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(13, 102, 166, 0.25);
}

.science-step__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.science-step__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.science-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin: 0 0 var(--space-xl);
  padding: 0;
  list-style: none;
}

.science-trust__item {
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
}

.science-trust__value {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.science-trust__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.science-aside {
  align-self: start;
}

.science-figure {
  margin: 0;
}

.science-image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}

.science-figure__caption {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin: var(--space-md) 0 0;
  padding: var(--space-md);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
}

.science-figure__badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: var(--green);
  background: var(--green-muted);
  border-radius: var(--radius-sm);
}

@media (min-width: 640px) {
  .science-panel {
    padding: var(--space-2xl);
  }

  .science-trust__value {
    font-size: 1.125rem;
  }
}

@media (min-width: 900px) {
  .science-panel {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-3xl);
    align-items: start;
    padding: var(--space-2xl) var(--space-2xl) var(--space-2xl) var(--space-3xl);
  }

  .science-aside {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }

  .science-step {
    grid-template-columns: 3.5rem 1fr;
    padding: var(--space-lg) 0;
  }

  .science-step__title {
    font-size: 1.125rem;
  }
}

/* ==========================================================================
   Products
   ========================================================================== */
.products {
  background: var(--off-white);
}

.product-grid {
  display: grid;
  gap: var(--space-lg);
}

.product-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card--featured {
  border-color: var(--green);
  box-shadow: 0 8px 32px rgba(68, 145, 65, 0.15);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.35rem 0.75rem;
  background: var(--green);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
}

.product-price {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.4rem 0.875rem;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

.product-image {
  aspect-ratio: 16 / 10;
  border: none;
  border-radius: 0;
  border-bottom: 1px dashed var(--gray-200);
}

.product-body {
  padding: var(--space-xl);
}

.product-tag {
  display: inline-block;
  margin-bottom: var(--space-sm);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
}

.product-card h3 {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.product-card p {
  margin: 0 0 var(--space-lg);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
}

.product-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--green);
  text-decoration: none;
}

.product-link:hover {
  color: var(--navy);
}

button.product-link {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: inherit;
}

.btn-sm {
  padding: 0.625rem 1.125rem;
  font-size: 0.875rem;
}

/* ==========================================================================
   Product modals (learn + order)
   ========================================================================== */
.learn-modal,
.order-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.learn-modal[hidden],
.order-modal[hidden] {
  display: none;
}

.learn-modal__backdrop,
.order-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 59, 100, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.learn-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: min(90dvh, 900px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  margin: auto;
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.order-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: min(92dvh, 920px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  margin: auto;
  padding: 0;
  background: var(--off-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-100);
  box-shadow: 0 24px 80px rgba(15, 59, 100, 0.28);
}

.order-modal__checkout {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.learn-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--off-white);
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.learn-modal__close:hover {
  background: var(--gray-100);
}

.learn-modal__title {
  margin: 0 2rem var(--space-sm) 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

/* Order modal header */
.order-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.order-modal__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.order-modal__header {
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  padding-right: 3.5rem;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--blue) 120%);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.order-modal__eyebrow {
  margin: 0 0 var(--space-sm);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-bright);
}

.order-modal__title {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.order-modal__title #order-modal-product {
  color: #7dd87a;
}

.order-modal__lead {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.order-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
}

.order-form__nav .btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.order-form__progress {
  margin-bottom: var(--space-md);
}

.order-steps {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-steps__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  position: relative;
}

.order-steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0.9rem;
  left: calc(50% + 1.1rem);
  width: calc(100% - 1.1rem);
  height: 2px;
  background: var(--gray-100);
  z-index: 0;
}

.order-steps__item.is-complete:not(:last-child)::after {
  background: var(--green-muted);
}

.order-steps__num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--gray-100);
  color: var(--text-muted);
  border: 2px solid var(--white);
}

.order-steps__item.is-current .order-steps__num,
.order-steps__item.is-complete .order-steps__num {
  background: var(--green);
  color: var(--white);
}

.order-steps__label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.2;
}

.order-steps__item.is-current .order-steps__label {
  color: var(--navy);
}

.order-form__panels {
  min-height: 0;
}

.order-panel {
  margin-bottom: var(--space-md);
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.order-panel[hidden] {
  display: none !important;
}

.order-panel.is-active {
  display: block;
}

.order-payment-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.order-payment-fieldset legend {
  margin-bottom: var(--space-md);
}

.order-payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.order-payment-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--off-white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.order-payment-option:hover {
  border-color: var(--blue-light);
  background: var(--white);
}

.order-payment-option:has(input[value="cash"]:checked) {
  border-color: var(--green);
  background: var(--green-muted);
  box-shadow: 0 0 0 1px rgba(68, 145, 65, 0.2);
}

.order-payment-option:has(input[value="zelle"]:checked) {
  border-color: #6d1ed4;
  background: rgba(109, 30, 212, 0.1);
  box-shadow: 0 0 0 1px rgba(109, 30, 212, 0.28);
}

.order-payment-option:has(input[value="venmo"]:checked) {
  border-color: #008cff;
  background: rgba(0, 140, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(0, 140, 255, 0.28);
}

.order-payment-option:has(input[value="cashapp"]:checked) {
  border-color: #00d631;
  background: rgba(0, 214, 49, 0.1);
  box-shadow: 0 0 0 1px rgba(0, 214, 49, 0.28);
}

.order-payment-option input {
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  flex-shrink: 0;
}

.order-payment-option:has(input[value="cash"]) input {
  accent-color: var(--green);
}

.order-payment-option:has(input[value="zelle"]) input {
  accent-color: #6d1ed4;
}

.order-payment-option:has(input[value="venmo"]) input {
  accent-color: #008cff;
}

.order-payment-option:has(input[value="cashapp"]) input {
  accent-color: #00d631;
}

.order-payment-option__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
}

.order-payment-option__icon {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  flex-shrink: 0;
}

.order-form__footer--wizard .order-form__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.order-form__footer--wizard .order-form__nav .btn {
  width: 100%;
  min-height: 48px;
}

.order-form__footer--wizard .order-form__nav #order-back-btn {
  grid-column: 1;
}

.order-form__footer--wizard .order-form__nav #order-next-btn,
.order-form__footer--wizard .order-form__nav #order-submit-btn {
  grid-column: 2;
}

.order-form__footer--wizard .order-form__nav #order-next-btn[hidden],
.order-form__footer--wizard .order-form__nav #order-submit-btn[hidden] {
  display: none;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}

.learn-modal__body {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text);
}

.learn-modal__body p {
  margin: 0 0 var(--space-md);
}

.learn-modal__disclaimer {
  margin-top: var(--space-lg) !important;
  padding-top: var(--space-md);
  border-top: 1px solid var(--gray-100);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.learn-modal__footer {
  position: sticky;
  bottom: 0;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: linear-gradient(to top, var(--white) 85%, rgba(255, 255, 255, 0));
}

.order-form__section {
  margin-bottom: var(--space-md);
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.order-form__section-title {
  margin: 0 0 var(--space-md);
  padding-bottom: var(--space-sm);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  border-bottom: 2px solid var(--green-muted);
}

.order-form__section > .order-form__row:last-child {
  margin-bottom: 0;
}

.order-form .form-row {
  margin-bottom: var(--space-md);
}

.order-form .form-row:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.form-label--required::after {
  content: " *";
  color: var(--green);
  font-weight: 700;
}

.order-form__row--2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.order-form__row--2 .form-row {
  margin-bottom: var(--space-md);
}

.order-form__row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-items: start;
  margin-bottom: var(--space-md);
}

.order-form__row--split .form-row {
  margin-bottom: 0;
}


@media (min-width: 768px) {
  .order-form__row--2 {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .order-form__row--2 .form-row {
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  .order-form__row--split {
    grid-template-columns: 1fr;
  }

  .order-form__row--split .form-row {
    margin-bottom: var(--space-md);
  }

  .order-form__row--split .form-row:last-child {
    margin-bottom: 0;
  }
}

.order-form input[type="text"],
.order-form input[type="tel"],
.order-form input[type="email"],
.order-form input[type="date"],
.order-form input[type="time"],
.order-form select,
.order-form textarea {
  width: 100%;
  padding: 0.8125rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.order-form select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230f3b64' d='M1.41.59 6 5.17 10.59.59 12 2l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  cursor: pointer;
}

.order-form input::placeholder,
.order-form textarea::placeholder {
  color: var(--gray-400);
}

.order-form input:hover,
.order-form select:hover,
.order-form textarea:hover {
  border-color: var(--blue);
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-muted);
}

.order-form textarea {
  resize: vertical;
  min-height: 80px;
}

.order-form__trust {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin: 0 0 var(--space-md);
  padding: var(--space-md) var(--space-lg);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--navy);
  background: var(--green-muted);
  border: 1px solid rgba(68, 145, 65, 0.25);
  border-radius: var(--radius-md);
}

.order-form__summary {
  margin-top: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
}

.order-form__subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  margin: 0 0 var(--space-sm);
}

.order-form__subtotal-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.order-form__subtotal-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
  font-family: var(--font-display);
}

.order-form__payment-note {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.order-form__trust-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
}

.form-fieldset {
  margin: 0 0 var(--space-md);
  padding: 0;
  border: none;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.radio-group--compact {
  flex-direction: column;
  gap: var(--space-sm);
}

.radio-group--compact .radio-label {
  width: 100%;
  min-height: 44px;
  justify-content: flex-start;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.radio-label:has(input:checked) {
  border-color: var(--green);
  background: var(--green-muted);
}

.radio-label input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  accent-color: var(--green);
  flex-shrink: 0;
}

.order-form__footer {
  position: sticky;
  bottom: 0;
  margin: 0 calc(-1 * var(--space-xl));
  margin-bottom: calc(-1 * var(--space-xl));
  padding: var(--space-lg) var(--space-xl);
  padding-bottom: max(var(--space-lg), env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  box-shadow: 0 -8px 24px rgba(15, 59, 100, 0.06);
}

.order-form__footer .btn-full {
  font-size: 1rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 20px rgba(68, 145, 65, 0.35);
}

.order-form__fine {
  margin: var(--space-sm) 0 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.order-modal--success .order-modal__close {
  color: var(--navy);
  background: var(--off-white);
}

/* Swap checkout → confirmation (hidden attr alone can fail in flex layouts on mobile) */
.order-modal__checkout[hidden],
.order-modal--success .order-modal__checkout {
  display: none !important;
}

.order-success[hidden] {
  display: none !important;
}

.order-modal--success .order-success:not([hidden]) {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

.order-success:not([hidden]) {
  display: flex;
  flex-direction: column;
}

.order-success:not([hidden]) > .btn[data-close-modal] {
  margin-top: var(--space-md);
  flex-shrink: 0;
  min-height: 3.25rem;
}

.order-success {
  padding: var(--space-xl);
  text-align: center;
  animation: orderSuccessIn 0.45s var(--ease-out);
}

@keyframes orderSuccessIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.order-success__hero {
  margin-bottom: var(--space-lg);
}

.order-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto var(--space-md);
  color: var(--green);
  background: var(--green-muted);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(68, 145, 65, 0.12);
  animation: successPop 0.5s var(--ease-out) 0.1s both;
}

@keyframes successPop {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.order-success__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.order-success__title {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.15;
}

.order-success__lead {
  margin: 0 auto;
  max-width: 28rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.order-success__card {
  margin: 0 0 var(--space-lg);
  padding: var(--space-lg);
  text-align: left;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.order-success__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 0.625rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--gray-100);
}

.order-success__row:last-child {
  border-bottom: none;
}

.order-success__row--highlight {
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  padding-bottom: var(--space-md);
  margin-bottom: 0.25rem;
  border-bottom: 2px solid var(--green-muted);
}

.order-success__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.order-success__id {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--blue);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.order-success__id:hover {
  background: var(--blue-muted);
}

.order-success__id.is-copied {
  border-color: var(--green);
  background: var(--green-muted);
}

.order-success__copy-hint {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}

.order-success__total {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
}

.order-success__note {
  margin: 0 0 var(--space-lg);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

body.modal-open {
  overflow: hidden;
}

/* Product modals & actions — mobile */
@media (max-width: 767px) {
  .learn-modal,
  .order-modal {
    align-items: flex-end;
    justify-content: stretch;
    padding: 0;
  }

  .learn-modal__dialog {
    max-width: none;
    max-height: min(94dvh, 94svh);
    margin: 0;
    padding: var(--space-lg) var(--space-md);
    padding-bottom: max(var(--space-md), env(safe-area-inset-bottom));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }

  .order-modal__dialog {
    display: flex;
    flex-direction: column;
    max-width: none;
    width: 100%;
    height: 100dvh;
    height: 100svh;
    max-height: 100dvh;
    max-height: 100svh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 1.125rem 1.125rem 0 0;
    border-bottom: none;
  }

  .order-modal__checkout {
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }

  .order-modal.order-modal--success .order-modal__dialog {
    overflow: hidden;
  }

  .order-modal.order-modal--success .order-success:not([hidden]) {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .learn-modal__title {
    font-size: 1.25rem;
    padding-right: 2.5rem;
  }

  .learn-modal__body {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .order-modal__header {
    flex-shrink: 0;
    padding: max(1rem, env(safe-area-inset-top, 0px)) var(--space-md) var(--space-md);
    padding-right: 3.5rem;
    border-radius: 0;
  }

  .order-modal__title {
    font-size: 1.25rem;
    line-height: 1.2;
  }

  .order-modal__lead {
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .order-form {
    flex: 1;
    min-height: 0;
    padding: 0;
  }

  .order-form__progress {
    flex-shrink: 0;
    margin: 0;
    padding: var(--space-sm) var(--space-md);
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
  }

  .order-steps {
    gap: 0.25rem;
  }

  .order-steps__item:not(:last-child)::after {
    top: 1rem;
    left: calc(50% + 0.95rem);
    width: calc(100% - 0.95rem);
  }

  .order-steps__num {
    width: 2rem;
    height: 2rem;
    font-size: 0.8125rem;
  }

  .order-steps__label {
    font-size: 0.625rem;
    letter-spacing: 0.02em;
  }

  .order-form__panels {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: var(--space-md);
    padding-bottom: var(--space-sm);
  }

  .order-form__section,
  .order-panel {
    padding: var(--space-md);
    margin-bottom: 0;
  }

  .order-form__section-title {
    font-size: 0.6875rem;
    margin-bottom: var(--space-sm);
  }

  .order-form .form-label {
    font-size: 0.875rem;
    margin-bottom: 0.35rem;
  }

  .order-form .form-row {
    margin-bottom: var(--space-sm);
  }

  .order-payment-options {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .order-payment-option {
    min-height: 3.25rem;
    padding: 0.75rem 0.65rem;
    gap: 0.5rem;
  }

  .order-payment-option input {
    width: 1.25rem;
    height: 1.25rem;
  }

  .order-payment-option__label {
    font-size: 0.875rem;
    flex-wrap: wrap;
  }

  .order-form__summary {
    padding: var(--space-md);
  }

  .order-form__subtotal-value {
    font-size: 1.375rem;
  }

  .order-form__footer {
    flex-shrink: 0;
    position: relative;
    margin: 0;
    padding: var(--space-md);
    padding-bottom: max(var(--space-md), env(safe-area-inset-bottom, 0px));
    background: var(--white);
    box-shadow: 0 -6px 24px rgba(15, 59, 100, 0.1);
  }

  .order-form__footer--wizard .order-form__nav .btn {
    min-height: 3.25rem;
    font-size: 1rem;
  }

  .order-form__fine {
    font-size: 0.6875rem;
    margin-top: 0.5rem;
  }

  .order-success:not([hidden]) {
    padding: max(1rem, env(safe-area-inset-top, 0px)) var(--space-md)
      max(var(--space-lg), env(safe-area-inset-bottom));
  }

  .learn-modal__close {
    top: max(0.5rem, env(safe-area-inset-top, 0px));
    right: 0.5rem;
    width: 44px;
    height: 44px;
  }

  .order-modal__close {
    top: max(0.65rem, env(safe-area-inset-top, 0px));
    right: 0.65rem;
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.625rem;
  }

  .order-form input[type="text"],
  .order-form input[type="tel"],
  .order-form input[type="email"],
  .order-form input[type="date"],
  .order-form input[type="time"],
  .order-form select,
  .order-form textarea {
    font-size: 16px;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
  }

  .order-form select {
    padding-right: 2.5rem;
  }

  .order-form input[type="date"],
  .order-form input[type="time"] {
    min-height: 3rem;
    line-height: 1.25;
  }

  .order-form textarea {
    min-height: 5.5rem;
  }

  .order-form .btn-full {
    min-height: 3.25rem;
    font-size: 1rem;
  }

  .product-actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
  }

  .product-actions .btn-sm {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .product-actions .product-link {
    text-align: center;
    padding: 0.5rem 0;
  }
}

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

@media (min-width: 640px) {
  .product-grid--catalog {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid--catalog {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card--featured {
    transform: scale(1.02);
  }

  .product-card--featured:hover {
    transform: scale(1.02) translateY(-4px);
  }
}

@media (min-width: 1024px) {
  .product-grid--catalog {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   Quality
   ========================================================================== */
.quality-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.check-list {
  margin: 0 0 var(--space-xl);
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: var(--space-md);
  font-size: 1rem;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--green-muted);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23449141' d='M4.5 9L1.5 6l1-1 2 2 4.5-4.5 1 1z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.quality-doc {
  aspect-ratio: 3 / 4;
  max-width: 360px;
  margin-inline: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.quality-doc img {
  object-fit: contain;
}

@media (min-width: 900px) {
  .quality-layout {
    flex-direction: row;
    align-items: center;
    gap: var(--space-4xl);
  }

  .quality-copy {
    flex: 1;
  }

  .quality-media {
    flex: 0 0 40%;
  }

  .quality-doc {
    margin-inline: 0;
  }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  position: relative;
  overflow: hidden;
}

.contact .hero-bg {
  z-index: 0;
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.contact-form {
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
}

.form-row {
  margin-bottom: var(--space-lg);
}

.form-row label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-muted);
}

.contact-form textarea {
  resize: vertical;
  min-height: 88px;
}

.form-note {
  margin: var(--space-md) 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

@media (min-width: 900px) {
  .contact-layout {
    flex-direction: row;
    align-items: start;
    gap: var(--space-4xl);
  }

  .contact-intro {
    flex: 0 0 38%;
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }

  .contact-form {
    flex: 1;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding-top: var(--space-3xl);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-tagline {
  margin: var(--space-md) 0 0;
  font-size: 0.9375rem;
  max-width: 240px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.footer-col h3 {
  margin: 0 0 var(--space-md);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col a:hover {
  color: var(--green-bright);
}

.footer-bottom {
  padding: var(--space-lg) clamp(1.25rem, 5vw, 2.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
  }
}

/* ==========================================================================
   Products catalog page
   ========================================================================== */
.catalog-section--first {
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + var(--space-2xl));
}

.catalog-section {
  scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1rem);
}

.catalog-section--alt {
  background: var(--off-white);
}

.catalog-cta {
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) 0;
}

.catalog-cta .hero-bg {
  z-index: 0;
}

.catalog-cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 32rem;
  margin-inline: auto;
}

.catalog-cta__inner .section-lead {
  margin: 0 auto var(--space-xl);
}

/* ==========================================================================
   Reveal animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .eyebrow-dot { animation: none; }
}

/* ==========================================================================
   Floating chat widget
   ========================================================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chat-widget {
  position: fixed;
  right: max(var(--space-md), env(safe-area-inset-right, 0px));
  bottom: max(var(--space-md), env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  font-family: var(--font-body);
  pointer-events: none;
}

.chat-widget > * {
  pointer-events: auto;
}

.chat-widget__backdrop {
  display: none;
}

.chat-widget__backdrop[hidden] {
  display: none !important;
}

.chat-widget__launcher {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.65rem 1rem 0.65rem 0.85rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bright) 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  box-shadow: var(--shadow-md), 0 4px 20px rgba(68, 145, 65, 0.35);
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.chat-widget__launcher:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 8px 28px rgba(68, 145, 65, 0.4);
}

.chat-widget__launcher.is-active {
  transform: scale(0.96);
}

.chat-widget__launcher-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.chat-widget__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  display: flex;
  flex-direction: column;
  width: min(calc(100vw - 2rem), 22rem);
  max-height: min(70dvh, 70vh, 32rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transform-origin: bottom right;
  animation: chat-panel-in 0.32s var(--ease-out);
}

@keyframes chat-panel-in {
  from {
    opacity: 0;
    transform: translateY(0.5rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-widget__panel[hidden] {
  display: none !important;
}

.chat-widget__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-shrink: 0;
  padding: var(--space-md) var(--space-md) var(--space-sm);
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
}

.chat-widget__header-copy {
  min-width: 0;
  flex: 1;
}

.chat-widget__eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.chat-widget__title {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.25;
}

.chat-widget__sub {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  opacity: 0.9;
}

.chat-widget__close {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.chat-widget__messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  background: var(--off-white);
}

.chat-widget__bubble {
  max-width: 92%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.45;
}

.chat-widget__bubble p {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-widget__bubble--bot {
  align-self: flex-start;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--gray-100);
  border-bottom-left-radius: 4px;
}

.chat-widget__bubble--user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chat-widget__bubble-meta {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
}

.chat-widget__bubble-meta a {
  color: inherit;
  text-decoration: underline;
}

.chat-widget__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0 var(--space-md) var(--space-sm);
  background: var(--off-white);
}

.chat-widget__quick[hidden] {
  display: none !important;
}

@media (min-width: 768px) {
  .chat-widget__quick {
    display: none !important;
  }
}

.chat-widget__chip {
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  min-height: 2.25rem;
  background: var(--white);
  color: var(--navy);
  font-size: 0.8125rem;
  font-family: inherit;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.chat-widget__chip:hover {
  border-color: var(--blue);
  background: var(--blue-muted);
}

.chat-widget__composer {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
  padding: var(--space-sm) var(--space-md);
  padding-bottom: max(var(--space-sm), env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--gray-100);
  background: var(--white);
}

.chat-widget__input {
  flex: 1;
  min-height: 2.5rem;
  max-height: 7.5rem;
  resize: none;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
  background: var(--white);
}

.chat-widget__input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-muted);
}

.chat-widget__send {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bright) 100%);
  color: var(--white);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.chat-widget__send:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.chat-widget__fine {
  margin: 0;
  flex-shrink: 0;
  padding: 0 var(--space-md) max(var(--space-sm), env(safe-area-inset-bottom, 0px));
  font-size: 0.6875rem;
  line-height: 1.4;
  color: var(--text-muted);
  background: var(--white);
}

body.chat-widget-open {
  overflow: hidden;
}

@media (min-width: 480px) {
  .chat-widget__launcher-text {
    display: inline;
  }
}

@media (max-width: 767px) {
  .chat-widget__launcher-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .chat-widget__launcher {
    width: 3.5rem;
    height: 3.5rem;
    min-height: 3.5rem;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    position: fixed;
    right: max(var(--space-md), env(safe-area-inset-right, 0px));
    bottom: max(var(--space-md), env(safe-area-inset-bottom, 0px));
  }

  body.chat-widget-open .chat-widget {
    inset: 0;
    right: 0;
    bottom: 0;
    left: 0;
    top: 0;
  }

  body.chat-widget-open .chat-widget__launcher {
    display: none;
  }

  .chat-widget__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 0;
    border: none;
    margin: 0;
    padding: 0;
    background: rgba(15, 59, 100, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
    animation: chat-backdrop-in 0.28s var(--ease-out);
  }

  @keyframes chat-backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .chat-widget__panel {
    position: fixed;
    z-index: 1;
    right: 0;
    left: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    max-width: none;
    height: min(88dvh, 88svh, 36rem);
    max-height: min(88dvh, 88svh, 36rem);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    border-bottom: none;
    box-shadow: 0 -8px 40px rgba(15, 59, 100, 0.18);
    transform-origin: bottom center;
    animation: chat-sheet-in 0.36s var(--ease-out);
  }

  body.chat-widget-open .chat-widget__panel:not([hidden]) {
    height: var(--chat-sheet-height, min(88dvh, 88svh, 36rem));
    max-height: var(--chat-sheet-height, min(88dvh, 88svh, 36rem));
    bottom: auto;
    top: var(--chat-vv-offset-top, 0px);
  }

  @keyframes chat-sheet-in {
    from {
      opacity: 0;
      transform: translateY(100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .chat-widget__panel::before {
    content: "";
    display: block;
    width: 2.5rem;
    height: 0.25rem;
    margin: 0.625rem auto 0.25rem;
    border-radius: 999px;
    background: var(--gray-200);
    flex-shrink: 0;
  }

  .chat-widget__header {
    padding-top: var(--space-sm);
    padding-left: max(var(--space-md), env(safe-area-inset-left, 0px));
    padding-right: max(var(--space-md), env(safe-area-inset-right, 0px));
  }

  .chat-widget__title {
    font-size: 1.125rem;
  }

  .chat-widget__sub {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .chat-widget__messages {
    min-height: 5rem;
    padding-left: max(var(--space-md), env(safe-area-inset-left, 0px));
    padding-right: max(var(--space-md), env(safe-area-inset-right, 0px));
  }

  .chat-widget__quick {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-left: max(var(--space-md), env(safe-area-inset-left, 0px));
    padding-right: max(var(--space-md), env(safe-area-inset-right, 0px));
    padding-bottom: var(--space-sm);
    mask-image: linear-gradient(90deg, transparent, #000 0.75rem, #000 calc(100% - 0.75rem), transparent);
  }

  .chat-widget__quick::-webkit-scrollbar {
    display: none;
  }

  .chat-widget__chip {
    flex: 0 0 auto;
    max-width: 85vw;
    white-space: nowrap;
  }

  .chat-widget__composer {
    padding-left: max(var(--space-md), env(safe-area-inset-left, 0px));
    padding-right: max(var(--space-md), env(safe-area-inset-right, 0px));
    padding-bottom: var(--space-sm);
  }

  .chat-widget__fine {
    padding-left: max(var(--space-md), env(safe-area-inset-left, 0px));
    padding-right: max(var(--space-md), env(safe-area-inset-right, 0px));
    padding-bottom: max(var(--space-md), env(safe-area-inset-bottom, 0px));
  }

  .chat-widget__bubble {
    max-width: 88%;
    font-size: 0.9375rem;
  }

  .chat-widget__input {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-widget__panel,
  .chat-widget__backdrop {
    animation: none;
  }
}

/* ——— SEO: FAQ, product landing, breadcrumbs ——— */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 44rem;
}

.faq-item {
  border: 1px solid var(--gray-200, #e2e8f0);
  border-radius: var(--radius-md, 0.75rem);
  background: var(--white, #fff);
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy, #0f3b64);
  padding: 1rem 1.125rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--blue, #0d66a6);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 1.125rem 1rem;
  color: var(--text-muted, #5a7085);
  line-height: 1.6;
}

.faq-item a {
  color: var(--blue, #0d66a6);
}

.faq-more {
  margin-top: 1.5rem;
  color: var(--text-muted, #5a7085);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  font-size: 0.875rem;
  color: var(--text-muted, #5a7085);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--gray-300, #cbd5e1);
}

.breadcrumb a {
  color: var(--blue, #0d66a6);
}

.product-landing {
  padding: calc(var(--header-h, 4rem) + 1.5rem) 0 4rem;
}

.product-landing__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.product-landing__hero h1 {
  font-family: var(--font-display, "Instrument Sans", sans-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  color: var(--navy, #0f3b64);
  margin: 0.5rem 0 1rem;
}

.product-landing__lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-muted, #5a7085);
  margin: 0 0 1rem;
}

.product-landing__price {
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--navy, #0f3b64);
}

.product-landing__price span {
  font-size: 0.875rem;
  color: var(--text-muted, #5a7085);
  font-weight: 400;
}

.product-landing__checks {
  margin: 0 0 1.5rem;
}

.product-landing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.product-landing__fine {
  font-size: 0.8125rem;
  color: var(--text-muted, #5a7085);
  max-width: 36rem;
}

.product-landing__media {
  margin: 0;
  border-radius: var(--radius-lg, 1rem);
  overflow: hidden;
  background: var(--gray-50, #f8fafc);
}

.product-landing__media img {
  display: block;
  width: 100%;
  height: auto;
}

.product-landing__content {
  max-width: 44rem;
  margin-bottom: 3rem;
}

.seo-content__body p {
  line-height: 1.7;
  color: var(--text, #1a2e42);
}

.product-landing__related {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200, #e2e8f0);
}

.product-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.product-card--compact h3 a {
  color: inherit;
  text-decoration: none;
}

.product-card--compact h3 a:hover {
  color: var(--blue, #0d66a6);
}

.product-card h3 a {
  color: inherit;
  text-decoration: none;
}

.product-card h3 a:hover {
  color: var(--blue, #0d66a6);
}

.hero--compact {
  min-height: auto;
  padding: calc(var(--header-h, 4rem) + 2rem) 0 3rem;
}

.seo-content__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.seo-link-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.seo-link-list li + li {
  margin-top: 0.35rem;
}

.seo-link-list a {
  color: var(--blue, #0d66a6);
  text-decoration: none;
}

.seo-link-list a:hover {
  text-decoration: underline;
}

.section-title--sm {
  font-size: 1.125rem;
  margin: 0 0 0.75rem;
}

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

@media (max-width: 768px) {
  .product-landing__hero,
  .seo-content__grid {
    grid-template-columns: 1fr;
  }

  .product-landing__media {
    order: -1;
  }
}
