/* ==========================================================================
   X39 LifeWave — Apple design system chassis + rose-gold single accent
   Spec: Apple's web presence (homepage, environment, store, iPhone buy, accessories)
   Adapted: rose-gold #C9A38A replaces Apple Blue as the single interactive accent
   Brand: Zasoby/brand/lifewave-x39/brain/visual.md
   ========================================================================== */

:root {
  /* --- Brand & Accent (single rose-gold accent — replaces Apple Blue) --- */
  --x-accent: #C9A38A;             /* primary action — replaces #0066cc */
  --x-accent-focus: #B8927A;       /* focus ring sibling */
  --x-accent-on-dark: #E8C5A8;     /* sky-link variant on dark surfaces */
  --x-accent-ink: #A8806A;         /* deeper rose for inline emphasis */

  /* --- Surface (Apple chassis) --- */
  --x-canvas: #ffffff;             /* pure white */
  --x-canvas-parchment: #f5f5f7;   /* signature Apple off-white */
  --x-surface-pearl: #fafafc;      /* ghost button fill */
  --x-tile-1: #272729;             /* near-black tile primary */
  --x-tile-2: #2a2a2c;             /* near-black tile +1 lighter */
  --x-tile-3: #252527;             /* near-black tile -1 darker */
  --x-surface-black: #000000;      /* global nav, video void only */
  --x-chip-translucent: rgba(210, 210, 215, 0.64);

  /* --- Text --- */
  --x-ink: #1d1d1f;                /* primary text on light */
  --x-body: #1d1d1f;
  --x-body-on-dark: #ffffff;
  --x-body-muted: #cccccc;         /* secondary on dark */
  --x-ink-muted-80: #333333;       /* body on pearl */
  --x-ink-muted-48: #7a7a7a;       /* fine-print, disabled */

  /* --- Hairlines --- */
  --x-divider-soft: rgba(0, 0, 0, 0.04);
  --x-hairline: #e0e0e0;

  /* --- Shadow (EXACTLY ONE — for product imagery) --- */
  --x-shadow-product: rgba(0, 0, 0, 0.22) 3px 5px 30px 0;

  /* --- Radii --- */
  --x-r-none: 0;
  --x-r-xs: 5px;
  --x-r-sm: 8px;
  --x-r-md: 11px;
  --x-r-lg: 18px;
  --x-r-pill: 9999px;

  /* --- Font --- */
  --x-font-display: "SF Pro Display", system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", sans-serif;
  --x-font-text: "SF Pro Text", system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", sans-serif;

  /* --- Spacing (Apple base 8, snap 8/12/16/20/24, section 80) --- */
  --x-s-xxs: 4px;
  --x-s-xs: 8px;
  --x-s-sm: 12px;
  --x-s-md: 17px;
  --x-s-lg: 24px;
  --x-s-xl: 32px;
  --x-s-xxl: 48px;
  --x-s-section: 80px;

  /* --- Layout --- */
  --x-w-text: 980px;
  --x-w-grid: 1440px;
  --x-pad-x: 22px;

  /* --- Transition --- */
  --x-t-fast: 200ms ease;
  --x-t-base: 320ms cubic-bezier(0.42, 0, 0.58, 1);
}

