@import "output.css";

/* ============================================================
   MyPeps Design Tokens — Blue System
   All colors derived from logo navy #16265E
   ============================================================ */

:root {
  /* Brand */
  --navy:       #16265E;
  --navy-deep:  #0C1836;
  --navy-mid:   #33518F;
  --navy-light: #5A7FBE;
  --blue-tint:  #E9F0FA;
  --blue-pale:  #F0F4FC;

  /* Legacy aliases — keep portal pages working */
  --royal:          #16265E;
  --royal-hover:    #0C1836;
  --brand-blue:     #16265E;
  --brand-blue-dark:#0C1836;
  --blue-soft:      #E9F0FA;

  /* Neutrals */
  --paper:    #FBF8F3;
  --ink:      #0F1A3A;
  --muted:    #4E5870; /* darkened from #59637A — readability feedback (July mtg) */
  --hairline: #E7E1D4;

  /* Legacy surface aliases */
  --surface-page:     #ffffff;
  --surface-card:     #f8fafc;
  --surface-border:   #e2e8f0;
  --background:       #f0f4fc;
  --background-muted: rgba(234, 236, 240, 0.5);
  --text-strong:      #0f1a3a;
  --text-muted:       #4e5870;
  --shadow-soft:      0 2px 8px rgba(22, 38, 94, 0.08);

  /* Typography */
  --font-display: 'Open Sans', ui-sans-serif, system-ui, sans-serif;
  --font-body:    'Lato', ui-sans-serif, system-ui, sans-serif;

  /* Fluid type scale */
  --step-fine:  clamp(0.72rem, 0.68rem + 0.20vw, 0.80rem);
  --step-small: clamp(0.82rem, 0.78rem + 0.20vw, 0.90rem);
  --step-body:  clamp(0.95rem, 0.90rem + 0.25vw, 1.05rem);
  --step-lead:  clamp(1.10rem, 1.00rem + 0.50vw, 1.30rem);
  --step-h3:    clamp(1.20rem, 1.05rem + 0.75vw, 1.55rem);
  --step-h2:    clamp(1.60rem, 1.30rem + 1.50vw, 2.30rem);
  --step-h1:    clamp(2.40rem, 1.80rem + 3.00vw, 4.20rem);

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 120ms;
  --dur-med:  200ms;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

::selection {
  background-color: var(--blue-tint);
  color: var(--ink);
}

body {
  font-family: var(--font-body);
  background: var(--surface-page);
  color: var(--ink);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: var(--step-h1); }
h2 { font-size: var(--step-h2); }
h3 { font-size: var(--step-h3); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

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

/* ============================================================
   DaisyUI Brand Overrides
   ============================================================ */

.bg-primary { background-color: var(--navy) !important; }
.text-primary { color: var(--navy) !important; }

.btn-primary {
  background: var(--navy) !important;
  border-color: var(--navy-deep) !important;
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--navy-deep) !important;
  border-color: var(--navy-deep) !important;
}

.badge-primary {
  background-color: var(--navy) !important;
  border-color: var(--navy) !important;
  color: #fff !important;
}

.file-input-primary { border-color: var(--navy) !important; }
.file-input-primary::file-selector-button {
  background-color: var(--navy) !important;
  border-color: var(--navy) !important;
  color: #fff !important;
}
.file-input-primary:focus { outline-color: var(--navy) !important; }

.tab-active {
  color: var(--navy) !important;
  border-color: var(--navy) !important;
}

.link-primary { color: var(--navy) !important; }
.link-primary:hover { color: var(--navy-deep) !important; }

.btn-outline {
  border-color: var(--navy) !important;
  color: var(--navy) !important;
}
.btn-outline:hover {
  background: var(--navy) !important;
  color: #fff !important;
}

.btn-success {
  background-color: var(--navy-mid) !important;
  border-color: var(--navy-mid) !important;
  color: #fff !important;
}
.btn-success:hover {
  background-color: var(--navy) !important;
  border-color: var(--navy) !important;
}

.badge-success {
  background-color: var(--navy-mid) !important;
  border-color: var(--navy-mid) !important;
  color: #fff !important;
}
.text-success { color: var(--navy-mid) !important; }

.bg-base-100 { background-color: var(--surface-page) !important; }
.bg-base-200 { background-color: var(--surface-card) !important; }

.hero-text-accent { color: var(--navy); }
.typo-strong { color: var(--ink); }
.typo-muted  { color: var(--muted); }

/* ============================================================
   Peptide-chain loader (AI analysis screens)
   ============================================================ */

.peptide-loader {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.peptide-loader .bead {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background-color: var(--blue-tint);
  animation: bead-pulse 1.6s var(--ease-out) infinite;
}

.peptide-loader .bead + .bead {
  margin-left: 14px;
  position: relative;
}

.peptide-loader .bead + .bead::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: 14px;
  height: 2px;
  transform: translateY(-50%);
  background-color: var(--hairline);
}

.peptide-loader .bead:nth-child(1) { animation-delay: 0s; }
.peptide-loader .bead:nth-child(2) { animation-delay: 0.2s; }
.peptide-loader .bead:nth-child(3) { animation-delay: 0.4s; }
.peptide-loader .bead:nth-child(4) { animation-delay: 0.6s; }
.peptide-loader .bead:nth-child(5) { animation-delay: 0.8s; }
.peptide-loader .bead:nth-child(6) { animation-delay: 1.0s; }

@keyframes bead-pulse {
  0%, 100% { background-color: var(--blue-tint);  transform: scale(1); }
  35%       { background-color: var(--navy);       transform: scale(1.25); }
  55%       { background-color: var(--navy-light); transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .peptide-loader .bead { animation: none; background-color: var(--navy); }
}

/* ============================================================
   Global Layout
   ============================================================ */

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.auth-page-shell > main {
  flex: 1 0 auto;
}

.page-shell > footer.site-footer {
  margin-top: auto;
}

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.shell-inner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  height: 100%;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--step-h2);
  font-weight: 800;
  text-align: center;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin: 0;
}

