/* Coach & Trainer Sites, mockup v3 "Night Shift": black, lime accent. */

:root {
  --bg: #0B0B0C;
  --bg-2: #121214;
  --s1: #17171A;
  --s2: #202024;
  --line: #2C2C31;
  --line-soft: #1E1E22;
  --text: #F2F0EA;
  --text-2: #BDBAB2;
  --muted: #918E87;
  --lime: #C8F060;
  --lime-hover: #D8F88A;
  --on-lime: #0B0B0C;
  --lime-tint: rgba(200, 240, 96, .12);
  --lime-line: rgba(200, 240, 96, .5);
  --orchid: #F0A8D4;
  --error: #FF9C8A;
  --border-input: #77767E;
  --glow: rgba(200, 240, 96, .16);
  /* the coach's own (light) website inside the phone mocks */
  --screen: #F4F1EA;
  --screen-2: #E8E3D7;
  --screen-ink: #1B1A17;
  --screen-ink-2: #5A564E;
  --screen-bubble: #E6F5BF;
  --radius: 18px;
  --phone-w: 230px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Karla", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(.2, .75, .2, 1);
  --nav-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
b { font-weight: 700; }
:target, [id] { scroll-margin-top: 76px; }
.top-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
#main:focus { outline: none; }

.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; z-index: 100; padding: 10px 14px; background: var(--lime); color: var(--on-lime); font-weight: 700; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }
@media (min-width: 1200px) { .wrap { padding-inline: 40px; } }
.narrow { max-width: 960px; }
.hero-grid > *, .band-grid > *, .assist-grid > *, .book-grid > *, .chat, .chat > * { min-width: 0; }

/* ---------- Type ---------- */
.display, .h2, h3, .cal-title {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.display { font-size: clamp(2.35rem, 1.3rem + 4.6vw, 4.6rem); font-weight: 500; }
.h2 { font-size: clamp(1.9rem, 1.15rem + 2.9vw, 3.1rem); }
h3 { font-size: 1.5rem; }
/* Our highlight device: an upright phrase with a lime marker stroke under it. No italics. */
.hl {
  background-image: linear-gradient(transparent 80%, var(--lime) 80%, var(--lime) 90%, transparent 90%);
  background-repeat: no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.kicker { margin: 0 0 1.1rem; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.lede { font-size: clamp(1.12rem, 1rem + .5vw, 1.32rem); line-height: 1.5; margin: 1.25rem 0 0; max-width: 36ch; color: var(--text-2); text-wrap: pretty; }
.body { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); margin: 1rem 0 0; max-width: 54ch; color: var(--text-2); text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.caption { margin: 1rem 0 0; color: var(--text-2); font-size: .95rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: .8rem 1.6rem;
  background: var(--lime); color: var(--on-lime);
  font-weight: 700; text-decoration: none; letter-spacing: .005em;
  border: 0; border-radius: 999px; cursor: pointer;
  transition: background .2s, transform .2s var(--ease-out), box-shadow .2s;
  text-align: center;
}
.btn:hover { background: var(--lime-hover); box-shadow: 0 0 0 5px rgba(200, 240, 96, .14); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; white-space: nowrap; }
.textlink {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 44px;
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--lime); font-weight: 700; text-decoration: none;
  position: relative;
}
.textlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1.5px; background: currentColor; opacity: .4; transition: opacity .2s; }
.textlink:hover::after { opacity: 1; }
.inline-link { background: none; border: 0; padding: .55rem 0; min-height: 44px; margin: 0; font: inherit; color: var(--lime); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.75rem; margin-top: 2rem; }
.cta-row.center { justify-content: center; margin-top: 2.25rem; }
.pill-tag { display: inline-block; padding: .25rem .65rem; border-radius: 999px; background: var(--lime-tint); color: var(--lime); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 12, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: var(--nav-h); }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; gap: .05em; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.wordmark .amp { color: var(--lime); font-weight: 400; margin-inline: .14em; }
.wordmark .dot { display: inline-block; width: .38em; height: .38em; border-radius: 50%; background: var(--lime); margin-left: .18em; }
@media (max-width: 359px) { .wordmark { font-size: .95rem; } .btn-sm { padding-inline: .8rem; font-size: .9rem; } }
@media (max-width: 329px) { .wordmark { font-size: .88rem; } .btn-sm { padding-inline: .7rem; font-size: .85rem; } }
.nav-links { display: none; gap: 1.75rem; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--text-2); min-height: 44px; display: inline-flex; align-items: center; }
.nav-links a:hover { color: var(--lime); }
@media (min-width: 768px) { .nav-links { display: flex; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 5vw + 2rem, 7.5rem); border-top: 1px solid var(--line-soft); }
.section-alt { background: var(--bg-2); }
.band { background: var(--bg-2); border-top: 1px solid var(--line-soft); padding-block: clamp(3rem, 4vw + 1.5rem, 5.5rem); }
.band-grid { display: grid; gap: 1rem; }
.band .h2 { max-width: 20ch; }
@media (min-width: 900px) {
  .band-grid { grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: end; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 4vw + 1rem, 6rem) clamp(3rem, 5vw + 1rem, 6rem); overflow: clip; position: relative; }
