/* THE HY YOGA — site styles. Calm, light, mobile-first. */

/* Self-hosted fonts (latin, variable weight). */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 500; font-display: swap; src: url("/assets/fonts/outfit-latin.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/figtree-latin.woff2") format("woff2"); }
/* Metric-matched fallbacks so the swap to the web font doesn't shift the layout. */
@font-face { font-family: "Outfit Fallback"; src: local("Arial"); size-adjust: 100%; ascent-override: 100%; descent-override: 26%; line-gap-override: 0%; }
@font-face { font-family: "Figtree Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }


:root {
  --green: #1f4e4a;
  --green-deep: #163b38;
  --terra: #c8553d;
  --peach: #e8836b;
  --cream: #f5efe6;
  --paper: #f8f5f0;
  --sage: #eef0ea;
  --white: #ffffff;
  --ink: #1e2b29;
  --muted: #66706d;
  --line: #e6e0d6;

  --font-head: "Outfit", "Outfit Fallback", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Figtree Fallback", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(20px, 6vw, 56px);
  --max: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 300; line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
/* Hide the "Powered by Netlify" badge if Netlify still injects it. */
#nl-badge-frame, iframe[id^="nl-"] { display: none !important; }

:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; }
.skip:focus { left: 8px; }

/* Region gating: content for the other region never shows. */
html:not([data-region="india"]) [data-show="india"],
html:not([data-region="international"]) [data-show="international"] { display: none !important; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(88px, 14vw, 152px) 0; }
.center { text-align: center; }

.eyebrow {
  display: block; font: 500 12px/1.2 var(--font-body);
  letter-spacing: 0.22em; text-transform: uppercase; color: #a8432e;
  margin-bottom: 20px;
}
.h-section { font-size: clamp(34px, 5vw, 54px); }
.lede { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 34em; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  font: 500 15px/1 var(--font-body); letter-spacing: 0.02em;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn--solid { background: var(--green); color: var(--cream); }
.btn--solid:hover { background: var(--green-deep); }
.btn--line { border-color: rgba(30, 43, 41, 0.28); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); }
.btn--light { background: var(--cream); color: var(--green-deep); }
.btn--light:hover { background: var(--white); }

.text-link {
  font-weight: 500; text-decoration: none; color: var(--green);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px; transition: color .3s var(--ease);
}
.text-link:hover { color: var(--terra); }

/* ---------- Early-bird bar ---------- */
.promo { background: var(--green); color: var(--cream); font-size: 14px; line-height: 1.45; }
.promo .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; position: relative; }
.promo p { text-align: center; padding-right: 28px; }
.promo a { color: var(--cream); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; margin-left: 4px; }
.promo-close {
  position: absolute; right: calc(var(--gutter) - 10px); top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border: 0; background: none; color: var(--cream); font-size: 22px; line-height: 1; cursor: pointer; opacity: 0.75;
}
.promo-close:hover { opacity: 1; }
@media (min-width: 760px) { .promo p { padding-right: 0; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 245, 240, 0.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand img { height: 36px; width: auto; }
.nav { display: none; }
.nav a { font-size: 15px; color: var(--muted); text-decoration: none; transition: color .3s var(--ease); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current] { background: linear-gradient(var(--terra), var(--terra)) 0 100% / 100% 1px no-repeat; padding-bottom: 4px; }
.header-cta { display: none; }
[data-nav="home"][aria-current] { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -12px; background: none; border: 0; cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 22px; height: 1px; background: var(--ink); position: relative; transition: transform .3s var(--ease), background-color .3s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 76px 0 0 0; z-index: 49; background: var(--paper);
  padding: 24px var(--gutter) 40px; display: flex; flex-direction: column; gap: 32px;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition-delay: 0s; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font: 300 30px/1.25 var(--font-head); text-decoration: none; padding: 12px 0; }
.mobile-menu .btn { align-self: flex-start; }
.mobile-menu .small { font-size: 15px; color: var(--muted); }
body.menu-open { overflow: hidden; }

@media (min-width: 1100px) {
  .nav { display: flex; gap: 30px; }
  .header-cta { display: inline-flex; min-height: 44px; padding: 0 22px; }
  .menu-btn, .mobile-menu { display: none; }
  .brand img { height: 40px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(24px, 6vw, 72px) 0 clamp(72px, 10vw, 120px); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(48px, 9vw, 92px); letter-spacing: -0.035em; line-height: 1.02; }
.hero h1 .horizon {
  display: block; width: 1.6em; height: 1px; background: var(--terra); margin: 0.28em 0 0.22em;
  transform-origin: left;
}
.hero .lede { margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 40px; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.hero-photo figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 88px; }
}

/* ---------- Philosophy ---------- */
.philosophy { background: var(--white); }
.philosophy p.quote {
  font: 300 clamp(26px, 3.8vw, 40px)/1.4 var(--font-head); letter-spacing: -0.015em;
  max-width: 24em; margin: 0 auto; color: var(--green-deep);
}
.philosophy p.quote em { font-style: normal; color: var(--terra); }
.philosophy .sig { margin-top: 32px; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Plans ---------- */
.plans-head { margin-bottom: 48px; }
.plans-head .lede { margin-top: 18px; }

.switch {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  padding: 5px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  margin: 0 auto 56px;
}
.switch-wrap { text-align: center; }
.switch button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
  padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color .35s var(--ease); white-space: nowrap;
}
.switch button[aria-selected="true"] { color: var(--cream); }
.switch .thumb {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px);
  border-radius: 999px; background: var(--green); transition: transform .45s var(--ease);
}
.switch[data-active="1"] .thumb { transform: translateX(100%); }

.plan-blurb { text-align: center; color: var(--muted); margin: -32px auto 40px; max-width: 30em; }
.switch-wrap[hidden] + .plan-blurb { margin-top: 0; }
.go-seats { text-align: center; max-width: 36em; margin: -16px auto 32px; padding: 12px 18px; border-radius: 14px; background: #fbeee6; color: #7a2e1d; font-size: 15px; line-height: 1.5; }
.go-seats b { font-weight: 600; }
.dash-note.go-admin { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; background: #fbeee6; color: #7a2e1d; }
.plans-head + .go-seats { margin-top: 0; }
.payment-note { text-align: center; margin-top: 10px; font-size: 14px; color: var(--muted); }

.plan-grid { display: grid; gap: 16px; }
/* Phones: swipe through plans sideways instead of a long stack. */
@media (max-width: 819px) {
  .plan-grid {
    grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px; scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .plan-grid::-webkit-scrollbar { display: none; }
  .plan-grid > .plan { scroll-snap-align: start; }
  .plan-grid::after { content: ""; width: 1px; }
}
@media (min-width: 820px) { .plan-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 32px 28px 28px;
}
.plan .flag {
  position: absolute; top: 28px; right: 28px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #a8432e;
}
.plan .save { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--green); background: var(--sage); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.plan h3 { font-size: 15px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.04em; }
.plan .detail { font-size: 15px; color: var(--muted); margin-top: 4px; }
@media (min-width: 820px) { .plan .detail { min-height: 3.2em; } }
.plan .amount { margin-top: 24px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.plan .now { font: 300 44px/1 var(--font-head); letter-spacing: -0.03em; }
.plan .was { font-size: 15px; color: var(--muted); text-decoration: line-through; }
.plan .per { font-size: 14px; color: var(--muted); margin-top: 8px; }
.plan .btn { margin-top: 28px; width: 100%; }

.founding-note {
  display: flex; gap: 14px; align-items: flex-start; justify-content: center;
  margin: 36px auto 0; max-width: 40em; font-size: 15px; color: var(--muted); text-align: left;
}
.founding-note b { color: var(--ink); font-weight: 600; }
.founding-note svg { flex: none; width: 20px; height: 20px; color: var(--terra); margin-top: 3px; }

/* ---------- Home visits (India, Delhi NCR only) ---------- */
.home-visits { background: var(--sage); }
.city-pick { margin: 36px 0 0; }
.city-pick p { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  border: 1px solid rgba(30, 43, 41, 0.2); background: transparent; cursor: pointer;
  padding: 11px 20px; border-radius: 999px; font-size: 15px; transition: all .3s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.home-result { margin-top: 48px; }
.home-closed {
  max-width: 34em; margin: 0 auto; text-align: center; color: var(--muted);
  padding: 28px; border-radius: 18px; background: rgba(255, 255, 255, 0.6);
}

/* ---------- Offer banner (see "Offers" further down) ---------- */
.offer { color: var(--cream); text-align: center; }
.offer h2 { font-size: clamp(30px, 4.6vw, 48px); max-width: 16em; margin: 0 auto; }
.offer-big { display: block; font-size: clamp(52px, 10vw, 104px); color: var(--peach); letter-spacing: -0.04em; line-height: 1; margin-bottom: 14px; }
.offer p { margin: 24px auto 0; max-width: 32em; color: rgba(245, 239, 230, 0.78); }
.offer .hero-actions { justify-content: center; }
.offer .offer-link { color: var(--cream); }
.offer .offer-link:hover { color: var(--peach); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 48px; align-items: center; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.about .role { font-size: 15px; color: var(--terra); letter-spacing: 0.04em; margin: 12px 0 28px; }
.about p + p { margin-top: 18px; }
.about .body { color: var(--muted); }
.about .creds { margin: 32px 0 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.about .creds li + li { margin-top: 6px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 104px; } }

/* ---------- Timings ---------- */
.timings { background: var(--white); }
.time-list { max-width: 720px; margin: 48px auto 0; }
.time-row {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.time-row:first-child { border-top: 1px solid var(--line); }
.time-row h3 { font: 500 17px var(--font-body); }
.time-row .days { font-size: 15px; color: var(--muted); grid-column: 1; }
.time-row .t { grid-column: 2; grid-row: 1 / span 2; text-align: right; font: 300 28px/1.1 var(--font-head); }
.time-row .t small { display: block; font: 400 13px var(--font-body); color: var(--muted); margin-top: 4px; }
.tz-note { text-align: center; margin-top: 24px; font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 48px auto 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font: 400 19px/1.4 var(--font-head);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1px 12px no-repeat;
  transition: transform .35s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 26px; color: var(--muted); max-width: 36em; }

/* ---------- Closing ---------- */
.closing { background: var(--green); color: var(--cream); text-align: center; }
.closing h2 { font-size: clamp(44px, 8vw, 84px); letter-spacing: -0.035em; }
.closing h2 .horizon { display: block; width: 1.2em; height: 1px; background: var(--peach); margin: 0.3em auto 0.24em; }
.closing h2 .top { color: var(--peach); }
.closing p { margin: 32px auto 40px; max-width: 28em; color: rgba(245, 239, 230, 0.78); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: rgba(245, 239, 230, 0.7); padding: 72px 0 40px; font-size: 15px; }
.footer-grid { display: grid; gap: 40px; }
.footer-brand img { height: 72px; width: auto; margin-bottom: 20px; }
.site-footer h2 { font: 500 12px var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--peach); margin: 0 0 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: var(--cream); }
.site-footer a:hover { color: var(--peach); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(245, 239, 230, 0.12); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60;
  width: 54px; height: 54px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #25a35a; color: var(--white);
  box-shadow: 0 6px 20px rgba(22, 59, 56, 0.22); transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- Inner pages ---------- */
.page-head { padding: clamp(32px, 7vw, 88px) 0 clamp(48px, 8vw, 96px); }
.page-head h1 { font-size: clamp(40px, 7vw, 72px); letter-spacing: -0.03em; max-width: 14em; }
.page-head .lede { margin-top: 24px; }
.page-head .hero-actions { margin-top: 36px; }
.page-head--center { text-align: center; }
.page-head--center h1, .page-head--center .lede { margin-left: auto; margin-right: auto; }

.split { display: grid; gap: 40px; align-items: center; }
.split-photo img { width: 100%; border-radius: 4px; object-fit: cover; }
.split .body p + p { margin-top: 16px; }
.split .body p { color: var(--muted); }
.split h2 { margin-bottom: 20px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 96px; }
  .split--flip .split-photo { order: 2; }
}

.ticks { margin-top: 24px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 16px; height: 1px; background: var(--terra); }

.steps { display: grid; gap: 32px; counter-reset: step; margin-top: 48px; }
.steps li { counter-increment: step; padding-top: 20px; border-top: 1px solid var(--line); }
.steps li::before { content: "0" counter(step); display: block; font: 300 15px var(--font-head); color: var(--terra); margin-bottom: 12px; letter-spacing: 0.08em; }
.steps h2, .steps h3 { font: 500 18px var(--font-body); margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 16px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

.class-cards { display: grid; gap: 40px; margin-top: 56px; }
.class-card { display: block; text-decoration: none; }
.class-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; transition: opacity .4s var(--ease); }
.class-card:hover img { opacity: 0.9; }
.class-card .where { display: block; margin-top: 22px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--terra); }
.class-card h3 { font-size: clamp(26px, 3vw, 32px); margin: 8px 0 10px; }
.class-card p { color: var(--muted); }
.class-card .text-link { display: inline-block; margin-top: 16px; }
@media (min-width: 820px) {
  .class-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
}

.gallery { columns: 2; column-gap: 12px; margin-top: 48px; }
.gallery figure { break-inside: avoid; margin: 0 0 12px; }
.gallery img { width: 100%; border-radius: 4px; }
.gallery figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
@media (min-width: 900px) { .gallery { columns: 3; column-gap: 20px; } .gallery figure { margin-bottom: 20px; } }

.notice {
  max-width: 36em; margin: 0 auto; text-align: center; padding: 28px; border-radius: 18px; background: var(--sage); color: var(--muted);
}
.notice a { color: var(--green); font-weight: 500; }

/* Policy / long text */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: 26px; font-weight: 400; margin: 48px 0 14px; }
.prose h3 { font: 600 17px var(--font-body); margin: 28px 0 8px; }
.prose p, .prose li { color: #3d4846; }
.prose p + p { margin-top: 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin: 12px 0; }
.prose li + li { margin-top: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; }
.prose .updated { font-size: 14px; color: var(--muted); }

/* ---------- Forms ---------- */
.form-wrap { display: grid; gap: 48px; }
@media (min-width: 960px) { .form-wrap { grid-template-columns: 1.25fr 0.75fr; gap: 80px; align-items: start; } }
.form-aside { position: relative; }
.form-aside img { width: 100%; border-radius: 4px; aspect-ratio: 4 / 5; object-fit: cover; }
.form-aside .contact-lines { margin-top: 24px; font-size: 15px; color: var(--muted); }
.form-aside .contact-lines a { color: var(--ink); }
@media (min-width: 960px) { .form-aside { position: sticky; top: 100px; } }

.form { display: grid; gap: 36px; }
.fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 18px; min-width: 0; }
.fieldset legend { font: 400 24px/1.2 var(--font-head); padding: 0; margin-bottom: 18px; letter-spacing: -0.01em; }
.fieldset legend small { display: block; font: 400 15px var(--font-body); color: var(--muted); margin-top: 6px; letter-spacing: 0; }
.row2 { display: grid; gap: 18px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--font-body); color: var(--ink);
  background: var(--white); border: 1px solid #d9d2c6; border-radius: 12px; padding: 14px 16px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease); -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31, 78, 74, 0.12); }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--terra); }
.field .err { display: none; font-size: 13px; color: #a8432e; margin-top: 6px; }
.field.invalid .err { display: block; }

.options { display: grid; gap: 10px; }
[data-batch-options] { min-height: 276px; }
@media (min-width: 640px) { [data-batch-options] { min-height: 96px; } }
[data-plan-options] { min-height: 276px; }
@media (min-width: 640px) { [data-plan-options] { min-height: 110px; } }
@media (min-width: 640px) { .options { grid-template-columns: repeat(var(--cols, 3), 1fr); } }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span {
  display: block; height: 100%; padding: 16px 18px; border: 1px solid #d9d2c6; border-radius: 14px; background: var(--white);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.option b { display: block; font-weight: 600; font-size: 15px; }
.option small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; line-height: 1.45; }
.option input:checked + span { border-color: var(--green); background: #f1f5f3; box-shadow: inset 0 0 0 1px var(--green); }
.option input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); cursor: pointer; }
.check input, .field .check input {
  -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; padding: 0;
  border: 1.5px solid #b9b1a3; border-radius: 6px; background: var(--white) center / 14px 14px no-repeat; cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.check input:checked, .field .check input:checked {
  background-color: var(--green); border-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.check input:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(31, 78, 74, 0.18); }
.field.invalid .check input:not(:checked) { border-color: var(--terra); }
.check a { color: var(--green); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.phone-row { display: flex; gap: 8px; }
.phone-row input[name="phone"] { flex: 1; min-width: 0; }
.phone-cc { display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid #d9d2c6; border-radius: 12px; background: var(--sage); font-weight: 500; color: var(--ink); }
.phone-row .phone-dial { width: 84px; flex: none; }
.coupon-row { display: flex; gap: 10px; }
.coupon-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: 0.06em; }
.coupon-row .btn { min-height: 50px; padding: 0 22px; flex: none; }
[data-coupon-msg].ok { color: var(--green); font-weight: 500; }
[data-coupon-msg].bad { color: #a8432e; }
.plan-chosen { padding: 16px 20px; border-radius: 14px; background: var(--sage); font-size: 15px; }
.plan-chosen b { font-weight: 600; }
.form-error { padding: 14px 18px; border-radius: 12px; background: #fbeee9; color: #8f3a26; font-size: 15px; }
.form .btn[disabled] { opacity: 0.6; cursor: wait; }

.success { text-align: center; padding: clamp(32px, 6vw, 64px) 24px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.trial-used .hero-actions { justify-content: center; margin-top: 28px; }
.trial-used h2 { margin-top: 10px; }
.success .tick { width: 56px; height: 56px; margin: 0 auto 24px; border-radius: 50%; background: var(--sage); color: var(--green); display: flex; align-items: center; justify-content: center; }
.success h2 { font-size: clamp(30px, 4vw, 40px); }
.success p { color: var(--muted); max-width: 30em; margin: 16px auto 0; }
.success .hero-actions { justify-content: center; }

/* ---------- Continue with Google ---------- */
.google-fill { display: grid; gap: 12px; justify-items: start; }
.google-btn { min-height: 44px; width: 100%; max-width: 360px; }
.or-line { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 8px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Student dashboard ---------- */
.dash { padding: clamp(28px, 5vw, 64px) 0 clamp(72px, 10vw, 120px); }
.muted { color: var(--muted); }
.dash-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: clamp(24px, 4vw, 36px); }
.dash-date { font-size: 14px; color: var(--muted); letter-spacing: 0.02em; margin-bottom: 8px; }
.dash-hello { font-size: clamp(38px, 6vw, 60px); }
.dash-sub { color: var(--muted); font-size: clamp(16px, 2vw, 18px); margin-top: 10px; }
.dash-me { flex: none; display: flex; align-items: center; gap: 14px; }
.dash-top > div:first-child { min-width: 0; }
@media (max-width: 600px) { .dash-me { flex-direction: column; gap: 6px; } .dash-me .text-link { font-size: 14px; } }
.dash-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--sage); color: var(--green); font: 500 15px var(--font-body); letter-spacing: 0.04em; }
.dash-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Tabs */
.dash-tabs { display: flex; gap: 4px; margin: 0 calc(var(--gutter) * -1) clamp(24px, 4vw, 32px); padding: 0 var(--gutter); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.dash-tabs::-webkit-scrollbar { display: none; }
.dash-tabs [role="tab"] { flex: none; border: 0; background: none; cursor: pointer; padding: 14px 16px 15px; margin-bottom: -1px; font-size: 15px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; transition: color .2s var(--ease), border-color .2s var(--ease); }
.dash-tabs [role="tab"]:first-child { padding-left: 0; }
.dash-tabs [role="tab"]:hover { color: var(--ink); }
.dash-tabs [role="tab"][aria-selected="true"] { color: var(--green); border-bottom-color: var(--green); }
.tab-dot { display: inline-block; width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: var(--terra); vertical-align: 2px; box-shadow: 0 0 0 3px rgba(194, 106, 79, .18); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.dash-card.profile-todo { background: #fbeee6; border-color: #f0d6c6; }
.profile-todo .nudge-title { color: #7a2e1d; }
.profile-todo .muted { margin-top: 4px; }
@media (min-width: 720px) { .dash-tabs { margin-left: 0; margin-right: 0; padding: 0; } }
.dash-panel { display: grid; gap: 20px; animation: dashIn .35s var(--ease); }
@keyframes dashIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dash-panel { animation: none; } }
.dash-cols { display: grid; gap: 20px; }
@media (min-width: 900px) { .dash-cols { grid-template-columns: 1fr 1fr; } }

/* Cards */
.dash-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 32px); min-width: 0; }
.dash-card h2 { font: 500 12px/1.4 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: #a8432e; margin-bottom: 18px; }
.dash-big { font: 300 clamp(24px, 3vw, 30px)/1.2 var(--font-head); margin-bottom: 6px; }
.dash-empty-title { font: 400 22px/1.3 var(--font-head); margin-bottom: 8px; }
.dash-note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.dash-note:empty { display: none; }

/* Hero: the one thing that matters right now */
.dash-hero { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(26px, 5vw, 44px); background: var(--green); color: var(--cream); }
.dash-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 131, 107, 0.28), transparent 70%); pointer-events: none; }
.hero-eyebrow { display: inline-block; font: 500 12px/1 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: #f3c9bc; margin-bottom: 16px; }
.hero-when { font: 300 clamp(30px, 5vw, 46px)/1.1 var(--font-head); letter-spacing: -0.02em; max-width: 18em; }
.hero-meta { margin-top: 12px; color: rgba(245, 239, 230, 0.86); font-size: 16px; max-width: 40em; }
.hero-foot { margin-top: 16px; color: rgba(245, 239, 230, 0.72); font-size: 14px; max-width: 40em; }
.dash-hero .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; position: relative; z-index: 1; }
.btn--cream { background: var(--cream); color: var(--green-deep); }
.btn--cream:hover { background: var(--white); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.text-link.on-dark { color: var(--cream); }
.text-link.on-dark:hover { color: #f3c9bc; }
.form-error.on-dark { margin-top: 16px; }
button.text-link { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; font-size: 15px; }
.cal-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.hero-actions .cal-btns .text-link { font-size: 14px; }

/* Journey */
.journey { display: grid; gap: 0; }
.journey li { position: relative; display: flex; gap: 16px; padding-bottom: 22px; }
.journey li:last-child { padding-bottom: 0; }
.journey li:not(:last-child)::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 2px; width: 1px; background: var(--line); }
.journey li.j-done:not(:last-child)::before { background: var(--green); opacity: 0.35; }
.j-dot { flex: none; width: 23px; height: 23px; border-radius: 50%; border: 1.5px solid #cfc7ba; background: var(--white); margin-top: 1px; display: grid; place-items: center; }
.j-done .j-dot { background: var(--green); border-color: var(--green); }
.j-done .j-dot::after { content: ""; width: 9px; height: 5px; border: solid var(--cream); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.j-skip .j-dot { border-style: dashed; }
.j-now .j-dot { border-color: var(--terra); box-shadow: 0 0 0 5px rgba(200, 85, 61, 0.12); }
.j-now .j-dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--terra); }
.journey b { display: block; font-weight: 600; font-size: 16px; line-height: 1.4; }
.journey li > div > span { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 2px; }
.j-todo b { color: var(--muted); font-weight: 500; }

/* This week / timetable */
.week li, .timetable li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.week li:first-child, .timetable li:first-child { border-top: 0; padding-top: 0; }
.wk-day { font-weight: 500; }
.wk-day small, .wk-time small, .tt-time small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.wk-time, .tt-time { text-align: right; font-variant-numeric: tabular-nums; }
.week li.is-next .wk-day::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--terra); margin-right: 10px; vertical-align: middle; }
.wk-live { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terra); }
.timetable b { display: block; font-weight: 600; }
.timetable li > div > span { color: var(--muted); font-size: 14px; }
.timetable li.mine b { color: var(--green); }
.mine-tag { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terra); vertical-align: 2px; }

/* Upcoming classes */
.upcoming li { display: flex; align-items: center; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); }
.upcoming li:first-child { border-top: 0; padding-top: 0; }
.up-date { flex: none; width: 54px; height: 58px; border-radius: 14px; background: var(--sage); display: grid; place-content: center; text-align: center; line-height: 1.1; }
.up-date b { font: 400 22px var(--font-head); color: var(--green); }
.up-date span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.up-body { flex: 1; min-width: 0; }
.up-title { font-weight: 600; }
.up-body .muted { font-size: 14px; }
.up-tag { flex: none; font-size: 13px; font-weight: 500; color: var(--terra); }
.up-cal { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 520px) { .up-tag { display: none; } }

/* Practice log */
.pr-stats { display: flex; gap: 36px; margin-bottom: 20px; }
.pr-stats b { display: block; font: 300 40px/1 var(--font-head); color: var(--green); }
.pr-stats span { font-size: 14px; color: var(--muted); }
.pr-dots { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; margin-bottom: 22px; }
.pr-dots li { aspect-ratio: 1; border-radius: 50%; background: var(--sage); display: grid; place-items: center; }
.pr-dots li span { font-size: 10px; color: var(--muted); }
.pr-dots li.on { background: var(--green); }
.pr-dots li.on span { color: var(--cream); }
.pr-dots li.today { box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--terra); }

/* Ticks list */
.checklist { display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.55; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--sage); }
.checklist li::after { content: ""; position: absolute; left: 7px; top: 10px; width: 6px; height: 4px; border: solid var(--green); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }

