/* Numac Healthcare — Version 1 design system
   Established Indian pharmaceutical / B2B. WCAG 2.2 AA oriented. */

:root {
  --ink: #1c2426;
  --ink-muted: #4a5557;
  --paper: #f6f3ec;
  --paper-2: #ece7dc;
  --surface: #fffcf7;
  --teal: #1a5c58;
  --teal-dark: #134744;
  --teal-deep: #122428;
  --gold: #8a6a3b;
  --gold-line: #c4a574;
  --white: #ffffff;
  --error: #8b1e1e;
  --error-bg: #f8e8e8;
  --success: #1b5e3b;
  --success-bg: #e4f3ea;
  --focus: #1a5c58;
  --link: #185a72;
  --border: #ddd4c4;
  --shadow: 0 8px 24px rgb(18 36 40 / 7%);
  --shadow-header: 0 8px 20px rgb(18 36 40 / 8%);
  --radius: 8px;
  --radius-sm: 4px;
  --header-h: 4.25rem;
  --font-display: "Source Serif 4", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-body: Manrope, "Segoe UI", Calibri, "Trebuchet MS", sans-serif;
  --measure: 46rem;
  --container: 75rem;
  --text-size: 1.0625rem;
  --line: 1.65;
  --space-section: clamp(3.25rem, 7vw, 5.5rem);
  color-scheme: light;
}

html {
  font-size: 100%;
}

html[data-contrast="high"] {
  --ink: #000000;
  --ink-muted: #1a1a1a;
  --paper: #ffffff;
  --paper-2: #f0f0f0;
  --surface: #ffffff;
  --teal: #003d3b;
  --teal-dark: #002624;
  --teal-deep: #000000;
  --gold: #5c2e00;
  --gold-line: #5c2e00;
  --link: #003a5c;
  --border: #000000;
  --error: #740000;
  --success: #0a3d22;
}

html[data-text="large"] {
  font-size: 112.5%;
  --text-size: 1.125rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .product-rail .product-rail-track {
    animation: none !important;
    transform: none !important;
    will-change: auto;
  }

  .product-rail .product-rail-viewport {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .product-rail .product-rail-seq[aria-hidden="true"] {
    display: none;
  }
}

html,
body {
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-size);
  line-height: var(--line);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100%;
  z-index: 1000;
  background: var(--teal-deep);
  color: var(--white);
  padding: 0.75rem 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.skip-link:focus {
  top: 0;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.wrap {
  width: min(100% - 2rem, var(--measure));
  margin-inline: auto;
}

.wrap-wide {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  min-width: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.55em;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
}

h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
}

h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  letter-spacing: 0;
  font-weight: 600;
}

.product-card h3,
.job h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
  max-width: 42rem;
}

address {
  font-style: normal;
}

.lede {
  font-size: 1.125rem;
  color: var(--ink-muted);
  max-width: 40rem;
  font-weight: 450;
}

.kicker,
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--teal);
  margin-bottom: 0.55rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-header);
}