@media (max-width: 1068px) {
  :root { --x-pad-x: 22px; }
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body {
  margin: 0; padding: 0;
  font-family: var(--x-font-text);
  font-size: 17px;             /* Apple body = 17, not 16 */
  line-height: 1.47;
  letter-spacing: -0.374px;
  color: var(--x-body);
  background: var(--x-canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--x-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---------- Typography tokens ---------- */
.x-hero-display {
  font-family: var(--x-font-display);
  font-size: 56px;
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.28px;
  color: var(--x-ink);
}
.x-display-lg {
  font-family: var(--x-font-display);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.10;
  letter-spacing: 0;
  color: var(--x-ink);
}
.x-display-md {
  font-family: var(--x-font-display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.374px;
  color: var(--x-ink);
}
.x-lead {
  font-family: var(--x-font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0.196px;
  color: var(--x-ink);
}
.x-lead-airy {
  font-family: var(--x-font-display);
  font-size: 24px;
  font-weight: 300;       /* the rare 300 */
  line-height: 1.5;
  color: var(--x-ink);
}
.x-tagline {
  font-family: var(--x-font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.19;
  letter-spacing: 0.231px;
}
.x-body { font-size: 17px; font-weight: 400; line-height: 1.47; letter-spacing: -0.374px; color: var(--x-body); }
.x-body-strong { font-size: 17px; font-weight: 600; line-height: 1.24; letter-spacing: -0.374px; color: var(--x-body); }
.x-caption { font-size: 14px; font-weight: 400; line-height: 1.43; letter-spacing: -0.224px; }
.x-caption-strong { font-size: 14px; font-weight: 600; line-height: 1.29; letter-spacing: -0.224px; text-transform: uppercase; }
.x-fine-print { font-size: 12px; font-weight: 400; line-height: 1.0; letter-spacing: -0.12px; color: var(--x-ink-muted-48); }

/* ---------- Layout primitives ---------- */
.x-container {
  max-width: var(--x-w-grid);
  margin: 0 auto;
  padding: 0 var(--x-pad-x);
}
.x-container--text {
  max-width: var(--x-w-text);
  margin: 0 auto;
  padding: 0 var(--x-pad-x);
}

/* ---------- Reveal-on-scroll ---------- */
.x-reveal { opacity: 1; transform: none; transition: opacity 700ms ease-out, transform 700ms ease-out; }
.x-reveal.is-pending { opacity: 0; transform: translateY(20px); }
@media (prefers-reduced-motion: reduce) {
  .x-reveal, .x-reveal.is-pending { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   GLOBAL NAV — 44px true-black bar
   ========================================================================== */
.x-nav-global {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--x-surface-black);
  color: var(--x-body-on-dark);
  height: 44px;
  border-bottom: 0;
}
.x-nav-global__inner {
  max-width: 1024px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 var(--x-pad-x);
  gap: 28px;
}
.x-nav-global__logo {
  font-family: var(--x-font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--x-body-on-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.x-nav-global__logo:hover { text-decoration: none; opacity: 0.88; }
.x-nav-global__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--x-accent);
  box-shadow: 0 0 12px rgba(201, 163, 138, 0.5);
}
.x-nav-global__links {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 32px;
}
.x-nav-global__links a {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.12px;
  color: var(--x-body-on-dark);
  padding: 6px 0;
  opacity: 0.88;
  transition: opacity var(--x-t-fast);
}
.x-nav-global__links a:hover { opacity: 1; text-decoration: none; }
.x-nav-global__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.x-nav-global__toggle {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  color: var(--x-body-on-dark);
  opacity: 0.88;
}
@media (max-width: 833px) {
  .x-nav-global__links { display: none; }
  .x-nav-global__toggle { display: inline-flex; }
  .x-nav-global__inner { justify-content: space-between; }
  .x-nav-global.is-open .x-nav-global__links {
    display: flex;
    position: fixed;
    inset: 44px 0 auto 0;
    background: var(--x-surface-black);
    flex-direction: column;
    padding: 24px var(--x-pad-x);
    gap: 24px;
    z-index: 99;
  }
  .x-nav-global.is-open .x-nav-global__links a { font-size: 17px; padding: 8px 0; }
}

/* Lang picker (in global nav right) */
.x-lang {
  display: flex;
  gap: 1px;
  padding: 2px;
  border-radius: var(--x-r-pill);
  background: rgba(255, 255, 255, 0.08);
}
.x-lang__btn {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  border-radius: var(--x-r-pill);
  transition: all var(--x-t-fast);
}
.x-lang__btn.is-active {
  background: rgba(255, 255, 255, 0.96);
  color: var(--x-ink);
}

/* ==========================================================================
   SUB-NAV — 52px frosted parchment
   ========================================================================== */
.x-nav-sub {
  position: sticky;
  top: 44px;
  z-index: 90;
  background: rgba(245, 245, 247, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  height: 52px;
  border-bottom: 1px solid var(--x-divider-soft);
}
.x-nav-sub__inner {
  max-width: 1024px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--x-pad-x);
  gap: 24px;
}
.x-nav-sub__brand {
  font-family: var(--x-font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.231px;
  color: var(--x-ink);
  white-space: nowrap;
}
.x-nav-sub__links {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  margin-right: 16px;
}
.x-nav-sub__links a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.224px;
  color: var(--x-ink);
  opacity: 0.88;
  transition: opacity var(--x-t-fast);
}
.x-nav-sub__links a:hover { opacity: 1; text-decoration: none; }
@media (max-width: 833px) {
  .x-nav-sub__links { display: none; }
}

/* ==========================================================================
   BUTTONS — Apple grammar
   ========================================================================== */
.x-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--x-font-text);
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 100ms ease, background var(--x-t-fast), color var(--x-t-fast);
  text-decoration: none;
}
.x-btn:active { transform: scale(0.95); }
.x-btn:focus-visible { outline: 2px solid var(--x-accent-focus); outline-offset: 2px; }

/* Primary pill (signature) */
.x-btn--primary {
  background: var(--x-accent);
  color: #ffffff;
  border-radius: var(--x-r-pill);
  padding: 11px 22px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.022em;
  min-height: 36px;
}
.x-btn--primary:hover { background: var(--x-accent-ink); text-decoration: none; }

/* Secondary ghost pill */
.x-btn--ghost {
  background: transparent;
  color: var(--x-accent);
  border: 1px solid var(--x-accent);
  border-radius: var(--x-r-pill);
  padding: 10px 22px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.022em;
  min-height: 36px;
}
.x-btn--ghost:hover { background: rgba(201, 163, 138, 0.06); text-decoration: none; }

/* Dark utility (sub-nav Buy, global utility) */
.x-btn--utility {
  background: var(--x-ink);
  color: var(--x-body-on-dark);
  border-radius: var(--x-r-sm);
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.29;
  letter-spacing: -0.224px;
}

/* Store hero (large rare 300 weight) */
.x-btn--hero {
  background: var(--x-accent);
  color: #ffffff;
  border-radius: var(--x-r-pill);
  padding: 14px 28px;
  font-size: 18px;
  font-weight: 300;          /* the rare 300 */
  line-height: 1.0;
}

/* Inline text link on light surfaces */
.x-tlink {
  color: var(--x-accent);
  text-decoration: none;
}
.x-tlink:hover { text-decoration: underline; }
.x-tlink::after {
  content: "›";
  margin-left: 4px;
  font-size: 0.9em;
  display: inline-block;
}

/* Inline text link on dark surfaces */
.x-tlink--on-dark { color: var(--x-accent-on-dark); }

/* ==========================================================================
   PRODUCT TILE — the core unit
   Full-bleed, alternating light/parchment/dark; 80px vertical padding
   No gap between tiles — color change IS the divider
   ========================================================================== */
.x-tile {
  padding: var(--x-s-section) 0;
  overflow: hidden;
}
.x-tile--light { background: var(--x-canvas); color: var(--x-ink); }
.x-tile--parchment { background: var(--x-canvas-parchment); color: var(--x-ink); }
.x-tile--dark { background: var(--x-tile-1); color: var(--x-body-on-dark); }
.x-tile--dark-2 { background: var(--x-tile-2); color: var(--x-body-on-dark); }
.x-tile--dark-3 { background: var(--x-tile-3); color: var(--x-body-on-dark); }

.x-tile--dark .x-hero-display,
.x-tile--dark .x-display-lg,
.x-tile--dark .x-display-md,
.x-tile--dark .x-lead,
.x-tile--dark .x-lead-airy,
.x-tile--dark .x-body,
.x-tile--dark .x-body-strong,
.x-tile--dark-2 .x-hero-display,
.x-tile--dark-2 .x-display-lg,
.x-tile--dark-2 .x-display-md,
.x-tile--dark-2 .x-lead,
.x-tile--dark-2 .x-body,
.x-tile--dark-3 .x-hero-display,
.x-tile--dark-3 .x-display-lg,
.x-tile--dark-3 .x-display-md,
.x-tile--dark-3 .x-lead,
.x-tile--dark-3 .x-body {
  color: var(--x-body-on-dark);
}

.x-tile__inner {
  max-width: var(--x-w-grid);
  margin: 0 auto;
  padding: 0 var(--x-pad-x);
}
.x-tile__inner--text {
  max-width: var(--x-w-text);
  text-align: center;
}

.x-tile__head { text-align: center; max-width: 780px; margin: 0 auto var(--x-s-xxl); }
.x-tile__head .x-display-lg,
.x-tile__head .x-hero-display { margin: 0 0 16px; }
.x-tile__head .x-lead { margin: 0; color: var(--x-ink); }
.x-tile--dark .x-tile__head .x-lead,
.x-tile--dark-2 .x-tile__head .x-lead,
.x-tile--dark-3 .x-tile__head .x-lead { color: var(--x-body-muted); }

.x-tile__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Product render — the only place where shadow appears */
.x-product-render {
  margin: 56px auto 0;
  max-width: 720px;
  filter: drop-shadow(var(--x-shadow-product));
}

/* ==========================================================================
   HERO TILE — single full-bleed photographic hero
   ========================================================================== */
.x-hero {
  padding: 110px 0 96px;
  background: var(--x-canvas-parchment);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.x-hero__inner {
  max-width: var(--x-w-grid);
  margin: 0 auto;
  padding: 0 var(--x-pad-x);
}
.x-hero h1 {
  margin: 0 auto 16px;
  max-width: 880px;
}
.x-hero__tagline {
  margin: 0 auto 28px;
  max-width: 720px;
  color: var(--x-ink-muted-80);
}
.x-hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.x-hero__trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 12px;
  letter-spacing: -0.12px;
  color: var(--x-ink-muted-48);
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.x-hero__trust li {
  position: relative;
  padding-left: 14px;
  font-weight: 500;
}
.x-hero__trust li::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 6px; height: 6px;
  background: var(--x-accent);
  border-radius: 50%;
  transform: translateY(-50%);
}
.x-hero__visual {
  margin: 0 auto;
  max-width: 760px;
  filter: drop-shadow(var(--x-shadow-product));
  position: relative;
  animation: x-float 8s ease-in-out infinite;
}
@keyframes x-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .x-hero__visual { animation: none; }
}

/* Light beam from above — pulses with subtle intensity change */
.x-hero__visual::before {
  content: "";
  position: absolute;
  top: -50%; left: 50%;
  width: 3px; height: 100%;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.95) 35%,
    rgba(232, 197, 168, 0.6) 70%,
    transparent 100%);
  filter: blur(0.5px);
  box-shadow:
    0 0 24px 4px rgba(255, 255, 255, 0.5),
    0 0 80px 12px rgba(232, 197, 168, 0.35);
  transform: translateX(-50%);
  animation: x-beam-pulse 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes x-beam-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.95; }
}
@media (prefers-reduced-motion: reduce) {
  .x-hero__visual::before { animation: none; opacity: 0.7; }
}

/* Crystal shimmer in hero patch — each hex pulses at different phase */
.x-hero-crystal {
  animation: x-crystal-pulse 2.6s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
.x-hero-crystal:nth-child(1) { animation-delay: 0s; }
.x-hero-crystal:nth-child(2) { animation-delay: 0.35s; }
.x-hero-crystal:nth-child(3) { animation-delay: 0.7s; }
.x-hero-crystal:nth-child(4) { animation-delay: 1.05s; }
.x-hero-crystal:nth-child(5) { animation-delay: 1.4s; }
.x-hero-crystal:nth-child(6) { animation-delay: 1.75s; }
.x-hero-crystal:nth-child(7) { animation-delay: 2.1s; }
@keyframes x-crystal-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .x-hero-crystal { animation: none; opacity: 0.9; }
}

@media (max-width: 1068px) {
  .x-hero { padding: 80px 0 64px; }
  .x-hero-display { font-size: 40px; }
}
@media (max-width: 640px) {
  .x-hero { padding: 56px 0 48px; }
  .x-hero-display { font-size: 34px; line-height: 1.1; }
}
@media (max-width: 419px) {
  .x-hero-display { font-size: 28px; }
}

/* ==========================================================================
   SECTION-SPECIFIC LAYOUTS
   ========================================================================== */

/* 3-step (Body battery, How it works) */
.x-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1180px;
  margin: 56px auto 0;
}
@media (max-width: 833px) { .x-steps { grid-template-columns: 1fr; gap: 24px; max-width: 560px; } }
.x-step {
  text-align: center;
  padding: 0;
}
.x-step__num {
  display: inline-flex;
  align-items: center; justify-content: center;
  font-family: var(--x-font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--x-accent-ink);
  background: rgba(201, 163, 138, 0.08);
  width: 36px; height: 36px;
  border-radius: var(--x-r-pill);
  margin-bottom: 20px;
  position: relative;
  animation: x-step-glow 3.4s ease-in-out infinite;
}
.x-step:nth-child(2) .x-step__num { animation-delay: 0.4s; }
.x-step:nth-child(3) .x-step__num { animation-delay: 0.8s; }
.x-step:nth-child(4) .x-step__num { animation-delay: 1.2s; }
@keyframes x-step-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 163, 138, 0); }
  50%      { box-shadow: 0 0 0 8px rgba(201, 163, 138, 0.18); }
}
@media (prefers-reduced-motion: reduce) {
  .x-step__num { animation: none; }
}
.x-tile--dark .x-step__num,
.x-tile--dark-2 .x-step__num,
.x-tile--dark-3 .x-step__num {
  color: var(--x-accent-on-dark);
  background: rgba(232, 197, 168, 0.12);
}
.x-step h3 { font-family: var(--x-font-display); font-size: 24px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 10px; }
.x-step p { font-size: 17px; line-height: 1.47; letter-spacing: -0.022em; color: var(--x-ink-muted-80); margin: 0; }
.x-tile--dark .x-step p,
.x-tile--dark-2 .x-step p,
.x-tile--dark-3 .x-step p { color: var(--x-body-muted); }

