:root {
  color-scheme: light;
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --bg: #ffffff;
  --text: #000000;
  --muted: #666666;
  --muted-2: #8a8a8a;
  --stroke: #e5e7eb;
  --stroke-strong: #d1d5db;
  --surface: #ffffff;
  --surface-soft: rgba(248, 250, 252, 0.88);
  --black: #000000;
  --radius-lg: 14px;
  --radius-md: 10px;
  --header-height: 76px;
  font-family: var(--font-sans);
}

* {
  box-sizing: border-box;
  font-family: var(--font-sans);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  padding-top: var(--header-height);
  overflow-x: clip;
  background: #ffffff;
  color: var(--text);
  font: 16px/1.5 var(--font-sans);
  letter-spacing: 0;
}

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

button,
input {
  font: inherit;
}

button,
a,
input {
  outline-offset: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #000;
}

button {
  cursor: pointer;
}

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

#pepplanner-motion-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.96), transparent 26%),
    radial-gradient(circle at 78% 16%, rgba(0, 0, 0, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f5f5f5 48%, #ffffff 100%);
  pointer-events: none;
}

#pepplanner-motion-bg canvas {
  max-width: 100vw !important;
  max-height: 100vh !important;
  opacity: 0.34;
  filter: grayscale(1) contrast(1.12);
  mix-blend-mode: multiply;
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: var(--header-height);
  padding: 14px clamp(16px, 4vw, 36px);
  border-bottom: 0;
  background: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.brand__mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  padding: 0;
}

.brand__text {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.brand strong {
  font-size: 1rem;
  font-weight: 900;
}

.brand small,
.eyebrow,
.product-kicker,
.catalog-meta,
.phone-kicker,
.zyl-card span,
.search-field span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.1);
  padding: 4px;
  backdrop-filter: blur(18px);
}

.site-nav a,
.header-cta,
.button,
.filter-chip,
.product-foot a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  padding: 9px 13px;
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a {
  position: relative;
  z-index: 1;
  gap: 7px;
  border-color: transparent;
  background: transparent;
  overflow: visible;
  padding: 9px 18px;
  color: rgba(0, 0, 0, 0.72);
}

.site-nav a:hover,
.site-nav a.is-active {
  border-color: transparent;
  background: rgba(0, 0, 0, 0.06);
  color: #000;
  transform: none;
}

.nav-label {
  position: relative;
  z-index: 2;
}

.nav-icon {
  position: relative;
  z-index: 2;
  display: none;
  width: 20px;
  height: 20px;
}

.nav-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav a.mobile-nav-download {
  display: none;
}

.header-cta:hover,
.button:hover,
.filter-chip:hover,
.product-foot a:hover {
  border-color: #000;
  transform: translateY(-1px);
}

.header-cta {
  justify-self: end;
}

.button--download {
  position: relative;
  gap: 7px;
}