.section-tag {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin-bottom: 12px;
}

/* ============================================================
   Shared card (portal pages keep using this)
   ============================================================ */

.card {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-soft);
}

/* ============================================================
   Auth / Intake form helpers (portal pages)
   ============================================================ */

.step-content { display: none; }
.step-content.active { display: block; }
.form-card { @apply bg-white border border-slate-200 rounded-xl p-6 shadow-sm; }
#Signup-agreement-links { text-decoration: underline; }
.btn-logo { border: none; height: 2.5rem; width: 4rem; }
.pricing-header { width: fit-content; }

/* Auth page shell + tabbed section behavior */
.auth-shell {
  min-height: 0;
  background: #fff;
}

.auth-shell--provider {
  background: #16265E;
}

.auth-shell--provider > section {
  max-width: 880px;
  margin: 0 auto;
}

.auth-shell--patient > section {
  max-width: 880px;
  margin: 0 auto;
}

.auth-shell--patient header {
  background: #16265E;
  border-radius: 0.9rem;
  padding: 0.75rem 1rem;
}

.auth-shell--provider header {
  margin-bottom: 2.5rem;
}

.auth-shell--provider .tabs.tabs-bordered {
  border-bottom-color: rgba(190, 210, 238, 0.35);
}

.auth-shell--provider .tab {
  color: rgba(230, 239, 255, 0.9) !important;
}

.auth-shell--provider .tab.tab-active-custom {
  color: #ffffff !important;
  border-bottom-color: #8fb2df;
  background: rgba(125, 163, 217, 0.28);
}

.auth-shell--provider h1,
.auth-shell--provider h2,
.auth-shell--provider .label-text,
.auth-shell--provider p,
.auth-shell--provider span,
.auth-shell--provider a {
  color: #ffffff;
}

.auth-shell--provider p.text-slate-100 {
  color: rgba(228, 238, 255, 0.95) !important;
}

.auth-shell--provider .input,
.auth-shell--provider .select,
.auth-shell--provider textarea {
  background: rgba(138, 163, 204, 0.26) !important;
  border: 1px solid rgba(212, 226, 250, 0.6) !important;
  color: #ffffff !important;
}

.auth-shell--provider .input::placeholder,
.auth-shell--provider textarea::placeholder {
  color: rgba(232, 240, 255, 0.7) !important;
}

.auth-shell--provider .input:focus,
.auth-shell--provider textarea:focus,
.auth-shell--provider .select:focus {
  outline: none;
  border-color: #d8e6ff !important;
  box-shadow: 0 0 0 2px rgba(171, 196, 236, 0.25);
}

.auth-shell--provider .password-toggle {
  border-color: rgba(216, 230, 255, 0.65);
  background: #ffffff;
  color: #16265E;
}

.auth-shell--provider .password-toggle:hover {
  background: #f4f8ff;
}

.auth-shell--provider .checkbox {
  border-color: #a8c2ec !important;
  background: #ffffff !important;
}

.auth-shell--provider .btn.bg-white {
  background: #ffffff !important;
  color: #101728 !important;
  border-color: transparent !important;
}

.auth-shell--provider .btn.bg-white:hover {
  background: #f4f7ff !important;
  color: #0d162c !important;
}

.auth-shell .auth-section {
  display: none;
}

.auth-shell .auth-section.active {
  display: block;
}

.auth-shell .tabs.tabs-bordered {
  border-bottom-color: #e2e8f0;
}