/* 4-step (How to use) */
.x-steps-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1180px;
  margin: 56px auto 0;
}
@media (max-width: 1068px) { .x-steps-4 { grid-template-columns: repeat(2, 1fr); max-width: 720px; } }
@media (max-width: 480px) { .x-steps-4 { grid-template-columns: 1fr; max-width: 360px; } }

/* Quote (Popp) */
.x-quote {
  max-width: 780px;
  margin: 64px auto 0;
  text-align: center;
}
.x-quote blockquote {
  font-family: var(--x-font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: 0.196px;
  color: var(--x-ink);
  margin: 0 0 16px;
}
.x-quote figcaption {
  font-size: 14px;
  letter-spacing: -0.224px;
  color: var(--x-ink-muted-48);
}
.x-tile--dark .x-quote blockquote { color: var(--x-body-on-dark); }
.x-tile--dark .x-quote figcaption { color: var(--x-body-muted); }

/* Peptide counter */
.x-peptide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 64px;
}
@media (max-width: 833px) { .x-peptide { grid-template-columns: 1fr; gap: 48px; } }
.x-peptide__counter {
  font-family: var(--x-font-display);
  font-size: clamp(80px, 12vw, 168px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--x-accent-ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--x-accent-ink) 0%, var(--x-accent) 50%, var(--x-accent-on-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Staggered benefit appearance — replays every time section re-enters viewport
   Uses .is-pending state from useReveal hook (toggles on viewport exit/entry) */
.x-reveal.is-pending .x-benefits .x-benefit,
.x-reveal .x-benefits .x-benefit {
  transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1), transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
.x-reveal.is-pending .x-benefits .x-benefit { opacity: 0; transform: translateY(14px); }
.x-reveal .x-benefits .x-benefit { opacity: 1; transform: translateY(0); }
.x-reveal .x-benefits .x-benefit:nth-child(1) { transition-delay: 100ms; }
.x-reveal .x-benefits .x-benefit:nth-child(2) { transition-delay: 180ms; }
.x-reveal .x-benefits .x-benefit:nth-child(3) { transition-delay: 260ms; }
.x-reveal .x-benefits .x-benefit:nth-child(4) { transition-delay: 340ms; }
.x-reveal .x-benefits .x-benefit:nth-child(5) { transition-delay: 420ms; }
@media (prefers-reduced-motion: reduce) {
  .x-reveal .x-benefits .x-benefit,
  .x-reveal.is-pending .x-benefits .x-benefit { opacity: 1; transform: none; transition: none; }
}

/* Same stagger for 3-step cards and 4-step cards and timeline items */
.x-reveal .x-step,
.x-reveal.is-pending .x-step {
  transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1), transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
.x-reveal.is-pending .x-step { opacity: 0; transform: translateY(20px); }
.x-reveal .x-step { opacity: 1; transform: translateY(0); }
.x-reveal .x-step:nth-child(1) { transition-delay: 80ms; }
.x-reveal .x-step:nth-child(2) { transition-delay: 200ms; }
.x-reveal .x-step:nth-child(3) { transition-delay: 320ms; }
.x-reveal .x-step:nth-child(4) { transition-delay: 440ms; }

.x-reveal .x-timeline__item,
.x-reveal.is-pending .x-timeline__item {
  transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1), transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
.x-reveal.is-pending .x-timeline__item { opacity: 0; transform: translateY(16px) scale(0.96); }
.x-reveal .x-timeline__item { opacity: 1; transform: translateY(0) scale(1); }
.x-reveal .x-timeline__item:nth-child(1) { transition-delay: 100ms; }
.x-reveal .x-timeline__item:nth-child(2) { transition-delay: 250ms; }
.x-reveal .x-timeline__item:nth-child(3) { transition-delay: 400ms; }

.x-reveal .x-science__card,
.x-reveal.is-pending .x-science__card,
.x-reveal .x-team-card,
.x-reveal.is-pending .x-team-card,
.x-reveal .x-leader,
.x-reveal.is-pending .x-leader,
.x-reveal .x-auth-card,
.x-reveal.is-pending .x-auth-card,
.x-reveal .x-compare__col,
.x-reveal.is-pending .x-compare__col {
  transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1), transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
.x-reveal.is-pending .x-science__card,
.x-reveal.is-pending .x-team-card,
.x-reveal.is-pending .x-leader,
.x-reveal.is-pending .x-auth-card,
.x-reveal.is-pending .x-compare__col { opacity: 0; transform: translateY(18px); }
.x-reveal .x-science__card,
.x-reveal .x-team-card,
.x-reveal .x-leader,
.x-reveal .x-auth-card,
.x-reveal .x-compare__col { opacity: 1; transform: translateY(0); }
.x-reveal .x-science__card:nth-child(1),
.x-reveal .x-team-card:nth-child(1),
.x-reveal .x-leader:nth-child(1),
.x-reveal .x-auth-card:nth-child(1),
.x-reveal .x-compare__col:nth-child(1) { transition-delay: 120ms; }
.x-reveal .x-science__card:nth-child(2),
.x-reveal .x-team-card:nth-child(2),
.x-reveal .x-leader:nth-child(2),
.x-reveal .x-auth-card:nth-child(2),
.x-reveal .x-compare__col:nth-child(2) { transition-delay: 240ms; }
.x-reveal .x-science__card:nth-child(3),
.x-reveal .x-team-card:nth-child(3),
.x-reveal .x-leader:nth-child(3),
.x-reveal .x-auth-card:nth-child(3) { transition-delay: 360ms; }
.x-reveal .x-team-card:nth-child(4),
.x-reveal .x-leader:nth-child(4) { transition-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
  .x-reveal .x-step,
  .x-reveal.is-pending .x-step,
  .x-reveal .x-timeline__item,
  .x-reveal.is-pending .x-timeline__item,
  .x-reveal .x-science__card,
  .x-reveal.is-pending .x-science__card,
  .x-reveal .x-team-card,
  .x-reveal.is-pending .x-team-card,
  .x-reveal .x-leader,
  .x-reveal.is-pending .x-leader,
  .x-reveal .x-auth-card,
  .x-reveal.is-pending .x-auth-card,
  .x-reveal .x-compare__col,
  .x-reveal.is-pending .x-compare__col { opacity: 1; transform: none; transition: none; }
}
.x-peptide__counter-label {
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--x-ink-muted-80);
  max-width: 380px;
}
.x-peptide__source {
  font-size: 12px;
  letter-spacing: -0.12px;
  color: var(--x-ink-muted-48);
  margin-top: 16px;
}
.x-benefits {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.x-benefit {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--x-divider-soft);
  align-items: start;
}
.x-benefit:last-child { border-bottom: 0; }
.x-benefit__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--x-canvas-parchment);
  border-radius: var(--x-r-md);
  color: var(--x-accent-ink);
}
.x-benefit__icon svg { width: 24px; height: 24px; }
.x-benefit__title {
  font-family: var(--x-font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.374px;
  margin: 4px 0 4px;
  color: var(--x-ink);
}
.x-benefit__desc {
  font-size: 14px;
  line-height: 1.43;
  letter-spacing: -0.224px;
  color: var(--x-ink-muted-80);
}

/* Age curve chart */
.x-age-chart {
  margin: 64px auto;
  max-width: 980px;
}
.x-age-chart svg { width: 100%; height: auto; }
.x-age-curve {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  transition: stroke-dashoffset 2.4s cubic-bezier(0.42, 0, 0.58, 1);
}
.x-age-chart svg.is-drawn .x-age-curve { stroke-dashoffset: 0; }
.x-age-fill { opacity: 0; transition: opacity 800ms ease 1.6s; }
.x-age-chart svg.is-drawn .x-age-fill { opacity: 1; }
.x-age-point { opacity: 0; transition: opacity 500ms ease; }
.x-age-chart svg.is-drawn .x-age-point:nth-of-type(1) { opacity: 1; transition-delay: 1.3s; }
.x-age-chart svg.is-drawn .x-age-point:nth-of-type(2) { opacity: 1; transition-delay: 1.9s; }

.x-age-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
  margin: 48px auto 24px;
}
@media (max-width: 640px) { .x-age-points { grid-template-columns: 1fr; } }
.x-age-point-card {
  text-align: center;
}
.x-age-point-card__age {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--x-accent-ink);
  margin-bottom: 8px;
  font-weight: 600;
}
.x-age-point-card__drop {
  font-family: var(--x-font-display);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--x-ink);
  margin-bottom: 12px;
}
.x-age-point-card p {
  font-size: 15px;
  color: var(--x-ink-muted-80);
  line-height: 1.4;
  margin: 0;
}
.x-age-x39-line {
  text-align: center;
  font-family: var(--x-font-display);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.231px;
  color: var(--x-ink);
  max-width: 720px;
  margin: 32px auto 0;
}

