/* Coachook public website — vanilla CSS, mobile-first.
   Brand: sage #D4EBD0, teal-navy #204051, gradient #243f59 → #8da89e, ink #1a2332. */

:root {
  --sage: #d4ebd0;
  --sage-soft: #e9f5e6;
  --teal: #204051;
  --navy: #243f59;
  --mist: #8da89e;
  --ink: #1a2332;
  --muted: #4a5868;
  --bg: #fbfdfa;
  --surface: #ffffff;
  --tint: #f1f8ef;
  --line: #dfe9e0;
  --shadow: 0 1px 2px rgba(26, 35, 50, .05), 0 12px 32px -12px rgba(32, 64, 81, .18);
  --shadow-lg: 0 30px 60px -20px rgba(32, 64, 81, .35);
  --grad: linear-gradient(135deg, #243f59, #8da89e);
  --grad-text: linear-gradient(120deg, #204051 10%, #3b6d63 90%);
  --btn-bg: #204051;
  --btn-fg: #ffffff;
  --btn-hover: #17303d;
  --focus: #2b6cb0;
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 68px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8f0ea;
    --muted: #a8b8b2;
    --bg: #0c1520;
    --surface: #13212d;
    --tint: #0f1c27;
    --line: #233544;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
    --grad-text: linear-gradient(120deg, #d4ebd0 10%, #9fc7b8 90%);
    --btn-bg: #d4ebd0;
    --btn-fg: #14303d;
    --btn-hover: #c2e0bd;
    --focus: #9ecbff;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .92rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .95rem; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 8px 20px -8px rgba(32, 64, 81, .55); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-sage { background: var(--sage); color: #14303d; }
.btn-sage:hover { background: #fff; box-shadow: 0 10px 30px -10px rgba(212, 235, 208, .7); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.link-arrow { font-weight: 700; color: var(--teal); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow--light { color: #fff; }
@media (prefers-color-scheme: dark) { .link-arrow { color: var(--sage); } }

/* Store badges (recreated, not official artwork) */
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 0; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-width: 168px; min-height: 54px; padding: 8px 18px 8px 14px;
  background: #0b0f14; color: #fff; text-decoration: none;
  border: 1px solid #3a4450; border-radius: 12px;
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(11, 15, 20, .6); border-color: #6b7787; }
.store-icon { flex: none; width: 26px; height: 26px; }
.store-text { display: flex; flex-direction: column; line-height: 1.1; }
.store-text small { font-size: .7rem; letter-spacing: .02em; opacity: .9; }
.store-text strong { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.store-buttons--light .store-btn { border-color: rgba(255, 255, 255, .35); }
.store-buttons--small .store-btn { min-width: 0; min-height: 44px; padding: 6px 14px 6px 10px; }
.store-buttons--small .store-text strong { font-size: .95rem; }
.store-buttons--small .store-icon { width: 22px; height: 22px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(26, 35, 50, .4); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.brand-icon { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 0 0 1px rgba(32, 64, 81, .08); transition: transform .4s var(--ease); }
.brand:hover .brand-icon { transform: rotate(-8deg) scale(1.06); }

.nav-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: absolute; left: 12px; right: 12px; top: calc(var(--header-h) - 4px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  padding: 12px; display: none;
}
.site-nav.is-open { display: block; animation: drop .25s var(--ease); }
html:not(.js) .site-nav { display: block; position: static; box-shadow: none; border: 0; background: none; }
.site-nav ul { display: grid; gap: 2px; }
.site-nav a:not(.btn) { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; color: var(--ink); }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { background: var(--tint); }
.nav-cta { width: 100%; margin-top: 8px; }
html:not(.js) .site-header { height: auto; position: static; }
html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 12px; }
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .site-nav { width: 100%; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, html:not(.js) .site-nav {
    position: static; display: flex; align-items: center; gap: 12px;
    background: none; border: 0; box-shadow: none; padding: 0;
  }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav a:not(.btn) { position: relative; padding: 8px 12px; font-size: .95rem; }
  .site-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
    background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .site-nav a:not(.btn):hover { background: none; }
  .site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav a[aria-current="page"] { background: none; }
  .nav-cta { width: auto; margin: 0 0 0 8px; }
}

/* ---------- Decorative blobs ---------- */
.blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; z-index: 0;
  will-change: transform;
}
.blob-1 { width: 420px; height: 420px; top: -120px; right: -120px; background: radial-gradient(circle at 30% 30%, #d4ebd0, #8da89e); }
.blob-2 { width: 360px; height: 360px; bottom: -140px; left: -140px; background: radial-gradient(circle at 60% 40%, #d4ebd0, #8da89e); opacity: .35; }
.blob-3 { width: 240px; height: 240px; top: 40%; left: 45%; background: radial-gradient(circle, #d4ebd0, transparent 70%); opacity: .6; }
.blob-dark { width: 520px; height: 520px; top: -200px; right: -160px; background: radial-gradient(circle, #8da89e, transparent 70%); opacity: .25; }
.blob-cta-1 { width: 380px; height: 380px; top: -160px; left: -80px; background: radial-gradient(circle, #8da89e, transparent 70%); opacity: .45; }
.blob-cta-2 { width: 320px; height: 320px; bottom: -160px; right: -60px; background: radial-gradient(circle, #d4ebd0, transparent 70%); opacity: .35; }
@keyframes blob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
  100% { transform: translate(-20px, 25px) scale(.95); }
}
.blob { animation: blob 20s ease-in-out infinite alternate; }
@media (prefers-color-scheme: dark) { .blob-1, .blob-3 { opacity: .22; } .blob-2 { opacity: .14; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 40px 0 56px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--sage) 65%, transparent), transparent 60%),
    linear-gradient(180deg, var(--tint), var(--bg));
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal);
}
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--sage); } }
.eyebrow--light { color: var(--sage); }
.hero .eyebrow { background: var(--surface); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow); }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: #3f9b6e; box-shadow: 0 0 0 0 rgba(63, 155, 110, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(63, 155, 110, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 155, 110, 0); } }
.hero h1 { font-size: clamp(2.3rem, 7vw, 4.1rem); font-weight: 850; letter-spacing: -.035em; margin-bottom: 20px; }
.grad-text {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%; animation: shimmer 8s ease-in-out infinite alternate;
}
@keyframes shimmer { to { background-position: 100% 0; } }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--muted); max-width: 40em; margin-bottom: 24px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; font-size: .92rem; font-weight: 600; color: var(--muted); }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; }
.hero-chips li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23204051' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat;
}
.hero-link { margin-top: 20px; }
.hero--compact { padding: 56px 0 40px; }
.hero--compact .lead { margin-inline: auto; }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-wrap { position: relative; margin: 0; padding: 24px 0 36px; }
.phone {
  position: relative; width: 270px; aspect-ratio: 9 / 18.5; padding: 10px;
  background: linear-gradient(145deg, #1d2a36, #0b1218); border-radius: 46px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2c3b48, inset 0 0 0 4px #0b1218;
  animation: float 7s ease-in-out infinite;
}
.phone-notch { position: absolute; z-index: 2; top: 18px; left: 50%; width: 84px; height: 24px; transform: translateX(-50%); background: #0b1218; border-radius: 20px; }
.phone-screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 37px; padding: 14px 14px 10px;
  background: linear-gradient(180deg, #eef7ec, #ffffff 40%); color: #1a2332;
  display: flex; flex-direction: column; font-size: 12px;
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }

.ui-status { display: flex; justify-content: space-between; padding: 2px 10px 0; font-weight: 700; font-size: 11px; }
.ui-status-icons { display: inline-flex; gap: 3px; align-items: flex-end; }
.ui-status-icons i { width: 4px; background: #1a2332; border-radius: 1px; }
.ui-status-icons i:nth-child(1) { height: 5px; } .ui-status-icons i:nth-child(2) { height: 7px; } .ui-status-icons i:nth-child(3) { height: 9px; }
.ui-topbar { display: flex; justify-content: space-between; align-items: center; margin: 22px 2px 12px; }
.ui-kicker { margin: 0; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #5b6b78; font-weight: 700; }
.ui-title { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.ui-avatar-sm, .ui-avatar-xs { display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; flex: none; }
.ui-avatar-sm { width: 32px; height: 32px; font-size: 10px; }
.ui-avatar-xs { width: 30px; height: 30px; font-size: 10px; }

.ui-deck { position: relative; flex: 1; min-height: 0; margin: 0 4px; }
.ui-card { position: absolute; inset: 0; border-radius: 22px; background: #fff; box-shadow: 0 10px 24px -12px rgba(32, 64, 81, .45); }
.ui-card--back2 { transform: translateY(16px) scale(.88); opacity: .5; }
.ui-card--back1 { transform: translateY(8px) scale(.94); opacity: .8; }
.ui-card--front { display: flex; flex-direction: column; overflow: hidden; animation: swipe 6s var(--ease) infinite; transform-origin: 50% 120%; }
@keyframes swipe {
  0%, 45% { transform: none; opacity: 1; }
  60% { transform: translateX(120%) rotate(16deg); opacity: 0; }
  61% { transform: translateY(8px) scale(.94); opacity: 0; }
  75%, 100% { transform: none; opacity: 1; }
}
.ui-photo {
  position: relative; flex: 1; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, #d4ebd0, transparent 60%), linear-gradient(160deg, #8da89e, #243f59);
}
.ui-initials { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 800; color: #204051; background: rgba(255, 255, 255, .85); }
.ui-verified {
  position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 4px;
  background: #fff; color: #204051; padding: 4px 8px; border-radius: 999px; font-size: 10px; font-weight: 800;
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .3);
}
.ui-verified svg { width: 12px; height: 12px; background: #2f7d5a; color: #fff; border-radius: 50%; padding: 2px; }
.ui-verified--lg { position: static; font-size: 12px; padding: 6px 12px; }
.ui-like {
  position: absolute; top: 14px; right: 12px; border: 2px solid #2f7d5a; color: #2f7d5a; background: rgba(255, 255, 255, .9);
  border-radius: 8px; padding: 2px 8px; font-weight: 900; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  transform: rotate(12deg); opacity: 0; animation: like 6s var(--ease) infinite;
}
@keyframes like { 0%, 30% { opacity: 0; } 42%, 55% { opacity: 1; } 60%, 100% { opacity: 0; } }
.ui-card-body { padding: 10px 12px 12px; }
.ui-name { margin: 0; font-weight: 800; font-size: 14px; }
.ui-sub { margin: 0 0 6px; color: #5b6b78; font-size: 11px; }
.ui-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.ui-tags span { background: #e9f5e6; color: #204051; border-radius: 999px; padding: 2px 8px; font-size: 10px; font-weight: 700; }
.ui-actions { display: flex; justify-content: center; gap: 22px; padding: 12px 0 8px; }
.ui-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 6px 16px -6px rgba(32, 64, 81, .4); }
.ui-btn--no { color: #b4475a; }
.ui-btn--yes { color: #fff; background: #204051; animation: pulse 6s infinite; }
@keyframes pulse { 0%, 30% { transform: scale(1); } 40% { transform: scale(1.15); } 50%, 100% { transform: scale(1); } }
.ui-tabbar { display: flex; justify-content: space-around; padding: 8px 10px 2px; border-top: 1px solid #edf2ee; }
.ui-tabbar i { width: 18px; height: 18px; border-radius: 6px; background: #dbe5de; }
.ui-tabbar i.on { background: #204051; }

/* Coach dashboard mock */
.ui-request { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 16px; padding: 10px; box-shadow: 0 8px 20px -12px rgba(32, 64, 81, .45); animation: slideIn 5s var(--ease) infinite; }
.ui-request-text { flex: 1; min-width: 0; }
.ui-request .ui-sub { margin: 0; }
.ui-accept { background: #204051; color: #fff; font-weight: 800; font-size: 10px; padding: 6px 10px; border-radius: 999px; }
@keyframes slideIn { 0% { transform: translateY(-14px); opacity: 0; } 10%, 85% { transform: none; opacity: 1; } 100% { opacity: 1; } }
.ui-section { margin: 14px 2px 6px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #5b6b78; }
.ui-sessions { display: grid; gap: 6px; }
.ui-sessions li { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 12px; padding: 8px 10px; font-weight: 600; font-size: 11px; border: 1px solid #edf2ee; }
.ui-sessions li.on { background: #204051; color: #fff; border-color: #204051; }
.ui-time { font-weight: 800; min-width: 38px; }
.ui-bars { flex: 1; min-height: 60px; display: flex; align-items: flex-end; gap: 6px; padding: 0 4px 8px; }
.ui-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #8da89e, #d4ebd0); transform-origin: bottom; animation: grow 3s var(--ease) infinite alternate; }
.ui-bars i:nth-child(2n) { animation-delay: .4s; }
.ui-bars i:nth-child(3n) { animation-delay: .8s; }
@keyframes grow { from { transform: scaleY(.55); } to { transform: scaleY(1); } }

/* Floating cards around the phone */
.float-card {
  position: absolute; z-index: 3; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow-lg);
  font-size: 12px;
}
.fc-title { margin: 0 0 8px; font-weight: 800; font-size: 12px; }
.fc-sub { margin: 0; color: var(--muted); font-size: 11px; }
.float-booking { left: -36px; top: 70px; width: 168px; animation: bob 6s ease-in-out infinite; }
.fc-days, .fc-slots { display: flex; gap: 4px; }
.fc-days span { flex: 1; text-align: center; padding: 4px 0; border-radius: 8px; font-weight: 700; color: var(--muted); }
.fc-days .on { background: var(--teal); color: #fff; }
.fc-slots { margin-top: 8px; }
.fc-slots span { flex: 1; text-align: center; padding: 5px 0; border-radius: 8px; border: 1px solid var(--line); font-weight: 700; font-size: 11px; }
.fc-slots .pick { background: var(--sage); border-color: var(--sage); color: #14303d; animation: pick 3s ease-in-out infinite; }
@keyframes pick { 0%, 100% { box-shadow: 0 0 0 0 rgba(141, 168, 158, .7); } 50% { box-shadow: 0 0 0 6px rgba(141, 168, 158, 0); } }
.float-progress { right: -40px; top: 46%; animation: bob 7s ease-in-out -2s infinite; }
.fc-chart { display: block; width: 160px; height: 64px; }
.fc-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 4s var(--ease) infinite; }
.fc-dot { animation: dotIn 4s var(--ease) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 1; } 45%, 100% { stroke-dashoffset: 0; } }
@keyframes dotIn { 0%, 40% { opacity: 0; } 50%, 100% { opacity: 1; } }
@media (prefers-color-scheme: dark) { .fc-line { stroke: #d4ebd0; } .fc-dot { fill: #d4ebd0; } }
.float-msg { left: -20px; bottom: 54px; display: flex; gap: 8px; align-items: center; animation: bob 8s ease-in-out -4s infinite; }
.fc-msg { margin: 0; font-weight: 700; }
.typing { display: inline-flex; gap: 3px; margin-top: 4px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--mist); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float-card.float-cert { top: 34%; display: flex; gap: 10px; align-items: center; width: auto; }
.cert-check { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #2f7d5a; color: #fff; flex: none; }
.float-card.float-verified { bottom: 70px; left: auto; right: -30px; padding: 8px; }
.mock-caption { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: .78rem; color: var(--muted); }
.mock-caption--inline { position: static; margin: 10px 0 0; text-align: left; }

@media (max-width: 420px) {
  .phone { width: 240px; }
  .float-booking { left: -14px; width: 150px; }
  .float-progress { right: -14px; }
  .fc-chart { width: 120px; height: 48px; }
  .float-msg { left: -8px; }
  .float-card.float-verified { right: -10px; }
}

@media (min-width: 960px) {
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 40px; }
  .phone { width: 300px; }
  .float-booking { left: -90px; top: 46%; }
  .float-progress { top: auto; bottom: 120px; }
  .float-msg { bottom: 40px; }
  .float-progress { right: -80px; }
  .float-msg { left: -70px; }
  .float-card.float-verified { right: -60px; }
  .hero--compact { padding: 88px 0 56px; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; flex: none; }
.marquee-list li {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-size: clamp(1.05rem, 2.6vw, 1.4rem); font-weight: 800; letter-spacing: -.01em; white-space: nowrap; color: var(--teal);
}
@media (prefers-color-scheme: dark) { .marquee-list li { color: var(--sage); } }
.marquee-list li::after { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 72px 0; }
.section--tight { padding: 40px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--teal); color: #fff; overflow: hidden; isolation: isolate; }
.section-dark .section-lead { color: #c9dbd4; }
.section-dark .container { position: relative; z-index: 1; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); font-weight: 850; }
.section-lead { color: var(--muted); font-size: 1.08rem; margin: 0; }
@media (min-width: 960px) { .section { padding: 104px 0; } .section--tight { padding: 48px 0; } }

/* Stats */
.stats { padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow); }
.stat-num {
  margin: 0 0 4px; font-size: clamp(1.7rem, 5vw, 2.6rem); font-weight: 900; letter-spacing: -.03em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { margin: 0; color: var(--muted); font-size: .95rem; }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* Tabs */
.tab-list {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 380px); margin: 0 auto 40px;
  padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
}
.tab-list [role="tab"] {
  position: relative; z-index: 1; min-height: 44px; border: 0; background: none; border-radius: 999px;
  font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; transition: color .3s;
}
.tab-list [role="tab"][aria-selected="true"] { color: var(--btn-fg); }
.tab-indicator {
  position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px);
  background: var(--btn-bg); border-radius: 999px; transition: transform .45s var(--ease);
}
.tabs[data-active="1"] .tab-indicator { transform: translateX(100%); }
html:not(.js) .tab-indicator { display: none; }
html:not(.js) .tab-panel + .tab-panel { margin-top: 40px; }
.tab-panel:focus-visible { outline-offset: 8px; }
.tab-panel.is-entering { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }

/* Steps with animated connector */
.steps { position: relative; display: grid; gap: 20px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px 22px 82px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step h3 { font-size: 1.12rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }
.step-num {
  position: absolute; left: 22px; top: 22px; width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center; font-weight: 900; color: #fff; background: var(--grad);
  box-shadow: 0 10px 20px -10px rgba(36, 63, 89, .8);
}
/* vertical connector on mobile */
.steps::before {
  content: ""; position: absolute; left: 43px; top: 40px; bottom: 40px; width: 2px; z-index: 0;
  background: linear-gradient(var(--mist), var(--sage)); transform-origin: top; transform: scaleY(var(--progress, 1));
  transition: transform 1.4s var(--ease);
}
.step { z-index: 1; }
.js .steps:not(.is-in)::before { --progress: 0; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .step { padding: 88px 22px 24px; }
  .step-num { left: 22px; top: 24px; }
  .steps::before {
    left: 44px; right: 44px; top: 46px; bottom: auto; width: auto; height: 2px;
    background: repeating-linear-gradient(90deg, var(--mist) 0 10px, transparent 10px 18px);
    transform-origin: left; transform: scaleX(var(--progress, 1));
  }
}

/* Feature cards with pointer spotlight */
.feature-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.feature {
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.feature::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--sage) 70%, transparent), transparent 60%);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--mist); }
.feature:hover::before { opacity: 1; }
.feature > * { position: relative; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); }
.feature-icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px;
  background: var(--sage); color: var(--teal); transition: transform .4s var(--ease);
}
.feature-icon svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature:hover .feature-icon { transform: rotate(-8deg) scale(1.08); }

/* Split + chart */
.split { display: grid; gap: 40px; align-items: center; }
.split-copy .section-lead { margin-bottom: 20px; }
.split-copy h2 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); font-weight: 850; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.check-list { display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23204051' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat;
}
.chart-card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 24px; box-shadow: var(--shadow-lg); transform: rotate(1.5deg); transition: transform .5s var(--ease); }
.chart-card:hover { transform: rotate(0) scale(1.02); }
.chart-head { display: flex; justify-content: space-between; align-items: center; }
.chart-pill { background: var(--sage); color: #14303d; font-weight: 800; font-size: .75rem; padding: 4px 10px; border-radius: 999px; }
.big-chart { display: block; width: 100%; height: auto; margin: 12px 0; overflow: visible; }
.grid-lines path { stroke: var(--line); stroke-width: 1; stroke-dasharray: 4 6; }
.big-line { fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2s var(--ease); }
.big-area { transition: opacity 1.4s .8s; }
.js .chart-card:not(.is-in) .big-line { stroke-dashoffset: 1; }
.js .chart-card:not(.is-in) .big-area { opacity: 0; }
@media (prefers-color-scheme: dark) { .big-line { stroke: var(--sage); } }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; }
.bars span { flex: 1; height: var(--h); border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--mist), var(--sage)); transform-origin: bottom; transition: transform 1s var(--ease); }
.js .chart-card:not(.is-in) .bars span { transform: scaleY(.1); }

/* Plans */
.plan-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .plan-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; } }
.plan {
  position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 24px; padding: 30px 26px; transition: transform .35s var(--ease), background-color .35s, border-color .35s;
}
.plan:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); border-color: rgba(212, 235, 208, .6); }
.plan--highlight { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); }
.plan--highlight:hover { background: #fff; }
.plan--highlight .check-list li { color: #1a2332; }
.plan-ribbon {
  position: absolute; top: -13px; left: 26px; background: var(--sage); color: #14303d; font-size: .72rem; font-weight: 900;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.plan-name { display: flex; align-items: center; gap: 8px; font-size: 1.5rem; margin-bottom: 4px; }
.plan--highlight .plan-name { color: #1a2332; }
.plan-badge { color: #2f7d5a; }
.plan-tagline { color: #c9dbd4; margin-bottom: 20px; }
.plan--highlight .plan-tagline { color: #4a5868; }
.plan .check-list li::before { background-color: var(--sage); }
.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* FAQ accordion */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); transition: border-color .3s; }
.faq-item.is-open { border-color: var(--mist); }
.faq-q { margin: 0; font-size: 1.05rem; }
.faq-q button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  min-height: 60px; padding: 18px 20px; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; border-radius: 18px;
}
.faq-icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sage); transition: transform .35s var(--ease), background-color .3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: #204051; border-radius: 2px; transition: transform .35s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-q button[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-q button[aria-expanded="true"] .faq-icon::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .4s var(--ease), visibility .4s; }
.faq-a-inner { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 20px 20px; color: var(--muted); }
.js .faq-a { grid-template-rows: 0fr; visibility: hidden; }
.js .faq-item.is-open .faq-a { grid-template-rows: 1fr; visibility: visible; }
.faq-more { text-align: center; margin-top: 28px; color: var(--muted); }
.faq-more a, .contact-card a:not(.btn) { color: var(--teal); font-weight: 700; }
@media (prefers-color-scheme: dark) { .faq-more a { color: var(--sage); } }

/* Support */
.support-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .support-grid { grid-template-columns: 1.1fr .9fr; gap: 24px; } }
.contact-card, .quick-links { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.contact-card h2, .quick-links h2 { font-size: 1.5rem; }
.contact-card .btn { max-width: 100%; white-space: normal; text-align: center; word-break: break-word; }
.quick-links ul { display: grid; gap: 8px; }
.quick-links a {
  display: flex; flex-direction: column; padding: 14px 16px; border-radius: 14px; text-decoration: none;
  border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s, background-color .25s;
}
.quick-links a:hover { transform: translateX(4px); border-color: var(--mist); background: var(--tint); }
.quick-links span { color: var(--muted); font-size: .9rem; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding: 80px 0; text-align: center; color: #fff; background: linear-gradient(135deg, #204051, #243f59 45%, #4f7470); }
.cta-inner { position: relative; z-index: 1; max-width: 760px; }
.cta-band h2 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 900; }
.cta-band p { color: #d5e4de; font-size: 1.1rem; }
.cta-band .store-buttons { justify-content: center; margin-top: 24px; }
.cta-link { margin: 24px 0 0; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-tagline { color: var(--muted); margin: 14px 0 16px; max-width: 30em; }
.footer-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 4px; }
.site-footer nav a { display: inline-block; padding: 4px 0; text-decoration: none; overflow-wrap: anywhere; }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer-legal p { margin: 0 0 6px; }

/* ---------- Hero entrance ----------
   Pure CSS so the first screen never waits on JS (or a missed
   IntersectionObserver callback) and the headline paints immediately
   for LCP. */
.hero-in { animation: hero-in .8s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms); }
@keyframes hero-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion: switch everything off ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-in { animation: none; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { width: auto; }
  .marquee-list { flex-wrap: wrap; justify-content: center; row-gap: 8px; padding: 0 20px; }
  .marquee-list[aria-hidden="true"] { display: none; }
  .fc-line { stroke-dashoffset: 0; }
  .js .chart-card:not(.is-in) .big-line { stroke-dashoffset: 0; }
  .js .chart-card:not(.is-in) .big-area { opacity: 1; }
  .js .chart-card:not(.is-in) .bars span { transform: none; }
  .js .steps:not(.is-in)::before { --progress: 1; }
  .ui-like { opacity: 0; }
}