.auth-shell .tab {
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.auth-shell .tab.tab-active-custom {
  color: var(--navy) !important;
  border-bottom-color: var(--navy);
  font-weight: 700;
}

.auth-shell .password-toggle {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  height: 2rem;
  padding: 0 0.65rem;
  border-radius: 0.6rem;
  border: 1px solid #d8dfec;
  background: #fff;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.auth-shell .password-toggle:hover {
  background: #f7f9ff;
}

/* ============================================================
   Section backgrounds
   ============================================================ */

#stepsSection    { background: #0E1B42; }
#whySection      { background: var(--navy-deep); }
#faqSection      { background: #0E1B42; }

/* Dark body sections: headings and tags */
#stepsSection .section-title,
#whySection .section-title,
#faqSection .section-title { color: #fff; }
#stepsSection .section-tag,
#whySection .section-tag,
#faqSection .section-tag { color: #A9C4EC; }
#footerCtaSection,
footer.site-footer {
  background: var(--navy-deep);
}

.CTAcontainer {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

/* ============================================================
   LANDING PAGE
   ============================================================ */

.landing {
  font-family: var(--font-body);
  color: var(--ink);
}

/* ---- Hero ---- */

.hero-section {
  min-height: clamp(600px, calc(100svh - 68px), 860px);
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  padding: clamp(48px, 8vh, 96px) clamp(24px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.55;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12,24,54,0.74) 0%, rgba(12,24,54,0.42) 50%, rgba(12,24,54,0.10) 80%),
    linear-gradient(to bottom, rgba(12,24,54,0.42) 0%, rgba(12,24,54,0.30) 60%, rgba(12,24,54,0.55) 100%);
  pointer-events: none;
}

/* Phones: the video is heavily cropped by cover, so let more of it
   through the scrim and keep the crop centered on the subject. */
@media (max-width: 640px) {
  .hero-video {
    opacity: 0.72;
    object-position: 38% center;
  }
  .hero-scrim {
    background: linear-gradient(
      to bottom,
      rgba(12, 24, 54, 0.42) 0%,
      rgba(12, 24, 54, 0.36) 60%,
      rgba(12, 24, 54, 0.55) 100%
    );
  }
}

.hero-wrap {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-wrap--centered {
  grid-template-columns: 1fr;
  max-width: 840px;
  text-align: left;
}

@media (max-width: 840px) {
  .hero-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.90);
  margin-bottom: 22px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 1px;
  flex-shrink: 0;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  flex-shrink: 0;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.6vw, 84px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 22px;
  text-shadow: 0 1px 2px rgba(12, 24, 54, 0.35), 0 4px 30px rgba(0, 0, 0, 0.45);
}

.hero-h1 em {
  font-style: normal;
  color: #A9C4EC;
  text-shadow: 0 2px 24px rgba(12, 24, 54, 0.55);
  position: relative;
  white-space: nowrap;
}

/* Hand-drawn ink underline: draws itself under "Pep Talk" on load */
.hero-ink {
  position: absolute;
  left: -2%; bottom: -0.18em;
  width: 104%; height: 0.24em;
  overflow: visible;
  pointer-events: none;
}
.hero-ink path {
  fill: none; stroke: #7EAADF; stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  opacity: 0;
  animation: heroInk 0.7s var(--ease-out) 0.9s forwards;
}
@keyframes heroInk {
  from { opacity: 1; }
  to   { opacity: 1; stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-ink path { stroke-dashoffset: 0; opacity: 1; animation: none; }
}

.hero-sub {
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 52ch;
  margin: 0 0 36px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.20);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-btn-primary {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 9999px;
  background: #ffffff;
  color: var(--navy);
  border: 1.5px solid #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.30);
  transition: background var(--dur-med) var(--ease-out),
              transform var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out);
  white-space: nowrap;
}

.hero-btn-primary:hover {
  background: var(--blue-pale);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -6px rgba(0, 0, 0, 0.35);
  color: var(--navy);
  text-decoration: none;
}

.hero-btn-outline {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 9999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color var(--dur-med),
              color var(--dur-med),
              transform var(--dur-med) var(--ease-out);
  white-space: nowrap;
}

.hero-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust span::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.40);
  flex-shrink: 0;
}

/* Protocol card */

.hero-card-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.protocol-card {
  background: #ffffff;
  border: 1.5px solid var(--hairline);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 16px 48px -12px rgba(22, 38, 94, 0.22),
              0 2px 8px -2px rgba(22, 38, 94, 0.08);
  max-width: 380px;
  width: 100%;
  position: relative;
}

.protocol-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--navy-light));
  border-radius: 0 0 3px 3px;
}

.pc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}

.pc-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--blue-tint);
  padding: 5px 10px;
  border-radius: 4px;
  flex-shrink: 0;
}

.pc-meta {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  line-height: 1.4;
}

.pc-meta strong {
  display: block;
  font-weight: 700;
  color: var(--ink);
  font-size: 13px;
}

.pc-divider {
  height: 1px;
  background: var(--hairline);
  margin: 16px 0;
}

.pc-biomarker {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
}

.pc-biomarker + .pc-biomarker {
  border-top: 1px solid var(--blue-pale);
}

.pc-bm-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.pc-bm-value {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-mid);
  text-align: right;
  white-space: nowrap;
}

.pc-bm-status {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--blue-tint);
  color: var(--navy);
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
}

.pc-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.pc-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
}

.pc-badge-ai {
  background: var(--navy);
  color: #fff;
}

.pc-badge-provider {
  background: var(--blue-tint);
  color: var(--navy);
}

/* ---- Biomarker ticker ---- */

.marquee-section {
  border-top: 1px solid rgba(126,170,223,0.18);
  border-bottom: 1px solid rgba(126,170,223,0.18);
  background: #0C1836;
  padding: 14px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee-scroll 32s linear infinite;
  width: max-content;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7EAADF;
}

.marquee-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(126,170,223,0.6);
  display: inline-block;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---- How It Works — The Case File (scroll-driven dossier) ----
   The section pins briefly while you scroll; each step flies in and
   lands on the desk as a real product artifact (form, live call, upload,
   AI readout, cosign slip, results chart), stacking into a pile with a
   springy overshoot and a shadow thud. The rail tracks, ticks, and
   jumps. Kept short on purpose: about two screens of scroll covers all
   six steps. Mobile gets the artifacts as a static stacked story. */

