/* ===========================================================================
   ASPIER — marketing site
   Premium editorial system. Cream/green light + near-black/green dark.
   =========================================================================== */

:root {
  /* Light — warm cream / deep green editorial */
  --bg:        #F4F0E6;
  --bg-2:      #ECE6D7;
  --surface:   #FBF8F1;
  --surface-2: #F3EEE2;
  --ink:       #18221C;
  --ink-soft:  #404B43;
  --muted:     #6B756C;
  --line:      rgba(24, 34, 28, 0.12);
  --line-2:    rgba(24, 34, 28, 0.06);
  --green:     #2C5A43;
  --green-2:   #3E7256;
  --sage:      #8AAE8B;
  --sage-soft: #D7E2CF;
  --gold:      #B08A3E;
  --shadow:    0 1px 2px rgba(24,34,28,.04), 0 12px 40px -16px rgba(24,34,28,.18);
  --shadow-sm: 0 1px 2px rgba(24,34,28,.05), 0 4px 16px -8px rgba(24,34,28,.14);

  --font-display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 12px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

[data-theme="dark"] {
  --bg:        #0E1310;
  --bg-2:      #121813;
  --surface:   #161D18;
  --surface-2: #1B231D;
  --ink:       #ECEFE9;
  --ink-soft:  #BAC4BB;
  --muted:     #828D83;
  --line:      rgba(236, 239, 233, 0.13);
  --line-2:    rgba(236, 239, 233, 0.06);
  --green:     #76C295;
  --green-2:   #8FD0A9;
  --sage:      #7FA585;
  --sage-soft: #25332A;
  --gold:      #D6B36A;
  --shadow:    0 1px 2px rgba(0,0,0,.3), 0 18px 50px -20px rgba(0,0,0,.6);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.5);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .5s var(--ease), color .5s var(--ease);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--sage-soft); color: var(--ink); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(72px, 11vw, 140px); }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 460;
  font-optical-sizing: auto;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
h1.display { font-size: clamp(2.7rem, 7.2vw, 5.6rem); }
h2.display { font-size: clamp(2rem, 4.6vw, 3.5rem); }
h3.display { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.12; }

.eyebrow {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  opacity: .6;
}
.lede { font-size: clamp(1.05rem, 1.6vw, 1.32rem); color: var(--ink-soft); line-height: 1.55; }
.muted { color: var(--muted); }
.serif-accent { font-family: var(--font-display); font-style: italic; font-weight: 460; color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .92em 1.5em;
  border-radius: 100px;
  font-weight: 560;
  font-size: .98rem;
  letter-spacing: -0.01em;
  transition: transform .35s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  will-change: transform;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--green); color: #FBF8F1; box-shadow: var(--shadow-sm); }
