/* ============================================================
   EVOLV AI FITNESS — design tokens
   ============================================================ */
:root{
  --ink:#0A0C10;
  --graphite:#14171C;
  --graphite-soft:#1B1F26;
  --graphite-card:#191D24;
  --line-dark: rgba(255,255,255,0.09);
  --electric:#3B7CFF;
  --electric-soft:#6E9BFF;
  --neon:#4EFFB0;
  --paper:#EDF1F5;
  --muted:#8B93A1;

  --cream:#FBF7F1;
  --cream-card:#FFFFFF;
  --ink-light:#14171C;
  --muted-light:#6B7280;
  --electric-light:#2F5FE0;
  --neon-light:#0FA968;
  --gold:#F0B23D;

  --font-display:'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body:'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-mono:'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --radius-s:12px;
  --radius-m:20px;
  --radius-l:28px;
  --ease:cubic-bezier(.16,1,.3,1);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  background:var(--ink);
  color:var(--paper);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul,ol,dl{margin:0;padding:0;list-style:none;}
h1,h2,h3,p,figure,dl,dd{margin:0;}
button{font:inherit;cursor:pointer;background:none;border:none;color:inherit;}
input{font:inherit;}

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

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

/* ============================================================
   SCREEN MANAGEMENT
   ============================================================ */
.screen{
  display:none;
  min-height:100vh;
  width:100%;
}
.screen.is-active{display:block;}
#screen-loading.is-active{display:flex; align-items:center; justify-content:center;}
#screen-reveal[data-theme="light"]{background:var(--cream); color:var(--ink-light);}

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:40;
  background:rgba(10,12,16,0.6);
  backdrop-filter:blur(16px) saturate(140%);
  -webkit-backdrop-filter:blur(16px) saturate(140%);
  border-bottom:1px solid var(--line-dark);
}
.nav__inner{
  max-width:1240px; margin:0 auto; padding:16px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.brand{display:flex; align-items:center; gap:9px;}
.brand__mark{display:inline-flex;}
.brand__name{
  font-family:var(--font-display); font-weight:700; font-size:0.95rem;
  letter-spacing:0.03em; text-transform:uppercase; white-space:nowrap;
}
.brand__name--sm{font-size:0.85rem;}
.brand__accent{color:var(--electric-soft); font-weight:400; margin:0 1px;}
.nav__links{display:none; gap:32px; font-size:0.9rem; color:var(--muted);}
.nav__links a{transition:color .2s var(--ease);}
.nav__links a:hover{color:var(--paper);}
@media (min-width:900px){ .nav__links{display:flex;} }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 24px; border-radius:100px;
  font-family:var(--font-body); font-weight:700; font-size:0.92rem;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  white-space:nowrap;
}
.btn--primary{
  background:linear-gradient(135deg, var(--electric), #2557d6);
  color:#fff;
  box-shadow:0 8px 24px -8px rgba(59,124,255,0.6);
}
.btn--primary:hover{ transform:translateY(-2px); box-shadow:0 12px 32px -8px rgba(59,124,255,0.75); }
.btn--primary:active{ transform:translateY(0); }
.btn--ghost{
  background:rgba(255,255,255,0.04);
  border:1px solid var(--line-dark);
  color:var(--paper);
}
.btn--ghost:hover{ background:rgba(255,255,255,0.08); border-color:rgba(255,255,255,0.2); }
[data-theme="light"] .btn--ghost{ background:rgba(20,23,28,0.04); border-color:rgba(20,23,28,0.14); color:var(--ink-light); }
[data-theme="light"] .btn--ghost:hover{ background:rgba(20,23,28,0.08); }
.btn--nav{ padding:10px 20px; font-size:0.85rem; }
.btn--lg{ padding:16px 32px; font-size:1rem; }
.btn--block{ width:100%; padding:16px 24px; }
.btn svg{ transition:transform .25s var(--ease); }
.btn:hover svg{ transform:translateX(3px); }

/* ============================================================
   HERO
   ============================================================ */
.hero{ position:relative; padding:118px 24px 80px; overflow:hidden; }
.hero__bg{ position:absolute; inset:0; z-index:0; }
.hero__grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 20%, black 20%, transparent 75%);
  opacity:0.5;
}
.hero__glow{ position:absolute; border-radius:50%; filter:blur(90px); opacity:0.35; }
.hero__glow--blue{ width:520px; height:520px; background:var(--electric); top:-160px; right:-120px; }
.hero__glow--green{ width:420px; height:420px; background:var(--neon); bottom:-180px; left:-140px; opacity:0.18; }