/* Compare (light on parchment OR dark mode) */
.x-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1080px;
  margin: 56px auto 0;
}
@media (max-width: 833px) { .x-compare { grid-template-columns: 1fr; } }
.x-compare__col {
  padding: 40px 32px;
  background: var(--x-canvas);
  border: 1px solid var(--x-hairline);
  border-radius: var(--x-r-lg);
}
.x-tile--dark .x-compare__col {
  background: var(--x-tile-2);
  border-color: rgba(255, 255, 255, 0.08);
}
.x-compare__col.is-x39 {
  background: var(--x-canvas-parchment);
  border-color: var(--x-accent);
}
.x-tile--dark .x-compare__col.is-x39 {
  background: rgba(201, 163, 138, 0.08);
  border-color: var(--x-accent);
}
.x-compare__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--x-ink-muted-48);
  margin-bottom: 12px;
}
.x-tile--dark .x-compare__tag { color: var(--x-body-muted); }
.x-compare__col.is-x39 .x-compare__tag { color: var(--x-accent-ink); }
.x-tile--dark .x-compare__col.is-x39 .x-compare__tag { color: var(--x-accent-on-dark); }
.x-compare__title {
  font-family: var(--x-font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--x-ink);
}
.x-tile--dark .x-compare__title { color: var(--x-body-on-dark); }
.x-compare__list li {
  padding: 12px 0 12px 22px;
  position: relative;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.224px;
  border-bottom: 1px solid var(--x-divider-soft);
  color: var(--x-ink-muted-80);
}
.x-compare__list li:last-child { border-bottom: 0; }
.x-compare__col.is-x39 .x-compare__list li { color: var(--x-ink); }
.x-tile--dark .x-compare__list li { color: var(--x-body-muted); border-color: rgba(255, 255, 255, 0.06); }
.x-tile--dark .x-compare__col.is-x39 .x-compare__list li { color: var(--x-body-on-dark); }
.x-compare__col.is-x39 .x-compare__list li::before {
  content: "›"; position: absolute; left: 0; color: var(--x-accent); font-weight: 600;
}
.x-compare__col:not(.is-x39) .x-compare__list li::before {
  content: "−"; position: absolute; left: 0; color: var(--x-ink-muted-48); font-weight: 600;
}
.x-tile--dark .x-compare__col:not(.is-x39) .x-compare__list li::before { color: var(--x-body-muted); }