.download-icon {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.download-icon svg {
  width: 19px;
  height: 19px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-tooltip {
  position: absolute;
  bottom: -44px;
  left: 50%;
  z-index: 4;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.78);
  color: #f1f1f1;
  padding: 7px 9px;
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.button--download:hover .download-tooltip,
.button--download:focus-visible .download-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(330px, 0.62fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  width: min(1200px, calc(100% - 32px));
  min-height: calc(100svh - var(--header-height));
  margin: 0 auto;
  padding: clamp(28px, 5.5vw, 64px) 0;
}

.hero__copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  color: #000;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 800px;
  font-size: clamp(3.05rem, 7vw, 6.8rem);
  line-height: 0.88;
}

.hero__copy > p {
  max-width: 650px;
  margin: 24px 0 0;
  color: #3f3f46;
  font-size: clamp(1.04rem, 1.65vw, 1.24rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button--dark,
.filter-chip.is-active {
  border-color: #000;
  background: #000;
  color: #fff;
}

.button--light {
  background: #fff;
  color: #000;
}

.hero__product-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.hero__phone-stage {
  align-self: stretch;
  align-content: center;
}

.hero-card,
.zyl-card,
.product-card,
.phone-frame,
.syringe-card,
.calculator-panel {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.hero-card {
  overflow: hidden;
}

.hero-card__media {
  display: grid;
  place-items: center;
  min-height: 260px;
  background: #ffffff;
  padding: 28px;
}

.hero-card__media img {
  width: min(210px, 76%);
  height: auto;
  object-fit: contain;
}

.hero-card__body {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-top: 1px solid var(--stroke);
}

.hero-card__body span,
.hero-card__body small {
  color: var(--muted);
  font-weight: 760;
}

.hero-card__body strong {
  font-size: 1.25rem;
  line-height: 1.1;
}

.hero-card__body b {
  font-size: 1.35rem;
}

.phone-shell {
  width: min(344px, 82vw);
  filter: drop-shadow(0 28px 54px rgba(15, 23, 42, 0.34));
}

.phone-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 19.3;
  border: 10px solid #000;
  border-radius: 46px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.phone-frame::before {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 4;
  width: 92px;
  height: 25px;
  border-radius: 999px;
  background: #000;
  content: "";
  transform: translateX(-50%);
}

.phone-status {
  position: absolute;
  inset: 18px 22px auto;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 850;
  pointer-events: none;
}

.phone-app {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 34px;
  background: #050505;
  color: #fff;
}

.phone-screen {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100%;
  padding: 62px 19px 15px;
  animation: screen-in 240ms ease both;
}

.phone-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.phone-title h3 {
  margin: 0;
  font-size: 1.82rem;
  line-height: 0.96;
}

.phone-title p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
  line-height: 1.3;
}

.phone-icon-row {
  display: flex;
  gap: 6px;
}

.phone-icon-row button,
.phone-nav button {
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.phone-icon-row button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.phone-stack,
.phone-product-list,
.phone-setting-list,
.phone-chat {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: hidden;
}

.phone-card,
.phone-product-card,
.phone-message,
.phone-setting-row,
.phone-reminder,
.phone-metric,
.phone-calculator-card,
.phone-step-card,
.phone-notification-preview,
.phone-search-preview,
.phone-filter-row span,
.phone-syringe-guide {
  border-radius: 16px;
  background: #202022;
}

.phone-card {
  padding: 13px;
}

.phone-section-label {
  display: block;
  margin: 4px 0 -2px;
  color: #fff;
  font-size: 1.06rem;
  font-weight: 900;
}

.phone-card--action {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 88px;
}

.phone-card-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
}

.phone-card-svg-icon {
  width: 18px;
  height: 18px;
  color: currentColor;
}

.phone-pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  padding: 0 13px;
  font-size: 0.72rem;
  font-weight: 900;
}

.phone-card h4,
.phone-card p {
  margin: 0;
}

.phone-card h4 {
  font-size: 0.98rem;
}

.phone-card p {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
}

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

.phone-metric {
  min-height: 72px;
  padding: 11px;
}

.phone-metric span,
.phone-reminder small,
.phone-product-card small,
.phone-setting-row small {
  display: block;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
  font-weight: 780;
}

.phone-metric strong {
  display: block;
  margin-top: 7px;
  font-size: 1.18rem;
}

.phone-reminder,
.phone-setting-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
}

.phone-reminder strong,
.phone-setting-row strong {
  display: block;
  font-size: 0.86rem;
  line-height: 1.18;
}

.phone-calculator-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #202022;
  color: #fff;
}

.phone-calculator-card video {
  width: 100%;
  border-radius: 8px;
  background: #fff;
}

.phone-calculator-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 10px;
}

.phone-calculator-result small {
  display: block;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.62rem;
  font-weight: 850;
}

.phone-calculator-result strong {
  font-size: 0.82rem;
}

.phone-product-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 10px;
  padding: 9px;
}

.phone-search-preview {
  min-height: 34px;
  padding: 9px 11px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 850;
}

.phone-filter-row {
  display: flex;
  gap: 6px;
  overflow: hidden;
}

.phone-filter-row span {
  flex: 0 0 auto;
  padding: 7px 9px;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 900;
}

.phone-filter-row span:first-child {
  background: #fff;
  color: #000;
}

.phone-step-card {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 10px;
}

.phone-step-card span:first-child {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 0.68rem;
  font-weight: 900;
}

.phone-step-card strong {
  font-size: 0.78rem;
  line-height: 1.1;
}

.phone-step-card small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.64rem;
  font-weight: 850;
}

