/* FitRoxAI — "Constructivist comic": Kandinsky 40 · Picasso 25 · poster 20 · comic 15
   Principles: print, not screen (ink outlines, offset shadows, halftone, no blur, no gradients as decoration);
   red = action, yellow = highlight, blue = info, cyan = machine/AI only. Fonts are self-hosted (GDPR). */

@font-face { font-family: "Unbounded"; font-weight: 900; font-display: swap; src: url(fonts/unbounded-latin-900-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Unbounded"; font-weight: 900; font-display: swap; src: url(fonts/unbounded-cyrillic-900-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-weight: 600; font-display: swap; src: url(fonts/oswald-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Oswald"; font-weight: 600; font-display: swap; src: url(fonts/oswald-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --paper: #EFE6D2; --ink: #161412; --red: #DA291C; --blue: #1D3FBF; --yellow: #F6B800; --cyan: #19C3B1; --pink: #F06A9A;
  --bg: #EFE6D2; --surface: #F8F2E4; --text: #161412; --muted: #58514A; --line: #161412; --shadow: #161412;
  --btn-fg: #F8F2E4; --on-blue: #FFFFFF; --hair: rgba(22, 20, 18, .18); --dots: rgba(22, 20, 18, .16);
  --f-display: "Unbounded", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-cond: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bw: 3px; --sh: 5px 5px 0 var(--shadow);
  --wrap: 1240px; --gut: clamp(16px, 4vw, 40px); --top: 64px;
  color-scheme: light;
}
/* Night = Kandinsky's "Several Circles": deep blue-black with glowing colour */
[data-theme="dark"] {
  --bg: #0F1226; --surface: #181C3A; --text: #F2EBDD; --muted: #B3AFC4; --line: #F2EBDD; --shadow: #000000;
  --red: #FF4A3A; --yellow: #FFC93C; --blue: #6E8BFF; --cyan: #3FE0D0;
  --btn-fg: #161412; --on-blue: #161412; --hair: rgba(242, 235, 221, .16); --dots: rgba(242, 235, 221, .10);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  [data-theme="auto"] {
    --bg: #0F1226; --surface: #181C3A; --text: #F2EBDD; --muted: #B3AFC4; --line: #F2EBDD; --shadow: #000000;
    --red: #FF4A3A; --yellow: #FFC93C; --blue: #6E8BFF; --cyan: #3FE0D0;
    --btn-fg: #161412; --on-blue: #161412; --hair: rgba(242, 235, 221, .16); --dots: rgba(242, 235, 221, .10);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 16px); }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.55 var(--f-body); }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--red); }
button { font: inherit; color: inherit; }
abbr[title] { text-decoration: none; cursor: help; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 8px 14px; border: 2px solid var(--ink); font-family: var(--f-cond); }
.skip:focus { left: 12px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- type ---------- */
.h1, .h2, .hero__h, .price__name { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: 1; margin: 0; }
.h1 { font-size: clamp(1.85rem, .9rem + 3.2vw, 3.4rem); }
.h2 { font-size: clamp(1.5rem, .9rem + 2.2vw, 2.6rem); }
.h3 { font-family: var(--f-cond); font-weight: 600; font-size: 1.45rem; line-height: 1.1; margin: 0; }
.lead { font-size: 1.125rem; max-width: 60ch; margin: 0; }

/* ---------- buttons (comic offset print) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 1.05rem/1.1 var(--f-cond); letter-spacing: .02em; padding: .78rem 1.25rem; background: var(--red); color: var(--btn-fg); border: var(--bw) solid var(--line); border-radius: 4px; box-shadow: var(--sh); text-decoration: none; cursor: pointer; transition: transform .08s ease, box-shadow .08s ease; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--shadow); text-decoration: none; }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--shadow); }
.btn--xl { font-size: 1.25rem; padding: .95rem 1.6rem; }
.btn--sm { font-size: .95rem; padding: .5rem .85rem; box-shadow: 3px 3px 0 var(--shadow); }
.btn--ghost { background: var(--surface); color: var(--text); }
.btn--light { background: #F2EBDD; color: #161412; border-color: #161412; box-shadow: 5px 5px 0 #161412; }
.btn--cyan { background: var(--cyan); color: var(--ink); }
.btn--blue { background: var(--blue); color: var(--on-blue); }
.btn--red-outline { background: transparent; color: var(--red); border-color: var(--red); box-shadow: 4px 4px 0 var(--red); }
.btn.is-current { cursor: default; box-shadow: none; transform: none; border-style: dashed; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 2px solid var(--line); background: var(--surface); color: var(--text); border-radius: 50%; cursor: pointer; padding: 0; }
.icon-btn .ico { width: 20px; height: 20px; }
.link-btn { background: none; border: 0; padding: 0; font: 600 1rem var(--f-cond); color: var(--text); text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 3px; text-underline-offset: 5px; cursor: pointer; align-self: flex-start; text-align: left; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: var(--bw) solid var(--line); }
.top__in { height: var(--top); display: flex; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); flex: none; }
.logo__mark { width: 34px; height: 34px; color: var(--line); }
.logo__word { font: 900 1.2rem/1 var(--f-display); letter-spacing: -.02em; }
.logo__word span { display: inline-block; margin-left: .08em; padding: .08em .2em .1em; background: var(--cyan); color: #161412; border: 2px solid var(--line); transform: rotate(-4deg); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { font: 600 1.05rem var(--f-cond); text-decoration: none; padding: 4px 0; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--red); }
.tools { display: flex; align-items: center; gap: 10px; }
.langs { display: flex; border: 2px solid var(--line); }
.langs a { font: 600 .85rem/1 var(--f-cond); padding: 8px 8px; text-decoration: none; }
.langs a + a { border-left: 2px solid var(--line); }
.langs a[aria-current="true"] { background: var(--text); color: var(--bg); }
.i-sun { display: none; } .i-moon { display: grid; }
[data-theme="dark"] .i-sun { display: grid; } [data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) { [data-theme="auto"] .i-sun { display: grid; } [data-theme="auto"] .i-moon { display: none; } }
.burger { display: none; }
.flash { background: var(--yellow); color: #161412; border-bottom: var(--bw) solid var(--line); font: 600 1rem var(--f-cond); padding: 10px 0; }
.flash--err { background: var(--red); color: var(--btn-fg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: calc(100svh - var(--top) - 52px); display: flex; align-items: center; padding-block: clamp(18px, 3.5vh, 44px) clamp(28px, 5vh, 56px); }
.kand { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.k-ring { fill: none; stroke: var(--line); stroke-width: 3; }
.k-thin { stroke-width: 1.5; }
.k-blue { fill: var(--blue); } .k-yel { fill: var(--yellow); } .k-red { fill: var(--red); }
.k-line { fill: none; stroke: var(--line); stroke-width: 1.4; opacity: .5; }
.k-arc { fill: none; stroke: var(--red); stroke-width: 6; }
.k-check rect { fill: var(--line); }
[data-theme="dark"] .k-glow { filter: drop-shadow(0 0 14px currentColor); }
[data-theme="dark"] .k-blue { color: var(--blue); } [data-theme="dark"] .k-yel { color: var(--yellow); } [data-theme="dark"] .k-red { color: var(--red); }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-areas: "top art" "body art"; grid-template-rows: auto 1fr; column-gap: clamp(28px, 5vw, 72px); align-items: start; }
.hero__top { grid-area: top; }
.hero__body { grid-area: body; }
.hero__art { grid-area: art; align-self: center; justify-self: center; position: relative; width: min(100%, 440px); isolation: isolate; }
.live { display: inline-flex; align-items: center; gap: 9px; margin: 0; font: 600 1rem/1 var(--f-cond); padding: 7px 12px; border: 2px solid var(--line); background: var(--surface); transform: rotate(-1.5deg); }
.live__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 var(--red); animation: live 1.8s ease-out infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero__h { font-size: clamp(2.05rem, .5rem + 3.45vw, 3.8rem); line-height: .98; margin: .42em 0 .38em; }
.hero__h .l1 { display: block; }
.hero__h .l2 { display: block; transform: rotate(-2.2deg); transform-origin: 0 50%; margin-top: .12em; }
.hero__h .l2 > span { background: var(--red); color: var(--btn-fg); padding: .02em .18em .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; box-shadow: .09em .09em 0 var(--shadow); line-height: 1.2; }
.hero__sub { max-width: 54ch; margin: 0 0 18px; font-size: 1.08rem; }
.hero__proof { display: inline-block; margin: 14px 0 0; padding: 2px 8px 2px 0; background: var(--bg); font: 600 .98rem var(--f-cond); color: var(--muted); }

/* Kandinsky disc behind the portrait */
.hero__art::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -30%; top: -20%; border-radius: 50%;
  background: radial-gradient(circle, var(--red) 0 22%, var(--blue) 22.6% 58%, var(--bg) 58.5% 63%, var(--blue) 63.5% 100%); border: var(--bw) solid var(--line); }
[data-theme="dark"] .hero__art::before { box-shadow: 0 0 80px rgba(110, 139, 255, .45); }
.poster { margin: 0; border: var(--bw) solid var(--line); background: var(--ink); overflow: hidden; }
.poster svg, .poster img { display: block; width: 100%; height: auto; }
.poster--hero { box-shadow: 12px 12px 0 var(--shadow); transform: rotate(2deg); }
.burst { position: relative; display: inline-grid; place-items: center; container-type: inline-size; }
.burst svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(4px 4px 0 var(--shadow)); }
.burst polygon { fill: var(--yellow); stroke: #161412; stroke-width: 3; stroke-linejoin: round; }
.burst > span { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 18%; font: 900 1rem/1.02 var(--f-display); font-size: min(var(--cap, 1rem), calc(60cqi / (var(--len, 5) * .9))); text-transform: uppercase; color: #161412; }
.burst--hero { position: absolute; top: -34px; left: -42px; width: 132px; transform: rotate(-12deg); }
.burst--hero { --cap: 1.05rem; }
.bubble { position: relative; background: var(--surface); color: var(--text); border: var(--bw) solid var(--line); border-radius: 22px; padding: 12px 16px; box-shadow: 5px 5px 0 var(--shadow); font-size: .95rem; line-height: 1.35; margin: 0; }
.bubble::after { content: ""; position: absolute; left: 30px; bottom: -13px; width: 22px; height: 22px; background: var(--surface); border-right: var(--bw) solid var(--line); border-bottom: var(--bw) solid var(--line); transform: rotate(45deg) skew(10deg, 10deg); }
.bubble .droid { display: block; margin-bottom: 2px; }
.bubble--hero { position: absolute; right: -40px; top: 2%; width: 200px; }
.bubble--hero::after { left: 26px; bottom: -13px; }
.caption { margin: 0; background: var(--yellow); color: #161412; border: var(--bw) solid #161412; font: 600 1.05rem/1.1 var(--f-cond); padding: 6px 12px; box-shadow: 4px 4px 0 var(--shadow); }
.caption--hero { position: absolute; left: 8%; bottom: -22px; transform: rotate(-3deg); }
.droid { font: 600 1rem var(--f-cond); }
.droid abbr { display: inline-block; font: 900 .62em/1 var(--f-display); background: var(--cyan); color: #161412; border: 2px solid var(--line); padding: .2em .32em; border-radius: 3px; margin-left: .2em; vertical-align: .15em; }

/* ---------- plan picker: four questions, one answer ---------- */
.pick { position: relative; background: var(--surface); border: var(--bw) solid var(--line); box-shadow: 8px 8px 0 var(--shadow); padding: 16px 18px 18px; display: grid; gap: 10px; --qw: 8.2rem; }
.pick::before { content: ""; position: absolute; right: -3px; top: -3px; width: 34%; height: 46px; background: radial-gradient(var(--dots) 1.6px, transparent 1.9px) 0 0 / 9px 9px; clip-path: polygon(30% 0, 100% 0, 100% 100%); pointer-events: none; }
.pick__row { border: 0; margin: 0; padding: 0; min-width: 0; display: flow-root; }
.pick__q { float: left; width: var(--qw); padding: .62rem 0 0; font: 600 1rem var(--f-cond); }
.chips { margin-left: var(--qw); display: flex; flex-wrap: wrap; gap: 8px 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip span { position: relative; z-index: 0; display: inline-flex; align-items: center; min-height: 44px; padding: .45rem 1rem; font: 600 1.02rem/1 var(--f-cond); color: var(--text); white-space: nowrap; }
.chip span::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 2.5px solid var(--line); background: var(--bg); transform: skewX(-10deg); transition: background .1s; }
.chip:hover span::before { background: color-mix(in srgb, var(--yellow) 30%, var(--bg)); }
.chip input:checked + span { color: var(--btn-fg); }
.chip input:checked + span::before { background: var(--red); box-shadow: 3px 3px 0 var(--shadow); }
.chip input:focus-visible + span::before { outline: 3px solid var(--blue); outline-offset: 3px; }
.pick__go { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 6px; }
.pick__small { margin: 0; font-size: .92rem; color: var(--muted); }
.hint { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 6px; border: 2px solid var(--line); border-radius: 50%; background: var(--yellow); color: #161412; font: 900 .7rem/1 var(--f-display); cursor: help; padding: 0; vertical-align: 1px; }
.pop { position: absolute; z-index: 45; max-width: 320px; background: var(--surface); color: var(--text); border: var(--bw) solid var(--line); box-shadow: var(--sh); padding: 12px 14px; font-size: .92rem; border-radius: 8px; }
.pop b { font-family: var(--f-cond); font-weight: 600; } .pop p { margin: 4px 0 0; }

/* ---------- ticker ---------- */
.ticker { position: relative; z-index: 2; background: var(--red); border-block: var(--bw) solid var(--line); overflow: hidden; transform: rotate(-1.2deg); margin-inline: -2vw; }
.ticker__in { display: flex; align-items: center; width: max-content; animation: tick 40s linear infinite; }
.ticker span { font: 900 1.3rem/1 var(--f-display); text-transform: uppercase; color: var(--btn-fg); padding: .62rem 1.1rem; }
.ticker i { width: 15px; height: 15px; border-radius: 50%; background: var(--yellow); border: 2.5px solid #161412; flex: none; }
.ticker i:nth-of-type(3n) { background: var(--blue); } .ticker i:nth-of-type(3n+1) { background: var(--cyan); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding-block: clamp(40px, 5vw, 68px); }
#crew { padding-top: clamp(44px, 5.5vw, 76px); }
.sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: clamp(22px, 3vw, 34px); }
.sec__head p { margin: 0; max-width: 54ch; }

/* crew */
.crew-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 30px); }
.crew { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.crew__play { position: relative; display: block; padding: 0; border: var(--bw) solid var(--line); background: var(--ink); box-shadow: 7px 7px 0 var(--shadow); cursor: pointer; overflow: hidden; transform: rotate(-1.2deg); transition: transform .14s ease; }
.crew:nth-child(even) .crew__play { transform: rotate(1.1deg); }
.crew__play:hover { transform: rotate(0) translate(-2px, -2px); }
.crew__art svg, .crew__art img { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.crew__series { position: absolute; left: 10px; top: 10px; max-width: calc(100% - 20px); background: var(--yellow); color: #161412; border: 2.5px solid #161412; font: 600 .9rem/1.15 var(--f-cond); padding: 3px 8px; text-align: left; }
.crew__icon { position: absolute; right: 12px; bottom: 12px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #F8F2E4; border: 3px solid #161412; box-shadow: 3px 3px 0 #161412; }
.crew__icon .ico { width: 22px; height: 22px; margin-left: 3px; }
.crew__name { font: 600 1.22rem/1.15 var(--f-cond); margin: 12px 0 0; }
.crew__x { color: var(--red); }
.crew__bio { margin: 0; font-size: .95rem; line-height: 1.42; color: var(--muted); }

/* how it works (a real sequence, so it is numbered) */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(28px, 3.4vw, 40px) 0 0; padding: 0; border: var(--bw) solid var(--line); background: var(--surface); box-shadow: var(--sh); }
.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 76px; display: grid; gap: 2px; }
.steps li + li { border-left: var(--bw) solid var(--line); }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 3px solid var(--line); font: 900 1.05rem/1 var(--f-display); background: var(--red); color: var(--btn-fg); }
.steps li:nth-child(2)::before { background: var(--blue); color: var(--on-blue); }
.steps li:nth-child(3)::before { background: var(--yellow); color: #161412; }
.steps b { font: 600 1.12rem/1.2 var(--f-cond); }
.steps span { font-size: .93rem; color: var(--muted); }

/* ---------- pricing ---------- */
.bill-toggle { display: inline-flex; border: var(--bw) solid var(--line); background: var(--surface); margin-bottom: 26px; }
.bill-toggle button { border: 0; background: none; padding: .55rem 1rem; font: 600 1rem var(--f-cond); cursor: pointer; }
.bill-toggle button + button { border-left: var(--bw) solid var(--line); }
.bill-toggle [aria-checked="true"] { background: var(--text); color: var(--bg); }
.save { display: inline-block; background: var(--yellow); color: #161412; padding: 0 .35em; margin-left: .3em; border-radius: 3px; }
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 30px); align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 22px 22px; background: var(--surface); border: var(--bw) solid var(--line); box-shadow: 7px 7px 0 var(--shadow); min-width: 0; }
.price--pro { background: #F6B800; color: #161412; transform: translateY(-10px); }
.price--pro::before { content: ""; position: absolute; left: 0; bottom: 0; width: 55%; height: 45%; background: radial-gradient(rgba(22, 20, 18, .2) 1.6px, transparent 1.9px) 0 0 / 10px 10px; clip-path: polygon(0 0, 100% 100%, 0 100%); pointer-events: none; }
.price--crew { background: #1D3FBF; color: #F2EBDD; }
.price--crew::before { content: ""; position: absolute; right: -34px; top: -34px; width: 112px; height: 112px; border-radius: 50%; border: 8px solid #DA291C; box-shadow: inset 0 0 0 12px #1D3FBF, inset 0 0 0 30px #F6B800; pointer-events: none; }
.price--crew .price__tag { padding-right: 56px; }
.price > * { position: relative; }
.burst--price { position: absolute; top: -34px; right: -20px; width: 108px; transform: rotate(10deg); z-index: 2; }
.burst--price { --cap: .82rem; }
.price__name { font-size: 1.55rem; }
.price__tag { margin: 0; font-size: .98rem; }
.price__amount { margin: 8px 0 2px; display: grid; }
.price__num { font: 900 2.4rem/1 var(--f-display); }
.price__per { font: 600 .95rem var(--f-cond); opacity: .85; }
.price__list { list-style: none; margin: 8px 0 16px; padding: 0; display: grid; gap: 8px; flex: 1; align-content: start; }
.price__list li { display: flex; gap: 9px; align-items: flex-start; font-size: .97rem; line-height: 1.35; }
.price__list .ico { width: 20px; height: 20px; color: var(--red); margin-top: 1px; }
.price--pro .price__list .ico { color: #161412; } .price--crew .price__list .ico { color: #F6B800; }
.price .btn { align-self: stretch; }
.price--pro .btn { border-color: #161412; box-shadow: 5px 5px 0 #161412; background: #DA291C; color: #F8F2E4; }
.price__legal { margin: 24px 0 0; font-size: .9rem; color: var(--muted); max-width: 72ch; }

/* ---------- footer ---------- */
.foot { background: #161412; color: #EFE6D2; border-top: var(--bw) solid var(--line); }
[data-theme="dark"] .foot { background: #080A18; }
@media (prefers-color-scheme: dark) { [data-theme="auto"] .foot { background: #080A18; } }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; padding-block: 48px 28px; }
.foot .logo { color: #EFE6D2; } .foot .logo__mark { color: #EFE6D2; } .foot .logo__word span { border-color: #EFE6D2; }
.logo--big .logo__word { font-size: 2rem; } .logo--big .logo__mark { width: 52px; height: 52px; }
.foot__brand p { margin: 14px 0 0; max-width: 34ch; font: 600 1.15rem/1.3 var(--f-cond); }
.foot__col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.foot__col h2 { margin: 0 0 4px; font: 600 1rem var(--f-cond); color: #F6B800; }
.foot__col a { text-decoration: none; } .foot__col a:hover { text-decoration: underline; text-decoration-color: #F6B800; }
.foot .link-btn { color: #EFE6D2; font: inherit; text-decoration-color: #19C3B1; }
.foot__fine { border-top: 1px solid rgba(239, 230, 210, .2); padding-block: 18px 96px; display: grid; gap: 6px; font-size: .85rem; color: rgba(239, 230, 210, .78); }
.foot__fine p { margin: 0; max-width: 100ch; }

/* ---------- android chat ---------- */
.chat { position: fixed; right: 18px; bottom: 18px; z-index: 60; }
.chat__fab { display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; background: var(--surface); color: var(--text); border: var(--bw) solid var(--line); border-radius: 999px; box-shadow: var(--sh); font: 600 1rem var(--f-cond); cursor: pointer; }
.chat__face svg { display: block; width: 40px; height: 40px; color: var(--line); }
.chat__panel { position: absolute; right: 0; bottom: 66px; width: min(390px, calc(100vw - 24px)); height: min(570px, calc(100svh - 120px)); display: flex; flex-direction: column; background: var(--surface); border: var(--bw) solid var(--line); border-radius: 10px; box-shadow: 8px 8px 0 var(--shadow); overflow: hidden; }
.chat__panel[hidden] { display: none; }
.chat__head { display: flex; gap: 8px; align-items: center; padding: 10px; background: var(--cyan); border-bottom: var(--bw) solid var(--line); }
.chat__head select { flex: 1; min-width: 0; font: 600 1rem var(--f-cond); padding: 8px 10px; border: 2px solid #161412; border-radius: 4px; background: #F8F2E4; color: #161412; }
.chat__x { background: #F8F2E4; color: #161412; border-color: #161412; }
.chat__tabs { display: flex; overflow-x: auto; border-bottom: 2px solid var(--line); scrollbar-width: none; }
.chat__tabs button { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 8px 10px; background: none; border: 0; font: 600 .86rem var(--f-cond); cursor: pointer; }
.chat__tabs button + button { border-left: 2px solid var(--line); }
.chat__tabs [aria-selected="true"] { background: var(--yellow); color: #161412; }
.chat__tabs [data-locked] { opacity: .62; }
.chat__tabs .ico { width: 13px; height: 13px; }
.chat__ai { margin: 0; padding: 6px 12px; font-size: .78rem; background: var(--bg); border-bottom: 1px dashed var(--line); }
.chat__log { list-style: none; margin: 0; padding: 14px 12px; flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background: radial-gradient(var(--dots) 1px, transparent 1.2px) 0 0 / 12px 12px; }
.msg { max-width: 86%; padding: 9px 12px; border: 2.5px solid var(--line); border-radius: 16px; background: var(--bg); font-size: .95rem; line-height: 1.42; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg--user { align-self: flex-end; background: var(--yellow); color: #161412; border-bottom-right-radius: 4px; }
.msg--bot { align-self: flex-start; border-bottom-left-radius: 4px; }
.msg--bot::before, .msg--system::before { content: attr(data-who); display: block; font: 600 .78rem var(--f-cond); color: var(--muted); }
.msg--system { align-self: center; border-style: dashed; font-size: .88rem; }
.msg--typing { opacity: .7; }
.chat__form { display: flex; gap: 8px; padding: 10px; border-top: 2px solid var(--line); }
.chat__form input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 2.5px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--text); }
.chat__form .btn { padding-inline: .8rem; }
.chat__meta { margin: 0; padding: 0 12px 10px; font-size: .78rem; color: var(--muted); }

/* ---------- consent + dialogs ---------- */
.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; display: flex; justify-content: center; pointer-events: none; }
.cookie[hidden] { display: none; }
.cookie__in { pointer-events: auto; max-width: 780px; background: var(--surface); border: var(--bw) solid var(--line); box-shadow: 8px 8px 0 var(--shadow); border-radius: 8px; padding: 16px 18px; }
.cookie h2 { margin: 0 0 4px; font: 600 1.15rem var(--f-cond); }
.cookie p { margin: 0 0 12px; font-size: .95rem; }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.dlg { border: var(--bw) solid var(--line); padding: 0; background: var(--surface); color: var(--text); border-radius: 10px; box-shadow: 10px 10px 0 var(--shadow); width: min(560px, calc(100vw - 24px)); }
.dlg::backdrop { background: rgba(15, 18, 38, .6); }
.dlg__body { position: relative; display: grid; gap: 12px; padding: 22px; }
.dlg__body h2 { margin: 0; font: 600 1.4rem/1.15 var(--f-cond); padding-right: 44px; }
.dlg__x { position: absolute; top: 12px; right: 12px; }
.dlg--video { width: min(860px, calc(100vw - 24px)); }
.video { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: #161412; color: #EFE6D2; border: var(--bw) solid var(--line); text-align: center; padding: 18px; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__soon { display: grid; gap: 10px; justify-items: center; }
.video__soon .burst { width: 150px; }
.video__soon .burst { --cap: 1rem; }
.video__note { margin: 0; color: var(--muted); }
.dlg--video .btn { justify-self: start; }
.switch { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 2px solid var(--line); border-radius: 6px; font-size: .92rem; cursor: pointer; }
.switch input { width: 22px; height: 22px; accent-color: var(--red); flex: none; margin: 1px 0 0; }
.switch b { display: block; font: 600 1.02rem var(--f-cond); }

.video__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.video__soon { position: relative; z-index: 1; }
.toast { position: fixed; left: 50%; bottom: 96px; translate: -50% 0; z-index: 90; background: #161412; color: #EFE6D2; border: 2px solid #EFE6D2; padding: 10px 16px; font: 600 1rem var(--f-cond); box-shadow: 4px 4px 0 var(--red); }

/* ---------- today page ---------- */
.today { padding-block: 26px 64px; }
.today__head { display: grid; gap: 14px; justify-items: start; margin-bottom: 26px; }
.today__profile { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.tags li { font: 600 .95rem/1 var(--f-cond); padding: 7px 12px; border: 2px solid var(--line); background: var(--surface); }
.tags li:last-child { background: var(--red); color: var(--btn-fg); }
.change > summary { font: 600 1rem var(--f-cond); cursor: pointer; list-style: none; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.change > summary::-webkit-details-marker { display: none; }
.change[open] { flex-basis: 100%; }
.change[open] > summary { margin-bottom: 12px; }
.pick--compact { max-width: 760px; }
.today__grid { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.today__side { position: sticky; top: calc(var(--top) + 18px); display: grid; gap: 16px; }
.drop-poster { margin: 0; aspect-ratio: 3 / 4; border: var(--bw) solid var(--line); background: #EFE6D2; box-shadow: 10px 10px 0 var(--shadow); transform: rotate(-1.2deg); overflow: hidden; }
.drop-poster svg { display: block; width: 100%; height: 100%; }
.drop-poster noscript { display: grid; place-items: center; height: 100%; padding: 20px; color: #161412; text-align: center; }
.drop-poster--mini { transform: none; box-shadow: 4px 4px 0 var(--shadow); }
.poster__acts { display: flex; gap: 10px; }
.poster__acts .btn { flex: 1; }
.done { display: grid; gap: 10px; padding: 14px; border: var(--bw) dashed var(--line); background: var(--surface); }
.done__count, .done__streak { margin: 0; font-size: .93rem; }
.done__streak { font: 600 1rem var(--f-cond); color: var(--muted); }
.btn--stamp { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 1.15rem; }
.btn--stamp:disabled { background: var(--surface); color: var(--red); border-color: var(--red); border-style: dashed; box-shadow: none; transform: rotate(-2deg); cursor: default; }
.panel { background: var(--surface); border: var(--bw) solid var(--line); box-shadow: 7px 7px 0 var(--shadow); padding: clamp(16px, 2.4vw, 26px); margin-bottom: 26px; }
.panel__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 20px; margin-bottom: 8px; padding-bottom: 12px; border-bottom: var(--bw) solid var(--line); }
.stats { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; }
.stats div { display: grid; }
.stats dt { font-size: .8rem; color: var(--muted); }
.stats dd { margin: 0; font: 900 1.3rem/1.1 var(--f-display); }
.stats dd small { font: 600 .82rem var(--f-cond); }
.block { padding-block: 12px 4px; }
.block + .block { border-top: 2px dashed var(--hair); }
.block__t { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 1.2rem/1.1 var(--f-cond); }
.block__n { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 2.5px solid var(--line); font: 900 .8rem/1 var(--f-display); background: var(--blue); color: var(--on-blue); }
.block--main .block__n { background: var(--red); color: var(--btn-fg); }
.block--finisher .block__n { background: var(--yellow); color: #161412; }
.block--cool .block__n { background: var(--cyan); color: #161412; }
.block__note { margin: 4px 0 6px 40px; font-size: .9rem; color: var(--muted); }
.ex-list { list-style: none; margin: 0; padding: 0; }
.ex { display: grid; grid-template-columns: minmax(0, 1fr) auto 38px; grid-template-areas: "name dose demo" "tip tip demo"; column-gap: 14px; row-gap: 1px; align-items: center; padding: 9px 0 9px 40px; border-bottom: 1px solid var(--hair); }
.ex:last-child { border-bottom: 0; }
.ex__name { grid-area: name; font-weight: 700; }
.ex__eq { font: 600 .7rem/1 var(--f-cond); border: 1.5px solid currentColor; padding: 2px 4px; border-radius: 3px; vertical-align: 2px; }
.ex__dose { grid-area: dose; font: 600 1rem/1 var(--f-cond); white-space: nowrap; background: var(--text); color: var(--bg); padding: 5px 9px; }
.ex__tip { grid-area: tip; font-size: .88rem; color: var(--muted); }
.ex__demo { grid-area: demo; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 2.5px solid var(--line); background: var(--cyan); color: #161412; cursor: pointer; padding: 0; }
.ex__demo .ico { width: 15px; height: 15px; margin-left: 2px; }
.notes { margin: 14px 0 0; padding: 12px 16px 12px 34px; background: var(--bg); border-left: 6px solid var(--yellow); font-size: .92rem; display: grid; gap: 4px; }
.macro { display: flex; height: 36px; margin: 14px 0 6px; border: var(--bw) solid var(--line); overflow: hidden; font: 600 .86rem/1 var(--f-cond); }
.macro span { display: flex; align-items: center; min-width: 0; padding: 0 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.macro span + span { border-left: var(--bw) solid var(--line); }
.macro__p { background: var(--red); color: var(--btn-fg); } .macro__c { background: var(--yellow); color: #161412; } .macro__f { background: var(--blue); color: var(--on-blue); }
.meals { list-style: none; margin: 0; padding: 0; }
.meals li { display: grid; grid-template-columns: 6.6rem minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--hair); }
.meals__slot { font: 600 .98rem var(--f-cond); color: var(--muted); }
.meals__name { font-weight: 600; }
.meals__name small { font: 600 .82rem var(--f-cond); color: var(--muted); }
.meals__kcal { font-size: .88rem; color: var(--muted); white-space: nowrap; }
.panel__fine { margin: 10px 0 0; font-size: .82rem; color: var(--muted); }
.bubble--tip { margin: 0 0 0 10px; padding: 18px 20px; max-width: 64ch; }
.bubble--tip p { margin: 0; font-size: 1.06rem; }
.bubble--tip footer { margin-top: 6px; font: 600 .95rem var(--f-cond); color: var(--muted); }
.next { margin-top: 44px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 44px; align-items: center; padding: 22px clamp(18px, 3vw, 32px); background: #161412; color: #EFE6D2; border: var(--bw) solid var(--line); box-shadow: 8px 8px 0 var(--red); }
.next .h3 { color: #F6B800; }
.clock { margin: 4px 0 0; font: 900 clamp(2rem, 1rem + 3.6vw, 3.4rem)/1 var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.next__pitch { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.next__pitch p { margin: 0; max-width: 54ch; }

/* ---------- inner pages ---------- */
.page { padding-block: 34px 72px; }
.page__head { display: grid; gap: 12px; justify-items: start; margin-bottom: 30px; }
.page .h2 { margin: 52px 0 20px; }
.notice { margin: 0; max-width: 72ch; background: var(--yellow); color: #161412; border: 2px solid #161412; padding: 8px 12px; font-size: .9rem; }
.table-wrap { overflow-x: auto; border: var(--bw) solid var(--line); box-shadow: var(--sh); background: var(--surface); }
.cmp { width: 100%; border-collapse: collapse; min-width: 560px; }
.cmp th, .cmp td { padding: 11px 14px; border-bottom: 1px solid var(--hair); text-align: center; }
.cmp thead th { background: var(--text); color: var(--bg); font: 600 1.05rem var(--f-cond); }
.cmp th[scope="row"] { text-align: left; font-weight: 600; }
.cmp .ico { color: var(--red); width: 20px; height: 20px; }
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: var(--bw) solid var(--line); background: var(--surface); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; font: 600 1.12rem/1.25 var(--f-cond); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 900 1.2rem/1 var(--f-display); color: var(--red); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0; padding: 0 16px 16px; max-width: 70ch; }
.legal section { max-width: 72ch; margin-bottom: 20px; }
.legal section p { margin: 6px 0 0; }

/* auth */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 480px); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: 40px 80px; }
.auth__art { position: relative; justify-self: center; width: min(100%, 360px); }
.poster--auth { transform: rotate(-2deg); box-shadow: 12px 12px 0 var(--shadow); }
.bubble--auth { position: absolute; left: -36px; bottom: 9%; width: 230px; }
.auth__card { display: grid; gap: 14px; padding: clamp(20px, 3vw, 30px); background: var(--surface); border: var(--bw) solid var(--line); box-shadow: 10px 10px 0 var(--shadow); }
.auth__note { margin: 0; background: var(--yellow); color: #161412; border: 2px solid #161412; padding: 8px 10px; font-size: .92rem; }
.auth__alt { margin: 0; font-size: .95rem; }
.field { display: grid; gap: 6px; }
.field > span { font: 600 .98rem var(--f-cond); }
.field input { font: inherit; padding: 11px 13px; border: 2.5px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--text); width: 100%; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; line-height: 1.4; cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--red); }

/* account */
.stats--big dd { font-size: 2rem; }
.subnav { position: sticky; top: var(--top); z-index: 5; display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0; margin-bottom: 18px; background: var(--bg); }
.subnav a { font: 600 1rem var(--f-cond); padding: 6px 12px; border: 2px solid var(--line); text-decoration: none; }
.subnav a:hover { background: var(--yellow); color: #161412; }
.gallery { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 18px; }
.acc-form, .sub-form { display: grid; gap: 14px; max-width: 760px; margin-top: 14px; --qw: 8.2rem; }
.acc-form .btn, .sub-form .btn { justify-self: start; }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0; }
.row-btns form { margin: 0; }
.danger { margin-top: 18px; border: 2px dashed var(--red); padding: 12px 14px; }
.danger summary { font: 600 1.02rem var(--f-cond); color: var(--red); cursor: pointer; }
.danger form { display: grid; gap: 12px; margin-top: 10px; max-width: 440px; }
.danger .btn { justify-self: start; }
.empty { margin: 10px 0 0; }
.nf { display: grid; justify-items: center; text-align: center; gap: 16px; }
.burst--nf { width: 190px; --cap: 2.3rem; }

/* ---------- v2: fitness symbols ---------- */
.sp { width: 1.4em; height: 1.4em; flex: none; }
.hero__mon { margin: 0; }
.hero__mon svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero__art::before { content: none; }
.hero__trial { display: flex; align-items: center; gap: 8px; width: fit-content; margin-top: 10px; font: 600 1.05rem var(--f-cond); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.hero__trial .sp { width: 24px; height: 24px; color: var(--red); }
.ticker .tk { width: 26px; height: 26px; color: #F6B800; }
.chip__ico { width: 18px; height: 18px; margin-right: 6px; color: #F6B800; }
.crew__medal { position: absolute; left: 12px; bottom: 12px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #F6B800; border: 3px solid #161412; box-shadow: 3px 3px 0 #161412; }
.crew__medal .sp { width: 30px; height: 30px; color: #DA291C; }
.pillars { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; }
.pillars li { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 4px; border: 2px solid var(--line); border-radius: 999px; background: var(--surface); font: 600 .98rem var(--f-cond); }
.pillars .sp { width: 30px; height: 30px; padding: 3px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); }
.pillars li:nth-child(1) .sp { color: #DA291C; } .pillars li:nth-child(2) .sp { color: #F06A9A; } .pillars li:nth-child(3) .sp { color: #DA291C; }

/* ---------- v2: trial classes ---------- */
.trial { padding-top: clamp(44px, 5.5vw, 76px); }
.cls-tabs { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; margin-bottom: 30px; padding-top: 12px; }
.cls-tab { position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; padding: 12px 4px 10px; border: var(--bw) solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; font-family: var(--f-cond); font-weight: 600; transition: transform .1s ease; }
.cls-tab:hover { transform: translateY(-2px); }
.cls-tab .picto { width: 40px; height: 40px; }
.cls-tab__name { font-size: .98rem; line-height: 1.1; text-align: center; }
.cls-tab__min { font: 900 .75rem/1 var(--f-display); opacity: .75; }
.cls-tab[aria-selected="true"] { background: var(--c); color: var(--cf, #161412); box-shadow: 5px 5px 0 var(--shadow); transform: translateY(-4px); }
.cls-tab__rec { position: absolute; top: -13px; left: 50%; translate: -50% 0; rotate: -3deg; white-space: nowrap; background: var(--red); color: var(--btn-fg); border: 2px solid var(--line); font: 600 .74rem/1 var(--f-cond); padding: 3px 8px; }
.cls { display: grid; grid-template-columns: minmax(270px, 350px) minmax(0, 1fr); gap: clamp(24px, 3.6vw, 52px); align-items: start; }
.cls[hidden] { display: none; }
.cls__cover { margin: 0; border: var(--bw) solid var(--line); box-shadow: 10px 10px 0 var(--shadow); transform: rotate(-1deg); overflow: hidden; background: var(--c); }
.cls__cover svg, .cls__cover img { display: block; width: 100%; height: auto; }
.cls__stats { margin: 20px 0 14px; }
.cls__stats dd { font-size: 1.12rem; }
.cls__stats .dd-text { font: 600 1.05rem/1.2 var(--f-cond); }
.cls__acts { display: grid; gap: 10px; }
.cls__acts .btn { width: 100%; }
.dl-menu { position: relative; }
.dl-menu > summary { list-style: none; }
.dl-menu > summary::-webkit-details-marker { display: none; }
.dl-menu__list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px); display: grid; background: var(--surface); border: var(--bw) solid var(--line); box-shadow: var(--sh); }
.dl-menu__list > * { display: grid; gap: 2px; padding: 10px 14px; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--hair); color: var(--text); text-decoration: none; cursor: pointer; font: inherit; }
.dl-menu__list > *:last-child { border-bottom: 0; }
.dl-menu__list > *:hover { background: color-mix(in srgb, var(--yellow) 28%, var(--surface)); }
.dl-menu__list b { font: 600 1.02rem var(--f-cond); }
.dl-menu__list small { font-size: .78rem; color: var(--muted); }
.cls__meta { margin: 12px 0 0; font-size: .92rem; }
.cls__meta b { font-family: var(--f-cond); font-weight: 600; }
.cls__tag { margin: 0; font: 600 1.02rem var(--f-cond); color: var(--red); }
.cls__title { margin: 4px 0 10px; font: 900 clamp(1.4rem, .9rem + 1.6vw, 2.2rem)/1.05 var(--f-display); text-transform: uppercase; }
.cls__about { margin: 0 0 16px; max-width: 64ch; }
.timeline { display: flex; height: 34px; margin-bottom: 20px; border: var(--bw) solid var(--line); overflow: hidden; }
.timeline span { display: flex; align-items: center; justify-content: center; min-width: 0; border-right: 2px solid #161412; font: 900 .74rem/1 var(--f-display); color: #161412; }
.timeline span:last-child { border-right: 0; }
.timeline span:nth-child(1), .blk:nth-child(1) { --k: #19C3B1; } .timeline span:nth-child(2), .blk:nth-child(2) { --k: #DA291C; }
.timeline span:nth-child(3), .blk:nth-child(3) { --k: #1D3FBF; } .timeline span:nth-child(4), .blk:nth-child(4) { --k: #F6B800; }
.timeline span:nth-child(5), .blk:nth-child(5) { --k: #F06A9A; } .timeline span:nth-child(6), .blk:nth-child(6) { --k: #8C98A4; }
.timeline span:nth-child(7), .blk:nth-child(7) { --k: #2FA35B; }
.timeline span { background: var(--k); }
.timeline span:nth-child(2), .timeline span:nth-child(3) { color: #F8F2E4; }
.blocks { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 30px; }
.blk { break-inside: avoid; margin-bottom: 18px; padding-left: 12px; border-left: 5px solid var(--k); }
.blk__t { display: flex; align-items: baseline; gap: 8px; margin: 0; font: 600 1.12rem/1.2 var(--f-cond); }
.blk__min { font: 900 .8rem/1 var(--f-display); background: var(--text); color: var(--bg); padding: 3px 6px; }
.blk__fmt { margin: 2px 0 6px; font-size: .84rem; color: var(--muted); }
.blk__list { list-style: none; margin: 0; padding: 0; }
.blk__list li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px dashed var(--hair); font-size: .93rem; }
.blk__dose { font: 600 .93rem var(--f-cond); white-space: nowrap; }
.cls__extra { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 6px; }
.cls__fuel, .cls__ben { padding: 14px 16px; background: var(--surface); border: 2px solid var(--line); }
.cls__extra h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font: 600 1.1rem var(--f-cond); }
.cls__extra h4 .sp { width: 26px; height: 26px; }
.cls__fuel .sp { color: #DA291C; } .cls__ben h4 .sp { color: #F6B800; }
.cls__fuel p { margin: 0 0 6px; font-size: .92rem; }
.cls__fuel b { font-family: var(--f-cond); font-weight: 600; }
.cls__ben ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .93rem; }
.cls__ben li { display: flex; gap: 8px; }
.cls__ben .ico { width: 18px; height: 18px; color: var(--red); margin-top: 2px; }
.cls__safety { margin: 14px 0 0; font-size: .82rem; color: var(--muted); }

/* ---------- v2: athlete's plate ---------- */
.fuel { background: var(--surface); border-block: var(--bw) solid var(--line); background-image: radial-gradient(var(--dots) 1.3px, transparent 1.6px); background-size: 12px 12px; }
.fuel__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, 1fr); gap: clamp(22px, 3vw, 40px); align-items: start; }
.fuel__sub { margin: 10px 0 14px; max-width: 46ch; }
.plate { display: block; width: 100%; max-width: 420px; height: auto; }
.fuel__legend { list-style: none; counter-reset: f; margin: 0; padding: 0; display: grid; gap: 14px; align-self: center; }
.fuel__legend li { counter-increment: f; display: grid; grid-template-columns: 30px 1fr; gap: 2px 10px; }
.fuel__legend li::before { content: counter(f); grid-row: span 2; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #161412; color: #EFE6D2; font: 600 .9rem/1 var(--f-cond); }
.fuel__legend b { font: 600 1.05rem/1.2 var(--f-cond); }
.fuel__legend span { font-size: .92rem; color: var(--muted); }
.fuel__side { background: var(--bg); border: var(--bw) solid var(--line); box-shadow: var(--sh); padding: 18px; }
.fuel__side .h3 { margin: 0 0 8px; font-size: 1.25rem; }
.fuel__rules { margin: 0 0 16px; padding-left: 18px; display: grid; gap: 6px; font-size: .92rem; }
.fuel__day { width: 100%; border-collapse: collapse; font-size: .9rem; }
.fuel__day th { text-align: left; vertical-align: top; padding: 6px 10px 6px 0; font: 600 .95rem var(--f-cond); white-space: nowrap; }
.fuel__day td { padding: 6px 0; vertical-align: top; border-bottom: 1px dashed var(--hair); }
.fuel__day td:last-child { text-align: right; white-space: nowrap; padding-left: 10px; font: 600 .92rem var(--f-cond); }
.fuel__day small { font-family: var(--f-body); font-weight: 400; color: var(--muted); }
.fuel__total { margin: 10px 0 2px; font: 900 1rem var(--f-display); }
.fuel__side .btn { margin-top: 12px; }

/* ---------- v2: class timer player ---------- */
.player { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--text); }
.player::backdrop { background: var(--bg); }
.player__in { position: relative; height: 100%; max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; padding: 16px var(--gut) 22px; }
.player__top { display: flex; align-items: center; gap: 10px; }
.player__top > div { flex: 1; display: grid; }
.player__top b { font: 900 1rem/1.2 var(--f-display); text-transform: uppercase; }
.player__top span { font: 600 .95rem var(--f-cond); color: var(--muted); }
.player__top .icon-btn { font-size: 1.1rem; }
.player__top [aria-pressed="false"] { opacity: .45; }
.player__bar { height: 10px; margin: 12px 0 8px; border: 2px solid var(--line); }
.player__bar i { display: block; height: 100%; width: 0; background: var(--red); transition: width .3s; }
.player__stage { flex: 1; display: grid; grid-template-columns: minmax(220px, 380px) minmax(0, 1fr); gap: clamp(20px, 4vw, 60px); align-items: center; }
.player__ring { position: relative; width: 100%; aspect-ratio: 1; }
.player__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--hair); stroke-width: 16; }
.ring-fg { fill: none; stroke: var(--red); stroke-width: 16; stroke-dasharray: 628.3; stroke-dashoffset: 0; transition: stroke-dashoffset .25s linear; }
.ring-in { fill: #F6B800; stroke: #161412; stroke-width: 4; }
.ring-core { fill: none; stroke: #161412; stroke-width: 3; stroke-dasharray: 4 8; }
.player.is-rest .ring-fg { stroke: var(--cyan); } .player.is-rest .ring-in { fill: #3FE0D0; }
.player__time { position: absolute; inset: 0; display: grid; place-items: center; font: 900 clamp(2.2rem, 1rem + 4vw, 4rem)/1 var(--f-display); color: #161412; font-variant-numeric: tabular-nums; }
.player__meta { margin: 0; font: 600 1.05rem var(--f-cond); color: var(--red); }
.player.is-rest .player__meta { color: var(--muted); }
.player__name { margin: 6px 0; font: 900 clamp(1.6rem, .9rem + 3vw, 3.2rem)/1.04 var(--f-display); text-transform: uppercase; }
.player__dose { margin: 0 0 14px; font: 600 clamp(1.3rem, 1rem + 1.4vw, 2rem)/1.25 var(--f-cond); white-space: pre-line; }
.player__dose small { display: block; margin-top: 6px; font: 400 1rem/1.4 var(--f-body); color: var(--muted); }
.player__cue { position: relative; margin: 0 0 16px; padding: 10px 14px; max-width: 52ch; background: var(--surface); border: 2.5px solid var(--line); border-radius: 16px; }
.player__cue:empty { display: none; }
.player__cue .droid { display: block; }
.player__next { margin: 0; color: var(--muted); }
.player__next b { color: var(--text); font-family: var(--f-cond); font-weight: 600; }
.player__ctrl { display: flex; justify-content: center; gap: 12px; padding-top: 14px; }
.player__ctrl .btn--xl { min-width: 240px; }
.player__end { position: absolute; inset: 72px 0 0 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; background: var(--bg); }
.player__end[hidden] { display: none; }
.player__end p { max-width: 52ch; margin: 0; font-size: 1.08rem; }
.burst--end { width: 190px; --cap: 1.6rem; }

/* ---------- v3: art direction — sport atmosphere in the background ---------- */
.fx-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.has-decor { position: relative; isolation: isolate; overflow: clip; }
.has-decor > .wrap, .has-decor > .today-bg__in { position: relative; z-index: 1; }
.decor { position: absolute; z-index: 0; pointer-events: none; height: auto; color: var(--line); opacity: .085; }
.decor__acc { opacity: .9; }
[data-theme="dark"] .decor { opacity: .13; }
@media (prefers-color-scheme: dark) { [data-theme="auto"] .decor { opacity: .13; } }
.decor--gym { width: clamp(220px, 23vw, 330px); right: max(-70px, calc(50% - 790px)); top: 28px; }
.decor--weights { width: clamp(220px, 21vw, 310px); left: max(-50px, calc(50% - 800px)); bottom: 40px; }
.today-bg .decor--weights { top: 520px; bottom: auto; left: auto; right: max(-60px, calc(50% - 780px)); }
.decor--bike { width: clamp(200px, 19vw, 290px); right: max(-50px, calc(50% - 770px)); top: 18px; }
.decor--fuel { width: clamp(200px, 18vw, 260px); right: max(-40px, calc(50% - 760px)); bottom: 26px; }
.decor--jumpers { width: min(860px, 66vw); right: -60px; top: -18px; color: var(--blue); opacity: .13; }
[data-theme="dark"] .decor--jumpers { opacity: .2; }
.page .decor--jumpers, .has-decor > .decor--jumpers + .wrap.page { }
/* v5: the top stage — the FitRoxAI emblem (one-ink stencil) centre stage, a procession of athletes on both sides, behind the first screen of every page */
main { position: relative; }
.stage { --sh: clamp(150px, 21vw, 322px); position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: var(--sh); pointer-events: none; color: var(--line); }
.stage__logo { position: absolute; left: 50%; bottom: 0; width: calc(var(--sh) * 1.08); height: 98%; opacity: .19; transform: translateX(-50%) rotate(-3deg); transform-origin: 50% 90%; }
.stage__frieze { position: absolute; left: 0; right: 0; bottom: 0; display: block; width: 100%; height: 80%; }
.frieze__fig { opacity: .14; }
.frieze__acc { opacity: .17; }
[data-theme="dark"] .stage { color: #AFC0FF; } [data-theme="dark"] .frieze__fig { opacity: .16; } [data-theme="dark"] .frieze__acc { opacity: .26; } [data-theme="dark"] .stage__logo { opacity: .2; }
@media (prefers-color-scheme: dark) { [data-theme="auto"] .stage { color: #AFC0FF; } [data-theme="auto"] .frieze__fig { opacity: .16; } [data-theme="auto"] .frieze__acc { opacity: .26; } [data-theme="auto"] .stage__logo { opacity: .2; } }
.foot__stage { --bg: #161412; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: clamp(12px, 2vw, 28px); padding-top: 30px; color: #EFE6D2; }
[data-theme="dark"] .foot__stage { --bg: #080A18; } @media (prefers-color-scheme: dark) { [data-theme="auto"] .foot__stage { --bg: #080A18; } }
.foot__logo { display: block; height: clamp(128px, 20vh, 208px); width: auto; aspect-ratio: 760 / 690; opacity: .3; transform: rotate(-3deg); }
.foot__band { opacity: .42; padding-bottom: 6px; }
.foot__band .band { display: block; width: 100%; height: auto; max-height: 88px; }
.crew__art { display: block; }
.crew__art svg, .crew__art img { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.cls-tab .picto { width: 42px; height: 42px; }
@media (max-width: 900px) {
  .decor--gym, .decor--weights, .decor--fuel, .decor--bike { display: none; }
  .decor--jumpers { width: 140vw; right: -30vw; top: 0; opacity: .1; }
  .foot__stage { grid-template-columns: 1fr; justify-items: center; padding-top: 22px; } .foot__band--r { display: none; } .foot__band--l { width: 100%; order: 2; }
}

/* ---------- v2: class page + print ---------- */
.class-page__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; font-family: var(--f-cond); font-weight: 600; }
.print-only { display: none; }
.print-fuel { margin-top: 48px; }
.print-fuel .h3 { margin-bottom: 14px; }
.print-fuel__grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 28px; align-items: center; margin-bottom: 18px; }
.print-fuel .fuel__day { max-width: 760px; margin-top: 14px; }

/* ---------- responsive ---------- */
@media (max-height: 780px) and (min-width: 901px) {
  .hero__h { font-size: clamp(2rem, .4rem + 3.2vw, 3.5rem); }
  .chip span { min-height: 40px; }
  .pick { gap: 8px; padding-block: 12px 14px; }
}
@media (max-width: 1100px) {
  .crew-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cls-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .fuel__grid { grid-template-columns: 1fr 1fr; }
  .fuel__side { grid-column: 1 / -1; }
  .blocks { columns: 1; }
  .bubble--hero { right: -8px; }
}
@media (max-width: 900px) {
  :root { --top: 58px; }
  .burger { display: inline-grid; }
  .nav { display: none; position: fixed; inset: var(--top) 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--gut) 18px; background: var(--bg); border-bottom: var(--bw) solid var(--line); box-shadow: 0 10px 0 var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 1.2rem; border-bottom: 1px solid var(--hair); }
  .tools { margin-left: auto; gap: 8px; }
  .hero { min-height: 0; display: block; padding-block: 18px 34px; }
  .hero__grid { display: block; }
  .hero__h { font-size: clamp(1.55rem, 7.5vw, 3rem); margin: .5em 0 .45em; }
  .kand .k-glow, .kand .k-thin, .kand .k-line { display: none; }
  .hero__art { float: right; width: min(34vw, 150px); margin: 2px 0 10px 16px; }
  .hero__art::before { width: 80%; right: -30%; top: -16%; }
  .poster--hero { box-shadow: 6px 6px 0 var(--shadow); }
  .burst--hero { width: 74px; top: -18px; left: -22px; }
  .burst--hero { --cap: .62rem; }
  .bubble--hero, .caption--hero { display: none; }
  .hero__sub { font-size: 1rem; }
  .pick { clear: both; --qw: 100%; padding: 14px; box-shadow: 6px 6px 0 var(--shadow); }
  .pick { gap: 8px; }
  .pick__q { float: none; width: auto; padding: 0 0 4px; font-size: .95rem; }
  .chip span { min-height: 40px; }
  .chips { margin-left: 0; gap: 8px; }
  .chip span { padding-inline: .8rem; }
  .pick__go .btn { width: 100%; }
  .ticker span { font-size: 1rem; padding: .5rem .9rem; }
  .crew-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(74%, 300px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin-inline: -4px; }
  .crew { scroll-snap-align: start; }
  .steps { grid-template-columns: 1fr; }
  .cls-tabs { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 92px; overflow-x: auto; padding: 16px 4px 12px; margin-inline: -4px; scroll-snap-type: x proximity; }
  .cls-tab { scroll-snap-align: start; }
  .cls { grid-template-columns: 1fr; }
  .cls__side { max-width: 420px; width: 100%; justify-self: center; }
  .cls__extra { grid-template-columns: 1fr; }
  .fuel__grid { grid-template-columns: 1fr; }
  .plate { max-width: 340px; margin-inline: auto; }
  .player__stage { grid-template-columns: 1fr; justify-items: center; text-align: center; align-content: center; gap: 14px; }
  .player__ring { width: min(56vw, 250px); }
  .player__cue { margin-inline: auto; }
  .player__ctrl .btn { flex: 1; min-width: 0; padding-inline: .6rem; }
  .player__ctrl .btn--xl { min-width: 0; flex: 2; }
  .steps li + li { border-left: 0; border-top: var(--bw) solid var(--line); }
  .prices { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(84%, 340px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 40px 6px 20px; margin-inline: -6px; }
  .price { scroll-snap-align: center; }
  .price--pro { order: -1; transform: none; }
  .burst--price { top: -30px; right: 6px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .today__grid { grid-template-columns: 1fr; }
  .today__side { position: static; max-width: 420px; width: 100%; justify-self: center; }
  .next { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; padding-top: 24px; }
  .auth__art { display: none; }
}
@media (max-width: 520px) {
  .langs a { padding: 7px 6px; font-size: .78rem; }
  .logo__word { font-size: 1.02rem; }
  .logo__mark { width: 30px; height: 30px; }
  .icon-btn { width: 36px; height: 36px; }
  .chat { right: 12px; bottom: 12px; }
  .chat__fab { padding: 4px; }
  .chat__face svg { width: 36px; height: 36px; }
  .chat__fab-txt { display: none; }
  .chat__panel { position: fixed; left: 8px; right: 8px; bottom: 76px; width: auto; height: min(72svh, 560px); }
  .pick { padding: 12px; }
  .chips { gap: 7px 8px; }
  .chip span { padding-inline: .62rem; font-size: .96rem; }
  .chip__ico { width: 15px; height: 15px; margin-right: 4px; }
  .hero__sub { font-size: .96rem; line-height: 1.45; }
  .ex { padding-left: 0; grid-template-columns: minmax(0, 1fr) 36px; grid-template-areas: "name demo" "dose demo" "tip demo"; row-gap: 4px; }
  .ex__dose { justify-self: start; }
  .block__note { margin-left: 0; }
  .meals li { grid-template-columns: 1fr auto; }
  .meals__name { grid-column: 1 / -1; grid-row: 2; }
  .stats { gap: 6px 16px; }
  .foot__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  @page { size: A4; margin: 11mm; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .top, .chat, .cookie, .foot, .ticker, .poster__acts, .next, .no-print, .flash, dialog, .skip { display: none !important; }
  html, body { background: #fff !important; color: #161412 !important; font-size: 12px; }
  :root { --bg: #fff; --surface: #fff; --text: #161412; --line: #161412; --muted: #4A443D; --shadow: #161412; }
  .page { padding: 0; }
  .print-only { display: block; }
  .print-brand { margin: 0 0 10px; font: 600 14px var(--f-cond); } .print-brand b { font: 900 16px var(--f-display); margin-right: 8px; } .print-brand span { color: #19A396; }
  .cls { grid-template-columns: 190px 1fr !important; gap: 18px; }
  .cls__side { max-width: none !important; }
  .cls__stats dd { font-size: 13px; }
  .cls__about { font-size: 11.5px; margin-bottom: 10px; }
  .timeline { height: 22px; margin-bottom: 12px; }
  .blk { margin-bottom: 10px; }
  .blk__t { font-size: 13px; }
  .blk__fmt { font-size: 10px; }
  .cls__fuel p, .cls__ben li, .cls__meta { font-size: 11px; }
  .cls__cover { box-shadow: none; transform: none; }
  .cls__title { font-size: 22px; }
  .blocks { columns: 2 !important; column-gap: 18px; }
  .blk__list li { font-size: 11px; padding: 2px 0; }
  .cls__extra { grid-template-columns: 1fr 1fr !important; break-inside: avoid; }
  .print-fuel { break-before: page; margin-top: 0; }
  .print-fuel--only { break-before: auto; }
  .print-fuel__grid { grid-template-columns: 240px 1fr !important; }
  .plate { max-width: 240px; }
  .fuel__legend li span, .fuel__rules, .fuel__day { font-size: 11px; }
}
@media print { .stage, .foot__logo-bg { display: none !important; } }