/* Video embed */
.x-video {
  position: relative;
  max-width: 980px;
  margin: 56px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--x-r-lg);
  overflow: hidden;
  background: var(--x-surface-black);
  cursor: pointer;
  filter: drop-shadow(var(--x-shadow-product));
}
.x-video__thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.x-video:hover .x-video__thumb { transform: scale(1.02); }
.x-video__play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.x-video__play::before {
  content: "";
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--x-chip-translucent);
  backdrop-filter: blur(10px);
  position: absolute;
}
.x-video__play svg {
  position: relative;
  width: 28px; height: 28px;
  color: var(--x-ink);
  margin-left: 4px;
}
.x-video__caption {
  text-align: center;
  font-size: 14px;
  letter-spacing: -0.224px;
  color: var(--x-ink-muted-48);
  margin-top: 16px;
}
.x-tile--dark .x-video__caption,
.x-tile--dark-2 .x-video__caption,
.x-tile--dark-3 .x-video__caption { color: var(--x-body-muted); }

/* Authority bullets */
.x-auth-bullets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 56px auto 0;
  max-width: 1180px;
}
@media (max-width: 833px) { .x-auth-bullets { grid-template-columns: 1fr; max-width: 560px; } }
.x-auth-card {
  text-align: center;
}
.x-auth-card h4 {
  font-family: var(--x-font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.231px;
  color: var(--x-ink);
  margin: 0 0 12px;
}
.x-auth-card p {
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.022em;
  color: var(--x-ink-muted-80);
  margin: 0;
}

/* Timeline */
.x-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1080px;
  margin: 56px auto 0;
}
@media (max-width: 833px) { .x-timeline { grid-template-columns: 1fr; } }
.x-timeline__item { text-align: center; padding: 0 12px; }
.x-timeline__time {
  font-family: var(--x-font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--x-accent-ink);
  margin-bottom: 16px;
}
.x-timeline__item h4 {
  font-family: var(--x-font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--x-ink);
  margin: 0 0 12px;
}
.x-timeline__item p {
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--x-ink-muted-80);
  margin: 0;
}