.phone-syringe-guide {
  padding: 12px;
}

.phone-syringe-line {
  position: relative;
  height: 12px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.phone-syringe-line::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  border-radius: inherit;
  background: #fff;
  content: "";
}

.phone-notification-preview {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.phone-notification-preview strong {
  font-size: 0.82rem;
}

.phone-notification-preview span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
}

.phone-product-card img {
  width: 62px;
  height: 62px;
  border-radius: 12px;
  background: #f8fafc;
  object-fit: contain;
  padding: 7px;
}

.phone-product-card strong,
.phone-product-card span span {
  display: block;
}

.phone-product-card strong {
  font-size: 0.78rem;
  line-height: 1.16;
}

.phone-product-card span span {
  margin-top: 5px;
  font-size: 0.86rem;
  font-weight: 900;
}

.phone-chat {
  align-content: end;
  min-height: 380px;
}

.phone-message {
  max-width: 90%;
  padding: 11px 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
  line-height: 1.32;
}

.phone-message.user {
  justify-self: end;
  background: #303033;
}

.phone-message small {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 850;
}

.phone-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-top: 13px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.phone-nav button {
  display: grid;
  gap: 2px;
  min-height: 46px;
  border-radius: 15px;
  font-size: 0.52rem;
  font-weight: 850;
}

.phone-nav-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.phone-nav button.is-active {
  background: #fff;
  color: #000;
}

.phone-tab-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: min(420px, 100%);
}

.phone-tab-strip button {
  min-height: 38px;
  border: 1px solid rgba(0, 0, 0, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #111;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.phone-tab-strip button:hover {
  transform: translateY(-1px);
}

.phone-tab-strip button.is-active {
  border-color: #000;
  background: #000;
  color: #fff;
}

.section {
  scroll-margin-top: calc(var(--header-height) + 18px);
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.48fr);
  align-items: end;
  gap: clamp(22px, 4vw, 58px);
  margin-bottom: 24px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2 {
  grid-column: 1;
  max-width: 850px;
  font-size: clamp(2.05rem, 4.8vw, 4.85rem);
  line-height: 0.95;
}

.section-heading p:last-child {
  grid-column: 2;
  margin: 0;
  color: #4b5563;
  font-size: 1rem;
}

.catalog-section .section-heading {
  display: block;
  width: 100%;
  margin-bottom: 28px;
  text-align: center;
}

.catalog-section .section-heading h2 {
  max-width: 900px;
  margin: 0 auto;
}

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

.zyl-card {
  padding: 18px;
}

.zyl-card h3,
.zyl-card p,
.zyl-card strong {
  margin: 0;
}

.zyl-card h3,
.zyl-card strong {
  display: block;
  margin-top: 18px;
  font-size: 1.08rem;
  line-height: 1.13;
}

.zyl-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 16px;
  align-items: end;
  width: 100%;
}

.search-field {
  display: grid;
  gap: 8px;
}

.search-field input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--stroke-strong);
  border-radius: var(--radius-md);
  background: #fff;
  color: #000;
  padding: 0 14px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.catalog-meta {
  margin: 14px 0;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 12px;
}

.product-card {
  display: grid;
  grid-template-rows: 210px auto;
  min-height: 500px;
  overflow: hidden;
}

.product-media {
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--stroke);
  background: #ffffff;
  padding: 24px;
}

.product-media img {
  width: 100%;
  height: 100%;
  max-height: 170px;
  object-fit: contain;
  filter: none;
}

.product-body {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
}

.product-body h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.15;
}

.product-body p {
  display: -webkit-box;
  min-height: 4.1em;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.92rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid var(--stroke);
  padding-top: 14px;
}

.product-foot strong {
  font-size: 1.18rem;
}

.catalog-more {
  width: max-content;
  margin: 22px auto 0;
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: 18px;
}

.calculator-panel {
  --calculator-row-columns: minmax(0, 1fr) clamp(84px, 9vw, 112px) 54px;
  display: grid;
  gap: 0;
  padding: 18px 32px;
}

.calculator-panel label {
  display: grid;
  grid-template-columns: var(--calculator-row-columns);
  align-items: center;
  column-gap: 12px;
  min-height: 78px;
  border-bottom: 1px solid var(--stroke);
}