.dz-track { position: relative; }
.dz-head { padding: 0 1.5rem 1.5rem; }
@media (min-width: 861px) {
  .dz-track { height: 300vh; }
  .dz-sticky {
    position: sticky;
    top: 68px;
    height: calc(100vh - 68px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .dz-head { padding: clamp(1.5rem, 3.5vh, 3rem) 1.5rem 0; }
}

.dz-grid {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 861px) {
  .dz-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
    align-content: center;
    min-height: 0;
  }
}

/* ── Step rail ── */
.dz-rail { position: relative; padding-left: 1.7rem; }
@media (max-width: 860px) { .dz-rail { display: none; } }
.dz-spine {
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 2px;
  background: rgba(126,170,223,0.22);
  border-radius: 1px;
}
.dz-spine-fill {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 0%;
  background: #7EAADF;
  border-radius: 1px;
  transition: height 0.25s linear;
}
.dz-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: none; border: none; cursor: pointer;
  padding: 0.62rem 0.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 1.3vw, 1.3rem);
  color: rgba(255,255,255,0.50);
  text-align: left;
  transition: color 0.25s, transform 0.35s var(--ease-out);
  width: 100%;
}
.dz-item:hover { color: rgba(255,255,255,0.85); }
.dz-item.active { color: #fff; transform: translateX(8px); }
.dz-item.passed { color: rgba(255,255,255,0.78); }
.dz-badge {
  width: 27px; height: 27px; border-radius: 50%;
  border: 1.5px solid rgba(126,170,223,0.35);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative;
  font-size: 0.8rem; font-weight: 800; color: transparent;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.dz-item.active .dz-badge {
  background: var(--navy-light); border-color: var(--navy-light); color: #fff;
}
.dz-badge svg { position: absolute; inset: 5px; opacity: 0; }
.dz-badge svg path {
  fill: none; stroke: #7EAADF; stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40;
}
.dz-item.passed .dz-badge { border-color: rgba(126,170,223,0.65); color: transparent; }
.dz-item.passed .dz-badge svg { opacity: 1; }
.dz-item.passed .dz-badge svg path { animation: dz-tick 0.4s var(--ease-out) forwards; }
@keyframes dz-tick { from { opacity: 1; } to { opacity: 1; stroke-dashoffset: 0; } }

.dz-active-desc {
  margin: 1.6rem 0 0;
  padding-left: 0.25rem;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.90);
  max-width: 34ch;
  min-height: 3.4em;
}
.dz-anim .dz-active-desc { animation: dz-swap 0.45s var(--ease-out); }
@keyframes dz-swap {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ── The desk ── */
.dz-stage { position: relative; }
@media (min-width: 861px) {
  .dz-stage { height: min(68vh, 620px); }
  .dz-card {
    position: absolute;
    top: 50%; left: 50%;
    width: min(600px, 100%);
    transform: translate(-50%, -50%) translateY(115vh) rotate(10deg);
    transition: transform 0.8s cubic-bezier(0.16, 1.36, 0.3, 1);
  }
  /* Resting poses: a believable pile. The springy bezier above makes
     each landing overshoot its pose a touch, then snap back. */
  .dz-card:nth-child(1).dz-settled { transform: translate(-50%, -50%) rotate(-3deg) translate(-16px, 10px); }
  .dz-card:nth-child(2).dz-settled { transform: translate(-50%, -50%) rotate(2.5deg) translate(12px, -4px); }
  .dz-card:nth-child(3).dz-settled { transform: translate(-50%, -50%) rotate(-1.6deg) translate(-6px, 14px); }
  .dz-card:nth-child(4).dz-settled { transform: translate(-50%, -50%) rotate(1.8deg) translate(8px, 2px); }
  .dz-card:nth-child(5).dz-settled { transform: translate(-50%, -50%) rotate(-2.4deg) translate(-12px, -6px); }
  .dz-card:nth-child(6).dz-settled { transform: translate(-50%, -50%) rotate(0.8deg) translate(0px, 0px); }
  .dz-card-cap { display: none; }
  /* Shadow thud: the desk feels the landing, then relaxes */
  .dz-card::after {
    content: '';
    position: absolute; inset: 10% 4% -2% 4%;
    border-radius: 14px;
    box-shadow: 0 36px 74px -16px rgba(0,0,0,0.7);
    opacity: 0;
    z-index: -1;
    pointer-events: none;
  }
  .dz-card.dz-settled::after { animation: dz-thud 1.1s var(--ease-out) forwards; }
}
@keyframes dz-thud {
  0%   { opacity: 0; }
  35%  { opacity: 0.95; }
  100% { opacity: 0.4; }
}
@media (max-width: 860px) {
  .dz-card { margin: 0 0 1.5rem; width: 100%; }
  .dz-card-cap { display: block; margin-bottom: 0.9rem; }
  .dz-card-cap h3 {
    font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
    color: #fff; margin: 1.2rem 0 0.3rem;
  }
  .dz-card-cap p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.85); margin: 0; }
}