/* Science cards (3) */
.x-science {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 56px auto 0;
  max-width: 1080px;
}
@media (max-width: 833px) { .x-science { grid-template-columns: 1fr; max-width: 480px; } }
.x-science__card {
  padding: 48px 32px;
  text-align: center;
  background: var(--x-canvas);
  border: 1px solid var(--x-hairline);
  border-radius: var(--x-r-lg);
}
.x-tile--dark .x-science__card,
.x-tile--dark-2 .x-science__card,
.x-tile--dark-3 .x-science__card {
  background: var(--x-tile-2);
  border-color: rgba(255, 255, 255, 0.06);
}
.x-science__num {
  font-family: var(--x-font-display);
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--x-accent-ink);
  margin-bottom: 20px;
}
.x-tile--dark .x-science__num,
.x-tile--dark-2 .x-science__num,
.x-tile--dark-3 .x-science__num { color: var(--x-accent-on-dark); }
.x-science__card h3 {
  font-family: var(--x-font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.231px;
  margin: 0 0 12px;
}
.x-science__card p {
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.022em;
  color: var(--x-ink-muted-80);
  margin: 0;
}
.x-tile--dark .x-science__card p { color: var(--x-body-muted); }

/* Guarantee */
.x-guarantee {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.x-guarantee__shield {
  width: 80px; height: 80px;
  margin: 0 auto 32px;
  background: var(--x-accent);
  border-radius: var(--x-r-lg);
  display: flex; align-items: center; justify-content: center;
  color: white;
  position: relative;
  animation: x-shield-pulse 4s ease-in-out infinite;
}
@keyframes x-shield-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 163, 138, 0.45), 0 8px 24px rgba(201, 163, 138, 0.25); }
  50%      { box-shadow: 0 0 0 16px rgba(201, 163, 138, 0), 0 12px 32px rgba(201, 163, 138, 0.35); }
}
@media (prefers-reduced-motion: reduce) {
  .x-guarantee__shield { animation: none; }
}
.x-guarantee__shield svg { width: 44px; height: 44px; }
.x-guarantee__sub {
  font-size: 12px;
  letter-spacing: -0.12px;
  color: var(--x-ink-muted-48);
  margin-top: 20px;
}