.hero::before { content: ""; position: absolute; inset: auto -20% 0 auto; width: 72%; height: 80%; background: radial-gradient(closest-side, rgba(200, 240, 96, .07), transparent); pointer-events: none; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; position: relative; }
.hero-copy { max-width: 640px; }
.hero .display { font-size: clamp(2.3rem, 1.3rem + 3.4vw, 3.95rem); max-width: 15ch; }
.display .line { display: block; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; padding: 92px 0 84px; }
.glow { position: absolute; left: 50%; top: 50%; width: 440px; height: 440px; max-width: 120vw; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 62%); pointer-events: none; }
.sticker { position: absolute; z-index: 6; background: var(--s1); border: 1px solid var(--line); border-radius: 12px; padding: .5rem .75rem; font-size: .84rem; line-height: 1.25; color: var(--text-2); box-shadow: 0 14px 30px rgba(0, 0, 0, .45); max-width: 140px; }
.sticker b { display: block; color: var(--lime); font-size: .95rem; font-variant-numeric: tabular-nums; }
.sticker-a { left: max(0px, calc(50% - 205px)); top: 0; }
.sticker-b { right: max(0px, calc(50% - 205px)); bottom: 0; }
@media (min-width: 768px) and (max-width: 899px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 1.5rem; }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 2rem; }
  .hero-visual { min-height: 580px; padding: 40px 0; }
  .sticker-a { left: calc(50% - 250px); top: 96px; }
  .sticker-b { right: calc(50% - 250px); bottom: 110px; }
}

/* orbiting icons */
.hero-visual { --orb: min(330px, calc(100vw - 60px)); --orb-icon: 64px; --tilt: -16deg; --squash: .5; }
@media (min-width: 640px) { .hero-visual { --orb: 440px; --orb-icon: 80px; } }
@media (min-width: 768px) and (max-width: 899px) { .hero-visual { --orb: 340px; --orb-icon: 66px; } }
@media (min-width: 900px) { .hero-visual { --orb: min(520px, 36vw); --orb-icon: clamp(84px, 7.6vw, 112px); } }
.phone-hero { --phone-w: 200px; position: relative; z-index: 1; animation: phoneBounce 4.2s var(--ease-out) 1.2s infinite; rotate: -3deg; }
@media (min-width: 900px) { .phone-hero { --phone-w: 230px; } }
.orbit-rings, .orbit-icons { position: absolute; left: 50%; top: 50%; width: var(--orb); height: var(--orb); margin: calc(var(--orb) / -2) 0 0 calc(var(--orb) / -2); pointer-events: none; rotate: var(--tilt); scale: 1 var(--squash); }
.orbit-rings { z-index: 0; }
.orbit-rings-front { z-index: 2; clip-path: inset(50% 0 0 0); }
.orbit-spin { position: absolute; inset: 0; animation: orbitSpin 20s linear infinite; }
.orbit-icons-back { z-index: 0; clip-path: inset(-300px -300px 50% -300px); }
.orbit-icons-front { z-index: 5; clip-path: inset(50% -300px -300px -300px); }
.ring { position: absolute; border-radius: 50%; border: 2px dotted rgba(200, 240, 96, .38); }
.ring-outer { inset: 0; animation: orbitSpin 20s linear infinite; }
.ring-inner { inset: 14%; border-color: rgba(200, 240, 96, .2); animation: orbitSpin 27.5s linear infinite reverse; }
.ring-inner::before { content: ""; position: absolute; left: 50%; top: 0; width: 9px; height: 9px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--orchid); opacity: .8; }
.orbit-slot { position: absolute; inset: 0; transform: rotate(var(--a)); }
.orbit-item { position: absolute; left: 50%; top: 0; width: var(--orb-icon); height: var(--orb-icon); margin: calc(var(--orb-icon) / -2) 0 0 calc(var(--orb-icon) / -2); animation: orbitUpright 20s linear infinite; }
.orbit-badge { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #E9F6C8; border: 3px solid var(--bg); box-shadow: 0 0 0 1.5px var(--lime-line), 0 12px 28px rgba(0, 0, 0, .5); animation: orbitBob 3.4s ease-in-out infinite, orbitBreathe 2.4s ease-in-out infinite; }
.orbit-slot:nth-child(2) .orbit-badge { animation-delay: -1.1s; }
.orbit-slot:nth-child(3) .orbit-badge { animation-delay: -2.2s; }
.orbit-badge img { display: block; width: 138%; height: 138%; margin: -19% 0 0 -19%; max-width: none; }
.orbit-slot:nth-child(2) .orbit-badge img { width: 172%; height: 172%; margin: -36% 0 0 -36%; }
.orbit-tag { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); padding: .12rem .6rem; border-radius: 999px; background: var(--lime); color: var(--on-lime); font: 700 .78rem/1.3 var(--font-body); letter-spacing: .04em; white-space: nowrap; }
@media (min-width: 900px) { .orbit-tag { font-size: .95rem; padding: .15rem .75rem; } }
@keyframes orbitSpin { to { transform: rotate(360deg) } }
@keyframes orbitUpright {
  from { transform: rotate(calc(var(--a) * -1)) scaleY(calc(1 / var(--squash))) rotate(calc(var(--tilt) * -1)) }
  to { transform: rotate(calc(var(--a) * -1 - 360deg)) scaleY(calc(1 / var(--squash))) rotate(calc(var(--tilt) * -1)) }
}
@keyframes orbitBreathe { 0%, 100% { scale: 1 } 50% { scale: 1.14 } }
@keyframes orbitBob { 0%, 100% { translate: 0 0 } 50% { translate: 0 -6px } }
@keyframes phoneBounce { 0%, 100% { translate: 0 0 } 10% { translate: 0 -16px } 20% { translate: 0 0 } 28% { translate: 0 -7px } 36% { translate: 0 0 } }