/* Help */
.dash-help { display: grid; gap: 20px; }
@media (min-width: 900px) { .dash-help { grid-template-columns: 1fr auto; align-items: center; } .dash-help h2 { margin-bottom: 8px; } }
.help-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.help-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.help-btn:hover { border-color: var(--green); background: var(--white); }
.dash-help .dash-note { grid-column: 1 / -1; margin-top: 0; }
.i { width: 18px; height: 18px; flex: none; background: var(--green); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.i-chat { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20.5l1.4-5A8 8 0 1 1 21 12z'/%3E%3C/svg%3E"); }
.i-cal { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.i-heart { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.6-7.5-10.2A4.3 4.3 0 0 1 12 7a4.3 4.3 0 0 1 7.5 2.8C19.5 15.4 12 20 12 20z'/%3E%3C/svg%3E"); }

/* Plan */
.plan-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 20px; margin-bottom: 22px; }
.plan-head h2 { margin-bottom: 10px; }
.status { display: inline-block; font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--paper); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.status--ok { background: #e9f1ec; color: var(--green); border-color: transparent; }
.status--wait { background: #fbf1e4; color: #8a5a1f; border-color: transparent; }
.facts { display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 12px 24px; margin: 0; }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.plan-tip { margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: var(--sage); font-size: 15px; }
.mini-plans { display: grid; gap: 10px; margin-top: 20px; }
@media (min-width: 640px) { .mini-plans { grid-template-columns: repeat(3, 1fr); } }
.mini-plans li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; }
.mini-plans b { display: block; font-weight: 600; }
.mini-plans span { color: var(--muted); font-size: 15px; }
.dash-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.dash-list li:first-child { border-top: 0; padding-top: 0; }
.dash-list b { display: block; font-weight: 600; }
.dash-list .muted { font-size: 15px; }
.dash-meta { display: flex; align-items: center; gap: 12px; }
.dash-meta small { color: var(--muted); }

/* Profile */
.dash-card .form { gap: 22px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-foot .dash-note { margin-top: 0; }

/* Loading skeleton */
.sk { border-radius: 14px; background: linear-gradient(90deg, #eee9e1 0%, #f6f2ec 50%, #eee9e1 100%); background-size: 200% 100%; animation: skShine 1.4s ease-in-out infinite; margin-bottom: 16px; }
.sk-line { height: 14px; }
.sk-title { height: 52px; width: min(320px, 70%); margin-bottom: 28px; }
.sk-tabs { height: 20px; width: min(420px, 90%); margin-bottom: 28px; }
.sk-hero { height: 220px; border-radius: 24px; margin-bottom: 20px; }
.sk-card { height: 200px; border-radius: 20px; margin-bottom: 0; }
@keyframes skShine { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }
.header-login { display: none; font-size: 15px; color: var(--ink); text-decoration: none; }
.header-login:hover { color: var(--terra); }
@media (min-width: 1100px) { .header-login { display: inline; } .site-header .wrap > .header-login { margin-left: auto; margin-right: -4px; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.js .hero h1 .horizon { transform: scaleX(0); }
.js.loaded .hero h1 .horizon { transform: scaleX(1); transition: transform 1.2s var(--ease) .3s; }
.fade { animation: fade .6s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .js .hero h1 .horizon { transform: none; }
}

/* ---------- Dashboard: nudges, ratings, classes, health, family, reminders ---------- */
.nudge { display: grid; gap: 14px 24px; border-color: #e9d9cf; background: #fffaf6; }
@media (min-width: 760px) { .nudge { grid-template-columns: 1fr auto; align-items: center; } .nudge .dash-note { grid-column: 1 / -1; } }
.nudge-title { font: 400 21px/1.3 var(--font-head); margin-bottom: 6px; }
.nudge .muted { font-size: 15px; }
.nudge-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.nudge .rate-more { margin-top: 18px; }
.nudge .rate-more .form-foot { margin-top: 14px; }
.stars { display: flex; gap: 6px; margin-top: 10px; }
.stars button { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); font-size: 22px; line-height: 1; color: #d6cfc4; cursor: pointer; transition: color .15s, border-color .15s, transform .15s; }
.stars button:hover { transform: translateY(-1px); border-color: #e2b45c; }
.stars button.on { color: #e2a23b; border-color: #efd29a; background: #fff8ea; }

.k-tag { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--sage); color: var(--green); vertical-align: 2px; }
.k-master { background: #fbefe9; color: #a8432e; }
.is-cancelled .up-title, .is-cancelled .wk-day { text-decoration: line-through; color: var(--muted); }
.up-cal-link { flex: none; font-size: 14px; color: var(--green); text-decoration: none; font-weight: 500; }
.up-cal-link:hover { color: var(--terra); }
.upcoming li { flex-wrap: wrap; }
.week .wk-day small { display: block; }

.section-intro { font-size: 15px; margin: -6px 0 22px; max-width: 46em; }
.row3 { display: grid; gap: 18px; }
@media (min-width: 640px) { .row3 { grid-template-columns: repeat(3, 1fr); } }
[data-health-fields], .member-form { display: grid; gap: 18px; }
.conds { border: 0; padding: 0; margin: 4px 0 0; min-width: 0; }
.conds legend { font-size: 14px; font-weight: 500; margin-bottom: 10px; padding: 0; }
.conds legend .opt { color: var(--muted); font-weight: 400; margin-left: 6px; }
.cond-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { position: relative; cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span { display: inline-block; padding: 8px 14px; border: 1px solid #d9d2c6; border-radius: 999px; font-size: 14px; background: var(--white); transition: background-color .15s, border-color .15s; }
.chip-check input:checked + span { background: #e9f1ec; border-color: var(--green); color: var(--green-deep); }
.chip-check input:checked + span::before { content: "✓ "; }
.chip-check input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }

.fam-list { display: grid; gap: 0; }
.fam-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.fam-list li:first-child { border-top: 0; padding-top: 0; }
.fam-av { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--green); font-weight: 600; }
.fam-list li > div { flex: 1; min-width: 0; }
.fam-list b { display: block; font-weight: 600; }
.fam-list li > div > span { display: block; color: var(--muted); font-size: 14px; }
.fam-conds { font-size: 13px !important; color: #8a5a1f !important; margin-top: 2px; }
.fam-state { flex: none; font-size: 13px; color: #8a5a1f; }
.fam-state.ok { color: var(--green); }
.fam-actions { display: flex; gap: 16px; flex: none; }
.muted-link { color: var(--muted) !important; }
.member-editor { margin-top: 20px; padding: clamp(18px, 3vw, 26px); border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.member-title { font: 400 22px/1.3 var(--font-head); }

.notify-form { gap: 18px !important; }
.toggle { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-ui { flex: none; position: relative; width: 44px; height: 26px; border-radius: 999px; background: #d9d2c6; transition: background-color .2s; margin-top: 2px; }
.toggle-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.toggle input:checked + .toggle-ui { background: var(--green); }
.toggle input:checked + .toggle-ui::after { transform: translateX(18px); }
.toggle input:focus-visible + .toggle-ui { outline: 2px solid var(--terra); outline-offset: 2px; }
.toggle b { display: block; font-weight: 600; }
.toggle small { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; }
.fam-list .fam-actions { flex: none; }

/* ---------- /feedback/ ---------- */
.fb-page { padding: clamp(40px, 8vw, 96px) 0; }
.fb-wrap { max-width: 640px; }
.fb-title { font-size: clamp(28px, 4.4vw, 40px); margin-bottom: 20px; }
.stars--big button { width: 54px; height: 54px; font-size: 26px; }
.fb-form { margin-top: 26px; gap: 18px !important; }
.fb-google { margin-top: 26px; padding: 18px 20px; border-radius: 14px; background: var(--sage); display: grid; gap: 12px; justify-items: start; font-size: 15px; }

/* ---------- /admin/ ---------- */
.admin .dash-hello { font-size: clamp(34px, 5vw, 48px); }
.tab-count { color: var(--terra); font-weight: 600; }
.stat-row { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .stat-row { grid-template-columns: repeat(6, 1fr); } }
.stat { text-align: left; border: 1px solid var(--line); background: var(--white); border-radius: 16px; padding: 16px 18px; cursor: pointer; font: inherit; color: inherit; }
.stat:hover { border-color: var(--green); }
.stat b { display: block; font: 300 30px/1.1 var(--font-head); color: var(--green); }
.stat span { font-size: 13px; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters input, .filters select, .add-person select, .batch-row input[type=url] { min-height: 46px; border: 1px solid #d9d2c6; border-radius: 12px; padding: 0 14px; font: inherit; font-size: 15px; background: var(--white); color: var(--ink); }
.filters input { flex: 1 1 240px; }
.admin-list { display: grid; gap: 10px; }
.admin-item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.admin-item > details > summary, .fb-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; cursor: pointer; list-style: none; }
.admin-item > details > summary::-webkit-details-marker { display: none; }
.admin-item > details[open] > summary { border-bottom: 1px solid var(--line); }
.ai-main { min-width: 0; }
.ai-main b { display: block; font-weight: 600; }
.ai-main > span { display: block; color: var(--muted); font-size: 14px; }
.ai-side { font-size: 13px; flex: none; }
.ai-body { padding: 18px 20px 22px; display: grid; gap: 20px; }
.lead-form, .trial-form { display: grid; gap: 14px; }
.trial-form { padding: 18px; border-radius: 14px; background: var(--paper); }
.tf-title { font-weight: 600; }
.dt-row { display: flex; gap: 8px; }
.dt-row input { flex: 1; min-width: 0; }
.st-new { background: #fbefe9; color: #a8432e; border-color: transparent; }
.st-contacted, .st-trial_booked { background: #fbf1e4; color: #8a5a1f; border-color: transparent; }
.st-converted { background: #e9f1ec; color: var(--green); border-color: transparent; }
.health-grid { display: grid; gap: 12px; }
@media (min-width: 760px) { .health-grid { grid-template-columns: repeat(2, 1fr); } }
.health { padding: 14px 16px; border-radius: 14px; background: var(--paper); font-size: 14px; display: grid; gap: 4px; }
.h-who { font-weight: 600; font-size: 15px; }
.h-cond { color: #8a5a1f; font-weight: 500; }
.fb-item { cursor: default; align-items: flex-start; }
.fb-stars { color: #e2a23b; margin-left: 6px; letter-spacing: 1px; }
.fb-text { margin-top: 8px; font-size: 15px; }
.fb-q { padding: 10px 12px; border-radius: 10px; background: #fbf1e4; }
.week-nav { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.week-label { font: 400 22px/1.2 var(--font-head); flex: 1; text-align: center; }
.week-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.day-card h2 { margin-bottom: 12px; }
.day-card.is-today { border-color: var(--green); }
.sess { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.day-card .sess:first-of-type, [data-today-sessions] .sess:first-child { border-top: 0; padding-top: 4px; }
.sess-time { flex: none; width: 92px; }
.sess-time b { display: block; font: 400 20px/1.2 var(--font-head); color: var(--green); }
.sess-time span { font-size: 13px; color: var(--muted); }
.sess-main { flex: 1; min-width: 0; display: grid; gap: 6px; }
.sess-title { font-weight: 600; }
.sess-sub { font-size: 14px; }
.sess-flags { font-size: 14px; color: #8a5a1f; }
.sess-people summary { cursor: pointer; font-size: 14px; color: var(--green); font-weight: 500; }
.sess-people ul { margin: 10px 0; display: grid; gap: 8px; }
.sess-people li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; font-size: 14px; }
.sess-p-actions { display: flex; gap: 14px; }
.sess-actions { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 4px; }
.sess-actions .text-link, .sess-people .text-link { font-size: 14px; }
.sess.is-cancelled .sess-title { text-decoration: line-through; color: var(--muted); }
.k-draft { background: #f1ece4; color: var(--muted); }
.warn { color: #a8432e; }
.add-person { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.session-editor .dash-card { border-color: var(--green); }
.session-editor form { gap: 18px !important; }
.batch-row { display: grid; gap: 10px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.batch-row:first-child { border-top: 0; }
.batch-row b { display: block; }
.batch-row .muted { font-size: 14px; }
@media (min-width: 760px) { .batch-row { grid-template-columns: 160px 1fr auto auto; } .batch-row .dash-note { grid-column: 1 / -1; margin: 0; } }
@media (max-width: 520px) { .sess { flex-direction: column; gap: 6px; } .sess-time { width: auto; display: flex; gap: 10px; align-items: baseline; } }
.day-empty { font-size: 14px; color: var(--muted); padding: 4px 4px; }
[data-week-days] { display: grid; gap: 12px; }
.success-tip { margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: var(--sage); display: grid; gap: 12px; justify-items: start; font-size: 15px; text-align: left; }

/* ---------- Offers: top bar + banner, one offer at a time, each with its own look ---------- */
.promo { transition: background-color .6s ease; }
.promo--first100 { background: #a8432e; }
.promo--festive { background: #6e1f27; }
.promo--early { background: var(--green); }
.promo-items { display: grid; flex: 1; min-width: 0; }
.promo .promo-item { grid-area: 1 / 1; align-self: center; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease, visibility 0s linear .5s; }
.promo .promo-item.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s ease, transform .5s ease; }

.offer { position: relative; overflow: hidden; padding: 0; background: #173b38; }
.offer-slides { display: grid; }
.offer-slide {
  grid-area: 1 / 1; position: relative; overflow: hidden; display: flex; align-items: center;
  padding: clamp(76px, 10vw, 116px) 0 clamp(96px, 11vw, 132px);
  opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s;
}
.offer-slide.is-on { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.offer-slide .offer-inner { position: relative; width: 100%; transform: translateY(10px); transition: transform .7s ease; }
.offer-slide.is-on .offer-inner { transform: none; }
.offer-art { position: absolute; inset: 0; pointer-events: none; }
.offer-eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.offer .offer-title { font-size: clamp(28px, 4.2vw, 44px); max-width: 16em; margin: 18px auto 0; }
.offer .offer-big { display: block; font-size: clamp(56px, 10vw, 112px); letter-spacing: -0.04em; line-height: .95; margin-bottom: 10px; }
.offer .offer-text { margin: 20px auto 0; max-width: 30em; color: rgba(255, 248, 240, .82); font-size: clamp(16px, 1.6vw, 18px); }
.offer-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 26px; margin-top: 32px; }
.offer-terms { font-size: 13px; color: rgba(255, 248, 240, .72); text-decoration: underline; text-underline-offset: 3px; }
.offer-terms:hover { color: #fff; }

/* First 100: warm terracotta with a large "100" watermark */
.offer-slide--first100 { background: linear-gradient(135deg, #c8553d 0%, #a8432e 52%, #7a2e1d 100%); }
.offer-slide--first100 .offer-art::before {
  content: "100"; position: absolute; right: -2vw; bottom: -6vw; font: 300 clamp(220px, 34vw, 460px)/1 var(--font-head);
  letter-spacing: -0.06em; color: rgba(255, 244, 232, .08);
}
.offer-slide--first100 .offer-eyebrow { color: #ffe1cf; padding: 7px 14px; border: 1px solid rgba(255, 225, 207, .45); border-radius: 999px; }
.offer-slide--first100 .offer-big { color: #fff4e8; }

/* Festive (Navratri / Diwali): deep maroon, marigold garland, gold */
.offer-slide--festive { background: radial-gradient(120% 100% at 50% 0%, #8e2b31 0%, #6e1f27 50%, #4b131a 100%); }
.offer-slide--festive .offer-art {
  background:
    radial-gradient(circle at 12px 12px, #f2a541 0 7px, transparent 8px) 0 0 / 24px 24px repeat-x,
    radial-gradient(circle at 12px 30px, #e8836b 0 5px, transparent 6px) 12px 0 / 24px 46px repeat-x;
  background-size: 24px 24px, 24px 46px; background-position: 0 0, 12px 0; height: 46px; bottom: auto;
}
.offer-slide--festive .offer-eyebrow { color: #f6c86b; }
.offer-slide--festive .offer-big { color: #f6c86b; }

/* Early bird: calm deep green with soft sage light */
.offer-slide--early { background: radial-gradient(110% 90% at 50% 0%, #2f5f58 0%, #1f4e4a 45%, #163936 100%); }
.offer-slide--early .offer-art { background: radial-gradient(40% 60% at 85% 100%, rgba(207, 224, 212, .14), transparent 70%), radial-gradient(35% 50% at 10% 0%, rgba(232, 182, 154, .10), transparent 70%); }
.offer-slide--early .offer-eyebrow { color: #cfe0d4; }
.offer-slide--early .offer-big { color: var(--peach); }

.offer-dots { position: absolute; left: 0; right: 0; bottom: clamp(26px, 4vw, 40px); display: flex; justify-content: center; gap: 2px; z-index: 2; }
.offer-dots button { width: 26px; height: 26px; padding: 9px; border: 0; background: none; cursor: pointer; transition: width .3s ease; }
.offer-dots button::before { content: ""; display: block; height: 8px; border-radius: 99px; background: rgba(255, 248, 240, .38); transition: background .3s ease; }
.offer-dots button[aria-current="true"] { width: 44px; }
.offer-dots button[aria-current="true"]::before { background: #fff8f0; }

/* First 100 on plan cards and the strip above them */
.plan--offer { border-color: #e6b7a5; box-shadow: 0 10px 30px -18px rgba(168, 67, 46, .45); }
.plan .save--offer { color: #fff; background: #a8432e; }
.go-seats { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; }
.go-seats a { color: #7a2e1d; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.go-seats.is-unlocked { background: #eef4ef; color: var(--green-deep); }
.go-seats.is-unlocked a { color: var(--green); }
@media (prefers-reduced-motion: reduce) {
  .promo .promo-item, .promo .promo-item.is-on, .offer-slide .offer-inner { transform: none; }
  .offer-slide, .offer-slide.is-on, .promo .promo-item, .promo .promo-item.is-on { transition: opacity .2s linear, visibility 0s; }
}

/* ---------- Dashboard: progress + referrals ---------- */
.bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; height: 130px; margin: 6px 0 12px; }
.bars li { display: grid; grid-template-rows: 1fr auto; gap: 6px; height: 100%; text-align: center; }
.bar { position: relative; display: block; border-radius: 8px; background: transparent; }
.bar-all, .bar-on { position: absolute; left: 18%; right: 18%; bottom: 0; border-radius: 6px; min-height: 3px; }
.bar-all { background: var(--sage); }
.bar-on { background: var(--green); }
.bars small { font-size: 12px; color: var(--muted); }
.key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: -1px; margin: 0 4px 0 8px; }
.key:first-child { margin-left: 0; }
.key-on { background: var(--green); } .key-all { background: var(--sage); border: 1px solid #d9dccf; }
.refer-card { background: linear-gradient(135deg, #fffaf3, #fff); border-color: #ecdcc4; }
.refer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; align-items: flex-start; }
.refer-big { font: 300 clamp(20px, 2.6vw, 26px)/1.3 var(--font-head); max-width: 26em; }
.refer-big b { font-weight: 500; color: #a8432e; }
.refer-link { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 8px; }
.refer-link input { flex: 1 1 260px; min-height: 44px; border: 1px solid #d9d2c6; border-radius: 12px; padding: 0 14px; font: inherit; font-size: 15px; background: var(--white); color: var(--ink); }
.refer-list { margin-top: 12px; }
.refer-steps { margin-bottom: clamp(48px, 8vw, 80px); }
.refer-terms { max-width: 46em; margin: 0 auto; }

/* ---------- Admin: analytics, referrals, team ---------- */
.stat-row--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .stat-row--4 { grid-template-columns: repeat(4, 1fr); } }
.stat-row .stat small { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; }
.stat small.up { color: var(--green); } .stat small.down { color: #a8432e; }
div.stat { cursor: default; }
.chart svg { width: 100%; height: 180px; display: block; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-weight: 500; color: var(--muted); padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 9px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.tbl .num { text-align: right; padding-left: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dev-split { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--sage); margin-bottom: 8px; }
.dev-split-mobile { background: var(--green); } .dev-split-desktop { background: #8fb3a6; } .dev-split-tablet { background: #e8836b; }
.list-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.list-tools .dash-note { margin: 0; }
.att { width: 18px; height: 18px; accent-color: var(--green); vertical-align: -3px; margin-right: 6px; }
.sess-member { padding-left: 24px; }
.team-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.team-form input, .team-form select { min-height: 44px; border: 1px solid #d9d2c6; border-radius: 12px; padding: 0 12px; font: inherit; font-size: 15px; background: var(--white); }
.team-form input[type=email] { flex: 1 1 220px; }
.cap { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.cap input { width: 72px; min-height: 44px; border: 1px solid #d9d2c6; border-radius: 12px; padding: 0 10px; font: inherit; }
@media (min-width: 760px) { .batch-row { grid-template-columns: 200px 1fr auto auto auto; } }

/* ---------- Slot picker ---------- */
.slot-picker { display: grid; gap: 12px; }
.slot-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.slot-days button { flex: none; display: grid; justify-items: center; gap: 0; width: 64px; padding: 8px 0; border: 1px solid #d9d2c6; border-radius: 14px; background: var(--white); cursor: pointer; font: inherit; color: var(--ink); }
.slot-days button b { font: 400 20px/1.2 var(--font-head); }
.slot-days button small { font-size: 12px; color: var(--muted); }
.slot-days button[aria-selected="true"] { border-color: var(--green); background: #f1f5f3; box-shadow: inset 0 0 0 1px var(--green); }
.slot-times { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-times button { display: grid; justify-items: center; min-width: 108px; padding: 10px 14px; border: 1px solid #d9d2c6; border-radius: 12px; background: var(--white); cursor: pointer; font: 500 15px var(--font-body); color: var(--ink); }
.slot-times button small { font-size: 12px; font-weight: 400; color: var(--muted); }
.slot-times button[aria-checked="true"] { background: var(--green); border-color: var(--green); color: var(--cream); }
.slot-times button[aria-checked="true"] small { color: rgba(245,239,230,.8); }
.slot-picked, .slot-empty { font-size: 14px; color: var(--muted); }
.slot-field.invalid .slot-picker { outline: 2px solid #f0c9bd; outline-offset: 6px; border-radius: 12px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--sage); margin-bottom: 16px; }
.seg button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font: 500 14px var(--font-body); cursor: pointer; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--green); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.book-card { border-color: var(--green); }
.block-form { display: grid; gap: 14px; margin-top: 18px; padding: 18px; border-radius: 14px; background: var(--paper); }
.block-list { margin-top: 14px; }
.day-block { font-size: 14px; color: #8a5a1f; background: #fbf1e4; border-radius: 12px; padding: 10px 14px; }
.settings-form { display: grid; gap: 14px; }