/* Team group wrapper — 2 groups: standard LifeWave + my extra */
.x-team-group {
  max-width: 1080px;
  margin: 0 auto 56px;
}
.x-team-group--extra { margin-top: 80px; }
.x-team-group--optional { margin-top: 64px; margin-bottom: 80px; }

.x-team-group__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--x-accent-on-dark);
  background: rgba(232, 197, 168, 0.12);
  padding: 5px 12px;
  border-radius: var(--x-r-pill);
  margin-bottom: 12px;
  border: 1px solid rgba(232, 197, 168, 0.32);
}

/* Optional perks — compact list view (less prominent than main 4 reasons) */
.x-team-optional {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}
.x-team-optional__row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(232, 197, 168, 0.24);
  border-radius: var(--x-r-md);
  align-items: start;
  transition: border-color 280ms, background 280ms;
}
.x-team-optional__row:hover {
  border-color: rgba(232, 197, 168, 0.48);
  background: rgba(232, 197, 168, 0.04);
}
.x-team-optional__icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(232, 197, 168, 0.08);
  border-radius: var(--x-r-md);
  color: var(--x-accent-on-dark);
}
.x-team-optional__icon svg { width: 20px; height: 20px; }
.x-team-optional__row h4 {
  font-family: var(--x-font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--x-body-on-dark);
  margin: 4px 0 6px;
}
.x-team-optional__row p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--x-body-muted);
  margin: 0;
}

/* Stagger replay for optional rows */
.x-reveal .x-team-optional__row,
.x-reveal.is-pending .x-team-optional__row {
  transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 700ms cubic-bezier(0.4, 0, 0.2, 1),
              border-color 280ms, background 280ms;
}
.x-reveal.is-pending .x-team-optional__row { opacity: 0; transform: translateX(-12px); }
.x-reveal .x-team-optional__row { opacity: 1; transform: translateX(0); }
.x-reveal .x-team-optional__row:nth-child(1) { transition-delay: 100ms; }
.x-reveal .x-team-optional__row:nth-child(2) { transition-delay: 220ms; }
.x-reveal .x-team-optional__row:nth-child(3) { transition-delay: 340ms; }
@media (prefers-reduced-motion: reduce) {
  .x-reveal .x-team-optional__row,
  .x-reveal.is-pending .x-team-optional__row { opacity: 1; transform: none; transition: none; }
}
.x-team-group__head {
  text-align: center;
  margin-bottom: 36px;
  padding: 0 24px;
}
.x-team-group__title {
  font-family: var(--x-font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--x-body-on-dark);
  margin: 0 0 10px;
}
.x-team-group--extra .x-team-group__title {
  color: var(--x-accent-on-dark);
}
.x-team-group__sub {
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--x-body-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Standard LifeWave package — 3 column grid of icon cards */
.x-team-standard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 833px) { .x-team-standard { grid-template-columns: 1fr; } }
@media (min-width: 834px) and (max-width: 1023px) { .x-team-standard { grid-template-columns: repeat(2, 1fr); } }
.x-team-standard__card {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--x-r-lg);
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1), border-color 280ms, background 280ms;
}
.x-team-standard__card:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 197, 168, 0.32);
  background: rgba(232, 197, 168, 0.04);
}
.x-team-standard__icon {
  width: 40px; height: 40px;
  border-radius: var(--x-r-md);
  background: rgba(232, 197, 168, 0.10);
  display: flex; align-items: center; justify-content: center;
  color: var(--x-accent-on-dark);
  margin-bottom: 16px;
}
.x-team-standard__icon svg { width: 22px; height: 22px; }
.x-team-standard__card h4 {
  font-family: var(--x-font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--x-body-on-dark);
  margin: 0 0 8px;
}
.x-team-standard__card p {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--x-body-muted);
  margin: 0;
}

/* Stagger fade-in dla standard cards (replay przy re-entry — używa is-pending) */
.x-reveal .x-team-standard__card,
.x-reveal.is-pending .x-team-standard__card {
  transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 700ms cubic-bezier(0.4, 0, 0.2, 1),
              border-color 280ms,
              background 280ms;
}
.x-reveal.is-pending .x-team-standard__card { opacity: 0; transform: translateY(16px); }
.x-reveal .x-team-standard__card { opacity: 1; transform: translateY(0); }
.x-reveal .x-team-standard__card:nth-child(1) { transition-delay: 80ms; }
.x-reveal .x-team-standard__card:nth-child(2) { transition-delay: 180ms; }
.x-reveal .x-team-standard__card:nth-child(3) { transition-delay: 280ms; }
.x-reveal .x-team-standard__card:nth-child(4) { transition-delay: 380ms; }
.x-reveal .x-team-standard__card:nth-child(5) { transition-delay: 480ms; }
.x-reveal .x-team-standard__card:nth-child(6) { transition-delay: 580ms; }
@media (prefers-reduced-motion: reduce) {
  .x-reveal .x-team-standard__card,
  .x-reveal.is-pending .x-team-standard__card { opacity: 1; transform: none; transition: none; }
}

