/* =========================================================
   GHOST — the app's own look, on the web.
   Warm off-white page, white "glass" cards, heavy rounded type,
   one red accent, dark feature cards.  Same tokens as the FIT app.
   ========================================================= */

:root {
  /* brand */
  --red: #e63a2e;
  --red-deep: #c92d22;
  --red-soft: rgba(230, 58, 46, 0.1);
  --ink: #14100f;          /* text + dark cards */
  --ink-2: #211b19;
  --bg: #f3f1ef;           /* page */
  --bg-2: #ece8e4;
  --white: #ffffff;
  --muted: #78746f;
  --stroke: #ece8e4;
  --field: #f1ece9;
  --green: #33c766;
  --gold: #edb829;

  /* names the older pages still use */
  --blood: var(--red);
  --ember: var(--red);
  --rust: var(--red-soft);
  --bone: var(--ink);
  --ash: var(--muted);
  --char: var(--white);
  --smoke: #faf8f6;
  --raise: #eee9e4;
  --line: var(--stroke);

  --display: 'Nunito', 'SF Pro Rounded', ui-rounded, 'Arial Rounded MT Bold', system-ui, sans-serif;
  --cond: var(--display);
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --pad: clamp(1rem, 3.2vw, 2rem);
  --max: 1180px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 8px 24px rgba(20, 16, 15, 0.06);
  --shadow-lg: 0 24px 60px rgba(20, 16, 15, 0.16);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    none;
  background-attachment: fixed;
}
.grain { display: none; }
@media (prefers-reduced-motion: reduce) { * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

a { color: var(--red-deep); text-decoration: none; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 900; letter-spacing: -0.015em; margin: 0 0 0.5rem; line-height: 1.08; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.tiny { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 800; }
.center { text-align: center; }
.right { text-align: right; }
.inline { display: inline; }
.nowrap { white-space: nowrap; }
.red { color: var(--red); }
.ember { color: var(--red); }
.ok { color: var(--green); }
.over { color: var(--red); }

/* ---------- floating top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 60; padding: 12px var(--pad) 0; pointer-events: none; }
.topbar-inner {
  pointer-events: auto;
  max-width: var(--max); margin: 0 auto; padding: 8px 10px 8px 18px;
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border: 1px solid var(--stroke); border-radius: 999px;
  box-shadow: 0 10px 30px rgba(20, 16, 15, 0.08);
}
.topbar-inner.wide { max-width: 1500px; }
.brand { display: flex; align-items: center; gap: 0.55rem; flex-shrink: 0; color: var(--ink); }
.brand img { display: block; }
.brand-word { font-family: var(--display); font-weight: 900; font-size: 21px; letter-spacing: 0.16em; color: var(--ink); }
.brand:hover .brand-word { color: var(--red); }
.nav { display: flex; gap: 2px; margin: 0 auto; flex-wrap: nowrap; }
.nav-link { font-family: var(--display); font-weight: 800; font-size: 14.5px; white-space: nowrap; padding: 0.5rem 0.78rem; color: var(--muted); border-radius: 999px; transition: background 0.15s, color 0.15s; }
.nav-link:hover { color: var(--ink); background: var(--bg); }
.nav-link.is-active { color: var(--red-deep); background: var(--red-soft); }
.nav-coach { color: var(--red); }
.topbar-actions { display: flex; align-items: center; gap: 0.4rem; }
.cart-link { font-weight: 800; font-size: 14px; position: relative; }
.cart-count { background: var(--red); color: #fff; font-size: 10px; border-radius: 999px; padding: 0 5px; margin-left: 3px; vertical-align: super; }
.nav-toggle { display: none; background: var(--bg); border: 0; width: 40px; height: 40px; border-radius: 50%; flex-direction: column; gap: 4px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

@media (max-width: 1100px) {
  .topbar-inner { padding-left: 14px; }
  .nav {
    position: absolute; left: var(--pad); right: var(--pad); top: 68px; margin: 0;
    background: rgba(255, 255, 255, 0.97); border: 1px solid var(--stroke); border-radius: var(--r-md);
    flex-direction: column; padding: 8px; gap: 2px; display: none; box-shadow: var(--shadow-lg); pointer-events: auto;
  }
  .nav.open { display: flex; }
  .nav-link { padding: 0.8rem 1rem; border-radius: 14px; font-size: 16px; }
  .nav-toggle { display: flex; }
  .topbar-actions { margin-left: auto; }
}
@media (max-width: 560px) { .topbar-actions .btn-ghost { display: none; } }

/* ---------- shell ---------- */
.main { max-width: var(--max); margin: 0 auto; padding: 2.2rem var(--pad) 4rem; }
body.home .main { max-width: none; padding: 0; }
.main.wide { max-width: 1500px; }
.page-head { margin-bottom: 1.8rem; }
.eyebrow {
  display: inline-block; font-family: var(--display); font-weight: 900; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red-deep); background: var(--red-soft); padding: 0.32rem 0.8rem; border-radius: 999px; margin-bottom: 0.9rem;
}
.step-num {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 14px;
  background: var(--red); color: #fff; font-family: var(--display); font-weight: 900; font-size: 1.05rem; margin-bottom: 0.9rem;
  box-shadow: 0 8px 18px rgba(230, 58, 46, 0.3);
}
.small-title { font-size: 1rem; margin: 0 0 0.25rem; }
.page-title { font-size: clamp(2.2rem, 5.4vw, 3.6rem); }
.page-sub { color: var(--muted); max-width: 60ch; font-size: 1.05rem; }
.section { margin: 3rem 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 800; font-size: 14px; color: var(--red-deep); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--display); font-weight: 900; font-size: 15px; letter-spacing: 0;
  padding: 0.8rem 1.35rem; border: 1px solid var(--stroke); background: var(--white); color: var(--ink);
  border-radius: 16px; cursor: pointer; transition: transform 0.12s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
  box-shadow: 0 4px 12px rgba(20, 16, 15, 0.05);
}
.btn:hover { transform: translateY(-1px); color: var(--ink); box-shadow: 0 8px 20px rgba(20, 16, 15, 0.1); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(230, 58, 46, 0.32); }
.btn-red:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; box-shadow: 0 14px 30px rgba(230, 58, 46, 0.4); }
.btn-ghost { background: var(--white); }
.btn-ghost:hover { border-color: var(--red); }
.btn-line { background: transparent; box-shadow: none; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: #fff; }
.btn-ondark { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); color: #fff; box-shadow: none; }
.btn-ondark:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
.btn-lg { padding: 1rem 1.7rem; font-size: 16.5px; border-radius: 18px; }
.btn-sm { padding: 0.5rem 0.95rem; font-size: 13.5px; border-radius: 999px; white-space: nowrap; }
.btn-block { display: flex; width: 100%; }
.btn-danger { color: var(--red-deep); border-color: rgba(230, 58, 46, 0.35); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---------- cards, grids ---------- */
.panel { background: var(--white); border: 1px solid var(--stroke); border-radius: var(--r-md); padding: 1.4rem; box-shadow: var(--shadow); position: relative; }
.panel-flat { background: var(--smoke); border: 1px solid var(--stroke); border-radius: var(--r-md); padding: 1.3rem; }
.panel h3 { font-size: 1.15rem; }
.grid { display: grid; gap: 1.1rem; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.6rem; align-items: start; }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.stat { background: var(--white); border: 1px solid var(--stroke); border-radius: var(--r-md); padding: 1.1rem; box-shadow: var(--shadow); }
.stat-value { font-family: var(--display); font-weight: 900; font-size: 2rem; line-height: 1; }
.stat-label { font-weight: 700; font-size: 12.5px; color: var(--muted); margin-top: 0.4rem; }
.stat-sub { font-size: 12px; color: var(--red-deep); margin-top: 0.2rem; font-weight: 700; }

.ring { position: relative; width: 150px; text-align: center; }
.ring svg { width: 150px; height: 150px; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: var(--raise); stroke-width: 10; }
.ring-fill { fill: none; stroke-width: 10; stroke-linecap: round; transition: stroke-dasharray 0.5s ease; }
.ring-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.ring-text strong { font-family: var(--display); font-weight: 900; font-size: 1.9rem; line-height: 1; }
.ring-text span { font-size: 11px; color: var(--muted); }
.ring-text em { font-size: 11px; font-style: normal; color: var(--red-deep); font-weight: 800; margin-top: 2px; }
.mbar { margin-bottom: 0.9rem; }
.mbar-top { display: flex; justify-content: space-between; font-weight: 800; font-size: 13px; margin-bottom: 0.35rem; }
.mbar-top em { font-style: normal; color: var(--muted); margin-left: 0.4rem; font-weight: 600; }
.mbar-track { height: 9px; background: var(--raise); border-radius: 999px; overflow: hidden; }
.mbar-fill { height: 100%; background: var(--red); border-radius: 999px; transition: width 0.4s; }
.mbar-fill.p { background: #e0483b; }
.mbar-fill.c { background: var(--gold); }
.mbar-fill.f { background: #7a6bd6; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: var(--bars-h, 110px); }
.bar-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.bar { width: 100%; background: var(--red); min-height: 3px; opacity: 0.9; border-radius: 6px 6px 3px 3px; }
.bar-col span { font-size: 10px; color: var(--muted); margin-top: 4px; font-weight: 700; }
.spark { width: 100%; height: 60px; }

/* ---------- forms ---------- */
label { display: block; font-weight: 800; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
input, select, textarea {
  width: 100%; background: var(--field); border: 1.6px solid transparent; color: var(--ink);
  padding: 0.8rem 0.95rem; font-family: var(--body); font-size: 16px; border-radius: 14px; transition: border-color 0.15s, background 0.15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--red); outline: none; background: #fff; }
textarea { min-height: 120px; resize: vertical; }
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.field-row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.seg { display: flex; gap: 0.6rem; }
.seg-opt { display: flex; align-items: center; gap: 0.45rem; flex: 1; padding: 0.7rem 0.9rem; border: 1.6px solid var(--stroke); border-radius: 14px; cursor: pointer; font-size: 14px; background: #fff; }
.seg-opt:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.seg-opt input { width: auto; accent-color: var(--red); }
@media (max-width: 560px) { .field-row, .field-row-3 { grid-template-columns: 1fr; } }
.check { display: flex; align-items: flex-start; gap: 0.55rem; }
.check input { width: auto; margin-top: 5px; accent-color: var(--red); }
.check label { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 14px; color: var(--ink); }
.form-narrow { max-width: 560px; margin: 0 auto; }
.form-wide { max-width: 820px; margin: 0 auto; }

.flash { padding: 0.85rem 1rem; margin-bottom: 1.1rem; border-radius: 14px; font-size: 14.5px; font-weight: 600; border: 1px solid; }
.flash-ok { background: rgba(51, 199, 102, 0.1); border-color: rgba(51, 199, 102, 0.35); color: #1c7a40; }
.flash-err { background: var(--red-soft); border-color: rgba(230, 58, 46, 0.35); color: var(--red-deep); }

/* ---------- tables, tags, badges ---------- */
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th { text-align: left; font-weight: 800; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--stroke); }
td { padding: 0.75rem 0.7rem; border-bottom: 1px solid var(--stroke); vertical-align: middle; }
tr:hover td { background: var(--smoke); }
.table-wrap, .table-scroll { overflow-x: auto; }
.tag { display: inline-block; font-weight: 800; font-size: 11.5px; padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--bg); color: var(--muted); border: 1px solid var(--stroke); }
.tag-red { background: var(--red-soft); color: var(--red-deep); border-color: transparent; }
.tag-green { background: rgba(51, 199, 102, 0.12); color: #1c7a40; border-color: transparent; }
.tag-gold { background: rgba(237, 184, 41, 0.18); color: #8a6508; border-color: transparent; }
.badge { display: inline-block; font-weight: 800; font-size: 11px; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--bg); color: var(--muted); }
.badge-active { background: rgba(51, 199, 102, 0.14); color: #1c7a40; }
.badge-trial { background: rgba(237, 184, 41, 0.2); color: #8a6508; }
.badge-expired { background: var(--red-soft); color: var(--red-deep); }
.empty { text-align: center; padding: 2.4rem 1rem; border: 2px dashed var(--stroke); border-radius: var(--r-md); color: var(--muted); }

/* ---------- meal / diary ---------- */
.meal { border: 1px solid var(--stroke); background: var(--white); border-radius: var(--r-md); margin-bottom: 1rem; overflow: hidden; box-shadow: var(--shadow); }
.meal-head { display: flex; justify-content: space-between; align-items: center; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--stroke); background: var(--smoke); }
.meal-head h3 { margin: 0; font-size: 1.05rem; }
.meal-kcal { font-weight: 800; font-size: 13px; color: var(--red-deep); }
.meal-items { list-style: none; margin: 0; padding: 0; }
.meal-items li { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 1.1rem; border-bottom: 1px solid var(--stroke); }
.meal-items li:last-child { border-bottom: 0; }
.mi-name { flex: 1; min-width: 0; }
.mi-name b { display: block; font-weight: 700; font-size: 14.5px; }
.mi-name span { font-size: 12.5px; color: var(--muted); }
.mi-macros { font-weight: 800; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.mi-kcal { font-family: var(--display); font-weight: 900; font-size: 1.05rem; min-width: 56px; text-align: right; }
.meal-add { padding: 0.65rem 1.1rem; }
.food-result { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem; border-bottom: 1px solid var(--stroke); cursor: pointer; border-radius: 12px; }
.food-result:hover { background: var(--smoke); }
.food-result b { font-weight: 700; font-size: 14.5px; }
.food-result small { color: var(--muted); display: block; font-size: 12.5px; }
.food-result .kcal { margin-left: auto; font-family: var(--display); font-weight: 900; }
.food-thumb { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: var(--bg); border: 1px solid var(--stroke); }
.food-thumb-empty { display: inline-block; }
.food-thumb-lg { width: 78px; height: 78px; border-radius: 16px; }
.recent-list { max-height: 260px; overflow-y: auto; }
.recent-row { display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0.2rem; border-bottom: 1px solid var(--stroke); }
.add-circle {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--red-soft); color: var(--red-deep);
  font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; font-weight: 800;
  transition: background 0.15s, color 0.15s;
}
.add-circle:hover { background: var(--red); color: #fff; }

/* ---------- modal / drawer ---------- */
.drawer-back { position: fixed; inset: 0; background: rgba(20, 16, 15, 0.5); backdrop-filter: blur(3px); z-index: 200; display: none; }
.drawer-back.open { display: block; }
.drawer { position: fixed; right: 0; top: 0; bottom: 0; width: min(460px, 100%); background: var(--bg); border-left: 1px solid var(--stroke); z-index: 201; transform: translateX(100%); transition: transform 0.22s ease; display: flex; flex-direction: column; }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem; border-bottom: 1px solid var(--stroke); }
.drawer-body { padding: 1.1rem; overflow-y: auto; flex: 1; }
.drawer-foot { padding: 1.1rem; border-top: 1px solid var(--stroke); }
.x-btn { background: #fff; border: 0; width: 36px; height: 36px; border-radius: 50%; color: var(--ink); font-size: 20px; cursor: pointer; line-height: 1; box-shadow: 0 4px 10px rgba(20, 16, 15, 0.08); }

/* ---------- programme cards ---------- */
.card { background: var(--white); border: 1px solid var(--stroke); border-radius: var(--r-md); display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.18s, box-shadow 0.18s; color: var(--ink); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.card-art {
  aspect-ratio: 16 / 10; display: flex; align-items: flex-end; padding: 1.1rem; position: relative; overflow: hidden;
  background: var(--red);
}
.card-art::after { content: ''; position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); }
.card-art span { position: relative; z-index: 1; font-family: var(--display); font-weight: 900; font-size: clamp(1.3rem, 3vw, 1.7rem); color: #fff; line-height: 1.05; text-transform: none; }
.card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.card-title { font-family: var(--display); font-weight: 900; font-size: 1.15rem; line-height: 1.1; }
.card-blurb { font-size: 14px; color: var(--muted); flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: 0.6rem; }
.price { font-family: var(--display); font-weight: 900; font-size: 1.25rem; }
.price s { color: var(--muted); font-size: 0.85rem; margin-left: 0.4rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gal-item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-md); background: var(--red); display: flex; align-items: flex-end; }
.gal-item img, .gal-item video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gal-cap { position: relative; z-index: 2; padding: 0.8rem; background: rgba(0, 0, 0, 0.6); width: 100%; font-size: 13px; color: #fff; }
.gal-cap b { display: block; font-weight: 800; }
.play-badge { position: absolute; top: 10px; right: 10px; z-index: 3; background: var(--red); color: #fff; font-weight: 800; font-size: 11px; padding: 2px 9px; border-radius: 999px; }

/* ---------- pricing ---------- */
.plan { background: var(--white); border: 1px solid var(--stroke); border-radius: var(--r-lg); padding: 1.7rem; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative; }
.plan.is-highlight { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: var(--shadow-lg); }
.plan.is-highlight h3, .plan.is-highlight .plan-name, .plan.is-highlight .plan-price { color: #fff; }
.plan.is-highlight .muted, .plan.is-highlight li { color: rgba(255, 255, 255, 0.78); border-color: rgba(255, 255, 255, 0.12); }
.plan.is-highlight::before { content: 'No limits'; position: absolute; top: 16px; right: 16px; background: var(--red); color: #fff; font-size: 11px; font-weight: 900; padding: 0.25rem 0.7rem; border-radius: 999px; }
.plan-name { font-family: var(--display); font-weight: 900; font-size: 1.5rem; }
.plan-price { font-family: var(--display); font-weight: 900; font-size: 3rem; line-height: 1; margin: 0.6rem 0 0.3rem; letter-spacing: -0.03em; }
.plan-price small { font-family: var(--body); font-weight: 600; font-size: 0.9rem; color: var(--muted); letter-spacing: 0; }
.plan.is-highlight .plan-price small { color: rgba(255, 255, 255, 0.6); }
.plan ul { list-style: none; padding: 0; margin: 1rem 0; flex: 1; }
.plan li { padding: 0.55rem 0 0.55rem 1.9rem; position: relative; font-size: 14.5px; border-bottom: 1px solid var(--stroke); }
.plan li:last-child { border-bottom: 0; }
.plan li::before {
  content: '✓'; position: absolute; left: 0; top: 0.55rem; width: 20px; height: 20px; border-radius: 50%; background: var(--red-soft); color: var(--red-deep);
  font-size: 11px; font-weight: 900; display: flex; align-items: center; justify-content: center;
}
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; margin-top: 1.5rem; align-items: stretch; }

/* ---------- info pages ---------- */
.lede { font-size: clamp(1.1rem, 1.4vw + 0.7rem, 1.4rem); line-height: 1.55; color: var(--ink); max-width: 62ch; margin: 0 0 0.5rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; margin-top: 1.8rem; }
.feature { background: var(--white); border: 1px solid var(--stroke); border-radius: var(--r-md); padding: 1.5rem; box-shadow: var(--shadow); }
.feature h3 { font-size: 1.1rem; margin: 0 0 0.4rem; }
.feature p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.feature-ic { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--red-soft); color: var(--red-deep); margin-bottom: 1rem; font-family: var(--display); font-weight: 900; font-size: 1.05rem; line-height: 1; }
.feature-ic svg { width: 22px; height: 22px; }
.info-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 2rem; align-items: start; margin-top: 1.5rem; }
.info-split > aside { position: sticky; top: 92px; display: grid; gap: 1rem; }
@media (max-width: 860px) { .info-split { grid-template-columns: 1fr; gap: 1.2rem; } .info-split > aside { position: static; } }
.price-card { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 1.9rem 1.6rem; text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.price-card > * { position: relative; }
.price-card .eyebrow { background: rgba(255, 255, 255, 0.12); color: #fff; }
.price-card .plan-price { color: #fff; margin: 0.3rem 0 0.4rem; }
.price-card .plan-price small { color: rgba(255, 255, 255, 0.6); }
.price-card .muted { color: rgba(255, 255, 255, 0.72); }
.store-card { padding: 2rem 1.5rem; }
.store-row { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; margin: 0.6rem 0 0.9rem; }
@media (max-width: 460px) { .store-row .btn { width: 100%; } }
.section-divide { border: 0; border-top: 1px solid var(--stroke); margin: 2.8rem 0; }
.inquire-wrap { max-width: 860px; margin: 0 auto; }
.contact-card { padding: 1.7rem 1.6rem; }
.contact-card .feature-ic { margin-bottom: 0.8rem; }
.chat-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 0.45rem; vertical-align: middle; }
@media (max-width: 620px) { .inquire-wrap .g2 { grid-template-columns: 1fr; } }

/* ---------- booking slots ---------- */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 0.5rem; }
.slot { border: 1.6px solid var(--stroke); background: #fff; padding: 0.65rem 0.2rem; text-align: center; font-weight: 800; cursor: pointer; font-size: 14px; color: var(--ink); border-radius: 12px; }
.slot:hover:not(:disabled) { border-color: var(--red); }
.slot.is-selected { background: var(--red); border-color: var(--red); color: #fff; }
.slot:disabled { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }
.daystrip { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.4rem; }
.day-pill { flex: 0 0 auto; border: 1.6px solid var(--stroke); padding: 0.6rem 0.85rem; text-align: center; cursor: pointer; background: #fff; color: var(--ink); font-weight: 700; border-radius: 16px; }
.day-pill.is-selected { border-color: var(--red); background: var(--red); color: #fff; }
.day-pill b { display: block; font-size: 1.15rem; font-family: var(--display); font-weight: 900; }

/* ---------- coach / admin shell ---------- */
.admin-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1.6rem; }
.admin-side { padding: 1rem; position: sticky; top: 92px; align-self: start; background: #fff; border: 1px solid var(--stroke); border-radius: var(--r-md); box-shadow: var(--shadow); }
.admin-side-head { font-weight: 900; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-deep); margin-bottom: 0.6rem; }
.admin-link { display: block; padding: 0.55rem 0.7rem; font-weight: 800; font-size: 14.5px; color: var(--muted); border-radius: 12px; }
.admin-link:hover { color: var(--ink); background: var(--bg); }
.admin-link.is-active { color: var(--red-deep); background: var(--red-soft); }
.admin-link-out { margin-top: 1rem; color: var(--red-deep); }
@media (max-width: 800px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; display: flex; flex-wrap: wrap; gap: 0.2rem; }
  .admin-side-head { width: 100%; }
}

/* ---------- chat bubbles ---------- */
.chat { display: flex; flex-direction: column; gap: 0.6rem; max-height: 55vh; overflow-y: auto; padding: 0.4rem; }
.bubble { max-width: 78%; padding: 0.65rem 0.9rem; background: #fff; border: 1px solid var(--stroke); border-radius: 18px; font-size: 14.5px; }
.bubble.mine { align-self: flex-end; background: var(--red); border-color: var(--red); color: #fff; }
.bubble time { display: block; font-size: 10.5px; color: var(--muted); margin-top: 0.25rem; }
.bubble.mine time { color: rgba(255, 255, 255, 0.75); }

/* ---------- modal ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(20, 16, 15, 0.5); display: none; align-items: center; justify-content: center; z-index: 200; padding: 1rem; backdrop-filter: blur(4px); }
.modal-overlay.is-open { display: flex; }
.modal-box { background: var(--bg); border: 1px solid var(--stroke); max-width: 500px; width: 100%; max-height: 85vh; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid var(--stroke); }
.modal-head h3 { margin: 0; font-size: 1.05rem; }
.modal-close { background: #fff; border: 0; width: 34px; height: 34px; border-radius: 50%; color: var(--ink); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.modal-body { padding: 1.1rem 1.2rem; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.modal-foot { padding: 0.9rem 1.2rem; border-top: 1px solid var(--stroke); }
.chat-preview { display: flex; justify-content: space-between; align-items: center; padding: 1rem; border: 1px solid var(--stroke); border-radius: 16px; cursor: pointer; background: #fff; width: 100%; text-align: left; color: inherit; font: inherit; }
.chat-preview:hover { border-color: var(--red); }
.chat-preview-unread { background: var(--red); color: #fff; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 0.1rem 0.55rem; margin-left: 0.5rem; }
.msg-bubble { max-width: 80%; border: 1px solid var(--stroke); padding: 0.55rem 0.9rem; border-radius: 16px; background: #fff; }
.msg-receipt { font-size: 10px; color: var(--muted); margin-top: 0.15rem; }

.stamp { display: inline-block; border: 2px solid var(--red); color: var(--red); font-family: var(--display); font-weight: 900; letter-spacing: 0.14em; padding: 0.3rem 0.8rem; transform: rotate(-3deg); font-size: 13px; border-radius: 8px; }
.divider { height: 1px; background: var(--stroke); margin: 1.6rem 0; }
.pill-row { display: flex; gap: 0.45rem; flex-wrap: wrap; margin-bottom: 1rem; }
.pill { border: 1px solid var(--stroke); background: #fff; padding: 0.4rem 0.9rem; font-weight: 800; font-size: 13px; color: var(--muted); border-radius: 999px; }
.pill.is-active, .pill:hover { border-color: var(--red); color: var(--red-deep); background: var(--red-soft); }
.notice { border: 1.5px dashed var(--stroke); border-radius: 14px; padding: 0.9rem 1.1rem; font-size: 14px; color: var(--muted); background: rgba(255, 255, 255, 0.6); }
.notice b { color: var(--ink); }

.status-pulse-wrap { display: inline-flex; align-items: center; gap: 0.5rem; }
.status-pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.status-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: statusPulse 1.8s ease-out infinite; }
.status-pulse.is-green { background: var(--green); }
.status-pulse.is-red { background: var(--red); }
@keyframes statusPulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(2.6); opacity: 0; } }

.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 300; background: var(--ink); color: #fff; border-radius: 22px; padding: 1rem 1.3rem; display: none; box-shadow: var(--shadow-lg); max-width: 880px; margin: 0 auto; }
.cookie-banner.is-open { display: block; }
.cookie-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.cookie-banner p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.78); max-width: 60ch; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner .btn-ghost { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); color: #fff; box-shadow: none; }
.cookie-banner-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
code, pre { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12.5px; }
pre { background: var(--ink); color: #f3f1ef; border-radius: 14px; padding: 1rem; overflow-x: auto; }
.copyline { display: flex; gap: 0.4rem; align-items: center; }
.copyline input { font-family: ui-monospace, monospace; font-size: 12.5px; }

/* =========================================================
   HOME + MARKETING
   ========================================================= */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.chip { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--display); font-weight: 900; font-size: 12.5px; padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--red-soft); color: var(--red-deep); }
.chip-dark { background: rgba(255, 255, 255, 0.1); color: #fff; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); display: inline-block; }

/* neutral phone frame — no notch, no brand marks */
.phone {
  --w: 270px;
  width: var(--w); aspect-ratio: 1 / 1.947; border-radius: calc(var(--w) * 0.15); padding: calc(var(--w) * 0.035);
  background: #14100f; position: relative; flex-shrink: 0;
  box-shadow: 0 40px 70px -18px rgba(20, 16, 15, 0.5), 0 0 0 1.5px rgba(255, 255, 255, 0.07) inset, 0 0 0 1px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s;
}
.phone::before { content: ''; position: absolute; right: -3px; top: 22%; width: 4px; height: 12%; border-radius: 3px; background: #1d1716; }
.phone-screen {
  width: 100%; height: 100%; border-radius: calc(var(--w) * 0.12); overflow: hidden; position: relative; background:
    #f3f1ef;
}
.phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; display: block; }
.phone.sm { --w: 210px; }
.phone.lg { --w: 310px; }
.tilt-l { transform: perspective(1500px) rotateY(14deg) rotateX(3deg) rotateZ(-2deg); }
.tilt-r { transform: perspective(1500px) rotateY(-14deg) rotateX(3deg) rotateZ(2deg); }
.tilt-l:hover, .tilt-r:hover { transform: perspective(1500px) rotateY(0) rotateX(0) rotateZ(0) translateY(-6px); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.float { animation: bob 7s ease-in-out infinite; }
.float.d2 { animation-delay: -3.5s; }

/* hero */
.h-hero { padding: 14px var(--pad) 0; }
.h-hero-card {
  max-width: 1280px; margin: 0 auto; border-radius: 40px; background: var(--ink); color: #fff; position: relative; overflow: hidden;
  padding: clamp(1.6rem, 4.5vw, 3.6rem); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 1rem; align-items: center;
  box-shadow: var(--shadow-lg);
}
.h-hero-card > * { position: relative; }
.h-wordmark { display: block; width: 100%; max-width: 620px; height: auto; margin: 1.1rem 0 1.4rem; filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.45)); }
.h-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3.1rem); margin: 0 0 1rem; max-width: 18ch; }
.h-hero h1 em { font-style: normal; color: var(--red); }
.h-lede { font-size: clamp(1rem, 1.6vw, 1.18rem); color: rgba(255, 255, 255, 0.78); max-width: 52ch; margin: 0 0 1.6rem; }
.hero-cta { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.h-points { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.h-points div { font-size: 13.5px; color: rgba(255, 255, 255, 0.7); max-width: 150px; line-height: 1.35; }
.h-points b { display: block; font-family: var(--display); font-weight: 900; font-size: 1.25rem; color: #fff; }
.h-hero-phones { display: flex; justify-content: center; align-items: flex-start; padding: 0.6rem 0 2.2rem; }
.h-hero-phones .phone { --w: clamp(190px, 20vw, 262px); }
.h-hero-phones .p2 { margin-left: calc(var(--w) * -0.26); margin-top: calc(var(--w) * 0.5); }
@media (max-width: 960px) {
  .h-hero-card { grid-template-columns: 1fr; border-radius: 30px; }
  .h-hero-phones .phone { --w: clamp(170px, 34vw, 250px); }
}

.band { padding: clamp(3rem, 7vw, 5.5rem) 0 0; }
.band-head { max-width: 720px; margin: 0 auto 2.4rem; text-align: center; }
.band-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* bento features */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.1rem; }
.bento-card { background: var(--white); border: 1px solid var(--stroke); border-radius: var(--r-lg); padding: 1.7rem; box-shadow: var(--shadow); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.bento-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.bento-card p { color: var(--muted); font-size: 15px; margin: 0; }
.bento-card ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.45rem; }
.bento-card li { font-size: 14px; font-weight: 600; padding-left: 1.6rem; position: relative; }
.bento-card li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--red-soft); color: var(--red-deep); font-size: 10px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.b-2 { grid-column: span 2; } .b-3 { grid-column: span 3; } .b-4 { grid-column: span 4; } .b-6 { grid-column: span 6; }
.bento-card.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.bento-card.dark h3 { color: #fff; } .bento-card.dark p, .bento-card.dark li { color: rgba(255, 255, 255, 0.78); }
.bento-card.dark li::before { background: rgba(230, 58, 46, 0.25); color: #ffb3ac; }
.bento-card.dark > * { position: relative; }
.bento-card.red { background: var(--red); color: #fff; border-color: transparent; }
.bento-card.red h3, .bento-card.red p { color: #fff; } .bento-card.red p { opacity: 0.9; }
.bento-ic { width: 48px; height: 48px; border-radius: 16px; background: var(--red-soft); color: var(--red-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.bento-card.dark .bento-ic { background: rgba(230, 58, 46, 0.25); color: #ffb3ac; }
.bento-card.red .bento-ic { background: rgba(255, 255, 255, 0.2); color: #fff; }
.bento-ic svg { width: 24px; height: 24px; }
.bento-media { margin-top: auto; padding-top: 1.4rem; display: flex; justify-content: center; align-items: flex-end; gap: 1rem; min-height: 240px; overflow: hidden; }
.bento-media .phone { margin-bottom: -170px; --w: 230px; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .b-3, .b-4, .b-6 { grid-column: span 2; } .b-2 { grid-column: span 1; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .b-2, .b-3, .b-4, .b-6 { grid-column: auto; } }

/* split showcase */
.show { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; background: var(--ink); color: #fff; border-radius: 40px; padding: clamp(1.8rem, 4.5vw, 3.6rem); position: relative; overflow: hidden; }
.show > * { position: relative; }
.show h2 { color: #fff; }
.show p { color: rgba(255, 255, 255, 0.78); font-size: 1.08rem; }
.show.light { background: var(--white); color: var(--ink); border: 1px solid var(--stroke); box-shadow: var(--shadow); }
.show.light h2 { color: var(--ink); } .show.light p { color: var(--muted); }
.show-points { display: grid; gap: 0.9rem; margin: 1.5rem 0 1.8rem; }
.show-point { display: flex; gap: 0.9rem; align-items: flex-start; }
.show-point .dot { width: 38px; height: 38px; border-radius: 12px; background: rgba(230, 58, 46, 0.25); color: #ffb3ac; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.show.light .show-point .dot { background: var(--red-soft); color: var(--red-deep); }
.show-point b { display: block; font-family: var(--display); font-weight: 900; font-size: 1.05rem; color: inherit; }
.show-point span { font-size: 14.5px; opacity: 0.8; }
.show-phones { display: flex; justify-content: center; align-items: center; gap: 0; min-height: 440px; position: relative; }
.show-phones .phone + .phone { margin-left: -60px; margin-top: 50px; }
@media (max-width: 900px) { .show { grid-template-columns: 1fr; border-radius: 30px; } .show-phones { min-height: 380px; } }
@media (max-width: 520px) { .show-phones .phone { --w: 200px; } .show-phones .phone + .phone { margin-left: -90px; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.step { background: var(--white); border: 1px solid var(--stroke); border-radius: var(--r-lg); padding: 1.8rem; box-shadow: var(--shadow); }
.step h3 { font-size: 1.25rem; } .step p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* gallery of screens */
.screens { display: flex; gap: 1.6rem; overflow-x: auto; padding: 1rem var(--pad) 2.6rem; scroll-snap-type: x proximity; justify-content: safe center; }
.screens .phone { scroll-snap-align: center; --w: 240px; }
.screens figure { margin: 0; text-align: center; flex-shrink: 0; }
.screens figcaption { margin-top: 1.1rem; font-family: var(--display); font-weight: 900; font-size: 1rem; }
.screens figcaption span { display: block; font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--muted); }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 0.7rem; }
.faq details { background: var(--white); border: 1px solid var(--stroke); border-radius: 20px; padding: 1.1rem 1.4rem; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 900; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; width: 28px; height: 28px; border-radius: 50%; background: var(--red-soft); color: var(--red-deep); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0.8rem 0 0; color: var(--muted); }

/* cta */
.cta { background: var(--red); color: #fff; border-radius: 40px; padding: clamp(2.2rem, 6vw, 4.2rem); text-align: center; position: relative; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(230, 58, 46, 0.5); }
.cta::before { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); }
.cta > * { position: relative; }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); }
.cta p { color: rgba(255, 255, 255, 0.88); font-size: 1.1rem; max-width: 52ch; margin: 0 auto 1.6rem; }
.cta .hero-cta { justify-content: center; }
.cta .btn-red { background: #fff; color: var(--red-deep); border-color: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); }
.cta .btn-red:hover { background: var(--bg); color: var(--red-deep); }

.coach-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.6rem; align-items: center; background: var(--white); border: 1px solid var(--stroke); border-radius: 36px; padding: clamp(1.6rem, 4vw, 3rem); box-shadow: var(--shadow); }
.coach-band ul { list-style: none; padding: 0; margin: 1.1rem 0 1.5rem; display: grid; gap: 0.55rem; }
.coach-band li { padding-left: 1.7rem; position: relative; font-weight: 600; }
.coach-band li::before { content: '✓'; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: var(--red-soft); color: var(--red-deep); font-size: 10px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
@media (max-width: 860px) { .coach-band { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.78); margin: 4rem 12px 12px; border-radius: 36px; position: relative; overflow: hidden; }
.footer-inner { position: relative; max-width: var(--max); margin: 0 auto; padding: 3rem var(--pad) 1.6rem; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 2.4rem; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--display); font-weight: 900; font-size: 1.4rem; letter-spacing: 0.16em; color: #fff; margin-bottom: 0.7rem; }
.footer a { color: rgba(255, 255, 255, 0.78); }
.footer a:hover { color: #fff; }
.footer .muted { color: rgba(255, 255, 255, 0.6); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.footer-cols a { display: block; font-size: 14px; padding: 0.22rem 0; }
.footer-head { font-family: var(--display); font-weight: 900; font-size: 13px; letter-spacing: 0.04em; color: #fff; display: block; margin-bottom: 0.6rem; }
.footer-base { position: relative; max-width: var(--max); margin: 0 auto; padding: 1.1rem var(--pad) 1.8rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.55); }
@media (max-width: 700px) { .footer { border-radius: 28px; } .footer-inner { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: repeat(2, 1fr); } }

/* legacy hero classes (old markup keeps working) */
.hero { padding: 2rem 0; }
.hero-mark { margin: 1rem 0 0; line-height: 0; }
.hero-mark-img { display: block; width: 100%; max-width: 560px; height: auto; }
.hero-lede { font-size: 1.15rem; max-width: 52ch; color: var(--muted); }
.hero-strap { display: block; font-weight: 900; color: var(--red-deep); }
.hero-tape { margin-top: 2rem; padding: 0.7rem 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; color: var(--muted); font-weight: 700; font-size: 13px; }

@media (max-width: 560px) { body { font-size: 15.5px; } }


/* ---------- app page ---------- */
.ap-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: center; padding: 1.5rem 0 3.5rem; }
.ap-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.04; margin: 1rem 0; }
.ap-hero-text > p { font-size: 1.15rem; color: var(--muted); max-width: 52ch; }
.ap-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; margin: 1.6rem 0; }
.ap-cta.center { justify-content: center; margin-bottom: 0; }
.ap-soon { font-family: var(--display); font-weight: 900; font-size: 14px; color: var(--muted); background: var(--white); border: 1px solid var(--stroke); border-radius: 999px; padding: 0.7rem 1.1rem; }
.ap-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding-top: 1.4rem; border-top: 1px solid var(--stroke); }
.ap-facts b { display: block; font-family: var(--display); font-weight: 900; font-size: 1.5rem; }
.ap-facts span { font-size: 13.5px; color: var(--muted); }
.ap-hero-phones { display: flex; justify-content: center; align-items: flex-start; background: var(--red-soft); border-radius: 40px; padding: 2.4rem 1rem 0; overflow: hidden; height: min(620px, 100%); min-height: 560px; }
.ap-hero-phones .phone { --w: clamp(190px, 19vw, 250px); }
.ap-hero-phones .ap-p2 { margin-left: -2.2rem; margin-top: 3.6rem; }
.ap-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; background: var(--white); border: 1px solid var(--stroke); border-radius: 40px; box-shadow: var(--shadow); padding: clamp(1.6rem, 4vw, 3rem); margin-bottom: 1.4rem; }
.ap-row.flip .ap-media { order: 2; }
.ap-media { display: flex; justify-content: center; align-items: center; gap: 1.2rem; background: var(--bg); border-radius: 30px; padding: 2rem 1rem; }
.ap-media .phone { --w: 250px; }
.ap-media.pair .phone { --w: 190px; }
.ap-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 0.6rem 0; }
.ap-copy > p { color: var(--muted); font-size: 1.08rem; margin: 0 0 1.4rem; }
.ap-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.ap-points li { display: flex; gap: 0.9rem; align-items: flex-start; }
.ap-ic { width: 42px; height: 42px; border-radius: 14px; background: var(--red-soft); color: var(--red-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ap-ic svg { width: 20px; height: 20px; }
.ap-points b { display: block; font-family: var(--display); font-weight: 900; font-size: 1.05rem; }
.ap-points span:not(.ap-ic) { display: block; color: var(--muted); font-size: 14.5px; }
.ap-coach { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: 32px; padding: 2rem clamp(1.4rem, 4vw, 2.6rem); margin-bottom: 1.4rem; }
.ap-coach h2 { color: #fff; margin: 0 0 0.3rem; font-size: 1.7rem; }
.ap-coach p { margin: 0; color: rgba(255, 255, 255, 0.75); max-width: 56ch; }
.ap-coach a:not(.btn) { color: #fff; text-decoration: underline; }
.ap-get { text-align: center; padding: 3rem 0 1rem; }
.ap-get h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.ap-get p { color: var(--muted); margin: 0.4rem 0 1.4rem; }
@media (max-width: 900px) {
  .ap-hero, .ap-row { grid-template-columns: 1fr; gap: 1.6rem; }
  .ap-row.flip .ap-media { order: 0; }
  .ap-hero-phones { min-height: 460px; height: auto; }
  .ap-facts { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .ap-media .phone { --w: 210px; } .ap-media.pair .phone { --w: 150px; } .ap-hero-phones .phone { --w: 160px; } }


/* ---------- create account ---------- */
.reg [hidden] { display: none !important; }
.tiers { display: grid; gap: 0.6rem; }
.tier-opt { display: block; cursor: pointer; }
.tier-opt input { position: absolute; opacity: 0; pointer-events: none; }
.tier-opt > span { display: grid; grid-template-columns: 1fr auto; gap: 0.1rem 1rem; padding: 0.9rem 1.1rem; border: 1.6px solid var(--stroke); border-radius: 18px; background: #fff; transition: border-color 0.15s, background 0.15s; }
.tier-opt b { font-family: var(--display); font-weight: 900; font-size: 1.05rem; }
.tier-opt em { font-style: normal; font-family: var(--display); font-weight: 900; color: var(--red-deep); }
.tier-opt small { grid-column: 1 / -1; color: var(--muted); font-size: 13.5px; }
.tier-opt:has(input:checked) > span { border-color: var(--red); background: var(--red-soft); }
.tier-opt:has(input:focus-visible) > span { outline: 2px solid var(--red); outline-offset: 2px; }
.tier-opt, .tier-opt > span, .tier-opt small { text-transform: none; letter-spacing: normal; font-weight: 500; }
.tier-opt b, .tier-opt em { font-weight: 900; }
.seg-opt { text-transform: none; letter-spacing: normal; font-family: var(--display); font-weight: 900; font-size: 15px; color: var(--ink); }