/* Card surfaces */
.dz-paper {
  background: linear-gradient(180deg, #FDFBF6 0%, #F4EEE1 100%);
  border-radius: 8px;
  padding: 1.7rem 2rem 2rem;
  box-shadow: 0 26px 60px -18px rgba(0,0,0,0.55), 0 2px 6px rgba(0,0,0,0.18);
}
.dz-dark {
  background: linear-gradient(135deg, #1B2C66 0%, #0E1B42 100%);
  border: 1px solid rgba(126,170,223,0.40);
  border-radius: 8px;
  padding: 1.7rem 2rem 2rem;
  box-shadow: 0 26px 60px -18px rgba(0,0,0,0.60);
  position: relative;
  overflow: hidden;
}

.dz-card-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 0.55rem; margin-bottom: 1rem;
  border-bottom: 2px solid rgba(22,38,94,0.70);
}
.dz-dark .dz-card-head { border-bottom-color: rgba(126,170,223,0.40); }
.dz-card-label {
  font-family: var(--font-display); font-weight: 800; font-size: 0.9rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy);
}
.dz-dark .dz-card-label { color: #C7DAF6; }
.dz-card-meta {
  font-size: 0.85rem; font-style: italic; color: rgba(22,38,94,0.78);
}
.dz-dark .dz-card-meta { color: rgba(255,255,255,0.80); }

/* Shared fake-text bars */
.dz-bar {
  height: 9px; border-radius: 5px;
  background: rgba(22,38,94,0.18);
  flex: 1;
}
.dz-dark .dz-bar { background: rgba(169,196,236,0.28); }

/* AI card scan sweep */
.dz-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(126,170,223,0.9), transparent);
  opacity: 0; pointer-events: none;
}
.dz-settled .dz-scan { animation: dz-scan 1.4s ease-in-out 0.5s; }
@keyframes dz-scan {
  0% { opacity: 0; top: 12%; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; top: 92%; }
}

/* Cosign stamp */
.dz-stamp {
  position: absolute; right: 1.6rem; top: 4.2rem;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase; text-align: center; line-height: 1.5;
  color: var(--navy-mid); border: 2.5px solid rgba(51,81,143,0.75);
  border-radius: 8px; padding: 0.4rem 0.75rem;
  transform: rotate(-7deg) scale(1.7); opacity: 0;
  transition: transform 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) 1.5s, opacity 0.3s ease 1.5s;
  z-index: 1;
}
.dz-settled .dz-stamp { transform: rotate(-7deg) scale(1); opacity: 1; }