[data-theme="dark"] .btn-primary { color: #0E1310; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px color-mix(in srgb, var(--green) 60%, transparent); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--surface); border-color: color-mix(in srgb, var(--ink) 22%, transparent); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: .55em; font-weight: 600; letter-spacing: .14em; font-size: .98rem; }
.brand .mark { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .94rem; color: var(--ink-soft); transition: color .25s; position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 0;
  background: var(--green); transition: width .3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  transition: background .25s, border-color .25s, transform .4s var(--ease);
}
.theme-toggle:hover { background: var(--surface); transform: rotate(18deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }
.nav-cta { display: inline-flex; }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(120px, 18vh, 190px); padding-bottom: clamp(60px, 9vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.hero h1 { margin-top: .55rem; }
.hero h1 .ink-soft { color: var(--muted); }
.hero .lede { margin-top: 1.5rem; max-width: 30ch; }
.hero-cta { display: flex; gap: .8rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-meta { margin-top: 2rem; display: flex; gap: 1.6rem; flex-wrap: wrap; color: var(--muted); font-size: .86rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: .45em; }
.hero-meta svg { width: 15px; height: 15px; color: var(--green); }

/* Phone / device frame holding the Day Rhythm */
.device {
  position: relative;
  width: min(340px, 86vw);
  margin-inline: auto;
  aspect-ratio: 340 / 690;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--ink) 90%, #000), color-mix(in srgb, var(--ink) 70%, #000));
  box-shadow: 0 50px 100px -40px rgba(24,34,28,.5), 0 0 0 1px rgba(255,255,255,.04) inset;
}
[data-theme="dark"] .device { background: linear-gradient(160deg, #2a322c, #11160f); }
.device-screen {
  height: 100%; border-radius: 32px; overflow: hidden;
  background: var(--surface);
  display: flex; flex-direction: column;
  position: relative;
}
.device-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 24px; background: color-mix(in srgb, var(--ink) 88%, #000); border-radius: 100px; z-index: 5;
}

/* ---------- Day Rhythm component ---------- */
.dr {
  flex: 1; display: flex; flex-direction: column;
  padding: 34px 16px 16px;
}
.dr-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 6px 12px; }
.dr-head h4 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; letter-spacing: -.02em; }
.dr-head .day { font-size: .72rem; color: var(--muted); font-weight: 500; }
.dr-track {
  position: relative; flex: 1;
  margin-left: 46px;
  border-left: 1.5px solid var(--line);
}
.dr-hour {
  position: absolute; left: -46px; width: 40px; text-align: right;
  font-size: .62rem; color: var(--muted); font-variant-numeric: tabular-nums;
  transform: translateY(-50%); padding-right: 8px;
}
.dr-hour::after {
  content: ""; position: absolute; right: -1px; top: 50%; width: 5px; height: 1px; background: var(--line);
}
.dr-item {
  position: absolute; left: 10px; right: 6px;
  border-radius: 9px; padding: 6px 9px;
  font-size: .68rem; line-height: 1.25;
  display: flex; flex-direction: column; gap: 1px;
  opacity: 0; transform: translateX(8px);
  animation: drIn .6s var(--ease) forwards;
}
@keyframes drIn { to { opacity: 1; transform: none; } }
.dr-item .t { font-weight: 600; letter-spacing: -.01em; }
.dr-item .s { font-size: .6rem; opacity: .72; }
.dr-item::before {
  content: ""; position: absolute; left: -16px; top: 12px;
  width: 8px; height: 8px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 3px var(--surface);
}
.dr-busy {
  background: repeating-linear-gradient(45deg, var(--line-2) 0 6px, transparent 6px 12px);
  border: 1px dashed var(--line);
  color: var(--muted);
  border-radius: 9px;
  display: flex; align-items: flex-start;
}
.dr-busy::before { display: none; }
.dr-meal   { background: var(--surface-2); color: var(--ink); box-shadow: var(--shadow-sm); }
.dr-meal::before { color: var(--gold); }
.dr-fuel   { background: color-mix(in srgb, var(--sage-soft) 70%, transparent); color: var(--green); border: 1px solid color-mix(in srgb, var(--green) 22%, transparent); }
.dr-fuel::before { color: var(--green); }
.dr-workout{ background: var(--green); color: #FBF8F1; box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--green) 70%, transparent); }
[data-theme="dark"] .dr-workout { color: #0E1310; }
.dr-workout::before { color: #FBF8F1; box-shadow: 0 0 0 3px var(--green); }
[data-theme="dark"] .dr-workout::before { color: #0E1310; }
.dr-now { position: absolute; left: -2px; right: 6px; height: 0; z-index: 4; transition: top 1s linear; }
.dr-now::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.5px;
  background: var(--gold);
}
.dr-now::after {
  content: "NOW"; position: absolute; left: 6px; top: -7px;
  font-size: .52rem; font-weight: 700; letter-spacing: .1em;
  color: #fff; background: var(--gold); padding: 1px 5px; border-radius: 4px;
}

/* ---------- Reveal animation ----------
   Visible by default (SEO / no-JS / pre-paint safe). JS adds .pre only to
   below-the-fold elements, which then animate in via IntersectionObserver. */
.reveal { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.pre { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- Marquee (trust strip) ---------- */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.strip-inner { display: flex; gap: 3.5rem; padding: 18px 0; white-space: nowrap; animation: scroll 32s linear infinite; }
.strip:hover .strip-inner { animation-play-state: paused; }
.strip span { display: inline-flex; align-items: center; gap: .6em; font-size: .9rem; color: var(--ink-soft); font-weight: 500; }
.strip span svg { width: 16px; height: 16px; color: var(--green); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Section header ---------- */
.shead { max-width: 640px; }
.shead.center { margin-inline: auto; text-align: center; }
.shead h2 { margin-top: 1rem; }
.shead p { margin-top: 1.1rem; }

/* ---------- Positioning split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.connect-viz {
  position: relative; aspect-ratio: 1; max-width: 460px; margin-inline: auto; width: 100%;
}
.connect-viz svg { width: 100%; height: 100%; overflow: visible; }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--green) 30%, var(--line)); }
.card .ic {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--sage-soft); color: var(--green);
}
.card .ic svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -.02em; }
.card p { margin-top: 8px; font-size: .95rem; color: var(--ink-soft); line-height: 1.55; }
.card.wide { grid-column: span 2; }
@media (max-width: 560px) { .card.wide { grid-column: span 1; } }

/* feature card list of tags */
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tag { font-size: .76rem; padding: 4px 11px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-soft); }

/* ---------- Day Rhythm feature section ---------- */
.dr-feature { background: var(--bg-2); border-block: 1px solid var(--line); }
.dr-feature .split { align-items: center; }
.dr-showcase {
  display: flex; justify-content: center;
}
.dr-showcase .device { transform: rotate(-2deg); transition: transform .8s var(--ease); }
.dr-showcase .device:hover { transform: rotate(0); }
.dr-points { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 16px; }
.dr-points li { display: flex; gap: 14px; align-items: flex-start; }
.dr-points .dot { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--sage-soft); color: var(--green); display: grid; place-items: center; margin-top: 2px; }
.dr-points .dot svg { width: 15px; height: 15px; }
.dr-points strong { font-weight: 600; }
.dr-points span { display: block; color: var(--ink-soft); font-size: .94rem; margin-top: 2px; }

/* ---------- Integrations ---------- */
.integ-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 52px; }
@media (max-width: 720px) { .integ-grid { grid-template-columns: 1fr; } }
.integ {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; transition: border-color .3s, transform .4s var(--ease);
}
.integ:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--green) 28%, var(--line)); }
.integ .logo { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); }
.integ .logo svg { width: 24px; height: 24px; }
.integ h4 { font-size: 1.02rem; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.integ .dir { font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 100px; }
.dir-read { background: var(--sage-soft); color: var(--green); }
.dir-write { background: color-mix(in srgb, var(--gold) 22%, transparent); color: var(--gold); }
.dir-link { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.integ p { font-size: .9rem; color: var(--ink-soft); margin-top: 6px; }

/* ---------- AI coach band ---------- */
.coach { position: relative; overflow: hidden; }
.coach-card {
  background: var(--green); color: #F4F0E6; border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 76px); position: relative; overflow: hidden;
}
[data-theme="dark"] .coach-card { background: linear-gradient(150deg, #1c3a2c, #14241b); }
.coach-card .eyebrow { color: var(--sage); }
.coach-card .eyebrow::before { background: var(--sage); }
.coach-card h2 { color: #F8F5EC; max-width: 16ch; }
.coach-card p { color: color-mix(in srgb, #F4F0E6 82%, transparent); max-width: 52ch; margin-top: 1.2rem; }
.coach-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
@media (max-width: 760px) { .coach-feats { grid-template-columns: repeat(2, 1fr); } }
.coach-feats div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 18px; }
.coach-feats h5 { font-size: .98rem; font-weight: 600; }
.coach-feats p { font-size: .84rem; margin-top: 4px; color: color-mix(in srgb, #F4F0E6 70%, transparent); }
.coach-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(80px); background: radial-gradient(circle, rgba(138,174,139,.5), transparent 70%); top: -120px; right: -80px; pointer-events: none; }

/* ---------- Trust ---------- */
.trust { text-align: center; }
.trust-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 100px;
  padding: 12px 22px; font-weight: 500; font-size: .94rem;
}
.trust-badge svg { width: 18px; height: 18px; color: var(--green); }

/* ---------- CTA ---------- */
.cta-final { text-align: center; }
.cta-final h2 { max-width: 18ch; margin-inline: auto; }
.cta-final .hero-cta { justify-content: center; margin-top: 2.4rem; }
.taglines { margin-top: 28px; color: var(--muted); font-style: italic; font-family: var(--font-display); font-size: 1.05rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 64px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand { margin-bottom: 14px; }
.footer-col h6 { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: block; color: var(--ink-soft); font-size: .94rem; padding: 5px 0; transition: color .25s; }
.footer-col a:hover { color: var(--green); }
.footer-about { font-size: .92rem; color: var(--ink-soft); max-width: 34ch; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer-bottom .socials { display: flex; gap: 12px; }
.footer-bottom .socials a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background .25s, transform .35s var(--ease); }
.footer-bottom .socials a:hover { background: var(--surface); transform: translateY(-2px); }
.footer-bottom .socials svg { width: 17px; height: 17px; }

/* ---------- Legal pages ---------- */
.legal { padding-top: 130px; padding-bottom: 90px; }
.legal-wrap { max-width: 760px; margin-inline: auto; }
.legal .back { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); margin-bottom: 30px; transition: color .25s; }
.legal .back:hover { color: var(--green); }
.legal h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 460; letter-spacing: -.025em; line-height: 1.05; }
.legal .dates { color: var(--muted); font-size: .9rem; margin-top: 14px; margin-bottom: 8px; }
.legal-body { margin-top: 28px; }
.legal-body h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; margin-top: 48px; margin-bottom: 14px; padding-top: 20px; border-top: 1px solid var(--line); scroll-margin-top: 92px; }
.legal-body h3 { font-size: 1.1rem; font-weight: 600; margin-top: 26px; margin-bottom: 8px; scroll-margin-top: 92px; }
.legal-body :target { animation: targetGlow 2s var(--ease); }
@keyframes targetGlow { 0%, 40% { background: var(--sage-soft); box-shadow: 0 0 0 6px var(--sage-soft); border-radius: 4px; } 100% { background: transparent; box-shadow: none; } }
.legal-body p { color: var(--ink-soft); margin-bottom: 16px; }
.legal-body ul { color: var(--ink-soft); margin: 0 0 18px; padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body em { color: var(--muted); }
.legal-body table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: .94rem; }
.legal-body th, .legal-body td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); vertical-align: top; }
.legal-body th { background: var(--surface-2); font-weight: 600; color: var(--ink); }
.legal-body td { color: var(--ink-soft); }
.legal-note { margin-top: 44px; padding: 20px 22px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .88rem; color: var(--muted); font-style: italic; }

/* ---------- Built by a personal trainer ---------- */
.pt-badge {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--sage-soft); color: var(--green);
  border-radius: 100px; padding: 6px 13px; font-size: .8rem; font-weight: 600;
  letter-spacing: -.01em;
}
.pt-badge svg { width: 15px; height: 15px; }

/* PT-designed workout mock card */
.workout-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 26px 22px;
  box-shadow: var(--shadow); max-width: 400px; margin-inline: auto;
  transform: rotate(1.5deg); transition: transform .8s var(--ease);
}
.workout-card:hover { transform: rotate(0); }
.wc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.wc-tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); background: var(--sage-soft); padding: 3px 9px; border-radius: 100px; margin-bottom: 9px; }
.wc-head h4 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; line-height: 1; }
.wc-head .wc-sub { font-size: .82rem; color: var(--muted); margin-top: 5px; }
.wc-ic { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--green); color: #FBF8F1; }
[data-theme="dark"] .wc-ic { color: #0E1310; }
.wc-ic svg { width: 24px; height: 24px; }
.wc-list { list-style: none; padding: 14px 0 6px; margin: 0; }
.wc-list li { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: .94rem; }
.wc-list li:last-child { border-bottom: none; }
.wc-list li span { color: var(--ink-soft); }
.wc-list li b { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); background: var(--surface-2); padding: 3px 10px; border-radius: 8px; font-size: .86rem; }
.wc-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--green); font-weight: 500; }
.wc-foot svg { width: 16px; height: 16px; }