html[data-contrast="high"] .site-header {
  background: var(--surface);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.brand-tag {
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  min-width: 0;
}

.site-nav .a11y-tools {
  margin-left: 0.35rem;
}

.nav-label {
  display: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.site-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.8rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}

.site-nav a:not(.btn):hover {
  color: var(--teal-dark);
  background: var(--paper-2);
}

.site-nav a[aria-current="page"]:not(.btn) {
  color: var(--teal-dark);
  box-shadow: inset 0 -2px 0 var(--teal);
}

.nav-cta {
  margin-left: 0.65rem;
  white-space: nowrap;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.a11y-tools {
  display: flex;
  gap: 0.25rem;
}

.tool-btn,
.nav-toggle {
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink-muted);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.tool-btn[aria-pressed="true"] {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.nav-toggle {
  display: none;
}

.nav-toggle-bars {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  margin: 0 auto;
}

.nav-backdrop {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary,
.btn-solid {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn-primary:hover,
.btn-solid:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
  text-decoration: none;
}

.btn-ghost,
.btn-outline {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--teal);
}

.hero .btn-ghost {
  color: var(--teal-dark);
  border-color: var(--border);
}

.btn-ghost:hover,
.btn-outline:hover {
  background: var(--paper-2);
  text-decoration: none;
}

p .btn {
  margin: 0.25rem 0.55rem 0.25rem 0;
}

/* Hero */
.hero {
  background: var(--paper);
  position: relative;
}

.hero .wrap-wide {
  display: grid;
  grid-template-columns: minmax(0, 0.47fr) minmax(0, 0.53fr);
  gap: clamp(2.25rem, 5vw, 4.25rem);
  align-items: center;
  min-height: 34.5rem;
  padding: 1.35rem 0 1.5rem;
  position: relative;
  z-index: 1;
}

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

.hero-copy .kicker {
  margin-bottom: 0.55rem;
}

.hero h1 {
  max-width: 11.2em;
  font-size: clamp(2.45rem, 4.4vw, 3.55rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 0.55em;
}

.hero .lede {
  max-width: 38rem;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.hero .btn-arrow {
  font-weight: 500;
}

.hero-visual {
  min-width: 0;
  width: 100%;
}

.hero-stage {
  position: relative;
  width: 28.75rem;
  max-width: 100%;
  height: 36rem;
  margin-left: auto;
  margin-right: 8rem;
}

.hero-arcs {
  position: absolute;
  inset: -0.85rem -1.05rem;
  pointer-events: none;
  z-index: 0;
}

.hero-arc {
  position: absolute;
  border-radius: 50% / 45%;
}

.hero-arc-gold {
  inset: 0;
  border: 1px solid rgb(196 165 116 / 70%);
}

.hero-arc-teal {
  inset: 0.55rem 0.7rem;
  border: 1px solid rgb(26 92 88 / 42%);
}

.hero-frame {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  width: 27.5rem;
  height: 35.25rem;
  max-width: 100%;
  background: transparent;
  overflow: visible;
}

.hero-frame-photo {
  width: 100%;
  height: 100%;
  border-radius: 50% / 45%;
  overflow: hidden;
  padding: 0.28rem;
  background: var(--surface);
  box-shadow: 0 14px 32px rgb(18 36 40 / 9%);
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  border-radius: 50% / 45%;
}

.hero-markers {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-markers li {
  margin: 0;
}

.hero-marker {
  position: absolute;
  z-index: 2;
  width: max-content;
  max-width: 10.5rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-marker::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 1px;
  margin-top: 0.48rem;
  background: var(--gold-line);
}

.hero-markers li:nth-child(1) .hero-marker {
  top: 1.85rem;
  right: calc(100% - 0.3rem);
  left: auto;
}

.hero-markers li:nth-child(2) .hero-marker {
  top: 13%;
  left: calc(100% - 0.3rem);
  right: auto;
  max-width: 9.25rem;
}

.hero-markers li:nth-child(3) .hero-marker {
  bottom: 1.6rem;
  left: calc(100% - 0.3rem);
  right: auto;
  max-width: 9.5rem;
}

.hero-marker p {
  margin: 0;
  max-width: none;
}

.hero-marker-kicker {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  line-height: 1.2;
}

.hero-marker-value {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--teal-deep);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0.12rem 0 0.18rem;
}

.hero-markers li:nth-child(1) .hero-marker-value {
  font-size: 2rem;
}

.hero-marker-note {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-muted);
  line-height: 1.3;
}

.home-snapshot {
  padding: 0.85rem 0 0;
}

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

.page-home > .section {
  padding: clamp(2.6rem, 5.6vw, 4.4rem) 0;
}

.page-home .section-head {
  margin-bottom: 1.55rem;
}

.page-home .featured-cta {
  margin-top: 1.2rem;
}

.section-alt {
  background: var(--surface);
}

.section-dark {
  background: var(--teal-deep);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark .lede,
.section-dark p,
.section-dark .muted {
  color: #c9d6d4;
}

.section-dark .kicker {
  color: var(--gold-line);
}

.section-head {
  margin-bottom: 2rem;
  max-width: 42rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.snapshot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.snapshot article {
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--border);
}

.snapshot article:last-child {
  border-right: 0;
}

.snapshot strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 0.25rem;
}

.snapshot span {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.cards.four {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.5rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  border-color: #c9bfab;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0.15rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.icon-mark {
  width: 2.25rem;
  height: 2px;
  background: var(--gold-line);
  margin-bottom: 1rem;
}

.pathways {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.pathway {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem 1.25rem;
  border: 1px solid #2c4548;
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  background: rgb(255 255 255 / 3%);
}

.pathway:hover {
  border-color: var(--gold-line);
  text-decoration: none;
}

.pathway h3 {
  color: var(--white);
}

.pathway span {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold-line);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.product-pack {
  background: #f3efe6;
  aspect-ratio: 4 / 3;
  min-height: 13.5rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 1rem 1.15rem 0.65rem;
}

.product-pack img {
  width: 100%;
  height: 100%;
  max-height: 12.5rem;
  object-fit: contain;
  object-position: center;
  transition: transform 0.25s ease;
}

.product-card[hidden] {
  display: none !important;
}

.catalogue-note {
  margin: 0 0 0.75rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
  max-width: 48rem;
}

.catalogue-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.5rem 0 0;
  align-items: center;
}

.pager-btn {
  min-height: 2.5rem;
  min-width: 2.5rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.pager-btn.is-current {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.pager-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.featured-cta {
  margin-top: 1.5rem;
}

.product-rail {
  margin: 0.15rem 0 0;
}

.product-rail-viewport {
  overflow: hidden;
  padding: 0.35rem 0 0.85rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1.1rem, #000 calc(100% - 1.1rem), transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 1.1rem, #000 calc(100% - 1.1rem), transparent);
}

.product-rail-track {
  display: flex;
  width: max-content;
  animation: product-rail-marquee 45s linear infinite;
  will-change: transform;
}

.product-rail:hover .product-rail-track,
.product-rail:focus-within .product-rail-track {
  animation-play-state: paused;
}

.product-rail-seq {
  display: flex;
  gap: 1.15rem;
  padding-right: 1.15rem;
}

.product-rail .product-card {
  flex: 0 0 16.75rem;
  width: 16.75rem;
  min-height: 21.25rem;
}

.product-rail .product-pack {
  min-height: 11.5rem;
}

.product-rail .product-pack img {
  max-height: 10.75rem;
}

.product-rail .product-comp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rail-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

@keyframes product-rail-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 960px) {
  .product-rail .product-card {
    flex-basis: 14.5rem;
    width: 14.5rem;
    min-height: 20.5rem;
  }
}

@media (max-width: 480px) {
  .product-rail .product-card {
    flex-basis: 12.85rem;
    width: 12.85rem;
    min-height: 19.75rem;
  }
}

.product-hero {
  background: #f3efe6;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  min-height: 18rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.product-hero img {
  display: block;
  width: min(100%, 26rem);
  max-height: 22rem;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
}

.product-card:hover .product-pack img {
  transform: scale(1.04);
}

.product-pack svg {
  width: 3rem;
  height: 3rem;
  color: var(--teal-dark);
}


.product-body {
  padding: 1rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  flex: 1;
}

.pill,
.product-cat {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--teal-dark);
  background: transparent;
  padding: 0;
}

html[data-contrast="high"] .pill,
html[data-contrast="high"] .product-cat {
  background: transparent;
  color: var(--ink);
}

.product-comp,
.product-body .muted {
  color: var(--ink-muted);
  font-size: 0.92rem;
  margin: 0;
}

.product-meta {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin: 0.15rem 0 0;
}

.product-cta {
  margin-top: auto;
  padding-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-dark);
}

.product-cta::after {
  content: " →";
  display: inline-block;
  transition: transform 0.15s ease;
}

.product-card:hover .product-cta::after {
  transform: translateX(3px);
}

.muted {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.filters fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.filter-list label {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}

.filter-list input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.filter-list input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.filter-list label:has(input:checked) {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.search {
  min-height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.9rem;
  font: inherit;
  background: var(--surface);
  color: var(--ink);
  min-width: min(100%, 16rem);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.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;
}

.notice {
  border-left: 3px solid var(--gold);
  background: var(--paper-2);
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
}

.jobs {
  display: grid;
  gap: 0.85rem;
}

.job {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.35rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.9rem;
  align-items: center;
}

.job p:last-of-type {
  margin-bottom: 0;
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 42rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row.two {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label .req {
  color: var(--error);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="file"],
select,
textarea {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.field-error {
  color: var(--error);
  font-size: 0.9rem;
  display: none;
}

.form-row.is-invalid .field-error {
  display: block;
}

.form-row.is-invalid input,
.form-row.is-invalid select,
.form-row.is-invalid textarea {
  border-color: var(--error);
}

.form-status[hidden] {
  display: none;
}

.form-status {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
}

.form-status.success {
  background: var(--success-bg);
  color: var(--success);
}

.form-status.error {
  background: var(--error-bg);
  color: var(--error);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 100%;
  min-width: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

th,
td {
  text-align: left;
  padding: 0.8rem 0.95rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  background: var(--paper-2);
  font-weight: 700;
}

caption {
  text-align: left;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.page-hero {
  padding: clamp(2.1rem, 5vw, 3.4rem) 0 1.8rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.breadcrumbs {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: var(--ink-muted);
}

.values {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1rem;
}

.partner-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}

.partner-note p:last-child {
  margin-bottom: 0;
}

footer.site-footer {
  background: var(--teal-deep);
  color: #d3dfdd;
  padding: 3.5rem 0 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 0.9fr 1.1fr;
  gap: 2rem 1.75rem;
  margin-bottom: 2.25rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 0.65rem;
  font-weight: 600;
}

.site-footer p,
.site-footer address {
  font-size: 0.98rem;
  font-style: normal;
  max-width: 28rem;
  color: #c5d3d1;
  overflow-wrap: anywhere;
}

.site-footer a {
  color: #eef4f3;
}

.site-footer h2 {
  font-size: 0.95rem;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-meta {
  border-top: 1px solid #2a4a4d;
  padding-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.92rem;
}

.disclaimer {
  font-size: 0.92rem;
  color: #b7c8c6;
  max-width: 54rem;
  line-height: 1.55;
}

details.faq {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0.2rem 1rem;
}

details.faq + details.faq {
  margin-top: 0.5rem;
}

details.faq summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1.1rem;
  padding: 0;
  margin: 0;
}

.steps li {
  list-style: none;
  padding-left: 3.3rem;
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
}

.live {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.pack-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.2rem 0;
}

.pack-meta div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
}

.pack-meta dt {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  font-weight: 600;
}

.pack-meta dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.timeline {
  border-left: 2px solid var(--gold-line);
  padding-left: 1.4rem;
  display: grid;
  gap: 1.4rem;
}

.timeline article {
  position: relative;
}

.timeline article::before {
  content: "";
  position: absolute;
  left: -1.72rem;
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--teal);
  border-radius: 50%;
}

@media (max-width: 1100px) {
  .cards.four,
  .pathways,
  .values {
    grid-template-columns: 1fr 1fr;
  }

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

  .snapshot article:nth-child(2) {
    border-right: 0;
  }

  .snapshot article:nth-child(1),
  .snapshot article:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 960px) {
  .split,
  .cards,
  .product-grid,
  .footer-grid,
  .job,
  .form-row.two,
  .pack-meta {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 1100px) {
  .hero-stage {
    width: 24.5rem;
    height: auto;
    margin-right: 0;
  }

  .hero-arcs {
    inset: auto;
    top: -0.85rem;
    left: -1.05rem;
    right: -1.05rem;
    height: calc(30.75rem + 1.7rem);
  }

  .hero-frame {
    width: 23.5rem;
    height: 30.75rem;
  }

  .hero-markers {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.95rem;
    margin-top: 1.35rem;
    width: 100%;
    position: relative;
    z-index: 1;
  }

  .hero-markers li:nth-child(1) .hero-marker,
  .hero-markers li:nth-child(2) .hero-marker,
  .hero-markers li:nth-child(3) .hero-marker {
    position: static;
    z-index: auto;
    width: max-content;
    max-width: 100%;
    inset: auto;
    text-align: left;
  }
}

@media (max-width: 900px) {
  .hero .wrap-wide {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-visual {
    display: block;
    padding: 0.25rem 0 0;
    max-width: 28rem;
    justify-self: start;
  }

  .hero-stage {
    margin: 0;
    width: 100%;
    height: auto;
  }

  .hero-arcs {
    inset: auto;
    top: -0.85rem;
    left: -1.05rem;
    right: -1.05rem;
    height: calc(28.5rem + 1.7rem);
  }

  .hero-frame {
    width: min(22.5rem, 100%);
    height: 28.5rem;
  }

  .hero-markers {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.05rem;
    margin-top: 1.35rem;
    width: 100%;
    position: relative;
    z-index: 1;
  }

  .hero-markers li:nth-child(1) .hero-marker,
  .hero-markers li:nth-child(2) .hero-marker,
  .hero-markers li:nth-child(3) .hero-marker {
    position: static;
    z-index: auto;
    width: max-content;
    max-width: 100%;
    inset: auto;
    text-align: left;
  }
}

@media (max-width: 900px) and (min-width: 32.5rem) {
  .hero-markers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem 1rem;
  }

  .hero-markers li:nth-child(1) .hero-marker,
  .hero-markers li:nth-child(2) .hero-marker,
  .hero-markers li:nth-child(3) .hero-marker {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .hero-visual {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgb(18 36 40 / 45%);
    z-index: 40;
  }

  .nav-backdrop.is-open {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(20.5rem, 88vw);
    margin: 0;
    background: var(--surface);
    border-left: 1px solid var(--border);
    padding: 5rem 1.25rem 1.5rem;
    display: none;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    overflow: auto;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-label {
    display: block;
    margin: 0 0 0.35rem;
    font-weight: 700;
    color: var(--teal-deep);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a:not(.btn),
  .site-nav .nav-cta {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
    min-height: 2.85rem;
  }

  .site-nav .nav-cta {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .site-nav .a11y-tools {
    margin: 1rem 0 0;
  }

  .header-tools {
    margin-left: auto;
  }

  .site-nav {
    margin-left: 0;
  }
}

@media (max-width: 430px) {
  .brand-tag {
    display: none;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .header-inner {
    gap: 0.5rem;
  }

  .wrap-wide {
    width: min(100% - 1.25rem, var(--container));
  }

  .hero-stage {
    max-width: none;
  }

  .filter-list label {
    min-height: 2.75rem;
  }

  .btn {
    width: auto;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .wrap-wide {
    width: min(100% - 1.5rem, var(--container));
  }

  .hero .wrap-wide,
  .split,
  .cards,
  .cards.four,
  .pathways,
  .product-grid,
  .snapshot,
  .values,
  .footer-grid,
  .job,
  .form-row.two,
  .pack-meta {
    grid-template-columns: 1fr;
  }

  .snapshot article,
  .snapshot article:nth-child(1),
  .snapshot article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .snapshot article:last-child {
    border-bottom: 0;
  }

  .hero-stage {
    max-width: 22rem;
  }

  h1 {
    font-size: 1.85rem;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 8.2vw, 2.55rem);
  }

  .form {
    padding: 1.1rem;
  }
}

@media print {
  .site-header,
  .header-tools,
  .nav-toggle,
  .hero-actions,
  .site-footer,
  .skip-link,
  .a11y-tools {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}

html[data-contrast="high"] .hero-frame-photo {
  outline: 2px solid var(--ink);
}

html[data-contrast="high"] .hero-marker::after {
  background: var(--ink);
}

@media (forced-colors: active) {
  .btn,
  .card,
  .product-card,
  .tool-btn,
  .nav-toggle {
    border: 2px solid ButtonText;
  }
}
