/* The website. Same look as the app: black, soft glass, the colours of the training days. */
:root {
  --bg: #000;
  --text: #fff;
  --text-2: rgba(235, 235, 245, .66);
  --text-3: rgba(235, 235, 245, .4);
  --line: rgba(255, 255, 255, .09);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  --push: #d4a38b;
  --pull: #8fa8c8;
  --legs: #9cbf9f;
  --upper: #b3a6c9;
  --lower: #8fbcb8;
  --flame: #e8a57c;
  --good: #9ccfa9;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Inter, system-ui, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--pull); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* background glow, like the app */
.glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.glow i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .32; }
.glow i:nth-child(1) { width: 520px; height: 520px; background: var(--push); top: -180px; left: -120px; opacity: .22; }
.glow i:nth-child(2) { width: 460px; height: 460px; background: var(--pull); top: 30%; right: -200px; opacity: .18; }
.glow i:nth-child(3) { width: 420px; height: 420px; background: var(--legs); bottom: -220px; left: 20%; opacity: .12; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); display: grid; place-items: center; }
.brand-mark img { display: block; width: 100%; height: 100%; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; color: var(--text-2); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: 4px; }
@media (max-width: 860px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 16px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .3s var(--ease), background .3s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: #e9e9ee; }
.btn-ghost { background: rgba(255, 255, 255, .09); border: 1px solid var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-sm { height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* hero */
.hero { padding: 72px 0 40px; overflow-x: clip; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(156, 207, 169, .15); }
.hero h1 { font-size: clamp(44px, 7vw, 80px); font-weight: 850; margin: 18px 0 20px; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--push), var(--upper) 55%, var(--pull)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2.1vw, 21px); color: var(--text-2); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fine { margin-top: 16px; font-size: 14px; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.fine span { display: inline-flex; align-items: center; gap: 6px; }
.fine svg { width: 15px; height: 15px; color: var(--good); }

.phones { position: relative; height: 620px; }
.phone { position: absolute; width: 270px; border-radius: 44px; padding: 9px; background: linear-gradient(160deg, #3a3a3e, #121214); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.phone img { border-radius: 36px; width: 100%; height: auto; aspect-ratio: 750 / 1624; object-fit: cover; object-position: top; background: #0c0c0e; }
.phone.p1 { right: 150px; top: 0; z-index: 2; transform: rotate(-4deg); }
.phone.p2 { right: 14px; top: 70px; transform: rotate(5deg); opacity: .96; }
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phones { height: 560px; max-width: 460px; width: 100%; margin: 10px auto 0; }
  .phone { width: 240px; }
  .phone.p1 { right: auto; left: 0; }
}
@media (max-width: 480px) {
  .hero { padding-top: 44px; }
  .phones { height: 470px; }
  .phone { width: 200px; border-radius: 36px; padding: 7px; }
  .phone img { border-radius: 30px; }
  .phone.p2 { top: 60px; }
}

/* sections */
section { padding: 84px 0; }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 820; margin: 12px 0 14px; }
.sec-head p { font-size: 19px; color: var(--text-2); }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 26px; border-radius: 26px; background: var(--glass); border: 1px solid var(--line); }
.feature .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); margin-bottom: 18px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 20px; font-weight: 750; letter-spacing: -.015em; margin-bottom: 8px; }
.feature p { color: var(--text-2); font-size: 16px; }

/* screens */
.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .screens { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; } }
.screen figure { margin: 0; }
.screen .phone { position: relative; width: 100%; max-width: 300px; margin: 0 auto; transform: none; }
.screen figcaption { text-align: center; margin-top: 18px; }
.screen figcaption b { display: block; font-size: 18px; }
.screen figcaption span { color: var(--text-2); font-size: 15px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { position: relative; padding: 28px 26px 26px; border-radius: 26px; background: var(--glass); border: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #000; font-weight: 800; margin-bottom: 18px; }
.steps h3 { font-size: 20px; font-weight: 750; margin-bottom: 8px; letter-spacing: -.015em; }
.steps p { color: var(--text-2); font-size: 16px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }
.plan { display: flex; flex-direction: column; padding: 30px 28px; border-radius: 28px; background: var(--glass); border: 1px solid var(--line); }
.plan.main { border-color: rgba(255, 255, 255, .35); background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04)); }
.plan .tag { align-self: flex-start; font-size: 12px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: var(--text-2); }
.plan .tag.good { background: rgba(156, 207, 169, .16); color: var(--good); }
.plan h3 { font-size: 24px; font-weight: 800; margin: 16px 0 4px; }
.plan .price { font-size: 40px; font-weight: 850; letter-spacing: -.03em; margin: 8px 0 2px; }
.plan .price small { font-size: 16px; font-weight: 600; color: var(--text-2); letter-spacing: 0; }
.plan p { color: var(--text-2); font-size: 15.5px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 15.5px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; color: var(--good); margin-top: 3px; }

/* band */
.band { padding: 0; }
.band .inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 40px; border-radius: 32px; background: linear-gradient(120deg, rgba(212, 163, 139, .2), rgba(143, 168, 200, .16)); border: 1px solid var(--line); }
.band h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 820; }
.band p { color: var(--text-2); margin-top: 8px; font-size: 17px; }
@media (max-width: 700px) { .band .inner { grid-template-columns: 1fr; padding: 30px 24px; } }

/* FAQ */
.faq { max-width: 780px; display: grid; gap: 10px; }
.faq details { border-radius: 20px; background: var(--glass); border: 1px solid var(--line); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--text-3); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding: 0 0 20px; font-size: 16px; }

/* centre page */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }
.fact { padding: 26px; border-radius: 26px; background: var(--glass); border: 1px solid var(--line); }
.fact b { display: block; font-size: 42px; font-weight: 850; letter-spacing: -.03em; color: var(--c, var(--text)); }
.fact span { color: var(--text-2); font-size: 15.5px; }
.fact small { display: block; color: var(--text-3); font-size: 13px; margin-top: 10px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.card { padding: 30px 28px; border-radius: 28px; background: var(--glass); border: 1px solid var(--line); }
.card h3 { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.card li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 16px; }
.card li b { color: var(--text); font-weight: 650; }
.card li svg { width: 18px; height: 18px; color: var(--good); margin-top: 3px; }
.soon { font-size: 11.5px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; color: var(--flame); margin-left: 6px; white-space: nowrap; }
.quote { font-size: clamp(22px, 2.8vw, 30px); font-weight: 650; letter-spacing: -.02em; line-height: 1.35; max-width: 820px; }
.quote span { color: var(--text-2); }
.contact { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.mail { user-select: all; font-weight: 700; }

/* footer */
footer { padding: 48px 0 calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); margin-top: 40px; color: var(--text-3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
/* Links get a 44px tall tap area (finger size on phones); the negative margin keeps the look unchanged. */
footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; margin: -11px 0; }
footer nav > * { padding: 11px 0; }
footer a { text-decoration: none; color: var(--text-2); }
footer a:hover { color: var(--text); }

/* entrance */
.rise { animation: rise .9s var(--ease) both; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