/* ---------- Phone mock (hero + stage) ---------- */
.phone {
  width: var(--phone-w); aspect-ratio: 9 / 18.6;
  margin: 0; padding: 8px;
  border: 1.5px solid #3A3A40; border-radius: 30px;
  background: #050506;
  box-shadow: 0 0 0 1px #000, 0 30px 70px -20px rgba(0, 0, 0, .8), 0 0 60px -10px rgba(200, 240, 96, .12);
  flex: none; text-align: left;
}
.ph-screen { position: relative; height: 100%; border-radius: 22px; background: var(--screen); overflow: hidden; padding: 12px 12px 18px; display: flex; flex-direction: column; gap: 10px; font-size: .62rem; line-height: 1.3; color: var(--screen-ink); }
.ph-bar { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-size: .7rem; font-weight: 600; }
.ph-menu { display: inline-flex; flex-direction: column; gap: 3px; }
.ph-menu i { width: 14px; height: 1.5px; background: var(--screen-ink); display: block; }
.ph-hero { display: grid; gap: 7px; padding-top: 2px; }
.ph-avatar { width: 42px; height: 42px; border-radius: 14px 14px 14px 4px; background: var(--screen-ink); color: var(--lime); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: .85rem; }
.ph-head { font-family: var(--font-display); font-weight: 500; font-size: 1rem; line-height: 1.06; letter-spacing: -0.02em; }
.ph-btn { display: inline-block; justify-self: start; padding: 5px 10px; border-radius: 999px; background: var(--screen-ink); color: var(--lime); font-weight: 700; font-size: .6rem; }
.ph-bubble { margin-top: auto; display: grid; gap: 5px; }
.ph-q, .ph-a { display: block; padding: 6px 8px; border-radius: 11px; max-width: 88%; }
.ph-q { background: var(--screen-2); justify-self: end; border-bottom-right-radius: 3px; }
.ph-a { background: var(--screen-bubble); color: var(--screen-ink); border-bottom-left-radius: 3px; }
.ph-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; padding-top: 6px; border-top: 1px dashed #CFC8B8; font-size: .55rem; text-align: center; color: var(--screen-ink-2); }
.ph-week > span { padding: 5px 2px; border-radius: 7px; display: grid; gap: 1px; align-content: center; min-height: 34px; }
.ph-week .is-booked { background: var(--lime); color: var(--screen-ink); position: relative; font-weight: 700; }
.ph-week .is-booked em { font-style: normal; }
.ph-week .is-booked b { font-size: .62rem; }
.ph-week .stamp { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%) rotate(-6deg); background: var(--screen-ink); color: var(--lime); font-style: normal; font-size: .5rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; white-space: nowrap; }