.calculator-panel label span,
.calculator-results span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.calculator-panel input {
  width: 100%;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #000;
  font-size: clamp(1.34rem, 2vw, 1.6rem);
  font-weight: 900;
  line-height: 1;
  text-align: right;
}

.calculator-panel small {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1;
  text-align: right;
}

.calculator-results {
  display: grid;
  gap: 0;
  margin-top: 0;
  background: transparent;
}

.calculator-results div {
  display: grid;
  grid-template-columns: var(--calculator-row-columns);
  align-items: center;
  column-gap: 12px;
  min-height: 78px;
  border-bottom: 1px solid var(--stroke);
  padding: 0;
  background: #fff;
}

.calculator-results div:last-child {
  border-bottom: 0;
}

.calculator-results strong {
  grid-column: 2 / 4;
  justify-self: end;
  color: #000;
  font-size: clamp(1.34rem, 2vw, 1.6rem);
  font-weight: 900;
  line-height: 1;
  text-align: right;
}

.syringe-readout span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.syringe-card {
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  min-height: 430px;
}

.syringe-card video {
  align-self: center;
  width: 100%;
  height: auto;
  background: #fff;
}

.syringe-readout {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--stroke);
  padding: 16px 18px;
}

.syringe-readout strong {
  font-size: 1.25rem;
}

.pepai-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(380px, 1fr);
  align-items: start;
  gap: clamp(24px, 4.8vw, 72px);
}

.pepai-copy {
  display: grid;
  align-content: start;
  gap: 16px;
  padding-top: 4px;
}

.pepai-copy h2 {
  max-width: 760px;
  margin: 0;
  color: #000;
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.9;
}

.pepai-glass-panel {
  position: relative;
  display: grid;
  gap: 20px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.48)),
    rgba(255, 255, 255, 0.66);
  box-shadow:
    0 26px 72px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  padding: clamp(18px, 2vw, 26px);
  backdrop-filter: blur(22px);
}

.pepai-glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 255, 255, 0.86), transparent 32%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.42), transparent 44%);
  pointer-events: none;
}

.pepai-context-copy,
.archive-preview {
  position: relative;
  z-index: 1;
}

.pepai-context-copy {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(16, 24, 40, 0.1);
  padding: 4px 4px 18px;
}

.pepai-context-copy p {
  max-width: 58ch;
  margin: 0;
  color: #48515f;
  font-size: clamp(1.02rem, 1.35vw, 1.32rem);
  font-weight: 750;
  line-height: 1.42;
}

.glass-icon,
.glass-card-icon,
.swipe-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #000;
}

.glass-icon,
.glass-card-icon {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.54)),
    rgba(255, 255, 255, 0.72);
  box-shadow:
    0 12px 26px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
}

.glass-icon {
  width: 50px;
  height: 50px;
}

.glass-card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
}

.glass-icon svg,
.glass-card-icon svg,
.swipe-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.swipe-icon {
  width: 18px;
  height: 18px;
  opacity: 0.72;
}

.archive-preview {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.archive-preview__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.archive-preview__header > span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-preview__header small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #545c66;
  font-size: 0.78rem;
  font-weight: 850;
}

.archive-swipe-window {
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 92%, transparent 100%);
}

.archive-swipe-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: archive-swipe 14s cubic-bezier(0.72, 0, 0.28, 1) infinite;
  will-change: transform;
}

.pepai-glass-panel:hover .archive-swipe-track {
  animation-play-state: paused;
}

.archive-chat-card {
  display: grid;
  align-content: start;
  flex: 0 0 min(330px, calc(100vw - 72px));
  min-height: 228px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.84), rgba(247, 249, 252, 0.64)),
    rgba(255, 255, 255, 0.72);
  color: #000;
  padding: 18px;
  scroll-snap-align: start;
  box-shadow:
    0 18px 42px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.archive-chat-card small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.archive-chat-card strong {
  display: block;
  margin-top: 10px;
  color: #000;
  font-size: 1.12rem;
  line-height: 1.1;
}

.archive-chat-card p {
  margin: 10px 0 0;
  color: #555f6d;
  font-size: 0.94rem;
  font-weight: 680;
  line-height: 1.42;
}