.hero__inner{
  position:relative; z-index:1; max-width:1240px; margin:0 auto;
  display:grid; grid-template-columns:1fr; gap:56px; align-items:center;
}
@media (min-width:960px){
  .hero__inner{ grid-template-columns:1.15fr 0.85fr; gap:40px; }
}

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-mono); font-size:0.75rem; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--electric-soft); margin-bottom:20px;
}
.eyebrow--center{ justify-content:center; width:100%; }
.eyebrow__dot{ width:6px; height:6px; border-radius:50%; background:var(--neon); box-shadow:0 0 10px var(--neon); flex:none; }
[data-theme="light"] .eyebrow{ color:var(--electric-light); }

.hero__title{
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(2.4rem, 5.6vw, 4.5rem);
  line-height:1.04; letter-spacing:-0.02em; margin-bottom:22px;
}
.hero__title em{ font-style:normal; color:transparent; background:linear-gradient(120deg, var(--electric-soft), var(--neon)); -webkit-background-clip:text; background-clip:text; }
.hero__subtitle{ font-size:1.08rem; line-height:1.6; color:var(--muted); max-width:46ch; margin-bottom:34px; }
.hero__actions{ display:flex; flex-wrap:wrap; gap:14px; margin-bottom:36px; }
.hero__social{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.stars{ color:var(--gold); letter-spacing:2px; font-size:0.95rem; }
.hero__social-text{ font-size:0.88rem; color:var(--muted); }
.hero__social-text strong{ color:var(--paper); }

.hero__figure{ position:relative; display:flex; justify-content:center; }
.skeleton{ width:100%; max-width:340px; height:auto; }
.skeleton__edges line{ stroke-dasharray:26; stroke-dashoffset:26; animation:drawEdge 1.6s var(--ease) forwards; }
.skeleton__nodes circle{ opacity:0; animation:fadeInNode .6s var(--ease) forwards; }
.skeleton__nodes circle:not(.node--pulse){ fill:var(--paper); }
.skeleton__nodes .node--pulse{ fill:var(--neon); filter:drop-shadow(0 0 6px var(--neon)); animation:fadeInNode .6s var(--ease) forwards, pulseNode 2.4s ease-in-out 1.6s infinite; }
.skeleton__edges line:nth-child(1){animation-delay:.05s} .skeleton__edges line:nth-child(2){animation-delay:.12s}
.skeleton__edges line:nth-child(3){animation-delay:.12s} .skeleton__edges line:nth-child(4){animation-delay:.22s}
.skeleton__edges line:nth-child(5){animation-delay:.32s} .skeleton__edges line:nth-child(6){animation-delay:.22s}
.skeleton__edges line:nth-child(7){animation-delay:.32s} .skeleton__edges line:nth-child(8){animation-delay:.2s}
.skeleton__edges line:nth-child(9){animation-delay:.2s} .skeleton__edges line:nth-child(10){animation-delay:.3s}
.skeleton__edges line:nth-child(11){animation-delay:.4s} .skeleton__edges line:nth-child(12){animation-delay:.5s}
.skeleton__edges line:nth-child(13){animation-delay:.4s} .skeleton__edges line:nth-child(14){animation-delay:.5s}
.skeleton__nodes circle:nth-child(1){animation-delay:.5s} .skeleton__nodes circle:nth-child(2){animation-delay:.15s}
.skeleton__nodes circle:nth-child(3){animation-delay:.25s} .skeleton__nodes circle:nth-child(4){animation-delay:.25s}
.skeleton__nodes circle:nth-child(5){animation-delay:.35s} .skeleton__nodes circle:nth-child(6){animation-delay:.5s}
.skeleton__nodes circle:nth-child(7){animation-delay:.35s} .skeleton__nodes circle:nth-child(8){animation-delay:.5s}
.skeleton__nodes circle:nth-child(9){animation-delay:.3s} .skeleton__nodes circle:nth-child(10){animation-delay:.3s}
.skeleton__nodes circle:nth-child(11){animation-delay:.5s} .skeleton__nodes circle:nth-child(12){animation-delay:.6s}
.skeleton__nodes circle:nth-child(13){animation-delay:.5s} .skeleton__nodes circle:nth-child(14){animation-delay:.6s}

@keyframes drawEdge{ to{ stroke-dashoffset:0; } }
@keyframes fadeInNode{ to{ opacity:1; } }
@keyframes pulseNode{ 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.5; transform:scale(1.4); } }