/* ---------- Same question. Two endings. ---------- */
.endings { margin-top: 2rem; display: grid; gap: 1rem; padding: 1rem; border-radius: 24px; background: radial-gradient(90% 72% at 85% 30%, rgba(200, 240, 96, .08), transparent 72%), var(--s1); border: 1px solid var(--line); }
@media (min-width: 768px) { .endings { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.25rem; padding: 1.5rem; } }
.ending { border-radius: 16px; padding: 1rem 1rem 1.1rem; }
.ending-before { border: 1.5px dashed var(--line); background: var(--bg); }
.ending-after { border: 1.5px solid var(--lime-line); background: #101210; }
.ending-tag { margin: 0 0 .75rem; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.ending-after .ending-tag { color: var(--lime); }
.thread { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.t-row { display: grid; gap: .2rem; justify-items: start; }
.t-time { font-size: .8rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.t-msg { display: inline-block; padding: .5rem .8rem; border-radius: 14px; font-size: .98rem; line-height: 1.4; max-width: 92%; }
.t-plain { background: var(--s2); color: var(--text-2); }
.t-cold { font-style: italic; }
.t-flag { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orchid); }
.t-them { justify-items: end; }
.t-them .t-msg { background: var(--s2); color: var(--text); border-bottom-right-radius: 4px; }
.t-you .t-msg { background: #1E2513; color: var(--text); border: 1px solid rgba(200, 240, 96, .28); border-bottom-left-radius: 4px; }
.t-you .t-time { color: var(--lime); }
.t-you .t-booked { background: var(--lime); color: var(--on-lime); border-color: var(--lime); font-weight: 500; }
.t-booked b { text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; margin-right: .35rem; }

/* ---------- Pillars ---------- */
.pillars { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: pillar; }
.pillar { position: relative; padding: 1.5rem 1.5rem 1.25rem; background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: .55rem; counter-increment: pillar; transition: border-color .25s, transform .25s var(--ease-out); }
.pillar:hover { border-color: var(--lime-line); transform: translateY(-3px); }
.pillar h3 { margin-top: .4rem; }
.pillar p { margin: 0; color: var(--text-2); }
.pillar .textlink { margin-top: auto; align-self: flex-start; }
.pillar-art { height: 128px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-soft); display: grid; place-items: center; overflow: hidden; position: relative; }
.pillar-art::after { content: counter(pillar, decimal-leading-zero); position: absolute; top: .55rem; right: .8rem; font-family: var(--font-display); font-size: .95rem; color: var(--muted); }
.art-site { width: 112px; height: 88px; background: var(--screen); border-radius: 10px 10px 0 0; padding: 10px; position: relative; display: grid; align-content: start; gap: 6px; translate: 0 22px; }
.art-site .l { display: block; height: 7px; border-radius: 4px; background: var(--screen-2); }
.art-site .l1 { width: 55%; height: 9px; background: var(--screen-ink); }
.art-site .l2 { width: 85%; } .art-site .l3 { width: 72%; }
.art-site .btn { width: 46%; height: 11px; min-height: 0; padding: 0; background: var(--lime); }
.art-site .av { position: absolute; right: 10px; top: 10px; width: 24px; height: 24px; border-radius: 8px 8px 8px 2px; background: var(--screen-ink); color: var(--lime); font-size: .6rem; font-weight: 700; display: grid; place-items: center; font-family: var(--font-display); }
.art-chat { width: 124px; display: grid; gap: 6px; position: relative; }
.art-chat .b { display: block; height: 16px; border-radius: 9px; }
.art-chat .q { width: 64%; justify-self: end; background: var(--s2); border-bottom-right-radius: 3px; }
.art-chat .a { width: 82%; background: var(--lime); border-bottom-left-radius: 3px; }
.art-chat .short { width: 40%; }
.art-chat .clock { position: absolute; left: 0; top: -24px; font-size: .72rem; font-weight: 700; color: var(--orchid); }
.art-cal { display: grid; grid-template-columns: repeat(5, 18px); gap: 5px; }
.art-cal i { display: block; height: 18px; border-radius: 5px; background: var(--s2); border: 1px solid var(--line); }
.art-cal .on { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 16px rgba(200, 240, 96, .5); }
.also { margin: 1.5rem 0 0; color: var(--text-2); }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Assistant ---------- */
.assist-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .assist-grid { grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: center; } }
.assist-copy .h2 { max-width: 12ch; }
.chat { display: flex; flex-direction: column; height: 520px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .chat { height: 540px; } }
.chat-head { display: flex; align-items: center; gap: .7rem; padding: .6rem .6rem .6rem 1rem; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.chat-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--lime); position: relative; flex: none; }
.chat-avatar::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: var(--orchid); border: 2px solid var(--bg-2); }
.chat-title { display: grid; line-height: 1.2; font-size: .92rem; min-width: 0; }
.chat-title b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-title span { color: var(--text-2); font-size: .8rem; }
.chat-reset { margin-left: auto; min-height: 44px; padding: 0 .8rem; border-radius: 999px; border: 1px solid var(--border-input); background: none; color: var(--text); font-size: .85rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.chat-reset:hover { border-color: var(--lime); color: var(--lime); }
.chat-close { width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex: none; }
.chat-close:hover { background: var(--s2); }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: .6rem .85rem; border-radius: 14px; font-size: .97rem; line-height: 1.45; animation: msgIn .3s var(--ease-out) both; white-space: pre-line; overflow-wrap: anywhere; }
.msg.bot { align-self: flex-start; background: #1E2513; border: 1px solid rgba(200, 240, 96, .22); color: var(--text); border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; background: var(--s2); border-bottom-right-radius: 4px; }
.msg.note { align-self: center; background: none; color: var(--muted); font-size: .82rem; text-align: center; max-width: 100%; padding: 0; }
.msg b { color: var(--lime); }
.typing { display: inline-flex; gap: 4px; align-items: center; padding: .75rem .9rem; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); opacity: .4; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3 } 40% { opacity: 1 } }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }
.chat-chips { display: flex; flex-wrap: wrap; gap: .45rem; padding: .6rem .75rem; border-top: 1px solid var(--line); max-height: 9.6rem; overflow-y: auto; }
.chip { min-height: 44px; padding: .45rem .9rem; border-radius: 999px; border: 1.5px solid var(--lime-line); background: none; color: var(--lime); font-weight: 700; font-size: .88rem; cursor: pointer; text-align: left; line-height: 1.2; }
.chip:hover { background: var(--lime-tint); border-color: var(--lime); }
.chip[aria-disabled="true"] { opacity: .6; }
.chat-form { display: flex; gap: .5rem; padding: .6rem .75rem .35rem; }
.chat-form input { flex: 1; min-width: 0; min-height: 48px; padding: .5rem 1rem; border: 1.5px solid var(--border-input); border-radius: 999px; background: var(--s2); font: inherit; color: var(--text); }
.chat-form input::placeholder { color: var(--muted); }
.chat-form input:focus-visible { border-color: var(--lime); outline: 3px solid var(--lime); outline-offset: 1px; }
.chat-send { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--lime); color: var(--on-lime); display: grid; place-items: center; cursor: pointer; flex: none; }
.chat-send:hover { background: var(--lime-hover); }
.chat-note { margin: 0; padding: 0 1rem .55rem; min-height: 1.6em; font-size: .85rem; color: var(--error); }
.dock-note { margin: 0; padding: 2rem 1rem; text-align: center; color: var(--text-2); border: 1px dashed var(--line); border-radius: var(--radius); }