/* Disciplines grid */
.disc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; }
@media (max-width: 900px) { .disc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .disc-grid { grid-template-columns: 1fr; } }
.disc { text-align: left; }
.disc .ic { width: 48px; height: 48px; }
.disc .ic svg { width: 24px; height: 24px; }
.disc .lvl { display: inline-block; margin-top: 14px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--green); }

/* utilities */
.center-text { text-align: center; }
.mt-s { margin-top: 1rem; }
.hide-mobile { }
@media (max-width: 600px) { .hero-meta { gap: 1rem; } }

/* ---------- Waitlist ---------- */
.waitlist { max-width: 480px; margin: 2.4rem auto 0; }
.waitlist-row { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.waitlist-input {
  flex: 1 1 240px; min-width: 0;
  padding: .92em 1.3em;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit; font-size: .98rem; letter-spacing: -0.01em;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.waitlist-input::placeholder { color: var(--muted); }
.waitlist-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent);
}
.waitlist .btn-primary { flex: 0 0 auto; }
.waitlist .btn-primary:disabled { opacity: .65; cursor: default; transform: none; }
.waitlist-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist-note { margin-top: 14px; color: var(--muted); font-size: .86rem; }
.waitlist.is-error .waitlist-input { border-color: #C2553F; }
.waitlist-note.error { color: #C2553F; }

.waitlist-success {
  display: none;
  align-items: center; justify-content: center; gap: .6em;
  max-width: 480px; margin: 0 auto;
  padding: .92em 1.3em;
  border-radius: 100px;
  background: color-mix(in srgb, var(--green) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--green) 35%, transparent);
  color: var(--ink); font-size: 1rem; font-weight: 500;
}
.waitlist-success svg { width: 20px; height: 20px; color: var(--green); flex: 0 0 auto; }
.waitlist.is-success .waitlist-row,
.waitlist.is-success .waitlist-note { display: none; }
.waitlist.is-success .waitlist-success { display: flex; }

@media (max-width: 520px) {
  .waitlist-row { flex-direction: column; }
  .waitlist .btn-primary { width: 100%; justify-content: center; }
}