.archive-chat-card b {
  width: max-content;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 7px 10px;
  font-size: 0.72rem;
  font-weight: 900;
}

.site-footer {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding: 30px 0 36px;
  color: #3f3f46;
  font-size: 0.84rem;
  font-weight: 850;
}

.toast-region {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  gap: 10px;
  width: min(380px, calc(100vw - 36px));
  pointer-events: none;
}

.toast {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.92);
  color: #fff;
  padding: 14px 16px;
  animation: toast-in 220ms ease both;
}

@keyframes screen-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes archive-swipe {
  0%,
  17% {
    transform: translateX(0);
  }
  25%,
  42% {
    transform: translateX(-25%);
  }
  50%,
  67% {
    transform: translateX(-50%);
  }
  75%,
  92% {
    transform: translateX(-75%);
  }
  100% {
    transform: translateX(0);
  }
}

@media (max-width: 1060px) {
  .hero,
  .section-heading,
  .catalog-toolbar,
  .calculator-layout,
  .pepai-showcase {
    grid-template-columns: 1fr;
  }

  .section-heading .eyebrow,
  .section-heading h2,
  .section-heading p:last-child {
    grid-column: 1;
  }

  .catalog-section .section-heading {
    text-align: center;
  }

  .catalog-toolbar .filter-row {
    justify-content: flex-start;
  }

  .hero__product-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .purpose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
  }

  body {
    padding-bottom: 86px;
  }

  .site-header {
    grid-template-columns: auto 1fr;
    padding: 12px 16px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: auto !important;
    right: auto;
    bottom: calc(18px + env(safe-area-inset-bottom));
    left: 50%;
    display: flex;
    align-items: center;
    width: min(calc(100vw - 28px), 390px);
    padding: 5px;
    transform: translateX(-50%);
  }

  .site-nav a {
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
    padding: 0 10px;
    border-color: transparent;
  }

  .site-nav a.mobile-nav-download {
    display: inline-flex;
  }

  .nav-label {
    display: none;
  }

  .nav-icon {
    display: inline-grid;
    place-items: center;
  }

  .hero {
    width: min(100% - 28px, 1200px);
    min-height: auto;
    padding: 24px 0 28px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.6rem);
  }

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

  .hero__product-card .phone-shell {
    display: block;
    width: min(310px, 92vw);
  }

  .hero-card__media {
    min-height: 210px;
    padding: 20px;
  }

  .hero-card__body {
    padding: 16px 18px 18px;
  }

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

  .section {
    width: min(100% - 28px, 1200px);
    padding: 58px 0;
  }

  .section-heading h2 {
    font-size: clamp(2.25rem, 11vw, 3.45rem);
  }

  .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .filter-row::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;
  }

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

  .calculator-panel label {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
    min-height: auto;
    padding: 16px 0;
  }

  .calculator-panel input {
    min-height: 48px;
    text-align: left;
  }

  .calculator-panel small {
    text-align: left;
  }

  .calculator-results div {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
    min-height: auto;
    padding: 16px 0;
  }

  .calculator-results strong {
    grid-column: auto;
    justify-self: start;
    text-align: left;
  }

  .syringe-readout,
  .product-foot {
    flex-wrap: wrap;
  }

  .syringe-card {
    min-height: 320px;
  }

  .pepai-showcase {
    gap: 22px;
  }

  .pepai-copy h2 {
    font-size: clamp(2.55rem, 12vw, 4.2rem);
  }

  .pepai-glass-panel {
    border-radius: 20px;
    padding: 16px;
  }

  .pepai-context-copy {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
  }

  .pepai-context-copy p {
    font-size: 1rem;
  }

  .archive-swipe-window {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .archive-swipe-window::-webkit-scrollbar {
    display: none;
  }

  .archive-chat-card {
    flex-basis: min(280px, calc(100vw - 56px));
    min-height: 210px;
  }

  .phone-tab-strip {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    width: min(100%, 340px);
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .phone-tab-strip::-webkit-scrollbar {
    display: none;
  }

  .phone-tab-strip button {
    flex: 0 0 auto;
  }
}

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

  #pepplanner-motion-bg canvas {
    display: none !important;
  }

  .archive-swipe-track {
    animation: none !important;
  }
}
