/* =========================================================================
   WoPulse design system
   Calm, warm neutrals + brand teal & coral. Shared by index.html and app.html.
   ========================================================================= */
:root {
  --bg: #FBF8F6;
  --bg-2: #F5EFEB;
  --surface: #FFFFFF;
  --ink: #0A2E3A;
  --ink-2: #46606B;
  --ink-3: #6F8690;
  --line: #ECE3DF;
  --line-2: #E2D6D1;

  --teal: #034C5E;
  --teal-700: #023F4E;
  --teal-900: #052F3B;
  --teal-100: #E0EDF1;
  --teal-50: #EFF6F8;
  --coral: #F16B6D;
  --coral-ink: #B83A45;
  --coral-100: #FCE7E6;

  --ph-menstrual: #E8686A;
  --ph-follicular: #4FA287;
  --ph-ovulation: #DE9D3E;
  --ph-luteal: #8A78C2;

  --r-s: 12px;
  --r: 20px;
  --r-l: 28px;
  --r-xl: 36px;
  --shadow-1: 0 1px 2px rgba(10, 46, 58, .04), 0 6px 20px rgba(10, 46, 58, .05);
  --shadow-2: 0 2px 6px rgba(10, 46, 58, .05), 0 18px 48px rgba(10, 46, 58, .10);
  --shadow-3: 0 30px 80px rgba(5, 47, 59, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Outfit", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.t-sage { --tint: #E4EFEA; --tint-ink: #2C6753; --tint-strong: #4FA287; }
.t-sand { --tint: #F6ECDD; --tint-ink: #84561C; --tint-strong: #DE9D3E; }
.t-blush { --tint: #FCE7E6; --tint-ink: #AE3742; --tint-strong: #F16B6D; }
.t-teal { --tint: #E0EDF1; --tint-ink: #034C5E; --tint-strong: #0B6A80; }
.t-lilac { --tint: #ECE8F6; --tint-ink: #574890; --tint-strong: #8A78C2; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--coral-ink); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--teal); margin: 0; letter-spacing: -.012em; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 3px solid rgba(241, 107, 109, .55); outline-offset: 3px; border-radius: 8px; }
::selection { background: #F9D3D1; color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-s { width: 16px; height: 16px; }
.ic-l { width: 26px; height: 26px; }
.ic-xl { width: 32px; height: 32px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-white { background: var(--surface); }
.s-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.s-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-ink); }
.kicker svg.pulse { width: 30px; height: 14px; stroke: var(--coral); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; letter-spacing: -.018em; line-height: 1.12; }
.h2 em { font-style: normal; color: var(--coral); }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 22px rgba(3, 76, 94, .22); }
.btn-primary:hover { background: var(--teal-700); color: #fff; box-shadow: 0 12px 30px rgba(3, 76, 94, .28); }
.btn-coral { background: var(--coral); color: var(--ink); box-shadow: 0 8px 22px rgba(241, 107, 109, .28); }
.btn-coral:hover { background: #EF5C5F; color: var(--ink); }
.btn-ghost { background: var(--surface); color: var(--teal); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--coral); color: var(--teal); }
.btn-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-light:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-text { background: none; border: 0; color: var(--teal); padding: 0 6px; min-height: 40px; font-weight: 600; }
.btn-text:hover { color: var(--coral-ink); transform: none; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn .ic { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; background: none; border: 0; padding: 0; color: var(--teal); cursor: pointer; }
.link-arrow .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(3px); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface);
  font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s, transform .2s var(--ease), box-shadow .25s;
}
.chip:hover { border-color: var(--coral); }
.chip .ic { width: 17px; height: 17px; color: var(--teal); }
.chip[aria-pressed="true"], .chip[aria-checked="true"], .chip.on { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 6px 16px rgba(3, 76, 94, .2); }
.chip[aria-pressed="true"] .ic, .chip[aria-checked="true"] .ic, .chip.on .ic { color: #fff; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--tint, var(--teal-100)); color: var(--tint-ink, var(--teal)); }
.pill .ic { width: 14px; height: 14px; }
.lock-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.lock-badge .ic { width: 13px; height: 13px; }
.free-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #DCEFE7; color: #22604B; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* --------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(251, 248, 246, .82); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(10, 46, 58, .05); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15.5px; transition: background-color .2s, color .2s; }
.nav-links a:hover { background: var(--teal-50); color: var(--teal); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-member { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; padding: 8px 10px; }
.nav-member .ic { width: 16px; height: 16px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); align-items: center; justify-content: center; cursor: pointer; }
.mobile-menu { display: none; }
@media (max-width: 980px) {
  .nav-links, .nav-member { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu { display: block; position: fixed; inset: 76px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 20px 24px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); box-shadow: 0 20px 40px rgba(10,46,58,.08); }
  .mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-menu a { display: flex; align-items: center; gap: 10px; padding: 14px 6px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; font-size: 17px; }
  .mobile-menu a:last-child { border-bottom: 0; }
}
@media (max-width: 520px) {
  .brand img { height: 34px; }
  .nav-cta .btn { padding: 0 16px; min-height: 44px; font-size: 15px; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 104px); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(241, 107, 109, .13), transparent 70%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -15%; bottom: -30%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, rgba(79, 162, 135, .11), transparent 70%); pointer-events: none;
}
.dot-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(3, 76, 94, .13) 1px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 60% 55% at 70% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 55% at 70% 40%, #000 20%, transparent 75%); opacity: .55; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.eyebrow .live { width: 22px; height: 22px; border-radius: 50%; background: var(--coral-100); display: inline-flex; align-items: center; justify-content: center; position: relative; }
.eyebrow .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.eyebrow .live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--coral); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.hero h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -.028em; line-height: 1.04; }
.hero h1 .hl { color: var(--coral); position: relative; white-space: nowrap; }
.hero h1 .hl svg { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .28em; overflow: visible; }
.hero h1 .hl path { stroke: var(--coral); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: .55; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.6s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-sub { font-size: clamp(17px, 1.7vw, 20px); color: var(--ink-2); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.iam { margin-top: 6px; padding: 18px; border-radius: var(--r); background: rgba(255, 255, 255, .7); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.iam-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
.iam-label span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.iam-label .ic { color: var(--coral); width: 16px; height: 16px; }
.iam-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.iam-chips .chip { min-height: 38px; padding: 0 13px; font-size: 14px; }

.hero-stage { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.phone { position: relative; width: 340px; max-width: 100%; border-radius: 46px; padding: 11px; background: linear-gradient(160deg, #0E3E4B, #04222B); box-shadow: var(--shadow-3), inset 0 0 0 1.5px rgba(255, 255, 255, .08); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 14px; background: #04222B; z-index: 2; }
.phone-screen { position: relative; border-radius: 36px; background: var(--bg); min-height: 610px; padding: 52px 16px 18px; overflow: hidden; display: flex; flex-direction: column; gap: 14px; }
.ph-status { position: absolute; top: 18px; left: 26px; right: 26px; display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.ph-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ph-hello { font-size: 13px; color: var(--ink-3); }
.ph-title { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--teal); }
.ph-ring { width: 56px; height: 56px; position: relative; flex: none; }
.ph-ring svg { width: 56px; height: 56px; transform: rotate(-90deg); }
.ph-ring circle { fill: none; stroke-width: 6; }
.ph-ring .bg { stroke: var(--teal-100); }
.ph-ring .fg { stroke: var(--coral); stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); }
.ph-ring span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--teal); }
.ph-adapt { padding: 12px 14px; border-radius: 16px; background: var(--teal); color: #fff; display: flex; flex-direction: column; gap: 8px; }
.ph-adapt-top { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #BFD9E0; font-weight: 500; }
.ph-adapt-top .ic { width: 15px; height: 15px; color: var(--coral); }
.ph-adapt strong { font-family: var(--display); font-size: 17px; font-weight: 600; }
.ph-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ph-tags span { font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #E5F1F4; }
.ph-list { display: flex; flex-direction: column; gap: 9px; }
.ph-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(10, 46, 58, .04); }
.ph-day { width: 42px; height: 42px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; background: var(--coral-100); color: var(--coral-ink); }
.ph-item:first-child .ph-day { background: var(--coral); color: var(--ink); }
.ph-item b { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.ph-item small { font-size: 12.5px; color: var(--ink-3); }
.ph-item .ic { margin-left: auto; width: 18px; height: 18px; color: var(--ink-3); }
.ph-fade { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.ph-fade.out { opacity: 0; transform: translateY(8px); }
.ph-nav { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 6px 0; border-top: 1px solid var(--line); color: var(--ink-3); }
.ph-nav .ic { width: 20px; height: 20px; }
.ph-nav .on { color: var(--teal); }

.float-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow-2); font-size: 13.5px; font-weight: 600; color: var(--ink); max-width: 230px; transition: opacity .35s, transform .35s var(--ease); animation: bob 7s ease-in-out infinite; }
.float-chip .fi { width: 32px; height: 32px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--coral-100); color: var(--coral-ink); }
.float-chip .fi .ic { width: 17px; height: 17px; }
.fc-1 { top: 70px; left: -10px; }
.fc-2 { top: 46%; right: -18px; animation-delay: -2.4s; }
.fc-2 .fi { background: var(--teal-100); color: var(--teal); }
.fc-3 { bottom: 70px; left: 0; animation-delay: -4.6s; }
.fc-3 .fi { background: #DCEFE7; color: #2C6753; }
.float-chip.out { opacity: 0; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.pulse-band { position: absolute; left: 0; right: 0; bottom: 18px; height: 120px; pointer-events: none; z-index: 0; opacity: .5; }
.pulse-band svg { width: 100%; height: 100%; }
.pulse-band .trace { fill: none; stroke: var(--coral); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .45; }
.pulse-band .runner { fill: none; stroke: var(--coral); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 120 2400; animation: run 6s linear infinite; filter: drop-shadow(0 0 6px rgba(241, 107, 109, .7)); }
@keyframes run { from { stroke-dashoffset: 2520; } to { stroke-dashoffset: 0; } }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stage { padding-top: 8px; }
  .fc-1 { left: 0; }
  .fc-2 { right: 0; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .phone { width: 100%; max-width: 330px; }
  .phone-screen { min-height: 560px; }
  .float-chip { font-size: 12.5px; max-width: 190px; padding: 8px 12px 8px 8px; }
  .fc-2 { display: none; }
  .fc-1 { top: 40px; left: -4px; }
  .fc-3 { bottom: 40px; right: -4px; left: auto; }
}

/* ------------------------------------------------------------ principles */
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pr-item { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.pr-icon { width: 44px; height: 44px; border-radius: 14px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--tint); color: var(--tint-ink); }
.pr-item b { display: block; font-family: var(--display); font-size: 17px; color: var(--teal); font-weight: 700; margin-bottom: 4px; }
.pr-item p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 980px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- needs explorer */
.needs { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 28px; align-items: start; }
.need-nav { display: flex; flex-direction: column; gap: 4px; }
.need-group-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 14px 12px 6px; }
.need-group-label:first-child { padding-top: 0; }
.need-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 14px; border: 1px solid transparent; background: transparent; text-align: left; cursor: pointer; font-weight: 500; font-size: 15.5px; color: var(--ink); transition: background-color .2s, border-color .2s, box-shadow .2s; }
.need-btn .ni { width: 36px; height: 36px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--tint); color: var(--tint-ink); transition: transform .3s var(--ease); }
.need-btn .ni .ic { width: 18px; height: 18px; }
.need-btn:hover { background: rgba(255, 255, 255, .7); }
.need-btn[aria-selected="true"] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-1); font-weight: 600; color: var(--teal); }
.need-btn[aria-selected="true"] .ni { transform: scale(1.06); }
.need-btn .chev { margin-left: auto; width: 16px; height: 16px; color: var(--ink-3); opacity: 0; transition: opacity .2s, transform .2s; }
.need-btn[aria-selected="true"] .chev { opacity: 1; }
.need-panel { position: sticky; top: 96px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); overflow: hidden; }
.np-head { position: relative; padding: clamp(26px, 4vw, 40px); background: var(--tint); overflow: hidden; }
.np-head::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .7), transparent); }
.np-icon { width: 60px; height: 60px; border-radius: 18px; background: var(--surface); color: var(--tint-ink); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-1); margin-bottom: 18px; position: relative; z-index: 1; }
.np-head .pill { background: var(--surface); position: relative; z-index: 1; }
.np-head h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--ink); margin: 12px 0 10px; position: relative; z-index: 1; }
.np-head p { color: var(--ink-2); font-size: 17.5px; max-width: 60ch; position: relative; z-index: 1; }
.np-body { padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; }
.np-body h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-family: var(--body); font-weight: 700; margin-bottom: 14px; }
.np-adapts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.np-adapts li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.np-adapts li .ck { width: 24px; height: 24px; border-radius: 8px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--tint); color: var(--tint-ink); margin-top: 1px; }
.np-adapts li .ck .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.np-side { display: flex; flex-direction: column; gap: 12px; }
.np-card { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg); text-align: left; cursor: pointer; width: 100%; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.np-card:hover { border-color: var(--coral); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.np-card .ci { width: 42px; height: 42px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--surface); color: var(--teal); border: 1px solid var(--line); }
.np-card small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.np-card b { font-weight: 600; font-size: 15px; line-height: 1.35; display: block; color: var(--ink); }
.np-card > .ic { margin-left: auto; color: var(--ink-3); }
.np-anim { animation: npIn .5s var(--ease); }
@keyframes npIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 980px) {
  .needs { grid-template-columns: 1fr; }
  .need-panel { position: static; }
  .need-nav { flex-direction: row; overflow-x: auto; gap: 8px; padding: 2px 2px 12px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .need-nav::-webkit-scrollbar { display: none; }
  .need-group-label { display: none; }
  .need-btn { width: auto; flex: none; white-space: nowrap; scroll-snap-align: start; background: var(--surface); border-color: var(--line); padding: 8px 14px 8px 8px; }
  .need-btn .chev { display: none; }
  .need-btn[aria-selected="true"] { background: var(--teal); color: #fff; border-color: var(--teal); }
  .np-body { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------- teaser assessment */
.quiz-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.quiz-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 14px; }
.quiz-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.quiz-points .ic { color: var(--coral); margin-top: 3px; }
.quiz { position: relative; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); padding: clamp(22px, 3.4vw, 36px); min-height: 480px; display: flex; flex-direction: column; overflow: hidden; }
.quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.quiz-steps { display: flex; gap: 6px; flex: 1; max-width: 220px; }
.quiz-steps i { flex: 1; height: 6px; border-radius: 6px; background: var(--teal-100); overflow: hidden; position: relative; }
.quiz-steps i::after { content: ""; position: absolute; inset: 0; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.quiz-steps i.done::after { transform: scaleX(1); }
.quiz-steps i.locked { background: repeating-linear-gradient(-45deg, var(--line), var(--line) 3px, transparent 3px, transparent 6px); }
.quiz-count { font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.quiz-q { font-family: var(--display); font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; color: var(--ink); margin-bottom: 18px; letter-spacing: -.02em; }
.quiz-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 14px; min-height: 64px; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--surface); cursor: pointer; text-align: left; font-weight: 500; font-size: 15.5px; color: var(--ink); transition: border-color .2s, background-color .2s, transform .2s var(--ease), box-shadow .2s; }
.opt:hover { border-color: var(--coral); transform: translateY(-1px); }
.opt .oi { width: 36px; height: 36px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--tint, var(--teal-50)); color: var(--tint-ink, var(--teal)); }
.opt .oi .ic { width: 18px; height: 18px; }
.opt[aria-checked="true"], .opt[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-50); box-shadow: 0 0 0 3px rgba(3, 76, 94, .1); }
.opt .tick { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; display: flex; align-items: center; justify-content: center; transition: background-color .2s, border-color .2s; }
.opt .tick .ic { width: 13px; height: 13px; stroke-width: 3; color: #fff; opacity: 0; }
.opt[aria-checked="true"] .tick, .opt[aria-pressed="true"] .tick { background: var(--teal); border-color: var(--teal); }
.opt[aria-checked="true"] .tick .ic, .opt[aria-pressed="true"] .tick .ic { opacity: 1; }
.quiz-foot { margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.q-anim { animation: qIn .45s var(--ease); }
@keyframes qIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.scan { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; }
.scan-orb { width: 120px; height: 120px; border-radius: 50%; position: relative; background: radial-gradient(circle at 35% 30%, #fff, var(--teal-100) 60%, #CFE3E9); box-shadow: 0 0 0 10px rgba(3, 76, 94, .05), 0 0 0 22px rgba(3, 76, 94, .03); }
.scan-orb::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--coral); border-right-color: rgba(241, 107, 109, .35); animation: spin 1s linear infinite; }
.scan-orb svg { position: absolute; inset: 0; margin: auto; width: 64px; height: 30px; stroke: var(--teal); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 120; animation: beat 1.2s var(--ease) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes beat { from { stroke-dashoffset: 120; } to { stroke-dashoffset: -120; } }
.scan-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink-3); text-align: left; }
.scan-steps li { display: flex; align-items: center; gap: 10px; transition: color .3s; }
.scan-steps li .ic { width: 16px; height: 16px; opacity: .3; transition: opacity .3s, color .3s; }
.scan-steps li.ok { color: var(--ink); }
.scan-steps li.ok .ic { opacity: 1; color: var(--ph-follicular); }
.result { display: flex; flex-direction: column; gap: 18px; }
.result-top { display: flex; gap: 20px; align-items: center; }
.match-ring { width: 104px; height: 104px; flex: none; position: relative; }
.match-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.match-ring circle { fill: none; stroke-width: 9; }
.match-ring .bg { stroke: var(--teal-100); }
.match-ring .fg { stroke: var(--coral); stroke-linecap: round; transition: stroke-dashoffset 1.4s var(--ease); }
.match-ring .val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--teal); line-height: 1; }
.match-ring .val small { font-family: var(--body); font-size: 11px; font-weight: 600; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.result-name small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-ink); }
.result-name b { display: block; font-family: var(--display); font-size: clamp(24px, 2.6vw, 30px); color: var(--teal); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 4px 0; }
.result-why { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.result-why li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.result-why .ic { color: var(--ph-follicular); width: 18px; height: 18px; margin-top: 2px; }

/* lock / blur veil, used by every premium preview */
.locked { position: relative; border-radius: var(--r); overflow: hidden; display: grid; }
.locked > * { grid-area: 1 / 1; min-width: 0; }
.locked .blurred { filter: blur(5px); opacity: .7; user-select: none; pointer-events: none; }
.veil { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; background: linear-gradient(180deg, rgba(251, 248, 246, .2), rgba(251, 248, 246, .88) 55%); }
.veil .lk { width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-2); }
.veil b { font-family: var(--display); font-size: 18px; color: var(--ink); }
.veil p { font-size: 14px; color: var(--ink-2); max-width: 34ch; }
.ghost-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); margin-bottom: 8px; }
.ghost-row i { display: block; height: 10px; border-radius: 6px; background: var(--line-2); }
.ghost-row .gb { width: 36px; height: 36px; border-radius: 10px; background: var(--coral-100); flex: none; }
@media (max-width: 980px) { .quiz-wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .quiz-opts { grid-template-columns: 1fr; } .opt { min-height: 56px; } .result-top { flex-direction: column; align-items: flex-start; } }