/* floating dock */
.launcher { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--lime); color: var(--on-lime); display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 4px var(--bg), 0 14px 30px rgba(0, 0, 0, .6); transition: transform .2s var(--ease-out), background .2s, opacity .2s; }
.launcher:hover { background: var(--lime-hover); transform: translateY(-2px); }
.launcher[aria-expanded="true"], .launcher.is-away { opacity: 0; pointer-events: none; visibility: hidden; }
.float-dock { position: fixed; z-index: 70; right: 0; bottom: 0; left: 0; }
.float-dock .chat { height: min(80vh, 620px); border-radius: var(--radius) var(--radius) 0 0; box-shadow: 0 -20px 60px rgba(0, 0, 0, .7); animation: dockUp .35s var(--ease-out) both; }
@media (min-width: 640px) {
  .float-dock { left: auto; right: 16px; bottom: 16px; width: 390px; }
  .float-dock .chat { height: min(74vh, 600px); border-radius: var(--radius); }
}
@keyframes dockUp { from { transform: translateY(24px); opacity: 0 } to { transform: none; opacity: 1 } }

/* ---------- Booking ---------- */
.book-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .book-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; } .stage-wrap { position: sticky; top: 90px; } }
.cal { margin-top: 1.75rem; background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.1rem 1.25rem; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.cal-title { font-size: 1.3rem; }
.cal-tz { margin: .35rem 0 .6rem; color: var(--text-2); font-size: .88rem; }
.cal-label { margin: .8rem 0 .4rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.cal-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4rem; }
.day { min-height: 60px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); display: grid; place-content: center; gap: 1px; text-align: center; cursor: pointer; font-size: .8rem; color: var(--text-2); line-height: 1.15; padding: .3rem .1rem; }
.day b { font-size: 1.08rem; color: var(--text); }
.day[aria-checked="true"] { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.day[aria-checked="true"] b { color: var(--on-lime); }
.day:hover:not([aria-checked="true"]) { border-color: var(--lime-line); }
.cal-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: .5rem; }
.slot { min-height: 46px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); font-weight: 700; color: var(--text); cursor: pointer; font-variant-numeric: tabular-nums; white-space: nowrap; padding: 0 .4rem; }
.slot:hover { border-color: var(--lime-line); }
.slot[aria-checked="true"] { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.cal-form { margin-top: 1rem; display: grid; gap: .75rem; }
.cal-picked { margin: 0; font-weight: 700; color: var(--lime); }
.field { display: grid; gap: .3rem; }
.field label { font-size: .88rem; font-weight: 700; color: var(--text-2); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input { min-height: 48px; padding: .5rem .85rem; border: 1.5px solid var(--border-input); border-radius: 10px; font: inherit; background: var(--s2); color: var(--text); }
.field input:focus-visible { border-color: var(--lime); outline: 3px solid var(--lime); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: var(--error); }
.err { margin: 0; font-size: .88rem; color: var(--error); }
.cal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin-top: .25rem; }
.cal-done { margin-top: 1rem; padding: 1rem; border-radius: 12px; background: var(--lime-tint); border: 1px solid var(--lime-line); }
.cal-done h4 { margin: 0; font-size: 1.05rem; }
.cal-done h4:focus { outline: none; }
.cal-done p { margin: .35rem 0 .25rem; font-size: .95rem; color: var(--text-2); }

/* FAQ */
.faq { margin: 2.25rem 0 0; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.faq-title { font-size: 1.3rem; margin-bottom: .5rem; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; font-weight: 700; list-style: none; padding: .35rem 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--lime-line); color: var(--lime); display: grid; place-items: center; font-weight: 700; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 .9rem; color: var(--text-2); max-width: 52ch; }

/* ---------- The stage ---------- */
.stage-wrap { display: grid; justify-items: center; text-align: center; padding-top: .5rem; min-width: 0; }
.stage-label { margin: 0 0 1rem; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.stage { --fan: 78px; --fan-rot: 7deg; --back: .9; position: relative; width: 100%; max-width: 500px; height: 530px; display: grid; place-items: center; overflow: clip; overflow-clip-margin: 0px; }
.stage-glow { position: absolute; left: 50%; top: 50%; width: 460px; height: 460px; transform: translate(-50%, -50%) scale(.6); border-radius: 50%; background: radial-gradient(circle, rgba(200, 240, 96, .25), transparent 60%); opacity: 0; pointer-events: none; }
.stage-phones { position: relative; width: var(--phone-w); height: calc(var(--phone-w) * 18.6 / 9); }
.stage .phone { position: absolute; left: 0; top: 0; opacity: 0; transform-origin: 50% 90%; }
.stage .phone.p1 { z-index: 3; opacity: 1; }
.stage .phone.p2 { z-index: 2; }
.stage .phone.p3 { z-index: 1; }
.js .stage .p1 .ph-bar, .js .stage .p1 .ph-hero, .stage .p1 .ph-bubble, .stage .p1 .ph-week, .stage .p1 .ph-btn { opacity: 0; }
.stage .p1 .ph-a { clip-path: inset(0 100% 0 0); }
.stage .p1 .is-booked { background: var(--screen); color: var(--screen-ink-2); }
.stage .p1 .stamp { opacity: 0; }
.stage .ph-kicker { position: absolute; left: 12px; top: 12px; font-family: var(--font-display); font-size: 1.1rem; color: var(--screen-ink); opacity: 0; }
.stage .p2 .ph-kicker, .stage .p3 .ph-kicker { display: none; }

@keyframes rise { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
@keyframes fadeOut { to { opacity: 0 } }
@keyframes typeIn { to { clip-path: inset(0 0 0 0) } }
@keyframes bookSlot { to { background: var(--lime); color: var(--screen-ink) } }
@keyframes stampIn { 0% { opacity: 0; transform: translateX(-50%) rotate(-6deg) scale(1.4) } 100% { opacity: 1; transform: translateX(-50%) rotate(-6deg) scale(1) } }
@keyframes glowPulse { 0% { opacity: 0; transform: translate(-50%,-50%) scale(.6) } 40% { opacity: 1 } 100% { opacity: 0; transform: translate(-50%,-50%) scale(1.1) } }
@keyframes fanLeft { from { opacity: 0; transform: none } to { opacity: 1; transform: translateX(calc(var(--fan) * -1)) rotate(calc(var(--fan-rot) * -1)) scale(var(--back)) } }
@keyframes fanRight { from { opacity: 0; transform: none } to { opacity: 1; transform: translateX(var(--fan)) rotate(var(--fan-rot)) scale(var(--back)) } }

.stage[data-beat~="site"] .p1 .ph-kicker { animation: rise .3s var(--ease-out) both, fadeOut .3s .9s both; }
.stage[data-beat~="site"] .p1 .ph-bar { animation: rise .3s .25s var(--ease-out) both; }
.stage[data-beat~="site"] .p1 .ph-hero { animation: rise .4s .5s var(--ease-out) both; }
.stage[data-beat~="site"] .p1 .ph-btn { animation: rise .3s .85s var(--ease-out) both; }
.stage[data-beat~="chat"] .p1 .ph-bubble { animation: rise .35s var(--ease-out) both; }
.stage[data-beat~="chat"] .p1 .ph-a { animation: typeIn .5s .5s steps(22) both; }
.stage[data-beat~="calendar"] .p1 .ph-week { animation: rise .35s var(--ease-out) both; }
.stage[data-beat~="calendar"] .p1 .is-booked { animation: bookSlot .25s .6s both; }
.stage[data-beat~="calendar"] .p1 .stamp { animation: stampIn .25s .6s var(--ease-out) both; }
.stage[data-beat~="calendar"] .stage-glow { animation: glowPulse .9s .6s ease-out both; }
.stage[data-beat~="widen"] .p2 { animation: fanLeft .55s var(--ease-out) both; }
.stage[data-beat~="widen"] .p3 { animation: fanRight .55s .08s var(--ease-out) both; }
.stage[data-paused] * { animation-play-state: paused !important; }

/* progress words instead of dots: Site / Chat / Calendar light up */
.stage-steps { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; }
.stage-steps li { padding: .2rem .7rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: .85rem; font-weight: 700; letter-spacing: .04em; transition: background .3s, color .3s, border-color .3s; }
.stage-steps li.on { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.stage-status { margin: .75rem 0 0; max-width: 36ch; color: var(--text-2); font-size: .97rem; min-height: 3.2em; }
.stage-controls { display: flex; gap: 1.25rem; justify-content: center; min-height: 44px; }

@media (min-width: 1024px) and (max-width: 1279px) { .stage { --phone-w: 210px; --fan: 60px; --fan-rot: 6deg; height: 500px; } }
@media (max-width: 599px) {
  .stage { --phone-w: 200px; --fan: 50px; --fan-rot: 5deg; --back: .86; height: 470px; }
  .stage-glow { width: 320px; height: 320px; }
}
@media (max-width: 379px) { .stage { --phone-w: 186px; --fan: 42px; height: 440px; } }

/* ---------- Closer + footer ---------- */
.closer { padding-block: clamp(5rem, 8vw + 2rem, 9.5rem); text-align: center; border-top: 1px solid var(--line-soft); background: radial-gradient(60% 72% at 50% 100%, rgba(200, 240, 96, .08), transparent 72%), var(--bg); }
.closer .display { max-width: 14ch; margin-inline: auto; }
.footer { border-top: 1px solid var(--line); padding: 2rem 0 6rem; background: var(--bg-2); }
.foot-row { display: grid; gap: 1rem; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem; font-size: .95rem; color: var(--text-2); }
.foot-links a { min-height: 44px; min-width: 44px; justify-content: center; display: inline-flex; align-items: center; text-decoration: none; color: var(--text-2); }
.foot-links a:hover { color: var(--lime); }
@media (min-width: 900px) { .footer { padding-bottom: 2rem; } .foot-row { grid-template-columns: auto 1fr; align-items: center; } .foot-links { justify-content: flex-end; padding-right: 88px; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .08s }
.hero .reveal:nth-child(3) { transition-delay: .16s }
.hero .reveal.cta-row { transition-delay: .24s }
.hero .hero-visual { transition-delay: .2s }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .msg, .float-dock .chat, .typing i { animation: none; }
  .btn, .launcher, .pillar, .stage-steps li { transition: none; }
  .pillar:hover { transform: none; }
  .stage *, .stage { animation-duration: 1ms !important; animation-delay: 0s !important; }
  .stage-glow { display: none; }
  .phone-hero, .orbit-spin, .ring, .orbit-item, .orbit-badge { animation: none; }
  .orbit-item { transform: rotate(calc(var(--a) * -1)) scaleY(calc(1 / var(--squash))) rotate(calc(var(--tilt) * -1)); }
}

@media (forced-colors: active) {
  .btn, .chip, .day, .slot, .chat-send, .launcher { border: 1px solid ButtonText; }
  .hl { background: none; text-decoration: underline; }
}

/* ---------- Five-minute video ---------- */
.player { position: relative; margin-top: 2rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--s1); border: 1px solid var(--line); isolation: isolate; }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; z-index: 3; }
.poster { position: absolute; inset: 0; background: radial-gradient(110% 90% at 72% 55%, rgba(200,240,96,.14) 0%, rgba(200,240,96,0) 55%), linear-gradient(160deg, var(--s2), var(--bg)); }
.poster-mark { position: absolute; left: 18px; top: 14px; color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: .95rem; display: inline-flex; align-items: baseline; }
.poster-mark .amp { color: var(--lime); font-style: italic; font-weight: 400; margin-inline: .12em; }
.poster-mark .dot { display: inline-block; width: .38em; height: .38em; border-radius: 50%; background: var(--lime); margin-left: .18em; }
.poster-phone { position: absolute; left: 61%; bottom: -8%; width: 130px; aspect-ratio: 9/14; border-radius: 22px 22px 0 0; border: 1.5px solid var(--line); border-bottom: 0; background: var(--screen); color: var(--screen-ink); padding: 11px; overflow: hidden; display: flex; flex-direction: column; gap: 9px; font-size: .58rem; transform: rotate(-3deg); transform-origin: bottom center; box-shadow: 0 0 0 1px rgba(200,240,96,.18), 0 20px 60px rgba(200,240,96,.12); }
.ph-bar { display: flex; align-items: center; justify-content: space-between; }
.ph-menu { display: grid; gap: 3px; }
.ph-menu i { display: block; width: 12px; height: 1.5px; background: var(--screen-ink); }
.ph-hero { display: grid; gap: 7px; justify-items: start; }
.ph-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--screen-bubble); display: grid; place-items: center; font-weight: 700; font-size: .5rem; }
.ph-head { font-family: var(--font-display); font-weight: 600; font-size: .95rem; line-height: 1.12; }
.ph-btn { background: var(--screen-ink); color: var(--screen); padding: 4px 9px; border-radius: 999px; font-weight: 700; }
@media (min-width: 640px) { .poster-phone { width: 190px; left: 60%; font-size: .68rem; } .poster-phone .ph-head { font-size: 1.2rem; } .poster-mark { font-size: 1.05rem; left: 24px; top: 20px; } }
.poster-length { position: absolute; right: 14px; top: 14px; color: var(--text); font-size: .8rem; font-weight: 700; background: rgba(0,0,0,.55); padding: 2px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.play { position: absolute; left: 31%; top: 50%; width: 68px; height: 68px; transform: translate(-50%, -50%); border-radius: 50%; border: 0; background: var(--lime); color: var(--on-lime); display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 8px rgba(200,240,96,.16), 0 16px 40px rgba(0,0,0,.45); transition: transform .2s var(--ease-out), box-shadow .2s, background .2s; z-index: 2; }
.play:hover { transform: translate(-50%, -50%) scale(1.06); background: var(--lime-hover); box-shadow: 0 0 0 12px rgba(200,240,96,.18), 0 16px 40px rgba(0,0,0,.45); }
.play svg { margin-left: 3px; }
.video-state { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; padding: .7rem 1rem; padding-right: 4.5rem; background: linear-gradient(to top, rgba(11,11,12,.92), rgba(11,11,12,0)); color: var(--text); font-size: .88rem; z-index: 2; }
.player.is-notice .video-state { background: rgba(11,11,12,.96); padding-block: .9rem; }
.player.is-playing .poster, .player.is-playing .play, .player.is-playing .video-state { display: none; }
.transcript { margin-top: 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--s1); }
.transcript summary { cursor: pointer; padding: .9rem 1.1rem; font-weight: 700; color: var(--lime); min-height: 44px; display: flex; align-items: center; }
.transcript ol { list-style: none; margin: 0; padding: 0 1.1rem 1.1rem; display: grid; gap: .35rem; font-size: .95rem; color: var(--text-2); }
.transcript li { display: grid; grid-template-columns: 3.1rem 1fr; gap: .25rem .6rem; padding: .55rem .6rem; border-radius: 10px; }
.transcript li:hover { background: var(--lime-tint); }
.transcript li b { color: var(--lime); font-variant-numeric: tabular-nums; }
.transcript li strong { display: block; color: var(--text); font-weight: 700; }
.transcript li:target { background: var(--lime-tint); outline: 1px solid var(--lime-line); }
.transcript .muted { color: var(--muted); }