.hero__figure-tag{
  position:absolute; bottom:6px; left:50%; transform:translateX(-50%);
  font-family:var(--font-mono); font-size:0.68rem; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--muted); background:rgba(255,255,255,0.04); border:1px solid var(--line-dark);
  padding:6px 14px; border-radius:100px; white-space:nowrap;
}

/* ============================================================
   SECTIONS / LAYOUT
   ============================================================ */
.section{ padding:88px 24px; max-width:1240px; margin:0 auto; }
.section--alt{ background:var(--graphite); max-width:none; }
.section--alt > *{ max-width:1240px; margin-left:auto; margin-right:auto; }
[data-theme="light"] .section--alt{ background:#F3EEE4; }

.section__head{ text-align:center; max-width:640px; margin:0 auto 52px; }
.section__head h2{ font-family:var(--font-display); font-weight:700; font-size:clamp(1.7rem,3.4vw,2.5rem); letter-spacing:-0.015em; line-height:1.15; }

/* ============================================================
   CARDS — benefits
   ============================================================ */
.grid{ display:grid; gap:20px; }
.grid--benefits{ grid-template-columns:1fr; }
@media (min-width:640px){ .grid--benefits{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:960px){ .grid--benefits{ grid-template-columns:repeat(3,1fr); } }

.card{
  background:var(--graphite-card);
  border:1px solid var(--line-dark);
  border-radius:var(--radius-m);
  padding:32px 28px;
  position:relative; overflow:hidden;
  transition:transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.card::before{
  content:''; position:absolute; inset:0; border-radius:inherit; padding:1px;
  background:linear-gradient(135deg, var(--electric), transparent 45%);
  -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  opacity:0; transition:opacity .3s var(--ease);
}
.card:hover{ transform:translateY(-4px); background:#1D222A; }
.card:hover::before{ opacity:1; }
.card__icon{
  width:46px; height:46px; border-radius:13px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(59,124,255,0.12); color:var(--electric-soft);
  margin-bottom:20px;
}
.card__icon svg{ width:22px; height:22px; }
.card h3{ font-family:var(--font-display); font-size:1.08rem; font-weight:600; margin-bottom:10px; }
.card p{ font-size:0.92rem; line-height:1.6; color:var(--muted); }

/* ============================================================
   CHECKLIST — differentials
   ============================================================ */
.checklist{
  display:grid; grid-template-columns:1fr; gap:14px 32px; max-width:960px; margin:0 auto;
}
@media (min-width:640px){ .checklist{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:960px){ .checklist{ grid-template-columns:repeat(3,1fr); } }
.checklist li{
  display:flex; align-items:center; gap:12px; font-size:0.95rem;
  padding:14px 18px; border-radius:var(--radius-s);
  background:rgba(255,255,255,0.03); border:1px solid var(--line-dark);
}
[data-theme="light"] .checklist li{ background:#fff; border-color:rgba(20,23,28,0.08); }
.checklist li::before{
  content:''; flex:none; width:18px; height:18px; border-radius:50%;
  background:linear-gradient(135deg, var(--neon), var(--electric));
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat;
}

/* ============================================================
   TIMELINE — how it works
   ============================================================ */
.timeline{
  display:grid; grid-template-columns:1fr; gap:0; max-width:900px; margin:0 auto;
  position:relative;
}
.timeline__step{ position:relative; padding:28px 0 28px 64px; border-left:1px solid var(--line-dark); margin-left:19px; }
.timeline__step:last-child{ border-left-color:transparent; }
.timeline__step::after{
  content:''; position:absolute; left:-6px; top:32px; width:12px; height:12px; border-radius:50%;
  background:var(--ink); border:2px solid var(--electric-soft); box-shadow:0 0 0 4px var(--ink);
}
[data-theme="light"] .timeline__step::after{ background:var(--cream); box-shadow:0 0 0 4px var(--cream); }
.timeline__num{
  font-family:var(--font-mono); font-size:0.78rem; color:var(--electric-soft);
  letter-spacing:0.06em; display:block; margin-bottom:8px;
}
.timeline__step h3{ font-family:var(--font-display); font-size:1.2rem; font-weight:600; margin-bottom:6px; }
.timeline__step p{ color:var(--muted); font-size:0.94rem; max-width:44ch; }

/* ============================================================
   PROMO CARD
   ============================================================ */
.promo{
  position:relative; overflow:hidden; text-align:center;
  background:linear-gradient(160deg, #14192a, #0c1526 55%, #0A0C10);
  border:1px solid rgba(110,155,255,0.25);
  border-radius:var(--radius-l);
  padding:56px 28px;
  max-width:760px; margin:0 auto;
  box-shadow:0 30px 80px -30px rgba(59,124,255,0.35);
}
.promo::before{
  content:''; position:absolute; width:400px; height:400px; border-radius:50%;
  background:var(--neon); filter:blur(120px); opacity:0.14; top:-160px; right:-100px;
}
.promo__badges{ display:flex; justify-content:center; gap:10px; flex-wrap:wrap; margin-bottom:24px; position:relative; }
.badge{
  font-family:var(--font-mono); font-size:0.7rem; letter-spacing:0.06em; text-transform:uppercase;
  padding:7px 14px; border-radius:100px; border:1px solid var(--line-dark); color:var(--muted);
}
.badge--neon{ color:#07281a; background:var(--neon); border-color:var(--neon); font-weight:700; }
.promo__eyebrow{ font-family:var(--font-mono); text-transform:uppercase; letter-spacing:0.1em; font-size:0.78rem; color:var(--electric-soft); margin-bottom:18px; position:relative; }
.promo__price{ position:relative; margin-bottom:14px; }
.promo__price-main{ display:block; font-family:var(--font-display); font-weight:700; font-size:clamp(1.8rem,4.4vw,2.7rem); letter-spacing:-0.02em; }
.promo__price-main em{ font-style:normal; background:linear-gradient(120deg, var(--neon), var(--electric-soft)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.promo__price-sub{ display:block; margin-top:8px; color:var(--muted); font-size:1rem; }
.promo__price-sub strong{ color:var(--paper); }
.promo__terms{ color:var(--muted); font-size:0.88rem; margin-bottom:28px; position:relative; }
.promo__counter{
  font-size:0.85rem; color:var(--muted); margin-bottom:30px; position:relative;
  display:inline-flex; padding:10px 18px; border-radius:100px; background:rgba(255,255,255,0.04); border:1px solid var(--line-dark);
}
.promo__counter-num{ font-family:var(--font-mono); color:var(--neon); font-weight:700; margin-right:4px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.grid--testimonials{ grid-template-columns:1fr; }
@media (min-width:900px){ .grid--testimonials{ grid-template-columns:repeat(3,1fr); } }
.testimonial{
  background:var(--graphite-card); border:1px solid var(--line-dark); border-radius:var(--radius-m);
  padding:30px 26px; display:flex; flex-direction:column; gap:14px;
}
[data-theme="light"] .testimonial{ background:#fff; border-color:rgba(20,23,28,0.08); }
.testimonial__avatar{
  width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-weight:700; color:#fff;
  background:linear-gradient(135deg, hsl(var(--hue) 80% 60%), hsl(calc(var(--hue) + 40) 80% 45%));
}
.testimonial p{ font-size:0.98rem; line-height:1.6; flex:1; }
.testimonial__name{ font-size:0.85rem; color:var(--muted); font-weight:600; }

/* ============================================================
   ABOUT
   ============================================================ */
.about__inner{ max-width:760px; margin:0 auto; text-align:center; }
.about__text{ font-size:1.15rem; line-height:1.7; color:var(--muted); }
.about__text strong{ color:var(--paper); }

/* ============================================================
   FORM CARD
   ============================================================ */
.form-card{
  max-width:520px; margin:0 auto; background:var(--graphite-card);
  border:1px solid var(--line-dark); border-radius:var(--radius-l); padding:44px 32px;
  box-shadow:0 40px 100px -40px rgba(0,0,0,0.6);
}
.form-card__head{ text-align:center; margin-bottom:32px; }
.form-card__head h2{ font-family:var(--font-display); font-weight:700; font-size:1.6rem; margin-bottom:10px; letter-spacing:-0.01em; }
.form-card__sub{ color:var(--muted); font-size:0.94rem; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:0.82rem; font-weight:600; margin-bottom:8px; color:var(--muted); }
.field input{
  width:100%; padding:14px 16px; border-radius:var(--radius-s);
  background:rgba(255,255,255,0.03); border:1px solid var(--line-dark); color:var(--paper);
  transition:border-color .2s var(--ease), background .2s var(--ease);
}
.field input::placeholder{ color:#5c6472; }
.field input:focus{ outline:none; border-color:var(--electric-soft); background:rgba(59,124,255,0.06); }
.field input.is-invalid{ border-color:#ff5c7a; }
.field__error{ display:block; min-height:18px; font-size:0.78rem; color:#ff5c7a; margin-top:6px; }
.form-card__note{ text-align:center; font-size:0.78rem; color:var(--muted); margin-top:16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer{ text-align:center; padding:48px 24px 64px; color:var(--muted); }
.footer p{ font-size:0.85rem; margin-top:8px; font-family:var(--font-mono); letter-spacing:0.03em; }

/* ============================================================
   LOADING SCREEN
   ============================================================ */
.loading{
  max-width:440px; width:100%; margin:0 auto; padding:32px 24px; text-align:center;
}
.skeleton--loading{ width:180px; margin:0 auto 8px; }
.loading__title{
  font-family:var(--font-display); font-weight:600; font-size:1.4rem; margin-bottom:10px; letter-spacing:-0.01em;
}
.dots span{ animation:dotBlink 1.4s infinite; opacity:0; }
.dots span:nth-child(2){ animation-delay:.2s; } .dots span:nth-child(3){ animation-delay:.4s; }
@keyframes dotBlink{ 0%,100%{opacity:0;} 50%{opacity:1;} }
.loading__subtitle{ color:var(--muted); font-size:0.95rem; margin-bottom:36px; }

.progress{ height:4px; border-radius:100px; background:rgba(255,255,255,0.08); overflow:hidden; margin-bottom:12px; }
.progress__bar{
  height:100%; width:0%; border-radius:100px;
  background:linear-gradient(90deg, var(--electric), var(--neon));
  transition:width .5s cubic-bezier(.4,0,.2,1);
}
.progress__meta{ display:flex; justify-content:space-between; align-items:center; font-size:0.82rem; }
.loading__message{ color:var(--muted); font-family:var(--font-mono); font-size:0.78rem; transition:opacity .3s var(--ease); }
.progress__value{ font-family:var(--font-mono); color:var(--neon); font-weight:700; }

/* ============================================================
   REVEAL SCREEN
   ============================================================ */
#confetti-canvas{ position:fixed; inset:0; pointer-events:none; z-index:5; }
.reveal{
  position:relative; z-index:2; max-width:640px; margin:0 auto; padding:100px 24px 90px; text-align:center;
}
.reveal__eyebrow{
  font-family:var(--font-mono); text-transform:uppercase; letter-spacing:0.1em; font-size:0.78rem;
  color:var(--electric-light); margin-bottom:18px;
}
.reveal__title{
  font-family:var(--font-display); font-weight:700; font-size:clamp(2.4rem,6vw,3.6rem);
  line-height:1.08; letter-spacing:-0.02em; margin-bottom:18px;
  animation:revealPop .8s var(--ease);
}
#reveal-name{ background:linear-gradient(120deg, var(--electric-light), var(--neon-light)); -webkit-background-clip:text; background-clip:text; color:transparent; }
@keyframes revealPop{ from{opacity:0; transform:translateY(18px) scale(.97);} to{opacity:1; transform:none;} }
.reveal__subtitle{ font-size:1.25rem; color:var(--muted-light); margin-bottom:44px; font-weight:600; }

.ultrasound-card{ margin-bottom:44px; }
.ultrasound-card__frame{
  position:relative; background:var(--ink); border-radius:var(--radius-l); padding:14px;
  box-shadow:0 30px 70px -30px rgba(20,23,28,0.35); max-width:400px; margin:0 auto;
}
.ultrasound-card__frame img{ border-radius:16px; width:100%; aspect-ratio:4/5; object-fit:cover; }
.ultrasound-card__hud{
  position:absolute; top:26px; left:26px; z-index:1;
  font-family:var(--font-mono); font-size:0.65rem; letter-spacing:0.05em;
  color:var(--neon); background:rgba(0,0,0,0.5); padding:5px 10px; border-radius:6px;
  border:1px solid rgba(78,255,176,0.3);
}
.ultrasound-card__zoom{
  position:absolute; bottom:26px; right:26px; z-index:1;
  width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0.12); backdrop-filter:blur(6px); color:#fff;
  border:1px solid rgba(255,255,255,0.2); transition:background .2s var(--ease), transform .2s var(--ease);
}
.ultrasound-card__zoom:hover{ background:rgba(255,255,255,0.22); transform:scale(1.06); }
.ultrasound-card figcaption{ margin-top:16px; font-size:0.88rem; color:var(--muted-light); }

.reveal__text{ text-align:left; margin-bottom:44px; }
.reveal__text p{ font-size:1.02rem; line-height:1.75; color:#374151; margin-bottom:18px; }
.reveal__prepare{ text-align:center; font-size:1.15rem !important; margin:32px 0 !important; }
.reveal__signature{ text-align:center; font-style:italic; color:var(--muted-light) !important; }

.athlete-card{
  background:var(--cream-card); border:1px solid rgba(20,23,28,0.08); border-radius:var(--radius-l);
  padding:32px 28px; margin-bottom:40px; text-align:left;
  box-shadow:0 20px 50px -30px rgba(20,23,28,0.25);
}
.athlete-card__eyebrow{
  font-family:var(--font-mono); text-transform:uppercase; letter-spacing:0.08em; font-size:0.72rem;
  color:var(--electric-light); margin-bottom:18px; text-align:center;
}
.athlete-card__stats{ display:grid; grid-template-columns:1fr; gap:14px; }
@media (min-width:520px){ .athlete-card__stats{ grid-template-columns:1fr 1fr; } }
.athlete-card__stats > div{ padding:14px 16px; background:#F7F4EE; border-radius:var(--radius-s); }
.athlete-card__stats dt{ font-family:var(--font-mono); font-size:0.68rem; text-transform:uppercase; letter-spacing:0.06em; color:var(--muted-light); margin-bottom:4px; }
.athlete-card__stats dd{ font-weight:700; font-size:0.95rem; }

.reveal__actions{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }
[data-theme="light"] .btn--primary{ box-shadow:0 8px 24px -8px rgba(47,95,224,0.4); }

/* ============================================================
   MODAL
   ============================================================ */
.modal{ position:fixed; inset:0; z-index:100; display:none; align-items:center; justify-content:center; padding:24px; }
.modal.is-open{ display:flex; }
.modal__backdrop{ position:absolute; inset:0; background:rgba(6,8,11,0.85); backdrop-filter:blur(6px); animation:fadeIn .25s var(--ease); }
.modal__content{
  position:relative; max-width:480px; width:100%; animation:modalIn .3s var(--ease);
}
.modal__content img{ border-radius:var(--radius-m); width:100%; }
.modal__close{
  position:absolute; top:-44px; right:0; width:36px; height:36px; border-radius:50%;
  background:rgba(255,255,255,0.1); color:#fff; display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,0.2);
}
.modal__close:hover{ background:rgba(255,255,255,0.2); }
@keyframes fadeIn{ from{opacity:0;} to{opacity:1;} }
@keyframes modalIn{ from{opacity:0; transform:scale(.94) translateY(10px);} to{opacity:1; transform:none;} }

/* ============================================================
   TOAST
   ============================================================ */
.toast{
  position:fixed; bottom:28px; left:50%; transform:translate(-50%, 20px);
  background:var(--graphite-card); color:var(--paper); border:1px solid var(--line-dark);
  padding:14px 22px; border-radius:100px; font-size:0.88rem; z-index:200;
  opacity:0; pointer-events:none; transition:opacity .3s var(--ease), transform .3s var(--ease);
  box-shadow:0 20px 40px -20px rgba(0,0,0,0.5);
}
.toast.is-visible{ opacity:1; transform:translate(-50%, 0); }