/* ------------------------------------------------- inside (dark showcase) */
.section-dark { background: radial-gradient(1200px 600px at 85% -10%, rgba(241, 107, 109, .16), transparent 60%), radial-gradient(900px 600px at -10% 110%, rgba(79, 162, 135, .14), transparent 60%), linear-gradient(180deg, #05313D, #042630); color: #E4EFF2; overflow: hidden; }
.section-dark .h2 { color: #fff; }
.section-dark .lede { color: #A9C6CE; }
.section-dark .kicker { color: #F59C9D; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%); pointer-events: none; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.seg button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; font-weight: 600; font-size: 15px; color: var(--ink-2); cursor: pointer; transition: background-color .25s, color .25s; }
.seg button .ic { width: 17px; height: 17px; }
.seg button[aria-selected="true"] { background: var(--teal); color: #fff; }
.seg-dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.seg-dark button { color: #A9C6CE; }
.seg-dark button:hover { color: #fff; }
.seg-dark button[aria-selected="true"] { background: #fff; color: var(--teal); }
.inside-panel { margin-top: 32px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.inside-panel[hidden] { display: none; }
.ip-copy { display: flex; flex-direction: column; gap: 16px; }
.ip-copy h3 { color: #fff; font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -.015em; }
.ip-copy p { color: #A9C6CE; }
.ip-copy ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; }
.ip-copy li { display: flex; gap: 10px; color: #D4E5EA; font-size: 15.5px; }
.ip-copy li .ic { color: var(--coral); margin-top: 3px; width: 18px; height: 18px; }
.demo { position: relative; border-radius: var(--r-l); padding: clamp(18px, 3vw, 28px); background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 30px 80px rgba(0, 0, 0, .25); }
.demo-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; font-size: 13px; font-weight: 600; color: #A9C6CE; letter-spacing: .04em; }
.demo-label .dot { display: inline-flex; align-items: center; gap: 8px; }
.demo-label .dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5BD1A7; box-shadow: 0 0 0 4px rgba(91, 209, 167, .18); }
.kit-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.kit-chips .chip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #E4EFF2; min-height: 40px; font-size: 14px; }
.kit-chips .chip .ic { color: #A9C6CE; }
.kit-chips .chip[aria-pressed="true"] { background: #fff; color: var(--teal); border-color: #fff; }
.kit-chips .chip[aria-pressed="true"] .ic { color: var(--coral); }
.session-card { border-radius: 20px; background: var(--surface); color: var(--ink); padding: 18px; }
.session-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.session-head b { font-family: var(--display); font-size: 19px; color: var(--teal); }
.session-head small { font-size: 13px; color: var(--ink-3); }
.move-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.move-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--bg); font-size: 15px; }
.move-list .mn { width: 26px; height: 26px; border-radius: 8px; background: var(--teal-100); color: var(--teal); font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.move-list .mv { font-weight: 600; transition: opacity .25s, transform .25s var(--ease); }
.move-list .mv.swap { opacity: 0; transform: translateY(-6px); }
.move-list .meq { margin-left: auto; font-size: 12px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.move-list .meq .ic { width: 14px; height: 14px; }
.move-list li.flash { animation: flash 1s var(--ease); }
@keyframes flash { 0% { background: #FDE3E2; } 100% { background: var(--bg); } }
.demo-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.demo-cta p { font-size: 14px; color: #A9C6CE; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 16px; }
.day-pill { min-height: 54px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); color: #E4EFF2; font-weight: 600; font-size: 14px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; transition: background-color .2s, color .2s, border-color .2s; }
.day-pill small { font-size: 10.5px; font-weight: 600; opacity: .7; }
.day-pill[aria-pressed="true"] { background: var(--coral); color: var(--ink); border-color: var(--coral); }
.plan-rows { display: flex; flex-direction: column; gap: 6px; }
.plan-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; background: var(--surface); color: var(--ink); animation: qIn .4s var(--ease) both; }
.plan-row .pd { width: 44px; font-weight: 700; color: var(--coral-ink); font-size: 14px; flex: none; }
.plan-row b { font-weight: 600; font-size: 15px; }
.plan-row small { margin-left: auto; color: var(--ink-3); font-size: 13px; white-space: nowrap; }
.plan-row.rest { background: rgba(255, 255, 255, .06); color: #A9C6CE; }
.plan-row.rest .pd { color: #A9C6CE; }
.plan-row.rest b { font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.stat { padding: 14px; border-radius: 16px; background: var(--surface); color: var(--ink); }
.stat small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.stat b { font-family: var(--display); font-size: 28px; color: var(--teal); font-weight: 800; letter-spacing: -.02em; }
.stat span { font-size: 12.5px; color: #2C6753; font-weight: 600; display: inline-flex; align-items: center; gap: 3px; }
.stat span .ic { width: 13px; height: 13px; }
.chart-card { padding: 16px 16px 10px; border-radius: 16px; background: var(--surface); color: var(--ink); position: relative; }
.chart-card h4 { font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.chart-card p { font-size: 12.5px; color: var(--ink-3); margin-bottom: 8px; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .bar { fill: var(--teal); transition: fill .2s; }
.chart .bar.hl { fill: var(--coral); }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--ink-3); font-size: 11px; font-family: var(--body); }
.chart-tip { position: absolute; pointer-events: none; padding: 6px 10px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; transform: translate(-50%, -110%); opacity: 0; transition: opacity .15s; }
.chart-tip.on { opacity: 1; }
.coach { display: flex; flex-direction: column; gap: 10px; min-height: 300px; }
.bubble { max-width: 86%; padding: 12px 15px; border-radius: 18px; font-size: 15px; line-height: 1.5; animation: qIn .4s var(--ease) both; }
.bubble.me { align-self: flex-end; background: var(--coral); color: var(--ink); border-bottom-right-radius: 6px; }
.bubble.ai { align-self: flex-start; background: var(--surface); color: var(--ink); border-bottom-left-radius: 6px; }
.bubble.ai .who { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--teal); margin-bottom: 4px; }
.bubble.ai .who .ic { width: 14px; height: 14px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.coach-prompts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.coach-prompts button { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #E4EFF2; font-size: 14px; cursor: pointer; transition: background-color .2s; }
.coach-prompts button:hover { background: rgba(255, 255, 255, .14); }
.soon { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(241, 107, 109, .16); color: #F8B2B3; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 980px) { .inside-panel { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .days { gap: 4px; } .day-pill { min-height: 48px; font-size: 12.5px; border-radius: 11px; } .day-pill small { display: none; }
  .stats { grid-template-columns: 1fr 1fr; } .stats .stat:last-child { grid-column: span 2; }
  .seg button { padding: 0 13px; font-size: 14px; }
  .move-list li { flex-wrap: wrap; row-gap: 2px; }
  .move-list .meq { margin-left: 38px; flex-basis: calc(100% - 38px); white-space: normal; }
}

/* ----------------------------------------------------------------- cycle */
.cycle-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.dial-wrap { position: relative; width: min(440px, 100%); margin: 0 auto; }
.dial { width: 100%; height: auto; display: block; touch-action: pan-y; cursor: pointer; user-select: none; }
.dial .arc { fill: none; stroke-width: 26; stroke-linecap: butt; transition: opacity .3s; }
.dial .arc.dim { opacity: .28; }
.dial .tick { stroke: var(--line-2); stroke-width: 1.5; }
.dial .tick.wk { stroke: var(--ink-3); stroke-width: 2; }
.dial .knob { fill: var(--surface); stroke: var(--ink); stroke-width: 3; filter: drop-shadow(0 4px 10px rgba(10, 46, 58, .25)); cursor: grab; }
.dial .knob-hit { fill: transparent; cursor: grab; }
.dial .daylabel { font-family: var(--body); font-size: 11px; fill: var(--ink-3); font-weight: 600; }
.dial-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; text-align: center; }
.dial-center small { font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; }
.dial-center b { font-family: var(--display); font-size: clamp(44px, 6vw, 60px); font-weight: 800; color: var(--teal); line-height: 1; letter-spacing: -.03em; }
.dial-center span { margin-top: 6px; font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; }
.dial-center span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--phc, var(--coral)); }
.dial-range { width: 100%; margin-top: 18px; accent-color: var(--teal); }
.phase-card { border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); padding: clamp(22px, 3vw, 32px); position: relative; overflow: hidden; }
.phase-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--phc, var(--coral)); transition: background-color .4s; }
.phase-card h3 { font-size: clamp(26px, 3vw, 32px); font-weight: 800; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.energy { display: inline-flex; align-items: center; gap: 4px; font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--ink-3); }
.energy i { width: 10px; height: 18px; border-radius: 4px; background: var(--line); transition: background-color .3s; }
.energy i.on { background: var(--phc, var(--coral)); }
.phase-rows { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.phase-row { display: flex; gap: 14px; }
.phase-row .pi { width: 38px; height: 38px; border-radius: 12px; background: var(--bg-2); color: var(--teal); display: flex; align-items: center; justify-content: center; flex: none; }
.phase-row small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.phase-row p { font-size: 15.5px; color: var(--ink); }
.cycle-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.input { min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--surface); font: inherit; font-size: 16px; color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(3, 76, 94, .1); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2346606B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.note { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink-3); margin-top: 16px; line-height: 1.5; }
.note .ic { width: 16px; height: 16px; margin-top: 2px; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 12px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; }
@media (max-width: 980px) { .cycle-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cycle-form { grid-template-columns: 1fr 1fr; } .cycle-form .btn { grid-column: span 2; } }

/* -------------------------------------------------------------- programs */
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.prog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 20px; }
.prog-card { display: flex; flex-direction: column; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s, opacity .3s; text-align: left; }
.prog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.prog-card.hide { display: none; }
.pc-top { position: relative; padding: 22px 22px 18px; background: var(--tint); overflow: hidden; }
.pc-top::after { content: ""; position: absolute; right: -30px; bottom: -50px; width: 140px; height: 140px; border-radius: 50%; border: 18px solid rgba(255, 255, 255, .45); }
.pc-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--surface); color: var(--tint-ink); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; box-shadow: var(--shadow-1); }
.pc-top h3 { font-size: 22px; font-weight: 700; color: var(--ink); }
.pc-top p { font-size: 14.5px; color: var(--ink-2); margin-top: 4px; position: relative; z-index: 1; }
.pc-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pc-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 12px 14px; border-radius: 14px; background: var(--bg); }
.pc-meta span { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.pc-meta .ic { width: 16px; height: 16px; color: var(--tint-ink); }
.pc-equip { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-equip span { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); }
.pc-equip .ic { width: 13px; height: 13px; }
.pc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; }
.level { font-size: 13px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.level .ic { width: 15px; height: 15px; color: var(--coral); }

/* --------------------------------------------------------------- dialogs */
dialog { border: 0; padding: 0; color: var(--ink); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(5, 47, 59, .42); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
body.dialog-open { overflow: hidden; }
.modal { width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; border-radius: var(--r-l); background: var(--surface); box-shadow: var(--shadow-3); overflow: hidden; }
.modal[open] { display: flex; flex-direction: column; animation: modalIn .4s var(--ease); }
.modal-scroll { overflow-y: auto; overscroll-behavior: contain; }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-1); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); transition: transform .2s var(--ease); }
.modal-close:hover { transform: rotate(90deg); }
@media (max-width: 640px) {
  .modal { width: 100%; max-height: 94dvh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  .modal[open] { animation: sheetIn .4s var(--ease); }
}
@keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

.pm-head { padding: 34px clamp(22px, 4vw, 40px) 26px; background: var(--tint); position: relative; }
.pm-head h3 { font-size: clamp(28px, 3.4vw, 36px); font-weight: 800; color: var(--ink); margin: 14px 0 6px; padding-right: 40px; }
.pm-head p { color: var(--ink-2); max-width: 60ch; }
.pm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.pm-stats div { padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .75); }
.pm-stats small { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.pm-stats b { font-size: 15px; color: var(--ink); }
.pm-body { padding: 26px clamp(22px, 4vw, 40px) 30px; display: flex; flex-direction: column; gap: 18px; }
.pm-body h4 { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pm-session { border-radius: 18px; border: 1px solid var(--line); overflow: hidden; }
.pm-s-head { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--bg); }
.pm-s-head .pd { width: 44px; height: 44px; border-radius: 12px; background: var(--coral-100); color: var(--coral-ink); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; flex: none; }
.pm-s-head b { display: block; font-weight: 600; }
.pm-s-head small { color: var(--ink-3); font-size: 13.5px; }
.pm-s-head .lock-badge, .pm-s-head .free-badge { margin-left: auto; }
.pm-moves { list-style: none; margin: 0; padding: 8px 16px 14px; display: flex; flex-direction: column; }
.pm-moves li { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.pm-moves li:last-child { border-bottom: 0; }
.pm-moves li .n { width: 24px; height: 24px; border-radius: 8px; background: var(--teal-100); color: var(--teal); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.pm-moves.blurred li { color: var(--ink-3); }
.pm-blocks { display: flex; flex-direction: column; gap: 8px; }
.pm-block { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 14px; background: var(--bg); color: var(--ink-2); font-size: 15px; }
.pm-block .ic { color: var(--ink-3); width: 16px; height: 16px; }
.pm-block:first-child { background: var(--teal-50); color: var(--teal); font-weight: 600; }
.pm-block:first-child .ic { color: var(--teal); }
.pm-cta { position: sticky; bottom: 0; padding: 16px clamp(22px, 4vw, 40px); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.pm-cta p { font-size: 14px; color: var(--ink-2); }
@media (max-width: 560px) { .pm-stats { grid-template-columns: 1fr 1fr; } .pm-cta p { display: none; } .pm-cta .btn { width: 100%; } }

/* reader drawer */
.drawer { width: min(720px, 100%); height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; background: var(--surface); box-shadow: var(--shadow-3); }
.drawer[open] { display: flex; flex-direction: column; animation: drawerIn .45s var(--ease); }
@keyframes drawerIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.reader-bar { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px 12px 24px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.reader-bar .rb-left { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-3); font-weight: 500; }
.reader-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink-2); transition: border-color .2s, color .2s; font-weight: 700; font-size: 14px; }
.icon-btn:hover { border-color: var(--coral); color: var(--ink); }
.reader-progress { position: absolute; left: 0; bottom: -1px; height: 3px; background: var(--coral); width: 0; transition: width .1s linear; }
.reader-scroll { overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.reader-head { padding: 36px clamp(22px, 5vw, 56px) 8px; }
.reader-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; color: var(--ink); margin: 14px 0 10px; letter-spacing: -.025em; }
.reader-head p { color: var(--ink-2); font-size: 18px; }
.prose { padding: 10px clamp(22px, 5vw, 56px) 30px; font-size: var(--reader-size, 18px); line-height: 1.75; color: #24434E; max-width: 70ch; }
.prose p { margin: 0 0 1em; }
.prose h3 { font-size: 1.25em; font-weight: 700; color: var(--teal); margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--coral); }
.prose strong { color: var(--ink); }
.reader-foot { margin: 0 clamp(22px, 5vw, 56px) 40px; display: flex; flex-direction: column; gap: 14px; }
.reader-cta { padding: 22px; border-radius: var(--r); background: var(--tint, var(--teal-50)); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.reader-cta b { font-family: var(--display); font-size: 19px; color: var(--ink); display: block; }
.reader-cta p { font-size: 14.5px; color: var(--ink-2); }
.disclaimer { display: flex; gap: 10px; font-size: 13px; color: var(--ink-3); padding: 14px 16px; border-radius: 14px; background: var(--bg); line-height: 1.5; }
.disclaimer .ic { width: 16px; height: 16px; margin-top: 1px; }

/* workout player */
.player { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; border-radius: var(--r-xl); background: linear-gradient(180deg, #05313D, #042630); color: #fff; box-shadow: var(--shadow-3); overflow: hidden; }
.player[open] { display: flex; flex-direction: column; animation: modalIn .4s var(--ease); }
.player .modal-close { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; }
.pl-inner { padding: 28px clamp(20px, 4vw, 34px) 28px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; overflow-y: auto; }
.pl-title { font-size: 14px; color: #A9C6CE; font-weight: 600; letter-spacing: .04em; }
.pl-segs { display: flex; gap: 3px; width: 100%; }
.pl-segs i { flex: 1; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .14); overflow: hidden; position: relative; }
.pl-segs i.rest { flex: .5; }
.pl-segs i b { position: absolute; inset: 0; background: var(--coral); transform-origin: left; transform: scaleX(0); }
.pl-segs i.done b { transform: scaleX(1); }
.pl-ring { width: min(260px, 64vw); aspect-ratio: 1; position: relative; }
.pl-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pl-ring circle { fill: none; stroke-width: 10; }
.pl-ring .bg { stroke: rgba(255, 255, 255, .1); }
.pl-ring .fg { stroke: var(--coral); stroke-linecap: round; }
.pl-ring.rest .fg { stroke: #5BD1A7; }
.pl-time { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pl-time b { font-family: var(--display); font-size: clamp(52px, 12vw, 72px); font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.pl-time small { font-size: 13px; color: #A9C6CE; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin-top: 6px; }
.pl-name { font-family: var(--display); font-size: clamp(24px, 4vw, 30px); font-weight: 700; color: #fff; }
.pl-cue { color: #C9DDE2; font-size: 16px; max-width: 42ch; min-height: 3em; }
.pl-next { font-size: 14px; color: #A9C6CE; }
.pl-next b { color: #fff; font-weight: 600; }
.pl-controls { display: flex; align-items: center; gap: 14px; }
.pl-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s; }
.pl-btn:hover { background: rgba(255, 255, 255, .14); }
.pl-btn.main { width: 72px; height: 72px; background: var(--coral); color: var(--ink); border-color: var(--coral); }
.pl-btn.main .ic { width: 28px; height: 28px; }
.pl-done { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px 0; }
.pl-done .big { width: 84px; height: 84px; border-radius: 50%; background: rgba(91, 209, 167, .16); color: #5BD1A7; display: flex; align-items: center; justify-content: center; }
.pl-done .big .ic { width: 40px; height: 40px; }
.pl-done h3 { color: #fff; font-size: 28px; }
.pl-done p { color: #C9DDE2; max-width: 40ch; }

/* -------------------------------------------------------------- library */
.lib-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.lib-panel[hidden] { display: none; }
.art-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.art-filters .chip { min-height: 36px; font-size: 14px; padding: 0 14px; }
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.art-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-align: left; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; position: relative; overflow: hidden; }
.art-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: transparent; }
.art-card .art-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.art-card h3 { font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.25; letter-spacing: -.015em; }
.art-card p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.art-card .art-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; color: var(--ink-3); padding-top: 4px; }
.art-card .art-foot span { display: inline-flex; align-items: center; gap: 6px; }
.art-card .art-foot .ic { width: 15px; height: 15px; }
.art-card.hide { display: none; }
.art-card.featured { grid-column: span 2; background: var(--tint); border-color: transparent; padding: 30px; }
.art-card.featured .pill { background: var(--surface); }
.art-card.featured h3 { font-size: clamp(24px, 2.6vw, 30px); max-width: 22ch; }
.art-card.featured p { font-size: 16.5px; max-width: 52ch; }
@media (max-width: 680px) { .art-card.featured { grid-column: auto; padding: 22px; } }
.more-row { display: flex; justify-content: center; margin-top: 26px; }
.wo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.wo-card { border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.wo-visual { position: relative; height: 150px; background: var(--tint); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.wo-visual svg.wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70px; }
.wo-visual svg.wave path { fill: none; stroke: var(--tint-strong); stroke-width: 2.4; opacity: .5; stroke-linecap: round; }
.wo-visual .wo-icon { width: 64px; height: 64px; border-radius: 20px; background: var(--surface); color: var(--tint-ink); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-2); position: relative; z-index: 1; }
.wo-visual .pill { position: absolute; top: 14px; left: 14px; background: var(--surface); }
.wo-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.wo-body h3 { font-size: 21px; color: var(--ink); font-weight: 700; }
.wo-body p { font-size: 15px; color: var(--ink-2); }
.wo-meta { display: flex; gap: 14px; font-size: 13.5px; color: var(--ink-3); flex-wrap: wrap; }
.wo-meta span { display: inline-flex; align-items: center; gap: 6px; }
.wo-meta .ic { width: 15px; height: 15px; }
.wo-body .btn { margin-top: auto; align-self: flex-start; }
.tools-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 18px; }
.tool-card { border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 3vw, 30px); display: flex; flex-direction: column; gap: 14px; }
.tool-card h3 { font-size: 22px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.tool-card h3 .ti { width: 38px; height: 38px; border-radius: 12px; background: var(--tint); color: var(--tint-ink); display: flex; align-items: center; justify-content: center; }
.tool-card > p { color: var(--ink-2); font-size: 15px; }
.breath-modes { display: flex; flex-wrap: wrap; gap: 8px; }
.breath-modes .chip { min-height: 38px; font-size: 14px; }
.breath-stage { position: relative; height: 300px; display: flex; align-items: center; justify-content: center; border-radius: var(--r); background: radial-gradient(circle at 50% 50%, #EEF6F3, var(--bg) 70%); overflow: hidden; }
.breath-ring { position: absolute; width: 250px; height: 250px; border-radius: 50%; border: 1.5px dashed rgba(3, 76, 94, .18); }
.breath-circle { width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #9DD8C4, #4FA287 70%); box-shadow: 0 0 0 16px rgba(79, 162, 135, .12), 0 0 60px rgba(79, 162, 135, .35); transform: scale(1); transition-property: transform; transition-timing-function: ease-in-out; }
.breath-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.breath-text b { font-family: var(--display); font-size: 22px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .2); }
.breath-text small { font-size: 14px; color: #fff; font-weight: 600; opacity: .9; font-variant-numeric: tabular-nums; }
.breath-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.breath-foot span { font-size: 14px; color: var(--ink-3); }
.protein-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.protein-out { border-radius: var(--r); background: var(--teal); color: #fff; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.protein-out small { font-size: 13px; color: #BFD9E0; font-weight: 600; }
.protein-out b { font-family: var(--display); font-size: 38px; letter-spacing: -.02em; line-height: 1.1; }
.protein-out p { font-size: 14px; color: #D7E7EB; }
.protein-bar { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .14); overflow: hidden; margin-top: 6px; display: flex; gap: 3px; }
.protein-bar i { flex: 1; background: var(--coral); border-radius: 4px; }
.tool-link { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: var(--bg); text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: border-color .2s; }
.tool-link:hover { border-color: var(--coral); color: var(--ink); }
.tool-link b { display: block; font-weight: 600; }
.tool-link small { color: var(--ink-3); font-size: 13.5px; }
.tool-link > .ic:last-child { margin-left: auto; color: var(--ink-3); }
.tool-stack { display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 900px) { .tools-grid { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .protein-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------- compare & price */
.compare-wrap { border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--display); font-size: 17px; color: var(--teal); background: var(--bg); position: relative; }
.compare thead th small { display: block; font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--ink-3); }
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; width: 22%; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare tbody th { font-weight: 500; color: var(--ink); }
.compare tbody th small { display: block; color: var(--ink-3); font-size: 13px; font-weight: 400; }
.compare .col-member { background: rgba(3, 76, 94, .035); }
.compare thead .col-member { background: var(--teal); color: #fff; }
.compare thead .col-member small { color: #BFD9E0; }
.yes { color: #2C6753; display: inline-flex; }
.no { color: var(--ink-3); display: inline-flex; opacity: .7; }
.part { font-size: 13px; font-weight: 600; color: var(--ink-2); }
@media (max-width: 640px) { .compare th, .compare td { padding: 12px 10px; font-size: 14px; } .compare thead th { font-size: 15px; } }
.billing { display: inline-flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.billing button { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; font-weight: 600; font-size: 15px; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background-color .25s, color .25s; }
.billing button[aria-pressed="true"] { background: var(--teal); color: #fff; }
.billing .save { font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--coral); color: var(--ink); }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; max-width: 920px; margin-left: auto; margin-right: auto; }
.price-card { border-radius: var(--r-xl); padding: clamp(26px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; }
.price-card.member { background: linear-gradient(170deg, #05475A, #052F3B); color: #fff; border: 0; box-shadow: var(--shadow-3); }
.price-card.member::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(241, 107, 109, .35), transparent); }
.price-card h3 { font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price-card.member h3 { color: #fff; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-family: var(--display); font-size: clamp(46px, 5vw, 58px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.price-card.member .price b { color: #fff; }
.price span { color: var(--ink-3); }
.price-card.member .price span { color: #A9C6CE; }
.price-note { font-size: 14.5px; color: var(--ink-2); min-height: 1.5em; }
.price-card.member .price-note { color: #D2E4E9; }
.feat { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; position: relative; z-index: 1; }
.feat li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.feat .ic { width: 18px; height: 18px; color: var(--coral); margin-top: 3px; stroke-width: 2.6; }
.price-card .btn { margin-top: auto; position: relative; z-index: 1; }
.price-fine { text-align: center; font-size: 13.5px; color: var(--ink-3); margin-top: 18px; }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------- faq */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow-1); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--ink-3); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary .ic { transform: rotate(45deg); color: var(--coral); }
.faq .ans { padding: 0 22px 22px; color: var(--ink-2); font-size: 16px; }
.faq .ans p + p { margin-top: .7em; }

/* -------------------------------------------------------------- final cta */
.final { position: relative; overflow: hidden; border-radius: var(--r-xl); background: linear-gradient(160deg, #05475A, #042630); color: #fff; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.final .grid-lines { opacity: .8; }
.final h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; position: relative; }
.final h2 em { font-style: normal; color: var(--coral); }
.final p { color: #BFD9E0; font-size: 18px; margin-top: 14px; position: relative; }
.final .btn { position: relative; }
.final-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.newsletter { position: relative; border-radius: var(--r-l); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 12px; }
.newsletter b { font-family: var(--display); font-size: 21px; }
.newsletter p { font-size: 15px; margin: 0; color: #BFD9E0; }
.newsletter form { display: flex; flex-direction: column; gap: 10px; }
.newsletter .row { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter .input { flex: 1 1 200px; min-width: 0; border: 0; border-radius: 999px; padding: 0 18px; }
.newsletter .check-row { color: #BFD9E0; }
.newsletter .check-row a { color: #fff; }
@media (max-width: 900px) { .final { grid-template-columns: 1fr; } }

.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.check-row input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--coral); }
.form-msg { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.form-msg.ok { color: #5BD1A7; }
.form-msg.err { color: #F8B2B3; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: #042630; color: #A9C6CE; padding: 64px 0 36px; margin-top: clamp(72px, 9vw, 120px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid img { height: 38px; width: auto; margin-bottom: 16px; }
.foot-grid p { font-size: 14.5px; max-width: 34ch; }
.foot-grid h4 { font-family: var(--body); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { color: #D2E4E9; text-decoration: none; font-size: 15px; }
.foot-grid a:hover { color: #fff; text-decoration: underline; }
.foot-legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.foot-legal .row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: span 2; } }

/* ------------------------------------------------------------ join modal */
.join { width: min(620px, calc(100% - 32px)); }
.join-inner { padding: 30px clamp(22px, 4vw, 38px) 28px; }
.join-steps { display: flex; gap: 8px; margin-bottom: 22px; padding-right: 48px; }
.join-steps span { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.join-steps span::before { content: ""; height: 5px; border-radius: 5px; background: var(--teal-100); transition: background-color .3s; }
.join-steps span.on { color: var(--teal); }
.join-steps span.on::before { background: var(--coral); }
.join h3 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.join .sub { color: var(--ink-2); margin-bottom: 20px; font-size: 15.5px; }
.plan-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plan-opt { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 18px; border: 1.5px solid var(--line-2); background: var(--surface); cursor: pointer; text-align: left; transition: border-color .2s, box-shadow .2s; }
.plan-opt[aria-checked="true"] { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(3, 76, 94, .1); }
.plan-opt small { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.plan-opt b { font-family: var(--display); font-size: 30px; font-weight: 800; color: var(--teal); letter-spacing: -.02em; }
.plan-opt span { font-size: 13.5px; color: var(--ink-2); }
.plan-opt .save { position: absolute; top: -10px; right: 14px; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--coral); color: var(--ink); }
.join-feat { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; list-style: none; padding: 0; }
.join-feat li { display: flex; gap: 8px; font-size: 14px; color: var(--ink-2); }
.join-feat .ic { width: 16px; height: 16px; color: var(--coral); margin-top: 3px; stroke-width: 2.6; }
.join-form { display: flex; flex-direction: column; gap: 14px; }
.join-actions { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.join-actions .btn-primary { flex: 1 1 auto; max-width: 340px; margin-left: auto; }
.summary { border-radius: 18px; background: var(--bg); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.summary div { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.summary div b { font-weight: 600; }
.summary hr { border: 0; border-top: 1px dashed var(--line-2); margin: 4px 0; width: 100%; }
.secure { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); margin-top: 12px; }
.secure .ic { width: 15px; height: 15px; }
.join-done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 10px 0; }
.join-done .big { width: 76px; height: 76px; border-radius: 50%; background: #DCEFE7; color: #2C6753; display: flex; align-items: center; justify-content: center; }
.join-done .big .ic { width: 36px; height: 36px; }
.field-err { font-size: 13px; color: var(--coral-ink); font-weight: 500; }
@media (max-width: 640px) { .modal.join { width: 100%; } }
@media (max-width: 520px) { .plan-opts, .join-feat { grid-template-columns: 1fr; } .join-actions .btn-primary { max-width: none; width: 100%; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 500; box-shadow: var(--shadow-3); display: flex; align-items: center; gap: 10px; transition: opacity .3s, transform .3s var(--ease); max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast .ic { width: 18px; height: 18px; color: var(--coral); }

/* reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.d1.in { transition-delay: .08s; }
.js .reveal.d2.in { transition-delay: .16s; }
.js .reveal.d3.in { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .float-chip { animation: none; }
  .pulse-band .runner { display: none; }
}

/* =========================================================================
   Member area (app.html)
   ========================================================================= */
.app-body { background: var(--bg); min-height: 100vh; }
.app-top { position: sticky; top: 0; z-index: 40; background: rgba(251, 248, 246, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.app-top .nav { min-height: 68px; }
.app-user { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ink-2); }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--coral-100); color: var(--coral-ink); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.plan-chip { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--teal-100); color: var(--teal); text-transform: uppercase; letter-spacing: .06em; }
.preview-bar { background: var(--ink); color: #fff; font-size: 13.5px; text-align: center; padding: 8px 16px; }
.preview-bar a { color: #F8B2B3; }
.app-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 40px; padding-top: 40px; padding-bottom: 80px; align-items: start; }
.stepper { position: sticky; top: 96px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; counter-reset: step; }
.stepper button { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; border: 1px solid transparent; background: transparent; cursor: pointer; text-align: left; color: var(--ink-3); transition: background-color .2s, color .2s; }
.stepper button:disabled { cursor: not-allowed; opacity: .55; }
.stepper .sn { width: 38px; height: 38px; border-radius: 12px; border: 1.5px solid var(--line-2); display: flex; align-items: center; justify-content: center; flex: none; font-weight: 700; font-size: 14px; background: var(--surface); }
.stepper b { display: block; font-size: 15.5px; font-weight: 600; color: inherit; }
.stepper small { font-size: 12.5px; }
.stepper button[aria-current="step"] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-1); color: var(--ink); }
.stepper button[aria-current="step"] .sn { background: var(--teal); border-color: var(--teal); color: #fff; }
.stepper button.done { color: var(--ink-2); }
.stepper button.done .sn { background: #DCEFE7; border-color: #DCEFE7; color: #2C6753; }
.app-card { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); padding: clamp(22px, 4vw, 44px); }
.app-card-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.app-card-head h1, .app-card-head h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.app-card-head p { color: var(--ink-2); }
.q-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.q-bar { flex: 1; height: 8px; border-radius: 8px; background: var(--teal-100); overflow: hidden; }
.q-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--coral)); border-radius: 8px; transition: width .5s var(--ease); }
.q-progress span { font-size: 13.5px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.q-title { font-family: var(--display); font-size: clamp(24px, 2.8vw, 32px); font-weight: 700; color: var(--ink); letter-spacing: -.02em; margin-bottom: 8px; }
.q-help { color: var(--ink-2); margin-bottom: 22px; font-size: 15.5px; }
.q-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.q-opts.one { grid-template-columns: 1fr; max-width: 520px; }
.q-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.range-wrap { max-width: 520px; }
.range-val { font-family: var(--display); font-size: 56px; font-weight: 800; color: var(--teal); letter-spacing: -.03em; line-height: 1; }
.range-val small { font-family: var(--body); font-size: 17px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.range-wrap input[type=range] { width: 100%; margin: 18px 0 8px; accent-color: var(--coral); height: 28px; }
.range-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); }
.match-list { display: flex; flex-direction: column; gap: 14px; }
.match-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px; border-radius: 22px; border: 1.5px solid var(--line-2); background: var(--surface); cursor: pointer; text-align: left; transition: border-color .2s, box-shadow .2s, transform .25s var(--ease); width: 100%; }
.match-card:hover { transform: translateY(-2px); }
.match-card[aria-checked="true"] { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(3, 76, 94, .1); }
.match-card .match-ring { width: 86px; height: 86px; }
.match-card .match-ring .val { font-size: 21px; }
.match-card h3 { font-size: 22px; font-weight: 700; color: var(--ink); }
.match-card .mc-tag { font-size: 14px; color: var(--ink-2); margin: 2px 0 10px; }
.match-card .why { display: flex; flex-wrap: wrap; gap: 6px; }
.match-card .why span { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg); color: var(--ink-2); display: inline-flex; align-items: center; gap: 4px; }
.match-card .why .ic { width: 13px; height: 13px; color: var(--ph-follicular); }
.match-card .opt-tick { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-2); display: flex; align-items: center; justify-content: center; }
.match-card .opt-tick .ic { width: 15px; height: 15px; color: #fff; opacity: 0; stroke-width: 3; }
.match-card[aria-checked="true"] .opt-tick { background: var(--teal); border-color: var(--teal); }
.match-card[aria-checked="true"] .opt-tick .ic { opacity: 1; }
.match-card .best { display: inline-flex; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--coral); color: var(--ink); margin-bottom: 6px; }
.safety { display: flex; gap: 12px; padding: 16px 18px; border-radius: 16px; background: #FFF6E9; border: 1px solid #F3DDB8; color: #6E4A12; font-size: 14.5px; margin-bottom: 18px; }
.safety .ic { color: #C9822A; margin-top: 2px; }
.equip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.equip-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 18px; border: 1.5px solid var(--line-2); background: var(--surface); cursor: pointer; text-align: left; font-weight: 600; font-size: 15px; transition: border-color .2s, background-color .2s, box-shadow .2s; position: relative; }
.equip-opt .ei { width: 42px; height: 42px; border-radius: 13px; background: var(--bg-2); color: var(--teal); display: flex; align-items: center; justify-content: center; transition: background-color .2s, color .2s; }
.equip-opt[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-50); box-shadow: 0 0 0 3px rgba(3, 76, 94, .08); }
.equip-opt[aria-pressed="true"] .ei { background: var(--teal); color: #fff; }
.equip-opt .tick { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); display: flex; align-items: center; justify-content: center; }
.equip-opt .tick .ic { width: 12px; height: 12px; stroke-width: 3; color: #fff; opacity: 0; }
.equip-opt[aria-pressed="true"] .tick { background: var(--teal); border-color: var(--teal); }
.equip-opt[aria-pressed="true"] .tick .ic { opacity: 1; }
.equip-opt[disabled] { cursor: default; opacity: 1; }
.equip-preview { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.equip-preview .session-card { border: 1px solid var(--line); }
.week-tools { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.week-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.week-days .day-pill { border-color: var(--line-2); background: var(--surface); color: var(--ink); }
.week-days .day-pill[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.week-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.wk-col { min-height: 210px; border-radius: 18px; background: var(--bg); border: 1.5px dashed transparent; padding: 8px; display: flex; flex-direction: column; gap: 8px; transition: border-color .2s, background-color .2s; }
.wk-col.over { border-color: var(--coral); background: var(--coral-100); }
.wk-col > small { font-size: 12.5px; font-weight: 700; color: var(--ink-3); text-align: center; text-transform: uppercase; letter-spacing: .06em; padding: 4px 0; }
.wk-session { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); padding: 10px; cursor: grab; box-shadow: 0 2px 8px rgba(10, 46, 58, .05); display: flex; flex-direction: column; gap: 4px; transition: transform .2s var(--ease), box-shadow .2s; text-align: left; width: 100%; }
.wk-session:hover { box-shadow: var(--shadow-1); transform: translateY(-1px); }
.wk-session.dragging { opacity: .4; }
.wk-session .ws-top { display: flex; align-items: center; justify-content: space-between; gap: 4px; color: var(--ink-3); font-size: 12px; white-space: nowrap; }
#today-detail .session-head { display: none; }
.wk-session .ws-top .ic { width: 14px; height: 14px; }
.wk-session b { font-size: 13.5px; line-height: 1.25; color: var(--ink); font-weight: 600; }
.wk-session small { font-size: 12px; color: var(--ink-3); }
.wk-session .phase-dot { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--ink-2); }
.wk-session .phase-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--phc); }
.wk-rest { font-size: 12px; color: var(--ink-3); text-align: center; padding: 10px 4px; border-radius: 12px; border: 1px dashed var(--line-2); }
.wk-session.moving { outline: 2px solid var(--coral); }
.session-detail { margin-top: 22px; }
.plan-ready { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.ready-hero { border-radius: var(--r-l); background: linear-gradient(160deg, #05475A, #042630); color: #fff; padding: 28px; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.ready-hero h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); }
.ready-hero p { color: #BFD9E0; }
.ready-hero .grid-lines { opacity: .7; }
.ready-hero > * { position: relative; }
.today-card { border-radius: var(--r-l); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.today-card small { font-size: 12.5px; font-weight: 700; color: var(--coral-ink); text-transform: uppercase; letter-spacing: .1em; }
.today-card h3 { font-size: 24px; color: var(--ink); }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 18px; }
.kv div { padding: 14px; border-radius: 16px; background: var(--bg); }
.kv small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.kv b { font-size: 15.5px; color: var(--ink); }
.gate { min-height: calc(100vh - 68px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; position: relative; overflow: hidden; }
.gate-bg { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 40px; filter: blur(8px); opacity: .5; pointer-events: none; }
.gate-bg div { border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.gate-card { position: relative; z-index: 1; max-width: 520px; width: 100%; text-align: center; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-3); padding: clamp(28px, 5vw, 44px); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.gate-card .lk { width: 64px; height: 64px; border-radius: 20px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; }
.gate-card h1 { font-size: clamp(28px, 3.4vw, 36px); font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.gate-card p { color: var(--ink-2); }
.gate-card ul { list-style: none; padding: 0; margin: 4px 0 8px; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.gate-card li { display: flex; gap: 10px; font-size: 15px; }
.gate-card li .ic { color: var(--coral); width: 18px; height: 18px; margin-top: 3px; }
@media (max-width: 1180px) {
  .week-grid { grid-template-columns: 1fr; }
  .wk-col { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .wk-col > small { width: 48px; text-align: left; }
  .wk-session { width: auto; flex: 1 1 200px; }
  .wk-rest { flex: 1; }
}
@media (max-width: 980px) {
  .app-layout { grid-template-columns: 1fr; gap: 20px; padding-top: 20px; }
  .stepper { position: static; flex-direction: row; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .stepper::-webkit-scrollbar { display: none; }
  .stepper li { flex: none; }
  .stepper button { padding: 8px 12px 8px 8px; }
  .stepper small { display: none; }
  .week-grid { grid-template-columns: 1fr; }
  .wk-col { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .wk-col > small { width: 48px; text-align: left; }
  .wk-session { width: auto; flex: 1 1 200px; }
  .wk-rest { flex: 1; }
  .plan-ready { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .q-opts { grid-template-columns: 1fr; }
  .match-card { grid-template-columns: auto minmax(0, 1fr); }
  .match-card .opt-tick { display: none; }
  .week-days { gap: 4px; }
  .gate-bg { grid-template-columns: 1fr; }
}