/* Team reasons — existing block (now inside x-team-group--extra) */
.x-team-reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 833px) { .x-team-reasons { grid-template-columns: 1fr; } }
.x-team-card {
  padding: 32px;
  background: var(--x-tile-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--x-r-lg);
}
.x-team-card__num {
  font-family: var(--x-font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--x-accent-on-dark);
  margin-bottom: 16px;
}
.x-team-card h3 {
  font-family: var(--x-font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--x-body-on-dark);
  margin: 0 0 12px;
}
.x-team-card p {
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.022em;
  color: var(--x-body-muted);
  margin: 0;
}
.x-team-leaders { margin: 80px auto 56px; text-align: center; }
.x-team-leaders__title {
  font-family: var(--x-font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--x-body-on-dark);
  margin: 0 0 8px;
}
.x-team-leaders__sub {
  font-size: 14px;
  letter-spacing: -0.224px;
  color: var(--x-body-muted);
  margin: 0 0 32px;
}
.x-leaders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
.x-leader {
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--x-r-lg);
  text-align: center;
}
.x-leader.is-you {
  background: rgba(201, 163, 138, 0.10);
  border: 1px solid var(--x-accent);
}
.x-leader__rank {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--x-accent-on-dark);
  margin-bottom: 8px;
}
.x-leader__name {
  display: block;
  font-family: var(--x-font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--x-body-on-dark);
  margin-bottom: 4px;
}
.x-leader__note {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--x-body-muted);
}

/* FAQ */
.x-faq {
  max-width: 820px;
  margin: 56px auto 0;
}
.x-faq__item {
  border-bottom: 1px solid var(--x-hairline);
  padding: 24px 0;
}
.x-faq__item summary {
  font-family: var(--x-font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.231px;
  color: var(--x-ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 4px 0;
}
.x-faq__item summary::-webkit-details-marker { display: none; }
.x-faq__item summary::after {
  content: "+";
  font-size: 28px;
  font-weight: 300;
  color: var(--x-accent-ink);
  transition: transform 300ms ease;
  width: 28px;
  display: flex;
  justify-content: center;
}
.x-faq__item[open] summary::after { transform: rotate(45deg); }
.x-faq__item p {
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--x-ink-muted-80);
  margin: 16px 0 0;
  max-width: 720px;
}

/* ==========================================================================
   FOOTER — parchment, dense link columns (2.41 line-height)
   ========================================================================== */
.x-footer {
  background: var(--x-canvas-parchment);
  color: var(--x-ink-muted-80);
  padding: 64px 0 32px;
}
.x-footer__inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 var(--x-pad-x);
}
.x-footer__brand-row {
  font-family: var(--x-font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.231px;
  color: var(--x-ink);
  margin-bottom: 8px;
}
.x-footer__tagline {
  font-size: 14px;
  letter-spacing: -0.224px;
  color: var(--x-ink-muted-80);
  margin: 0 0 48px;
  max-width: 600px;
  line-height: 1.5;
}
.x-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--x-hairline);
}
@media (max-width: 833px) { .x-footer__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 480px) { .x-footer__grid { grid-template-columns: 1fr; } }
.x-footer__col h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.224px;
  color: var(--x-ink);
  margin: 0 0 12px;
}
.x-footer__col ul li {
  font-size: 17px;
  line-height: 2.41;   /* the relaxed Apple footer leading */
  letter-spacing: -0.022em;
}
.x-footer__col a { color: var(--x-ink-muted-80); }
.x-footer__col a:hover { color: var(--x-ink); text-decoration: underline; }
.x-footer__disclaimer {
  padding: 32px 0 16px;
  border-bottom: 1px solid var(--x-hairline);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: -0.12px;
  color: var(--x-ink-muted-48);
}
.x-footer__disclaimer p { margin: 8px 0; }
.x-footer__bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: -0.12px;
  color: var(--x-ink-muted-48);
}

/* ==========================================================================
   STATIC LEGAL PAGES
   ========================================================================== */
.x-legal-page {
  max-width: var(--x-w-text);
  margin: 0 auto;
  padding: 80px var(--x-pad-x) 64px;
}
.x-legal-page h1 {
  font-family: var(--x-font-display);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.07;
}
.x-legal-page h2 {
  font-family: var(--x-font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.231px;
  margin: 40px 0 12px;
}
.x-legal-page p {
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.374px;
  color: var(--x-ink-muted-80);
  margin: 12px 0;
}
.x-legal-page ul { padding-left: 24px; margin: 12px 0; }
.x-legal-page ul li {
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.374px;
  color: var(--x-ink-muted-80);
  margin-bottom: 8px;
  list-style: disc;
}
.x-legal-page a { color: var(--x-accent); }

/* Compat: keep .x-eyebrow + .x-source classes from prior version (used in legal pages) */
.x-eyebrow {
  display: inline-block;
  font-family: var(--x-font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--x-accent-ink);
  margin-bottom: 12px;
}
.x-source {
  font-size: 12px;
  letter-spacing: -0.12px;
  color: var(--x-ink-muted-48);
  margin-top: 8px;
}

/* Loading state */
.x-loading-spin {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--x-accent-on-dark), var(--x-accent), var(--x-accent-ink), var(--x-accent-on-dark));
  -webkit-mask: radial-gradient(circle at center, transparent 18px, black 19px);
          mask: radial-gradient(circle at center, transparent 18px, black 19px);
  animation: x-spin 1.2s linear infinite;
}
@keyframes x-spin { to { transform: rotate(360deg); } }