/* ── Shared mockup bits ── */
.dz-sec-label {
  display: block;
  font-family: var(--font-display); font-weight: 800; font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(22,38,94,0.82); margin: 1rem 0 0.5rem;
}
.dz-dark .dz-sec-label { color: rgba(255,255,255,0.85); }
.dz-link {
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  color: var(--navy);
}
.dz-dark .dz-link { color: #C7DAF6; }

.dz-pill {
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.05em; padding: 0.24rem 0.62rem; border-radius: 9999px;
  white-space: nowrap;
  opacity: 0; transform: scale(0.6);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.dz-settled .dz-pill { opacity: 1; transform: scale(1); }
.dz-pill--low  { background: rgba(179,56,44,0.12); color: #B3382C; }
.dz-pill--ok   { background: rgba(18,128,92,0.12); color: #12805C; }
.dz-pill--warn { background: rgba(154,107,21,0.15); color: #9A6B15; }
.dz-dark .dz-pill--low  { background: rgba(252,165,165,0.16); color: #FCA5A5; }
.dz-dark .dz-pill--ok   { background: rgba(110,231,183,0.14); color: #6EE7B7; }
.dz-dark .dz-pill--warn { background: rgba(252,211,77,0.14); color: #FCD34D; }

/* Staggered entrance for mockup rows */
.dz-in {
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.dz-settled .dz-in { opacity: 1; transform: none; }
.dz-settled .dz-in:nth-of-type(1) { transition-delay: 0.45s; }
.dz-settled .dz-in:nth-of-type(2) { transition-delay: 0.6s; }
.dz-settled .dz-in:nth-of-type(3) { transition-delay: 0.75s; }
.dz-settled .dz-in:nth-of-type(4) { transition-delay: 0.9s; }
.dz-settled .dz-in:nth-of-type(5) { transition-delay: 1.05s; }
.dz-settled .dz-in:nth-of-type(6) { transition-delay: 1.2s; }

/* 1 · Intake form */
.dz-f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.dz-field-label {
  display: block;
  font-size: 0.72rem; font-weight: 700; color: rgba(22,38,94,0.85);
  margin-bottom: 0.25rem;
}
.dz-field-box {
  height: 30px; border: 1.5px solid rgba(22,38,94,0.22);
  border-radius: 7px; background: #fff;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 0.5rem;
}
.dz-field-box svg { width: 13px; height: 13px; stroke: rgba(22,38,94,0.45); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dz-continue {
  margin-top: 1.1rem; height: 38px; border-radius: 8px;
  background: var(--navy); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 0.88rem;
  display: flex; align-items: center; justify-content: center;
}

/* 2 · Video call: live transcript. No fake window — two voices trading
   waveform pulses while telehealth-style captions type themselves out. */
.dz-call { padding: 0; border-radius: 16px; overflow: hidden;
  box-shadow: 0 26px 60px -18px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.16);
  background: #1a1a1e;
}
.dz-call-frame {
  position: relative;
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.95rem;
  background:
    radial-gradient(ellipse 70% 60% at 50% 18%, rgba(90,127,190,0.25) 0%, transparent 70%),
    linear-gradient(160deg, #1C2F6B 0%, #101D44 100%);
}
.dz-call-top { display: flex; align-items: center; gap: 0.55rem; }
.dz-live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #E85D5D;
  flex-shrink: 0;
}
.dz-settled .dz-live-dot { animation: dz-live 1.8s ease-out infinite; }
@keyframes dz-live {
  0% { box-shadow: 0 0 0 0 rgba(232,93,93,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(232,93,93,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,93,93,0); }
}
.dz-live-label {
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255,255,255,0.95);
}
.dz-call-time {
  margin-left: auto;
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #fff; background: rgba(0,0,0,0.4);
  padding: 0.2rem 0.5rem; border-radius: 6px;
}

.dz-voices { display: flex; flex-direction: column; gap: 0.55rem; }
.dz-voice {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.5rem 0.85rem; border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(126,170,223,0.16);
  transition: background 0.4s ease, border-color 0.4s ease;
}
.dz-voice.dz-speaking {
  background: rgba(126,170,223,0.13);
  border-color: rgba(126,170,223,0.45);
}
.dz-voice-name {
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  color: #fff; min-width: 92px; flex-shrink: 0;
}
.dz-eq {
  flex: 1; height: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 2px;
}
.dz-eq span {
  width: 4px; height: 100%; border-radius: 2px;
  background: #7EAADF; opacity: 0.4;
  transform: scaleY(0.18); transform-origin: center;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.dz-voice.dz-speaking .dz-eq span { opacity: 1; animation: dz-eq 0.85s ease-in-out infinite; }
.dz-eq span:nth-child(3n)   { --a: 0.95; animation-delay: -0.12s; }
.dz-eq span:nth-child(3n+1) { --a: 0.55; animation-delay: -0.34s; }
.dz-eq span:nth-child(3n+2) { --a: 0.75; animation-delay: -0.52s; }
.dz-eq span:nth-child(4n)   { --a: 0.65; }
.dz-eq span:nth-child(5n)   { --a: 1; animation-delay: -0.2s; }
@keyframes dz-eq {
  0%, 100% { transform: scaleY(0.2); }
  50% { transform: scaleY(var(--a, 0.9)); }
}

.dz-captions {
  border-radius: 12px;
  background: rgba(8,16,38,0.55);
  border: 1px solid rgba(126,170,223,0.2);
  padding: 0.8rem 0.95rem 0.9rem;
  min-height: 108px;
}
.dz-cap-label {
  display: flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: #A9C4EC;
  margin-bottom: 0.45rem;
}
.dz-cap-label svg { width: 12px; height: 12px; stroke: #A9C4EC; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dz-cap-line { display: none; font-size: 0.95rem; line-height: 1.5; color: #fff; margin: 0 0 0.25rem; }
.dz-cap-line.dz-on { display: block; }
.dz-cap-who { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: #C7DAF6; }
.dz-cap-caret {
  display: inline-block; width: 2px; height: 0.95em;
  background: #A9C4EC; margin-left: 2px; vertical-align: text-bottom;
  animation: dz-caret 0.8s steps(1) infinite;
}
@keyframes dz-caret {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@media (max-width: 480px) {
  .dz-voice-name { min-width: 66px; font-size: 0.72rem; }
  .dz-eq span:nth-child(n+19) { display: none; }
}

/* 3 · Lab upload */
.dz-dropzone {
  border: 2px dashed rgba(22,38,94,0.30);
  border-radius: 12px; padding: 1.4rem 1rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  text-align: center;
}
.dz-dropzone svg { width: 34px; height: 34px; stroke: var(--navy-mid); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 0.3rem; }
.dz-dz-title { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: var(--navy); }
.dz-dz-sub { font-size: 0.78rem; color: rgba(22,38,94,0.75); }
.dz-or {
  display: flex; align-items: center; gap: 0.8rem;
  margin: 0.9rem 0;
  font-size: 0.75rem; color: rgba(22,38,94,0.7); font-style: italic;
}
.dz-or::before, .dz-or::after { content: ''; flex: 1; height: 1px; background: rgba(22,38,94,0.18); }
.dz-kit {
  border: 1.5px solid rgba(22,38,94,0.3); border-radius: 9px;
  padding: 0.65rem 0.9rem;
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.88rem; color: var(--navy);
}
.dz-kit svg { width: 17px; height: 17px; stroke: var(--navy-mid); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dz-kit-arrow { margin-left: auto; color: var(--navy-mid); }

/* 4 · AI summary */
.dz-km-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.2rem; }
.dz-marker {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(169,196,236,0.16);
}
.dz-marker:last-of-type { border-bottom: none; }
.dz-marker-name { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: #fff; flex: 1; }
.dz-marker-val { font-size: 0.85rem; color: rgba(255,255,255,0.90); white-space: nowrap; }

/* 5 · Provider review */
.dz-doc { display: flex; align-items: center; gap: 0.85rem; padding: 0.35rem 0 0.5rem; }
.dz-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #33518F, #16265E);
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dz-doc-name { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--ink); }
.dz-doc-sub { font-size: 0.8rem; color: rgba(22,38,94,0.75); }
.dz-note-bars { display: flex; flex-direction: column; gap: 0.55rem; padding: 0.2rem 0 0.4rem; }
.dz-plan-row {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid rgba(22,38,94,0.14);
  margin-top: 0.7rem; padding-top: 0.8rem;
}

/* 6 · Results */
.dz-res { display: flex; gap: 1.4rem; align-items: center; }
.dz-donut { width: 116px; height: 116px; flex-shrink: 0; position: relative; }
.dz-donut svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.dz-donut-track { fill: none; stroke: rgba(22,38,94,0.12); stroke-width: 10; }
.dz-donut-arc {
  fill: none; stroke: var(--navy-mid); stroke-width: 10; stroke-linecap: round;
  stroke-dasharray: 289; stroke-dashoffset: 289;
  transition: stroke-dashoffset 1.2s var(--ease-out) 0.6s;
}
.dz-settled .dz-donut-arc { stroke-dashoffset: 64; }
.dz-donut-num {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-display);
}
.dz-donut-num strong { font-size: 1.85rem; font-weight: 800; color: var(--navy); line-height: 1; }
.dz-donut-num span { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(22,38,94,0.75); margin-top: 2px; }
.dz-legend { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.dz-legend-row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.88rem; color: var(--ink);
}
.dz-next { margin-top: 0.9rem; }
.dz-next-row {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.42rem 0;
  font-size: 0.88rem; font-weight: 600; color: var(--ink);
}
.dz-next-row svg { width: 16px; height: 16px; stroke: var(--navy-mid); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  .dz-track { height: auto !important; }
  .dz-sticky { position: static !important; height: auto !important; }
  .dz-card { position: static !important; transform: none !important; margin: 0 auto 1.5rem; transition: none; }
  .dz-card::after { animation: none; opacity: 0; }
  .dz-in, .dz-pill { opacity: 1; transform: none; transition: none; }
  .dz-donut-arc { stroke-dashoffset: 64; transition: none; }
  .dz-badge svg path, .dz-check path { stroke-dashoffset: 0; opacity: 1; animation: none; }
  .dz-live-dot { animation: none; }
  .dz-voice.dz-speaking .dz-eq span { animation: none; }
  .dz-eq span { transform: scaleY(0.45); opacity: 0.75; transition: none; }
  .dz-cap-line { display: block; }
  .dz-cap-caret { display: none; }
  .dz-stamp { transform: rotate(-7deg) scale(1); opacity: 1; transition: none; }
  .dz-scan { display: none; }
}

/* ---- Why MyPeps ---- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: #fff;
  border: 1.5px solid var(--hairline);
  border-radius: 12px;
  padding: 28px;
  transition: border-color var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out);
}

.feature-card:hover {
  border-color: var(--navy-light);
  box-shadow: 0 8px 24px -8px rgba(22, 38, 94, 0.14);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-tint);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--navy);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* ---- Membership (pricing) — full-bleed navy band, glass panel ---- */

#pricingSection {
  background:
    radial-gradient(ellipse 70% 90% at 85% 10%, rgba(90, 127, 190, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 100%, rgba(51, 81, 143, 0.35) 0%, transparent 65%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}

#pricingSection .section-tag { color: #9DB8E4; }
#pricingSection .section-title { color: #fff; }

.pricing-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 48px;
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) { .pricing-inner { grid-template-columns: 1fr; } }

.pricing-headline {
  font-family: var(--font-display);
  font-size: var(--step-h2);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.pricing-sub {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.90);
  margin-bottom: 28px;
}

/* Glass membership panel — soft, rounded, no hard border */
.pricing-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 38px 36px;
  box-shadow: 0 24px 64px -16px rgba(4, 10, 28, 0.55);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(126, 170, 223, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.pricing-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  background: #fff;
  border-radius: 9999px;
  padding: 5px 14px;
  margin-bottom: 18px;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  align-items: flex-start;
  gap: 2px;
}

.pricing-currency {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin-top: 7px;
  color: #9DB8E4;
}

.pricing-period {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 6px;
  margin-bottom: 24px;
  font-weight: 700;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.pricing-feature-check {
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

/* ---- FAQ ---- */

.faq-spread {
  max-width: 1160px;
  margin: 0 auto;
}

.faq-intro-sub {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--muted);
  margin: 16px auto 0;
  max-width: 44ch;
  text-align: center;
}

.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
}

/* Wide screens: sticky intro left, questions right (matches the ledger) */
@media (min-width: 981px) {
  .faq-spread {
    display: grid;
    grid-template-columns: 4fr 7fr;
    gap: clamp(48px, 6vw, 88px);
    align-items: start;
  }
  .faq-intro { position: sticky; top: 120px; }
  .faq-intro .section-tag,
  .faq-intro .section-title { text-align: left; }
  .faq-intro-sub { text-align: left; margin-left: 0; max-width: 36ch; }
  .faq-list { max-width: none; margin: 6px 0 0; }
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-item:first-child {
  border-top: 1px solid var(--hairline);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color var(--dur-fast);
}

.faq-q:hover { color: var(--navy); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform var(--dur-med) var(--ease-out);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--navy);
}

.faq-a {
  display: none;
  padding: 0 32px 20px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.faq-item.open .faq-a {
  display: block;
}

/* Dark FAQ variant (both host pages: landing + memberships) */
#faqSection .faq-intro-sub { color: rgba(255,255,255,0.85); }
#faqSection .faq-item { border-color: rgba(126,170,223,0.22); }
#faqSection .faq-q { color: #fff; }
#faqSection .faq-q:hover { color: #A9C4EC; }
#faqSection .faq-chevron { color: rgba(255,255,255,0.70); }
#faqSection .faq-item.open .faq-chevron { color: #A9C4EC; }
#faqSection .faq-a { color: rgba(255,255,255,0.88); }

/* ---- Final CTA ---- */

.cta-headline {
  font-family: var(--font-display);
  font-size: var(--step-h2);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: var(--step-lead);
  color: rgba(255, 255, 255, 0.90);
  max-width: 50ch;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cta-btn-primary {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 9999px;
  background: #fff;
  color: var(--navy);
  border: 1.5px solid #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--dur-med), transform var(--dur-med) var(--ease-out);
  white-space: nowrap;
}

.cta-btn-primary:hover {
  background: var(--blue-pale);
  transform: translateY(-2px);
  color: var(--navy);
  text-decoration: none;
}

.cta-btn-outline {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 9999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: border-color var(--dur-med), color var(--dur-med), transform var(--dur-med) var(--ease-out);
  white-space: nowrap;
}

.cta-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

/* ---- Footer ---- */

footer.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 40px clamp(24px, 5vw, 64px);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
}

.footer-logo {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}
.footer-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 0.90;
}

.footer-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 0 24px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  white-space: nowrap;
  overflow: visible;
  max-width: none;
  flex-shrink: 0;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none;
  transition: color var(--dur-fast);
}

.footer-links a:hover { color: #ffffff; }

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================
   Membership promo bar (above navbar — "first thing users see")
   ============================================================ */

.promo-bar {
  position: relative;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 9px 16px;
  background: linear-gradient(100deg, var(--navy-deep) 0%, var(--navy) 45%, var(--navy-mid) 100%);
  background-size: 200% 100%;
  animation: promo-sheen 9s ease-in-out infinite alternate;
  text-align: center;
}

@keyframes promo-sheen {
  from { background-position: 0% 0; }
  to   { background-position: 100% 0; }
}

.promo-bar-text {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

.promo-bar-text strong {
  color: #A9C4EC;
  font-weight: 800;
}

.promo-bar-link {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
  background: #fff;
  border-radius: 9999px;
  padding: 4px 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--dur-med) var(--ease-out), background var(--dur-med);
}

.promo-bar-link:hover {
  background: var(--blue-tint);
  transform: translateY(-1px);
  color: var(--navy);
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .promo-bar { animation: none; }
}

/* ============================================================
   Why MyPeps — editorial ledger (de-boxed)
   ============================================================ */

.ledger {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 860px) {
  .ledger { grid-template-columns: 1fr; gap: 40px; }
}

.ledger-intro { position: sticky; top: 120px; }
@media (max-width: 860px) { .ledger-intro { position: static; } }

.ledger-intro .section-tag,
.ledger-intro .section-title { text-align: left; }

.ledger-intro-sub {
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  margin-top: 16px;
  max-width: 40ch;
}

.ledger-rows { border-top: 1px solid rgba(126,170,223,0.22); }

.ledger-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  padding: 26px 10px 26px 4px;
  position: relative;
  transition: background 0.3s var(--ease-out), padding-left 0.3s var(--ease-out);
}

/* Hairline sweeps in under each row as it reveals */
.ledger-row::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: rgba(126,170,223,0.22);
  transition: width 0.9s var(--ease-out) 0.15s;
}
.ledger-row.rv-visible::after { width: 100%; }

.ledger-row:hover {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 0%, transparent 80%);
  padding-left: 14px;
}

/* ---- Hand-drawn micro-glyphs (replace the 01-06 numerals) ---- */

.ledger-glyph {
  width: 46px;
  height: 46px;
  position: relative;
  margin-top: 2px;
  justify-self: start;
}

.ledger-glyph::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 170, 223, 0.20) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.5s var(--ease-out) 0.2s, transform 0.5s var(--ease-out) 0.2s;
}
.ledger-row.rv-visible .ledger-glyph::before { opacity: 1; transform: scale(1); }

.ledger-glyph svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  position: relative;
}

.ledger-glyph path {
  fill: none;
  stroke: #A9C4EC;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke 0.3s var(--ease-out);
}

.ledger-row.rv-visible .ledger-glyph path {
  transition: stroke-dashoffset 0.9s var(--ease-out) 0.3s, stroke 0.3s var(--ease-out);
  stroke-dashoffset: 0;
}
.ledger-row.rv-visible .ledger-glyph path:nth-child(2) {
  transition-delay: 0.75s, 0s;
}

.ledger-row:hover .ledger-glyph path { stroke: #fff; }

@media (prefers-reduced-motion: reduce) {
  .ledger-row::after { width: 100%; transition: none; }
  .ledger-glyph path { stroke-dashoffset: 0; transition: none; }
  .ledger-glyph::before { opacity: 1; transform: none; transition: none; }
}

.ledger-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ledger-flag {
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0C1836;
  background: #7EAADF;
  border-radius: 9999px;
  padding: 3px 10px;
}

.ledger-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin: 0;
  max-width: 52ch;
}

/* ============================================================
   Scroll Reveal
   ============================================================ */

.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Ripple effect on buttons
   ============================================================ */

.hero-btn-primary,
.hero-btn-outline,
.cta-btn-primary,
.cta-btn-outline,
.btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: scale(0);
  animation: ripple-expand 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-expand {
  to { transform: scale(4); opacity: 0; }
}

/* ============================================================
   Navbar scroll shadow
   ============================================================ */

nav.nav-scrolled {
  box-shadow: 0 2px 16px rgba(22, 38, 94, 0.10) !important;
}

/* ============================================================
   Feature card tilt
   ============================================================ */

.feature-card {
  transition: border-color var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              transform 0.18s cubic-bezier(0.2, 0.7, 0.2, 1);
  transform-style: preserve-3d;
  will-change: transform;
}

/* ---- Animations ---- */

@keyframes land-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
