/* ringside.fit v3 — one stylesheet for every page and every language.
   Blue is the front desk (El mostrador), red is video reading (El lector),
   amber marks what is still under construction. */

:root {
  --bg: #FFFFFF; --surface: #F4F5F8; --surface-2: #ECEEF3;
  --text: #0B0D1A; --muted: #5E6373; --divider: #E3E5EB;
  --blue: #2340E0; --red: #E5173F; --amber: #A86400; --amber-bg: #FFF4E0; --green: #12805C;
  --band: #0B0D1A; --band-text: #F2F3F7; --band-muted: #9AA0B4; --band-line: #2A2D44;
  --shadow: 0 0 0 1px #E3E5EB, 0 14px 36px rgba(11,13,26,.12);
  --blend: normal; --logo-l: block; --logo-d: none;
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px;
  --wrap: 1360px; --gut: clamp(20px, 4vw, 48px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0A0B12; --surface: #141624; --surface-2: #1B1E30;
  --text: #F2F3F7; --muted: #9AA0B4; --divider: #23263A;
  --blue: #5B7CFF; --red: #F0365A; --amber: #F2B84B; --amber-bg: #2A2110; --green: #3FCB95;
  --band: #12152A; --band-line: #2A2D44;
  --shadow: 0 0 0 1px #2E3148, 0 14px 36px rgba(0,0,0,.55);
  --blend: lighten; --logo-l: none; --logo-d: block;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font-family: var(--font); font-size: 16px; line-height: 1.55; font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; }
a { color: var(--text); }
a:hover { color: var(--blue); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
::selection { background: color-mix(in srgb, var(--blue) 25%, transparent); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- header ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid transparent; }
.nav.scrolled { border-bottom-color: var(--divider); }
.nav-in { height: 64px; display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; flex: none; margin-right: 8px; }
.logo img { height: 28px; width: auto; }
.logo .l-light { display: var(--logo-l); } .logo .l-dark { display: var(--logo-d); }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border: 0; border-radius: var(--r-md); background: none; font: inherit; font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; cursor: pointer; white-space: nowrap; }
.nav-a:hover, .nav-a[aria-expanded="true"] { background: var(--surface); color: var(--text); }
.nav-a[aria-current="page"] { background: var(--surface); }
.nav-a .chev { width: 14px; height: 14px; transition: transform .15s; }
.nav-a[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-right { display: flex; align-items: center; gap: 6px; flex: none; margin-left: auto; }
.dash { display: inline-block; width: 10px; height: 2px; flex: none; background: var(--c, var(--text)); }
.dash.blue { --c: var(--blue); } .dash.red { --c: var(--red); } .dash.amber { --c: var(--amber); }

.menu { position: absolute; top: calc(100% + 12px); left: 0; z-index: 60; background: var(--bg); border-radius: var(--r-md); border: 1px solid var(--divider); padding: 8px; display: none; }
.menu.open { display: block; }
.menu.wide { width: 660px; display: none; grid-template-columns: 1fr 1fr; gap: 2px; }
.menu.wide.open { display: grid; }
.menu.right { left: auto; right: 0; }
.menu-k { grid-column: 1 / -1; margin: 0; padding: 10px 14px 6px; font-size: 13px; color: var(--muted); }
.menu a { display: block; padding: 11px 14px; border-radius: var(--r-sm); text-decoration: none; color: var(--text); }
.menu a:hover { background: var(--surface); color: var(--text); }
.menu a b { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; }
.menu a b .dash { width: 14px; }
.menu a span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.45; margin-top: 3px; padding-left: 24px; }
.menu.list { min-width: 180px; }
.menu.list a { font-size: 14px; font-weight: 500; padding: 9px 12px; }
.menu.list a[aria-current="true"] { background: var(--surface); }

.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: var(--r-md); background: none; color: var(--text); cursor: pointer; font: inherit; }
.icon-btn:hover { background: var(--surface); }
.icon-btn svg { width: 18px; height: 18px; }
.lang-btn { width: auto; padding: 0 10px; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.theme-btn .moon { display: block; } .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; }
.burger { display: none; }
.mnav { display: none; }

@media (max-width: 1119px) {
  .nav-links { display: none; }
  .burger { display: inline-flex; }
  .nav-right .nav-cta { display: none; }
  .mnav.open { display: block; position: fixed; inset: 64px 0 0 0; z-index: 49; background: var(--bg); overflow-y: auto; padding: 12px var(--gut) 48px; }
  .mnav h3 { margin: 22px 0 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
  .mnav a { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; text-decoration: none; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--divider); }
  .mnav a small { color: var(--muted); font-size: 13.5px; font-weight: 400; }
  .mnav .btn { margin-top: 24px; width: 100%; }
}
@media (min-width: 560px) and (max-width: 1119px) { .nav-right .nav-cta { display: inline-flex; } }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-weight: 500; margin: 0; text-wrap: balance; }
.display { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.02; letter-spacing: -.04em; }
.h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1; letter-spacing: -.04em; }
.h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -.03em; }
.h4 { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }
.lede { margin: 0; max-width: 34rem; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.note { margin: 18px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); max-width: 46rem; text-wrap: pretty; }
p { text-wrap: pretty; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; font-weight: 500; color: var(--muted); }
.kicker .dash { width: 18px; }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 1px solid var(--text); border-radius: var(--r-md); background: transparent; color: var(--text); font: inherit; font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .12s, color .12s; }
.btn:hover { background: var(--text); color: var(--bg); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn-fill { background: var(--text); color: var(--bg); }
.btn-fill:hover { background: color-mix(in srgb, var(--text) 82%, var(--blue)); color: var(--bg); }
.btn-blue { border-color: var(--blue); color: var(--blue); }
.btn-blue:hover { background: var(--blue); color: #fff; }
.ulink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--divider); }
.ulink:hover { color: var(--text); text-decoration-color: currentColor; }
.ulink.blue { text-decoration-color: var(--blue); } .ulink.red { text-decoration-color: var(--red); }
.ulink.blue:hover, .ulink.red:hover { text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 28px; }

/* ---------- status tags ---------- */
.st { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap; border: 1px solid transparent; vertical-align: middle; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st.ready { color: var(--green); background: color-mix(in srgb, var(--green) 12%, transparent); }
.st.build { color: var(--amber); background: var(--amber-bg); }
.st.human { color: var(--text); border-color: var(--divider); }
.st.human::before { border-radius: 1px; width: 8px; height: 2px; background: var(--red); }
.st.soon { color: var(--muted); border-color: var(--divider); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: var(--r-sm); background: var(--surface); font-size: 13px; font-weight: 500; }

/* ---------- sections ---------- */
.sec { padding-top: clamp(88px, 11vw, 152px); scroll-margin-top: 64px; }
.sec.tight { padding-top: clamp(56px, 7vw, 96px); }
.sec-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); align-items: end; gap: 20px clamp(32px, 6vw, 96px); }
.sec-body { margin-top: clamp(40px, 5vw, 64px); }
.hero { padding-top: clamp(40px, 6vw, 96px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: center; gap: 40px clamp(40px, 5vw, 88px); }
.hero > :first-child { max-width: 32rem; }
.hero .lede { margin-top: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 64px clamp(32px, 4vw, 64px); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px clamp(24px, 3vw, 40px); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px clamp(20px, 2.4vw, 32px); }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr 1fr; gap: 32px 14px; } .grid-4 .card p { font-size: 13.5px; } }
.rule { height: 1px; border: 0; margin: 0; background: linear-gradient(to right, transparent, var(--divider) 48px, var(--divider) calc(100% - 48px), transparent); }

/* photos */
.photo { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; mix-blend-mode: var(--blend); }
.photo.tall img { aspect-ratio: 4 / 5; }
.photo.wide img { aspect-ratio: 16 / 9; }
.photo .badge { position: absolute; left: 10px; top: 10px; }

/* block title with its colored bar (El gimnasio / La pelea) */
.bar-title { padding-top: 22px; position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bar-title::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 2px; background: var(--c, var(--text)); }
.bar-title.blue { --c: var(--blue); } .bar-title.red { --c: var(--red); } .bar-title.amber { --c: var(--amber); }

/* rows: name left, text right */
.rows { margin: 22px 0 0; padding: 0; }
.rows > div { display: grid; grid-template-columns: minmax(8rem, 13rem) 1fr; gap: 6px 24px; padding: 16px 0; border-top: 1px solid var(--divider); }
.rows > div:first-child { border-top: 0; padding-top: 4px; }
.rows dt { font-weight: 500; font-size: 15px; }
.rows dt .st { margin-top: 6px; display: flex; width: max-content; }
.rows dd { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 520px) { .rows > div { grid-template-columns: 1fr; } }

/* audience / feature cards */
.card { display: block; text-decoration: none; color: var(--text); }
.card:hover { color: var(--text); }
.card .photo { margin-bottom: 18px; }
.card .photo img { transition: transform .4s ease; }
.card:hover .photo img { transform: scale(1.025); }
.card h3 { position: relative; padding-top: 16px; font-size: 18px; letter-spacing: -.01em; }
.card h3::before { content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 2px; background: var(--c, var(--text)); }
.card.blue { --c: var(--blue); } .card.red { --c: var(--red); } .card.amber { --c: var(--amber); }
.card p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.card .more { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--c, var(--divider)); }

/* boxed panel */
.panel { border-radius: var(--r-lg); background: var(--surface); padding: clamp(20px, 3vw, 36px); }
.panel.line { background: transparent; box-shadow: inset 0 0 0 1px var(--divider); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 20px 24px; margin: 0; }
.stats div { border-top: 1px solid var(--divider); padding-top: 14px; }
.stats dt { order: 2; font-size: 13px; color: var(--muted); line-height: 1.4; }
.stats dd { margin: 0 0 4px; font-size: clamp(34px, 3.6vw, 48px); font-weight: 500; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats div { display: flex; flex-direction: column; }

/* questions people ask, with where the answer lives */
.qa { margin: 0; padding: 0; list-style: none; }
.qa li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(9rem, .6fr); gap: 8px 32px; padding: 22px 0; border-top: 1px solid var(--divider); align-items: baseline; }
.qa li:last-child { border-bottom: 1px solid var(--divider); }
.qa h3 { font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.02em; line-height: 1.25; }
.qa p { margin: 0; color: var(--muted); font-size: 15px; }
.qa a, .qa .where { font-size: 13.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; justify-self: end; }
.qa a:hover { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 820px) { .qa li { grid-template-columns: 1fr; } .qa a, .qa .where { justify-self: start; } }

/* module switches ("what you turn on") */
.mods { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.mod { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--divider); cursor: pointer; user-select: none; transition: box-shadow .15s, background .15s; }
.mod:hover { background: var(--surface); }
.mod input { position: absolute; opacity: 0; pointer-events: none; }
.mod .sw { flex: none; width: 34px; height: 20px; margin-top: 1px; border-radius: 999px; background: var(--divider); position: relative; transition: background .15s; }
.mod .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
.mod input:checked + .sw { background: var(--c, var(--blue)); }
.mod input:checked + .sw::after { transform: translateX(14px); }
.mod input:focus-visible + .sw { outline: 2px solid var(--text); outline-offset: 2px; }
.mod b { display: block; font-weight: 500; font-size: 15px; }
.mod span.d { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.45; margin-top: 2px; }
.mod .st { margin-top: 8px; }
.mod.red { --c: var(--red); }
.mod:has(input:checked) { box-shadow: inset 0 0 0 1px var(--c, var(--blue)); }
.mods-sum { margin-top: 16px; font-size: 14px; color: var(--muted); }
.mods-sum b { color: var(--text); font-weight: 500; }

/* under-construction notice */
.wip { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: start; padding: 18px 20px; border-radius: var(--r-md); background: var(--amber-bg); color: var(--text); position: relative; overflow: hidden; }
.wip::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: repeating-linear-gradient(135deg, var(--amber) 0 6px, transparent 6px 12px); }
.wip .ico { width: 22px; height: 22px; color: var(--amber); margin-top: 1px; }
.wip b { font-weight: 600; font-size: 15px; }
.wip p { margin: 4px 0 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
:root[data-theme="dark"] .wip p { color: #C9CCD8; }

/* sign-off steps (system reads, a person signs) */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; display: grid; grid-template-columns: 2.2rem 1fr auto; gap: 4px 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--divider); }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps li b { font-weight: 500; }
.steps li time, .steps li .t { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps li.sign b::after { content: ""; display: inline-block; width: 12px; height: 2px; margin-left: 8px; vertical-align: middle; background: var(--red); }

/* ---------- product frames (UI mockups) ---------- */
.frame { border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--divider); overflow: hidden; font-size: 14px; }
.frame-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--divider); }
.frame-h b { font-weight: 600; font-size: 14px; }
.frame-h span { color: var(--muted); font-size: 12.5px; }
.frame-b { padding: 6px 18px 14px; }
.frow { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--divider); }
.frow:first-child { border-top: 0; }
.frow .t { width: 3.2rem; flex: none; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.frow .m { flex: 1; min-width: 0; }
.frow .m b { display: block; font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frow .m span { display: block; color: var(--muted); font-size: 12.5px; }
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--surface); color: var(--muted); white-space: nowrap; }
.pill.ok { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); }
.pill.warn { background: var(--amber-bg); color: var(--amber); }
.pill.bad { background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red); }
.pill.blue { background: color-mix(in srgb, var(--blue) 12%, transparent); color: var(--blue); }
.frame-foot { padding: 10px 18px; border-top: 1px solid var(--divider); font-size: 12px; color: var(--muted); }
.phone { width: min(100%, 300px); margin: 0 auto; border-radius: 34px; padding: 10px; background: var(--band); box-shadow: 0 0 0 1px var(--divider); }
.phone .screen { border-radius: 26px; background: var(--bg); overflow: hidden; min-height: 520px; font-size: 13.5px; }
.phone .notch { width: 90px; height: 22px; margin: 0 auto 6px; border-radius: 0 0 14px 14px; background: var(--band); }

/* ---------- class booking widget (data-booking) ----------
   Flat and compact: a 1px border, no shadow, no glow. The spots are the subject: one cell per
   place in the class. Taken cells are grey, free ones empty, yours blue; a full class goes amber. */
.bk { --bk-pad: clamp(14px, 1.8vw, 20px); border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--divider); overflow: hidden; }
.bk-h { display: flex; align-items: center; justify-content: space-between; gap: 4px 14px; flex-wrap: wrap; padding: 12px var(--bk-pad) 0; }
.bk-h b { font-weight: 600; font-size: 14px; letter-spacing: -.01em; }
.bk-h span { color: var(--muted); font-size: 12px; }
.bk-days { display: flex; gap: 18px; padding: 0 var(--bk-pad); border-bottom: 1px solid var(--divider); overflow-x: auto; scrollbar-width: none; }
.bk-day { position: relative; display: inline-flex; align-items: baseline; gap: 5px; padding: 10px 0 9px; border: 0; background: none; font: inherit; color: var(--muted); cursor: pointer; white-space: nowrap; }
.bk-day small { font-size: 13px; font-weight: 500; }
.bk-day strong { font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.bk-day::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); opacity: 0; }
.bk-day:hover { color: var(--text); }
.bk-day[aria-pressed="true"] { color: var(--text); }
.bk-day[aria-pressed="true"]::after { opacity: 1; }
.bk-day:focus-visible { outline-offset: 2px; border-radius: 2px; }
.bk-list { list-style: none; margin: 0; padding: 0; }
.bk-row { position: relative; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto auto; gap: 2px 16px; align-items: center; padding: 10px var(--bk-pad); }
.bk-row + .bk-row { border-top: 1px solid var(--divider); }
.bk-row::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--blue); opacity: 0; }
.bk-row.mine::after { opacity: 1; }
.bk-row.waiting::after { opacity: 1; background: var(--amber); }
.bk-row time { font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.bk-row .m { display: contents; }
.bk-row .m > b { grid-column: 2; grid-row: 1; font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-row .m > span { grid-column: 2; grid-row: 2; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-row time { grid-column: 1; grid-row: 1 / span 2; }
.bk-meter { grid-column: 3; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.bk-meter i { display: grid; grid-template-columns: repeat(var(--cap, 10), minmax(3px, 6px)); gap: 2px; min-width: 0; }
.bk-pip { min-width: 0; height: 10px; border-radius: 1.5px; box-shadow: inset 0 0 0 1px var(--divider); }
.bk-pip.t { background: color-mix(in srgb, var(--text) 24%, transparent); box-shadow: none; }
.bk-meter.full .bk-pip.t { background: color-mix(in srgb, var(--amber) 75%, transparent); }
.bk-pip.y { background: var(--blue); box-shadow: none; }
:root[data-theme="dark"] .bk-pip { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 16%, transparent); }
:root[data-theme="dark"] .bk-pip.t, :root[data-theme="dark"] .bk-pip.y { box-shadow: none; }
.bk-meter em { font-style: normal; font-size: 11.5px; line-height: 1; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bk-meter.full em { color: var(--amber); }
.bk-btn { grid-column: 4; grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 7.2rem; height: 30px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--divider); background: transparent; color: var(--text); font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.bk-btn:hover { border-color: var(--text); }
.bk-btn.on { border-color: var(--blue); background: var(--blue); color: #fff; }
.bk-btn.wait { border-color: color-mix(in srgb, var(--amber) 55%, transparent); color: var(--amber); }
.bk-btn.wait:hover { border-color: var(--amber); }
.bk-btn.wait.on { border-color: var(--amber); background: var(--amber-bg); color: var(--amber); }
.bk-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 9px var(--bk-pad); border-top: 1px solid var(--divider); font-size: 12px; color: var(--muted); }
.bk-foot b { color: var(--text); font-weight: 600; }
@media (max-width: 520px) {
  .bk-row { grid-template-columns: 2.8rem minmax(0, 1fr) auto; gap: 2px 10px; }
  .bk-meter { grid-column: 2; grid-row: 3; flex-direction: row; align-items: center; margin-top: 4px; gap: 8px; }
  .bk-btn { grid-column: 3; grid-row: 1 / span 3; min-width: 0; }
}

/* ---------- sparring player (data-sparring) ---------- */
.sp-video { position: relative; aspect-ratio: 16 / 9; background: #0B0D1A; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 0 0 1px var(--divider); }
.sp-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-video .st { position: absolute; left: 10px; top: 10px; }
.sp-video .st.human { left: auto; right: 10px; background: rgba(11,13,26,.6); color: #F2F3F7; border-color: rgba(242,243,247,.25); }
.sp-track { position: relative; height: 28px; margin-top: 14px; cursor: pointer; }
.sp-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(to right, transparent, var(--divider) 48px, var(--divider) calc(100% - 48px), transparent); }
.sp-tick { position: absolute; width: 2px; margin-left: -1px; border-radius: 1px; transition: opacity .2s; }
.sp-head { position: absolute; left: 0; top: 2px; bottom: 2px; width: 1px; background: var(--text); }
.sp-read { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-top: 10px; font-size: 13px; }
.sp-now { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 16rem; font-variant-numeric: tabular-nums; }
.sp-now .icon-btn { width: 28px; height: 28px; flex: none; }
.sp-now .icon-btn svg { width: 10px; height: 10px; }
.sp-now .who { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; min-width: 0; }
.sp-now .who b { font-weight: 500; }



/* ---------- kinds of gym, side by side (photo, bar, what it solves) ---------- */
.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px clamp(24px, 3vw, 48px); }
.kind .bar-title { margin-top: 26px; }
.kind .rows > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
.kind .rows dt { font-size: 15.5px; }
.kind .more-line { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
@media (max-width: 1000px) { .kinds { grid-template-columns: 1fr; max-width: 640px; } }

/* ---------- per-gym outcomes (data-tabs) ---------- */
.tabs { display: flex; gap: clamp(18px, 3vw, 36px); border-bottom: 1px solid var(--divider); overflow-x: auto; scrollbar-width: none; }
.tab { position: relative; padding: 0 0 14px; border: 0; background: none; font: inherit; font-size: clamp(15px, 1.4vw, 18px); font-weight: 500; letter-spacing: -.01em; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); opacity: 0; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); }
.tab[aria-selected="true"]::after { opacity: 1; }
.tab:focus-visible { outline-offset: 4px; border-radius: 2px; }
.wins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 2.6vw, 40px); margin: 0; padding: 0; list-style: none; }
.wins li { padding: 26px 0 0; }
.wins h3 { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.2; letter-spacing: -.02em; }
.wins p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
@supports (grid-template-rows: subgrid) {
  .wins li { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 10px; align-content: start; }
  .wins p { margin: 0; }
}
.wins-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--divider); font-size: 14px; color: var(--muted); }
.wins-foot .ulink { min-height: 0; }
.wins.three { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
.wins.three li { border-top: 1px solid var(--divider); padding-top: 20px; }
@media (max-width: 1000px) { .wins, .wins.three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; } .wins.three { row-gap: 32px; } }
@media (max-width: 560px) { .wins, .wins.three { grid-template-columns: 1fr; row-gap: 0; } .wins li + li { border-top: 1px solid var(--divider); margin-top: 22px; } .wins.three li + li { margin-top: 28px; } }

/* ---------- a gym website, in a browser frame ---------- */
.browser { border-radius: var(--r-lg); border: 1px solid var(--divider); overflow: hidden; background: var(--bg); }
.browser-bar { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--divider); background: var(--surface); }
.browser-bar i { display: flex; gap: 6px; } .browser-bar i span { width: 9px; height: 9px; border-radius: 50%; background: var(--divider); }
.browser-bar b { flex: 1; max-width: 260px; margin: 0 auto; height: 22px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-sm); background: var(--bg); font-size: 11.5px; font-weight: 500; color: var(--muted); }
.gw { --gw-red: #E5173F; background: #0E0F14; color: #F2F3F7; font-size: 13px; }
.gw-nav { display: flex; align-items: center; gap: 16px; padding: 12px 18px; }
.gw-nav strong { font-weight: 700; letter-spacing: .02em; font-size: 14px; margin-right: auto; }
.gw-nav span { color: #B9BDCC; font-size: 12px; }
.gw-nav em { font-style: normal; font-size: 11px; color: #B9BDCC; border: 1px solid #2E3148; border-radius: 4px; padding: 2px 6px; }
.gw-hero { position: relative; min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; background-size: cover; background-position: center 40%; }
.gw-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,15,20,.15) 0%, rgba(14,15,20,.88) 100%); }
.gw-hero > * { position: relative; }
.gw-hero h4 { margin: 0; font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; max-width: 16ch; }
.gw-hero a { display: inline-flex; align-self: flex-start; margin-top: 12px; height: 30px; align-items: center; padding: 0 12px; border-radius: 4px; background: var(--gw-red); color: #fff; font-size: 12px; font-weight: 600; text-decoration: none; }
.gw-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1px; background: #23263A; }
.gw-cols > div { background: #0E0F14; padding: 14px 18px; }
.gw-cols h5 { margin: 0 0 8px; font-size: 11.5px; font-weight: 600; color: #9AA0B4; }
.gw-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid #1C1F2E; font-size: 12.5px; }
.gw-row:first-of-type { border-top: 0; }
.gw-row time { width: 2.6rem; color: #9AA0B4; font-variant-numeric: tabular-nums; }
.gw-row span { flex: 1; }
.gw-row u { text-decoration: none; font-size: 11px; font-weight: 600; color: #fff; border: 1px solid #3A3E58; border-radius: 4px; padding: 3px 8px; }
.gw-row b { font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .gw-cols { grid-template-columns: 1fr; } .gw-nav span { display: none; } }


.browser-shot { display: block; }
.browser-shot img { display: block; width: 100%; height: auto; }


/* ---------- a gym website, as a slideshow (data-slideshow) ----------
   The site inside is drawn at a fixed 1000×570 and scaled to the frame, so it reads like a
   real page at any width. Its own palette is the example gym's, not ours. */
.gws { --gws-d: 5s; }
.gws-stage { position: relative; aspect-ratio: 1000 / 570; overflow: hidden; background: #0C0C0E; }
.gws-site { position: absolute; top: 0; left: 0; width: 1000px; height: 570px; transform-origin: 0 0; transform: scale(var(--s, 1));
  --a: #F5B83D; --ink: #F4F4F2; --mute: #A3A3A8; --line: #26262C; --card: #141417; color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 1.45; background: #0C0C0E; }
.gws-nav { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 64px; display: flex; align-items: center; gap: 26px; padding: 0 40px; background: linear-gradient(180deg, rgba(12,12,14,.92), rgba(12,12,14,.0)); }
.gws-logo { display: flex; align-items: center; gap: 9px; margin-right: auto; font-weight: 800; font-size: 15px; letter-spacing: .06em; }
.gws-logo i { width: 18px; height: 18px; border: 3px solid var(--a); border-radius: 3px; transform: rotate(45deg); }
.gws-nav span { font-size: 13.5px; color: var(--mute); position: relative; }
.gws-nav span.on { color: var(--ink); }
.gws-nav span.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--a); }
.gws-nav em { font-style: normal; font-size: 11.5px; letter-spacing: .08em; color: var(--mute); }
.gws-nav em b { color: var(--ink); font-weight: 600; }
.gws-nav u { text-decoration: none; height: 36px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--a); color: #141414; font-size: 13px; font-weight: 600; }
.gws-slide { position: absolute; inset: 0; z-index: 1; background: #0C0C0E; visibility: hidden; transition: visibility 0s linear .6s; }
.gws-slide.on { z-index: 2; visibility: visible; transition: none; }
@media (prefers-reduced-motion: no-preference) { .gws-slide.on { animation: gws-wipe .6s cubic-bezier(.65,0,.25,1); } }
@keyframes gws-wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
.gws-page { position: absolute; inset: 64px 0 0; padding: 26px 40px 0; }
.gws-page h4 { margin: 0; font-size: 38px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.gws-page h4 + p { margin: 8px 0 0; color: var(--mute); font-size: 14px; }
/* home */
.gws-hero { position: absolute; inset: 0; background-size: cover; background-position: center; }
.gws-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,14,.94) 0%, rgba(12,12,14,.7) 38%, rgba(12,12,14,.05) 70%), linear-gradient(0deg, rgba(12,12,14,.7), transparent 30%); }
.gws-home { position: absolute; z-index: 2; left: 40px; top: 130px; width: 470px; }
.gws-home h3 { margin: 0; font-size: 58px; font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
.gws-home h3 b { color: var(--a); font-weight: 600; }
.gws-home p { margin: 16px 0 0; color: #C9C9CC; font-size: 15px; max-width: 26em; }
.gws-btns { display: flex; gap: 10px; margin-top: 24px; }
.gws-btns span { height: 44px; display: inline-flex; align-items: center; padding: 0 20px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid rgba(244,244,242,.35); }
.gws-btns span:first-child { background: var(--ink); color: #141414; border-color: var(--ink); }
.gws-next { position: absolute; z-index: 2; left: 40px; bottom: 30px; display: flex; align-items: center; gap: 18px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: rgba(12,12,14,.7); }
.gws-next small { display: block; color: var(--mute); font-size: 11.5px; }
.gws-next strong { display: block; font-size: 14px; font-weight: 600; }
.gws-next .pips { display: grid; grid-template-columns: repeat(14, 5px); gap: 2px; }
.gws-next .pips i { height: 12px; border-radius: 1px; background: rgba(244,244,242,.3); }
.gws-next .pips i.f { background: transparent; box-shadow: inset 0 0 0 1px rgba(244,244,242,.3); }
.gws-next em { font-style: normal; font-size: 12px; color: var(--a); font-weight: 600; }
/* classes */
.gws-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.gws-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }
.gws-card div { height: 214px; background-size: cover; background-position: center; }
.gws-card b { display: block; padding: 16px 18px 0; font-size: 18px; font-weight: 600; }
.gws-card small { display: block; padding: 3px 18px 0; color: var(--a); font-size: 12px; font-weight: 600; }
.gws-card p { margin: 8px 0 0; padding: 0 18px 18px; color: var(--mute); font-size: 13px; }
/* timetable */
.gws-week { display: grid; grid-template-columns: 56px repeat(5, 1fr); gap: 6px; margin-top: 20px; }
.gws-week > span { font-size: 11.5px; color: var(--mute); padding: 0 0 2px 2px; }
.gws-week > time { font-size: 12px; color: var(--mute); padding-top: 10px; font-variant-numeric: tabular-nums; }
.gws-week > div { height: 54px; padding: 8px 11px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.gws-week > div b { font-size: 13px; font-weight: 600; }
.gws-week > div small { font-size: 11px; color: var(--mute); }
.gws-week > div.full small { color: #E5A23A; }
.gws-week > div.mine { border-color: var(--a); background: color-mix(in srgb, var(--a) 12%, var(--card)); }
.gws-week > div.mine small { color: var(--a); font-weight: 600; }
.gws-week > div.x { background: transparent; border-style: dashed; border-color: #1C1C21; }
/* plans */
.gws-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; align-items: stretch; }
.gws-plan { position: relative; display: flex; flex-direction: column; padding: 24px 20px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.gws-plan.top { border-color: var(--a); background: linear-gradient(180deg, color-mix(in srgb, var(--a) 10%, var(--card)), var(--card) 60%); }
.gws-plan mark { position: absolute; top: -11px; left: 18px; height: 22px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 999px; background: var(--a); color: #141414; font-size: 11px; font-weight: 700; }
.gws-plan b { font-size: 16px; font-weight: 600; }
.gws-plan small { display: block; margin-top: 3px; color: var(--mute); font-size: 12.5px; }
.gws-plan strong { display: flex; align-items: baseline; gap: 4px; margin-top: 18px; font-size: 50px; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.gws-plan strong span { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--mute); }
.gws-plan ul { list-style: none; margin: 18px 0 20px; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; flex: 1; }
.gws-plan li { position: relative; padding-left: 18px; font-size: 13px; color: #D4D4D7; }
.gws-plan li::before { content: ""; position: absolute; left: 1px; top: 5px; width: 8px; height: 4px; border: solid var(--a); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }
.gws-plan > span { height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(244,244,242,.3); font-size: 13px; font-weight: 600; }
.gws-plan.top > span { background: var(--a); border-color: var(--a); color: #141414; }
.gws-plans + p { margin: 18px 0 0; color: var(--mute); font-size: 12.5px; }
/* the controls under the frame */
.gws-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.gws-tab { padding: 8px 0 0; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 500; color: var(--muted); text-align: left; cursor: pointer; position: relative; }
.gws-tab::before, .gws-tab i { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: var(--divider); }
.gws-tab i { background: var(--blue); transform: scaleX(0); transform-origin: left; }
.gws-tab[aria-selected="true"] { color: var(--text); }
.gws-tab[aria-selected="true"] i { transform: scaleX(1); }
.gws-tab.run i { transform: scaleX(0); animation: gws-fill var(--gws-d) linear forwards; }
.gws.hold .gws-tab.run i { animation-play-state: paused; }
.gws-tab:hover { color: var(--text); }
@keyframes gws-fill { to { transform: scaleX(1); } }

/* ---------- assistant conversation ---------- */
.chat { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.msg { margin: 0; max-width: 82%; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; }
.msg.in { align-self: flex-start; background: var(--surface); border-bottom-left-radius: 4px; }
.msg.out { align-self: flex-end; background: color-mix(in srgb, var(--blue) 14%, var(--bg)); border-bottom-right-radius: 4px; }
.msg small { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); }
.msg .pay { display: inline-flex; margin-top: 8px; height: 28px; align-items: center; padding: 0 10px; border-radius: var(--r-sm); border: 1px solid var(--blue); color: var(--blue); font-size: 12px; font-weight: 600; }
.chat-day { align-self: center; font-size: 11.5px; color: var(--muted); }
.calls { border-top: 1px solid var(--divider); }

/* ---------- dark CTA band ---------- */
.band { margin-top: clamp(88px, 11vw, 152px); background: var(--band); color: var(--band-text); position: relative; overflow: hidden; }
.band::before, .band::after { content: ""; position: absolute; width: 60%; height: 140%; top: 10%; filter: blur(60px); opacity: .55; pointer-events: none; }
.band::before { left: -25%; background: radial-gradient(closest-side, #2340E0, transparent); }
.band::after { right: -30%; background: radial-gradient(closest-side, #7A1030, transparent); }
.band-in { position: relative; z-index: 1; padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(72px, 9vw, 128px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); align-items: center; gap: 28px clamp(32px, 6vw, 96px); }
.band h2 { color: var(--band-text); }
.band p { margin: 0; max-width: 30rem; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: #C2C6D6; }
.band .btn { border-color: rgba(242,243,247,.5); color: var(--band-text); margin-top: 24px; }
.band .btn:hover { background: var(--band-text); color: var(--band); }

/* ---------- footer ---------- */
.foot { background: var(--band); color: var(--band-muted); }
.foot .rule { background: linear-gradient(to right, transparent, var(--band-line) 48px, var(--band-line) calc(100% - 48px), transparent); }
.foot-in { padding-top: clamp(48px, 6vw, 72px); padding-bottom: 28px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 40px 32px; }
.foot-grid > div:first-child { max-width: 22rem; }
.foot img { display: block; height: 28px; width: auto; }
.foot p { margin: 18px 0 0; font-size: 14px; line-height: 1.6; }
.foot h3 { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: var(--band-text); }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; }
.foot a { color: var(--band-muted); text-decoration: none; font-size: 14px; }
.foot a:hover { color: var(--band-text); }
.foot-bottom { margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--band-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13px; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-langs a[aria-current="true"] { color: var(--band-text); }

/* =====================================================================
   One-page layout (layout: one). Visual first: big type, big pictures,
   product pieces instead of paragraphs. Flat: borders, never shadows.
   ===================================================================== */
.o-nav { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid transparent; }
.o-nav.scrolled { border-bottom-color: var(--divider); }
.o-nav-in { height: 64px; display: flex; align-items: center; gap: 28px; }
.o-links { display: flex; gap: 4px; }
.o-links a { padding: 8px 12px; border-radius: var(--r-md); font-size: 14px; font-weight: 500; text-decoration: none; color: var(--muted); }
.o-links a:hover { color: var(--text); background: var(--surface); }
.o-right { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.o-langs { display: flex; gap: 2px; margin-right: 4px; }
.o-langs a { padding: 6px 7px; border-radius: var(--r-sm); font-size: 12px; font-weight: 600; letter-spacing: .03em; text-decoration: none; color: var(--muted); }
.o-langs a:hover { color: var(--text); }
.o-langs a[aria-current="true"] { color: var(--text); }
@media (max-width: 900px) { .o-links { display: none; } }
@media (max-width: 480px) { .o-right .btn { display: none; } }

.o-sec { padding-top: clamp(96px, 12vw, 168px); scroll-margin-top: 72px; }
.o-h1 { font-size: clamp(46px, 7.2vw, 108px); font-weight: 500; line-height: .95; letter-spacing: -.05em; margin: 0; }
.o-h2 { font-size: clamp(36px, 5vw, 72px); font-weight: 500; line-height: 1; letter-spacing: -.045em; margin: 0; max-width: 14ch; }
.o-p { margin: 18px 0 0; max-width: 30rem; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--muted); }
.o-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; margin-bottom: clamp(32px, 4vw, 56px); }
.o-head .o-p { margin: 0; }

/* hero: a big headline, then the gym itself with the product floating on it */
.o-hero { padding-top: clamp(48px, 7vw, 96px); }
.o-hero-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.o-hero-top .o-h1 { max-width: 11ch; }
.o-hero-side { max-width: 25rem; }
.o-hero-side .o-p { margin: 0; }
.o-hero-side .actions { margin-top: 22px; }
.o-stage { position: relative; margin-top: clamp(36px, 5vw, 64px); border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 7.4; background: #0C0C0E; }
.o-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.o-chip { position: absolute; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--divider); color: var(--text); font-size: 13px; line-height: 1.35; }
.o-chip b { display: block; font-weight: 600; font-size: 13.5px; }
.o-chip small { display: block; color: var(--muted); font-size: 12px; }
.o-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.o-chip .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--surface); }
.o-chip .ico svg { width: 18px; height: 18px; }
.o-chip .pips { display: grid; grid-template-columns: repeat(14, 5px); gap: 2px; margin-top: 6px; }
.o-chip .pips i { height: 10px; border-radius: 1px; background: color-mix(in srgb, var(--text) 26%, transparent); }
.o-chip .pips i.f { background: transparent; box-shadow: inset 0 0 0 1px var(--divider); }
.o-chip .go { margin-left: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; }
.o-chip.c1 { left: 3%; bottom: 7%; }
.o-chip.c2 { right: 3%; top: 8%; }
.o-chip.c3 { right: 3%; bottom: 7%; }
.o-chip [data-door] { transition: opacity .25s; }
@media (prefers-reduced-motion: no-preference) {
  .o-chip { animation: o-in .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(.35s + var(--i, 0) * .18s); }
  @keyframes o-in { from { opacity: 0; transform: translateY(14px); } }
}
@media (max-width: 760px) {
  .o-stage { aspect-ratio: 4 / 5; }
  .o-stage > img { object-position: 70% center; }
  .o-chip { left: 4% !important; right: 4% !important; }
  .o-chip.c1 { top: auto; bottom: 4%; } .o-chip.c2 { top: 4%; bottom: auto; } .o-chip.c3 { display: none; }
}

/* three kinds of gym: three pictures, a title each */
.o-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.o-tile { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: #0C0C0E; color: #fff; }
.o-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.o-tile:hover img { transform: scale(1.04); }
.o-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,14,0) 45%, rgba(8,9,14,.82) 100%); }
.o-tile div { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; }
.o-tile h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; color: #fff; }
.o-tile p { margin: 8px 0 0; font-size: 14px; color: rgba(255,255,255,.82); max-width: 24em; }
@media (max-width: 860px) { .o-types { grid-template-columns: 1fr; } .o-tile { aspect-ratio: 16 / 11; } }

/* split: words on one side, a product piece on the other */
.o-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px clamp(40px, 6vw, 112px); }
.o-split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .o-split { grid-template-columns: 1fr; } .o-split.flip > :first-child { order: 0; } }
.o-facts { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.o-facts li { border-top: 2px solid var(--blue); padding-top: 14px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.o-facts b { display: block; color: var(--text); font-weight: 500; font-size: 16px; margin-bottom: 4px; }
@media (max-width: 560px) { .o-facts { grid-template-columns: 1fr; } }

/* the member's booking screen, inside a phone: time, class, spots, one button */
.o-phone { width: min(100%, 340px); margin: 0 auto; border-radius: 40px; padding: 10px; background: #0B0D1A; border: 1px solid var(--divider); }
.o-phone .screen { border-radius: 31px; overflow: hidden; background: var(--bg); padding: 22px 0 14px; }
.o-phone .bk { border: 0; border-radius: 0; background: transparent; }
.o-phone .bk-h { padding: 4px 20px 2px; }
.o-phone .bk-h b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.o-phone .bk-days { padding: 0 20px; gap: 16px; }
.o-phone .bk-row { grid-template-columns: 3rem minmax(0, 1fr) auto; padding: 14px 20px; }
.o-phone .bk-row time { font-size: 15px; font-weight: 600; }
.o-phone .bk-row .m > b { font-size: 15px; }
.o-phone .bk-meter { grid-column: 2; grid-row: 2; flex-direction: row; align-items: center; gap: 8px; margin-top: 5px; }
.o-phone .bk-btn { grid-column: 3; grid-row: 1 / span 2; min-width: 0; height: 32px; border-radius: 999px; padding: 0 14px; }
.o-phone .bk-foot { display: none; }

/* channels the assistant answers on */
.o-channels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.o-channels span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--divider); font-size: 14px; font-weight: 500; }
.o-channels svg { width: 16px; height: 16px; }
.o-chat { border-radius: 20px; border: 1px solid var(--divider); background: var(--bg); padding: 22px; }
.o-chat .msg { font-size: 14.5px; }
.o-chat .chat { padding: 0; gap: 10px; }

/* the reader, small and honest */
.o-reader { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 32px clamp(32px, 5vw, 80px); padding: clamp(20px, 2.4vw, 28px); border-radius: 22px; border: 1px solid var(--divider); }
.o-reader .sp-video { border-radius: 14px; box-shadow: none; }
.o-reader h3 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.o-reader p { margin: 12px 0 0; color: var(--muted); font-size: 15px; max-width: 28rem; }
.o-reader .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
@media (max-width: 860px) { .o-reader { grid-template-columns: 1fr; } }

/* closing call, flat */
.o-cta { margin-top: clamp(96px, 12vw, 168px); background: var(--band); color: var(--band-text); }
.o-cta-in { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.o-cta .o-h2 { color: var(--band-text); max-width: 13ch; }
.o-cta .btn { border-color: var(--band-text); color: var(--band-text); height: 52px; padding: 0 26px; font-size: 15px; }
.o-cta .btn:hover { background: var(--band-text); color: var(--band); }
.o-foot { background: var(--band); color: var(--band-muted); font-size: 13px; }
.o-foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--band-line); }
.o-foot a { color: var(--band-muted); }
.o-foot img { height: 22px; width: auto; }
.o-phone .bk-meter i { flex: none; grid-template-columns: repeat(var(--cap, 10), 4px); }
.o-phone .bk-meter em { font-size: 11.5px; }
.o-phone { width: min(100%, 360px); }
.o-phone .bk-meter { flex-wrap: wrap; gap: 4px 8px; min-width: 0; }
.o-phone .bk-btn { padding: 0 12px; font-size: 12px; }

/* hero v2: the headline sits on the dark side of the picture; nothing moves */
.o-hero { padding-top: clamp(12px, 2vw, 24px); }
.o-hero .o-stage { margin-top: 0; aspect-ratio: auto; min-height: min(78vh, 720px); display: flex; align-items: flex-end; }
.o-hero .o-stage > img { object-position: 70% 30%; }
.o-hero .o-stage::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,9,14,.78) 0%, rgba(8,9,14,.35) 45%, rgba(8,9,14,0) 70%); }
.o-hero-copy { position: relative; z-index: 2; padding: clamp(28px, 5vw, 72px); max-width: 44rem; color: #F2F3F7; }
.o-hero-copy .o-h1 { color: #F2F3F7; max-width: 11.5ch; }
.o-hero-copy .o-p { color: rgba(242,243,247,.78); max-width: 26rem; margin-top: 22px; }
.o-hero-copy .actions { margin-top: 28px; }
.o-hero-copy .btn { border-color: #F2F3F7; color: #0B0D1A; background: #F2F3F7; }
.o-hero-copy .btn:hover { background: transparent; color: #F2F3F7; }
.o-hero-copy .ulink { color: #F2F3F7; text-decoration-color: rgba(242,243,247,.4); }
/* hero: the 2-minute video, opened from a play button over the photo */
.o-play { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: none; color: #F2F3F7; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.o-play small { font-size: 12.5px; font-weight: 400; color: rgba(242,243,247,.62); }
.o-play-i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(242,243,247,.16); border: 1px solid rgba(242,243,247,.45); backdrop-filter: blur(6px); transition: background .12s, color .12s; }
.o-play-i svg { width: 15px; height: 15px; margin-left: 2px; }
.o-play:hover .o-play-i { background: #F2F3F7; color: #0B0D1A; }
.o-video { width: min(1200px, 92vw); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 16px; background: #000; overflow: visible; }
.o-video::backdrop { background: rgba(4,5,10,.86); }
.o-video video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 86vh; border-radius: 16px; background: #000; }
.o-video-x { position: absolute; right: 0; bottom: calc(100% + 10px); width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(242,243,247,.35); border-radius: 50%; background: rgba(11,13,26,.7); color: #F2F3F7; cursor: pointer; }
.o-video-x:hover { background: #F2F3F7; color: #0B0D1A; }
.o-video-x svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .o-hero .o-stage { min-height: 72vh; min-height: calc(100svh - 104px); }
  .o-hero .o-stage > img { object-position: 72% center; }
  .o-hero .o-stage::before { background: linear-gradient(0deg, rgba(8,9,14,.88) 0%, rgba(8,9,14,.5) 45%, rgba(8,9,14,0) 75%); }
}
.o-hero-copy .o-h1 { font-size: clamp(38px, 4.8vw, 72px); line-height: 1; letter-spacing: -.04em; max-width: 13ch; }

.gws > figcaption.note { margin-top: 26px; }
.gws-tabs { margin-top: 16px; }
/* hero pictures take turns: a slow fade of the photo only, the words stay */
.o-hero .o-stage > img.o-pic { opacity: 0; transition: opacity 1.4s ease; }
.o-hero .o-stage > img.o-pic.on { opacity: 1; }
/* the real website made by Ringside, under the example */
.gws-real { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 26px; font-size: 13.5px; color: var(--muted); }
.gws-real a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.gws-real a:hover small { color: var(--text); }
.gws-real img { height: 38px; width: auto; display: block; }
.gws-real small { font-size: 12.5px; font-weight: 500; color: var(--muted); }

#web .gws { max-width: 1040px; }
/* one-page header: logo left, anchors centred, the rest right */
.o-nav-in { display: grid; grid-template-columns: 1fr auto 1fr; }
.o-nav-in .logo { justify-self: start; }
.o-links { justify-self: center; }
.o-right { justify-self: end; margin-left: 0; }
@media (max-width: 900px) { .o-nav-in { grid-template-columns: 1fr auto; } }
/* newsletter (coming soon): an email being written */
.o-mail { border-radius: 14px; border: 1px solid var(--divider); background: var(--bg); overflow: hidden; font-size: 13.5px; }
.o-mail-row { display: flex; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--divider); }
.o-mail-row span { width: 4.5rem; flex: none; color: var(--muted); }
.o-mail-row b { font-weight: 500; }
.o-mail-row .chips li { height: 24px; font-size: 12px; }
.o-mail-body { padding: 16px; }
.o-mail-body h4 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.o-mail-body p { margin: 8px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.o-mail-foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-top: 1px solid var(--divider); font-size: 12px; color: var(--muted); }
.o-mail-foot b { height: 30px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 600; }


/* ---------- the front-desk app, on a desktop (flat mockup) ---------- */
.o-app { display: grid; grid-template-columns: 210px minmax(0, 1fr); border-radius: 18px; border: 1px solid var(--divider); background: var(--bg); overflow: hidden; font-size: 13px; }
.o-app-side { padding: 18px 12px; border-right: 1px solid var(--divider); background: var(--surface); }
.o-app-club { display: flex; align-items: center; gap: 10px; padding: 0 8px 16px; font-weight: 600; font-size: 14px; }
.o-app-club i { width: 28px; height: 28px; border-radius: 8px; background: var(--blue); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; }
.o-app-side small { display: block; padding: 12px 8px 6px; font-size: 11px; color: var(--muted); }
.o-app-side span { display: flex; justify-content: space-between; align-items: center; padding: 7px 8px; border-radius: 7px; color: var(--muted); }
.o-app-side span.on { background: var(--bg); color: var(--text); font-weight: 500; box-shadow: inset 0 0 0 1px var(--divider); }
.o-app-side span em { font-style: normal; font-size: 11px; font-weight: 600; color: #fff; background: var(--red); border-radius: 999px; padding: 1px 7px; }
.o-app-main { padding: 22px 24px 24px; min-width: 0; }
.o-app-main h4 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.o-app-main > p { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; }
.o-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.o-kpis div { padding: 14px; border-radius: 12px; border: 1px solid var(--divider); }
.o-kpis small { display: block; color: var(--muted); font-size: 12px; }
.o-kpis b { display: block; margin-top: 6px; font-size: 26px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.o-kpis span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.o-kpis .warn b { color: var(--amber); }
.o-panes { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; margin-top: 10px; }
.o-pane { border-radius: 12px; border: 1px solid var(--divider); padding: 12px 14px 6px; min-width: 0; }
.o-pane h5 { margin: 0 0 4px; display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; }
.o-pane h5 span { font-weight: 500; font-size: 11.5px; color: var(--green); }
.o-pane .frow { padding: 9px 0; }
.o-pane .frow .t { width: 2.8rem; font-size: 12px; }
.o-pane .frow .m b { font-size: 13px; } .o-pane .frow .m span { font-size: 11.5px; }
.o-pane .send { font-size: 11.5px; font-weight: 600; color: var(--blue); border: 1px solid color-mix(in srgb, var(--blue) 45%, transparent); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.o-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 48px); margin-top: clamp(32px, 4vw, 56px); }
.o-three h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; letter-spacing: -.025em; padding-top: 16px; border-top: 2px solid var(--blue); }
.o-three p { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.o-three .chips { margin-top: 14px; }
@media (max-width: 1000px) { .o-app { grid-template-columns: 1fr; } .o-app-side { display: none; } .o-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .o-panes { grid-template-columns: 1fr; } .o-three { grid-template-columns: 1fr; } }
.o-app-side span { padding: 5px 8px; }
.o-app-side small { padding: 10px 8px 4px; }
.o-app-main { display: flex; flex-direction: column; }
.o-panes { flex: 1; }

/* =========== assistant, v2: WhatsApp phone, a voice call, the owner's question =========== */
.as-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 32px); margin: 0 0 clamp(32px, 4vw, 56px); }
.as-stats div { border-top: 1px solid var(--divider); padding-top: 16px; }
.as-stats b { display: block; font-size: clamp(30px, 3.2vw, 46px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.as-stats span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.4; }
@media (max-width: 760px) { .as-stats { grid-template-columns: 1fr 1fr; gap: 20px 16px; } }
.as-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.as-col { display: grid; gap: clamp(16px, 2vw, 24px); align-content: start; }
@media (max-width: 900px) { .as-grid { grid-template-columns: 1fr; } }
.as-card { border-radius: 20px; border: 1px solid var(--divider); background: var(--bg); padding: 22px; }
.as-card-k { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 13px; font-weight: 500; color: var(--muted); }
.as-card-k i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--surface); color: var(--text); }
.as-card-k i svg { width: 16px; height: 16px; }
.as-stage { border-radius: 20px; border: 1px solid var(--divider); background: var(--surface); display: grid; place-items: center; padding: clamp(24px, 3vw, 40px) 16px; }

/* WhatsApp-like phone (always dark inside, like the real app at night) */
.wa { width: min(100%, 340px); border-radius: 40px; padding: 10px; background: #0B0D1A; border: 1px solid #2A2D44; }
.wa-scr { border-radius: 31px; overflow: hidden; background: #0B141A; color: #E9EDEF; font-size: 13.5px; }
.wa-top { display: flex; align-items: center; gap: 10px; padding: 16px 14px 12px; background: #1F2C34; }
.wa-top .av { width: 36px; height: 36px; border-radius: 50%; background: #F5B83D; color: #141414; display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.wa-top b { display: block; font-size: 14.5px; font-weight: 600; }
.wa-top small { display: block; font-size: 12px; color: #8696A0; }
.wa-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 12px; min-height: 430px; }
.wa-day { align-self: center; margin-bottom: 4px; padding: 4px 10px; border-radius: 8px; background: #182229; color: #8696A0; font-size: 11.5px; }
.wa-m { position: relative; max-width: 84%; padding: 7px 10px 18px; border-radius: 10px; line-height: 1.4; }
.wa-m.in { align-self: flex-start; background: #1F2C34; border-top-left-radius: 3px; }
.wa-m.out { align-self: flex-end; background: #005C4B; border-top-right-radius: 3px; }
.wa-m time { position: absolute; right: 8px; bottom: 4px; font-size: 10.5px; color: rgba(233,237,239,.6); }
.wa-m.out time::after { content: " ✓✓"; color: #53BDEB; letter-spacing: -.2em; }
.wa-card { margin: 6px 0 2px; border-radius: 8px; background: rgba(0,0,0,.22); padding: 10px; }
.wa-card b { display: block; font-size: 13.5px; }
.wa-card small { display: block; color: rgba(233,237,239,.7); font-size: 12px; }
.wa-card .ok { display: inline-block; margin-top: 6px; font-size: 11.5px; font-weight: 600; color: #7DE0B6; }
.wa-btn { display: block; margin-top: 8px; padding: 8px; border-top: 1px solid rgba(233,237,239,.15); text-align: center; color: #53BDEB; font-weight: 600; font-size: 13px; }
.wa-in { display: flex; align-items: center; gap: 8px; padding: 8px 10px 14px; }
.wa-in span { flex: 1; height: 38px; border-radius: 999px; background: #1F2C34; color: #8696A0; display: flex; align-items: center; padding: 0 14px; font-size: 13px; }
.wa-in i { width: 38px; height: 38px; border-radius: 50%; background: #00A884; }

/* a voice call, answered */
.call-top { display: flex; align-items: center; gap: 12px; }
.call-top .ph { width: 42px; height: 42px; border-radius: 50%; background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); display: grid; place-items: center; flex: none; }
.call-top .ph svg { width: 20px; height: 20px; }
.call-top b { display: block; font-size: 15px; font-weight: 600; }
.call-top small { display: block; color: var(--muted); font-size: 12.5px; }
.call-top time { margin-left: auto; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--muted); }
.wave { display: flex; align-items: center; gap: 3px; height: 40px; margin: 18px 0 6px; }
.wave i { flex: 1; max-width: 4px; border-radius: 2px; background: var(--blue); opacity: .85; }
.wave i:nth-child(n+40) { background: var(--divider); opacity: 1; }
.lines { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.lines li { display: grid; grid-template-columns: 5.2rem 1fr; gap: 10px; font-size: 14px; line-height: 1.45; }
.lines li span { color: var(--muted); font-size: 12.5px; padding-top: 1px; }
.as-foot { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--divider); font-size: 12.5px; color: var(--muted); }

/* the owner's own question */
.ask-q { display: inline-block; padding: 10px 14px; border-radius: 14px; border-bottom-right-radius: 4px; background: color-mix(in srgb, var(--blue) 14%, var(--bg)); font-size: 14.5px; }
.ask-a { margin-top: 14px; font-size: 14px; }
.ask-a .frow { padding: 9px 0; }
.ask-a .frow .m b { font-size: 14px; }
.ask-a .amt { font-weight: 600; font-variant-numeric: tabular-nums; }
.ask-go { margin-top: 12px; display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 600; }
.o-links a.on { color: var(--text); background: var(--surface); }

/* =====================================================================
   The front-desk demo (data-demo): a navigable dashboard in the console's
   language — Nocturne grounds, hairlines instead of shadows, one strip of
   numbers, quiet tables, small pills. Ringside's blue is the accent.
   ===================================================================== */
.gx { --g: #10111b; --gs: #151624; --g3: #181a27; --g4: #1c1e2b; --g5: #232533; --ln: #232533; --ln2: #1f2130; --lc: #2c2f42;
  --i: #e9e9ed; --i2: #cfd3e5; --i3: #b2b6ca; --i4: #9397ab; --i5: #75798c; --i7: #3f424d;
  --ac: #6E8BFF; --acs: rgb(110 139 255 / .16); --gr: #3ecf9a; --grs: rgb(30 188 137 / .14); --am: #fbbf24; --ams: rgb(245 158 11 / .14); --rd: #f87171; --rds: rgb(239 68 68 / .15);
  display: grid; grid-template-columns: 224px minmax(0, 1fr); height: 660px; border-radius: 16px; border: 1px solid var(--ln); background: var(--g); color: var(--i);
  font-size: 14px; line-height: normal; overflow: hidden; text-align: left; }
.gx button { font: inherit; color: inherit; }
.gx-side { display: flex; flex-direction: column; gap: 2px; padding: 12px 10px; background: var(--gs); border-right: 1px solid var(--ln); overflow-y: auto; scrollbar-width: thin; }
.gx-org { display: flex; align-items: center; gap: 9px; padding: 5px 6px 12px; font-size: 13.5px; font-weight: 600; letter-spacing: -.15px; }
.gx-tile { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--i); color: var(--g); font-size: 11px; font-weight: 700; }
.gx-grp { padding: 12px 10px 5px; font-size: 11.5px; font-weight: 500; color: var(--i5); }
.gx-link { display: flex; align-items: center; gap: 10px; width: 100%; height: 32px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent; color: var(--i2); font-size: 13.5px; font-weight: 450; text-align: left; cursor: pointer; }
.gx-link:hover { background: var(--g5); color: var(--i); }
.gx-link.on { background: var(--g5); color: var(--i); font-weight: 600; }
.gx-link svg { width: 16px; height: 16px; flex: none; color: var(--i4); }
.gx-link.on svg { color: var(--i); }
.gx-link span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-badge { flex: none; min-width: 18px; height: 18px; padding: 0 6px; border-radius: 999px; background: var(--rds); color: var(--rd); font-size: 11px; font-weight: 600; display: inline-grid; place-items: center; }
.gx-badge.soon { background: var(--g5); color: var(--i4); font-weight: 500; }
.gx-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.gx-top { height: 52px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 22px; border-bottom: 1px solid var(--ln); }
.gx-crumb { font-size: 13px; color: var(--i4); white-space: nowrap; }
.gx-sep { color: var(--i7); }
.gx-title { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.gx-top-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.gx-search { display: flex; align-items: center; gap: 8px; height: 32px; width: 210px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--lc); color: var(--i5); font-size: 12.5px; }
.gx-search kbd { margin-left: auto; font: inherit; font-size: 11px; color: var(--i5); }
.gx-page { flex: 1; min-height: 0; overflow: auto; padding: 24px 24px 40px; display: flex; flex-direction: column; gap: 18px; scrollbar-width: thin; }
.gx-page > * { flex: none; }
.gx-head { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.gx-h { margin: 0 0 4px; font-size: 21px; font-weight: 600; letter-spacing: -.45px; }
.gx-lede { margin: 0; color: var(--i4); font-size: 13.5px; line-height: 1.5; }
.gx-acts { margin-left: auto; display: flex; gap: 8px; }
.gx-btn { height: 32px; padding: 0 12px; border: 1px solid var(--lc); border-radius: 8px; background: transparent; color: var(--i2); font-size: 12.5px; font-weight: 500; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.gx-btn:hover { border-color: #4b4e5c; color: var(--i); }
.gx-btn.pri { background: var(--i); color: var(--g); border-color: transparent; font-weight: 600; }
.gx-btn.pri:hover { opacity: .86; }
.gx-btn.sm { height: 28px; padding: 0 10px; }
.gx-btn.done { border-color: transparent; background: var(--grs); color: var(--gr); cursor: default; }
.gx-stats { display: grid; border: 1px solid var(--ln); border-radius: 12px; overflow: hidden; }
.gx-stat { padding: 15px 18px; min-width: 0; box-shadow: 1px 0 0 var(--ln), 0 1px 0 var(--ln); }
.gx-stat small { display: block; font-size: 12.5px; color: var(--i4); margin-bottom: 8px; }
.gx-stat b { font-size: 22px; font-weight: 600; letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.gx-stat em { font-style: normal; margin-left: 6px; font-size: 12px; font-weight: 500; color: var(--i4); }
.gx-stat em.up { color: var(--gr); } .gx-stat em.dn { color: var(--rd); } .gx-stat b.warn { color: var(--am); }
.gx-grid2 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.gx-grid2.even { grid-template-columns: 1fr 1fr; }
.gx-card { border: 1px solid var(--ln); border-radius: 12px; overflow: hidden; background: var(--g); }
.gx-ch { display: flex; align-items: center; gap: 10px; padding: 14px 18px 10px; }
.gx-ct { font-size: 13.5px; font-weight: 600; }
.gx-cm { font-size: 12px; color: var(--i4); }
.gx-ce { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.gx-live { font-size: 12px; color: var(--gr); display: inline-flex; align-items: center; gap: 6px; }
.gx-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gr); }
.gx-row { display: flex; align-items: center; gap: 12px; padding: 11px 18px; border-top: 1px solid var(--ln2); }
.gx-row.link { cursor: pointer; } .gx-row.link:hover { background: var(--g3); }
.gx-rm { flex: 1; min-width: 0; }
.gx-rn { font-size: 13.5px; font-weight: 550; }
.gx-rs { font-size: 12.5px; color: var(--i3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-t { width: 3rem; flex: none; font-size: 12.5px; color: var(--i4); font-variant-numeric: tabular-nums; }
.gx-av { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--g5); color: var(--i2); font-size: 11.5px; font-weight: 600; }
.gx-pill { flex: none; display: inline-block; font-size: 11.5px; font-weight: 500; padding: 2px 7px; border-radius: 6px; white-space: nowrap; background: var(--g5); color: var(--i3); }
.gx-pill.g { background: var(--grs); color: var(--gr); } .gx-pill.a { background: var(--ams); color: var(--am); } .gx-pill.r { background: var(--rds); color: var(--rd); } .gx-pill.b { background: var(--acs); color: var(--ac); }
.gx-th, .gx-tr { display: grid; gap: 12px; padding: 8px 18px; align-items: center; }
.gx-th { border-bottom: 1px solid var(--ln2); }
.gx-th span { font-size: 12px; font-weight: 500; color: var(--i4); }
.gx-tr { padding: 11px 18px; border-top: 1px solid var(--ln2); font-size: 13px; color: var(--i3); }
.gx-th + .gx-tr { border-top: 0; }
.gx-tr:hover { background: var(--g3); }
.gx-tr.link { cursor: pointer; }
.gx-tr strong { color: var(--i); font-weight: 550; font-size: 13.5px; }
.gx-tr .r, .gx-th .r { text-align: right; }
.gx-tr .who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gx-tr .who div { min-width: 0; } .gx-tr .who small { display: block; color: var(--i4); font-size: 12px; }
.gx-num { font-variant-numeric: tabular-nums; }
.gx-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--ln); overflow-x: auto; scrollbar-width: none; }
.gx-tab { flex: none; height: 36px; padding: 0 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: 13px; color: var(--i3); margin-bottom: -1px; cursor: pointer; }
.gx-tab:hover { color: var(--i); }
.gx-tab.on { color: var(--i); font-weight: 600; border-bottom-color: var(--i); }
.gx-tab b { font-weight: 500; color: var(--i5); margin-left: 5px; }
.gx-meter { display: flex; align-items: center; gap: 8px; }
.gx-meter i { position: relative; width: 72px; height: 4px; border-radius: 2px; background: var(--g5); overflow: hidden; }
.gx-meter i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: var(--ac); }
.gx-meter.full i::after { background: var(--am); }
.gx-meter span { font-size: 12px; color: var(--i4); font-variant-numeric: tabular-nums; }
.gx-sw { width: 30px; height: 18px; border-radius: 999px; background: var(--g5); position: relative; border: 0; cursor: pointer; flex: none; }
.gx-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--i4); transition: transform .15s, background .15s; }
.gx-sw.on { background: var(--ac); } .gx-sw.on::after { transform: translateX(12px); background: #fff; }
.gx-kv { display: grid; grid-template-columns: 8.5rem 1fr; gap: 8px 12px; padding: 4px 18px 16px; font-size: 13px; }
.gx-kv span { color: var(--i4); } .gx-kv b { font-weight: 500; }
.gx-note { font-size: 12.5px; color: var(--i4); line-height: 1.6; }
.gx-banner { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 10px; background: var(--acs); color: var(--i2); font-size: 13px; }
/* timetable */
.gx-week { display: grid; grid-template-columns: 3.2rem repeat(6, minmax(0, 1fr)); gap: 6px; padding: 14px 18px 18px; }
.gx-week > span { font-size: 12px; color: var(--i4); padding-left: 2px; }
.gx-week > time { font-size: 12px; color: var(--i4); padding-top: 9px; font-variant-numeric: tabular-nums; }
.gx-cls { min-height: 50px; padding: 7px 9px; border-radius: 8px; border: 1px solid var(--ln); background: var(--g3); cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 3px; }
.gx-cls:hover { border-color: var(--lc); }
.gx-cls.on { border-color: var(--ac); background: var(--acs); }
.gx-cls b { font-size: 12.5px; font-weight: 600; } .gx-cls small { font-size: 11px; color: var(--i4); }
.gx-cls.full small { color: var(--am); }
.gx-cls.x { background: transparent; border-style: dashed; border-color: var(--ln2); cursor: default; }
/* reports */
.gx-bars { display: flex; align-items: flex-end; gap: 10px; height: 160px; padding: 10px 18px 6px; }
.gx-bars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.gx-bars i { width: 100%; max-width: 38px; border-radius: 5px 5px 2px 2px; background: var(--ac); opacity: .9; }
.gx-bars i.prev { background: var(--g5); }
.gx-bars small { font-size: 11.5px; color: var(--i4); }
.gx-bars b { font-size: 11px; color: var(--i3); font-weight: 500; }
/* door scanner */
.gx-door { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.gx-cam { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; background: radial-gradient(ellipse at center, #1c1e2b, #0b0c14); border: 1px solid var(--ln); display: grid; place-items: center; overflow: hidden; }
.gx-cam::before { content: ""; position: absolute; inset: 22%; border: 2px solid rgb(233 233 237 / .5); border-radius: 18px; clip-path: polygon(0 0, 22% 0, 22% 3%, 3% 3%, 3% 22%, 0 22%, 0 78%, 3% 78%, 3% 97%, 22% 97%, 22% 100%, 78% 100%, 78% 97%, 97% 97%, 97% 78%, 100% 78%, 100% 22%, 97% 22%, 97% 3%, 78% 3%, 78% 0, 100% 0, 100% 100%, 0 100%); }
.gx-cam span { position: relative; font-size: 12.5px; color: var(--i4); }
.gx-verdict { border-radius: 12px; border: 1px solid var(--ln); padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.gx-verdict.ok { border-color: rgb(62 207 154 / .5); background: var(--grs); }
.gx-verdict.warn { border-color: rgb(251 191 36 / .5); background: var(--ams); }
.gx-verdict.no { border-color: rgb(248 113 113 / .5); background: var(--rds); }
.gx-verdict small { font-size: 12.5px; color: var(--i3); }
.gx-verdict b { font-size: 26px; font-weight: 600; letter-spacing: -.6px; }
.gx-verdict p { margin: 0; font-size: 13.5px; color: var(--i2); }
/* inbox */
.gx-mail { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.gx-mail > div:first-child { border-right: 1px solid var(--ln2); }
.gx-mail .gx-row.on { background: var(--g3); }
.gx-msg { padding: 18px; font-size: 13.5px; line-height: 1.6; color: var(--i2); }
.gx-msg h5 { margin: 0 0 2px; font-size: 15px; font-weight: 600; color: var(--i); }
.gx-msg .ctx { margin: 14px 0; padding: 10px 12px; border-radius: 8px; background: var(--g3); font-size: 12.5px; color: var(--i3); }
.gx-msg textarea { width: 100%; min-height: 80px; margin-top: 10px; padding: 10px; border-radius: 8px; border: 1px solid var(--lc); background: transparent; color: var(--i); resize: none; }
.gx-dots { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ac); }
.gx-tr > .gx-pill, .gx-tr > span > .gx-pill { justify-self: start; }
.gx-badge { font-style: normal; }
.gx-cam { aspect-ratio: 16 / 10; }

/* ---------- the three apps, each on its phone ---------- */
.ap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
@media (max-width: 960px) { .ap-grid { grid-template-columns: minmax(0, 1fr); max-width: 420px; } }
.ap-stage { border-radius: 20px; border: 1px solid var(--divider); background: var(--surface); padding: 28px 16px; display: grid; place-items: center; }
.ap-phone { width: min(100%, 260px); border-radius: 34px; padding: 8px; background: #0B0D1A; border: 1px solid #2A2D44; }
.ap-scr { border-radius: 27px; overflow: hidden; background: #10111b; color: #e9e9ed; font-size: 12px; display: flex; flex-direction: column; height: 500px; }
.ap-top { padding: 18px 16px 10px; }
.ap-top small { display: block; color: #9397ab; font-size: 11px; }
.ap-top b { display: block; margin-top: 2px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.ap-body { flex: 1; padding: 4px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.ap-card { border-radius: 14px; border: 1px solid #232533; background: #151624; padding: 11px 12px; }
.ap-card small { display: block; color: #9397ab; font-size: 10.5px; }
.ap-card b { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; }
.ap-card .ln { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ap-qr { display: grid; place-items: center; gap: 8px; padding: 14px; border-radius: 14px; background: #F2F3F7; color: #0B0D1A; }
.ap-qr svg { width: 128px; height: 128px; fill: #0B0D1A; }
.ap-qr span { font-size: 11px; font-weight: 600; }
.ap-pill { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.ap-pill.g { background: rgb(30 188 137 / .16); color: #3ecf9a; } .ap-pill.a { background: rgb(245 158 11 / .16); color: #fbbf24; } .ap-pill.r { background: rgb(239 68 68 / .16); color: #f87171; } .ap-pill.b { background: rgb(110 139 255 / .18); color: #8ea4ff; }
.ap-row { display: flex; align-items: center; gap: 9px; padding: 8px 2px; border-top: 1px solid #1f2130; }
.ap-row:first-child { border-top: 0; }
.ap-row .av { width: 26px; height: 26px; border-radius: 50%; background: #232533; display: grid; place-items: center; font-size: 10px; font-weight: 600; color: #cfd3e5; flex: none; }
.ap-row div { flex: 1; min-width: 0; } .ap-row div b { display: block; font-size: 12px; font-weight: 550; } .ap-row div small { display: block; color: #9397ab; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ap-kpis div { border-radius: 12px; border: 1px solid #232533; background: #151624; padding: 10px; }
.ap-kpis small { display: block; color: #9397ab; font-size: 10.5px; } .ap-kpis b { display: block; margin-top: 4px; font-size: 19px; font-weight: 600; letter-spacing: -.03em; }
.ap-btn { display: block; text-align: center; padding: 10px; border-radius: 12px; background: #F2F3F7; color: #10111b; font-size: 12px; font-weight: 600; }
.ap-tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 6px 12px; border-top: 1px solid #232533; background: #151624; }
.ap-tabs span { display: grid; justify-items: center; gap: 3px; font-size: 9.5px; color: #75798c; }
.ap-tabs span::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid currentColor; }
.ap-tabs span.on { color: #e9e9ed; }
.ap-info h3 { margin-top: 22px; font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; letter-spacing: -.025em; padding-top: 14px; border-top: 2px solid var(--blue); }
.ap-info p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.ap-info ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.ap-info li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.45; }
.ap-info li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 8px; height: 4px; border: solid var(--blue); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }
.ap-info li .st { margin-left: 6px; height: 20px; font-size: 11px; }

/* ---------- the demo's two views: desktop (scaled to fit) and phone ---------- */
.gx-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.gx-seg { display: inline-grid; grid-auto-flow: column; gap: 2px; padding: 3px; border-radius: 10px; background: var(--surface); border: 1px solid var(--divider); }
.gx-seg button { height: 32px; padding: 0 14px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.gx-seg button svg { width: 15px; height: 15px; }
.gx-seg button[aria-pressed="true"] { background: var(--bg); color: var(--text); box-shadow: inset 0 0 0 1px var(--divider); }
.gx-hint { font-size: 12.5px; color: var(--muted); }
.gx-stage { position: relative; }
.gx-stage.desk .gx-fit { transform-origin: 0 0; }
.gx-stage.phone { display: grid; place-items: center; padding: 28px 12px; border-radius: 20px; border: 1px solid var(--divider); background: var(--surface); }
.gx-phone { width: min(100%, 380px); border-radius: 46px; padding: 10px; background: #0B0D1A; border: 1px solid #2A2D44; }
.gx-phone .gx { height: 720px; border-radius: 36px; }
/* phone layout: one column, the menu as a bottom bar, tables scroll inside their card */
.gx.m { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
.gx.m .gx-main { grid-row: 1; min-width: 0; }
.gx.m .gx-side { grid-row: 2; flex-direction: row; overflow-x: auto; overflow-y: hidden; border-right: 0; border-top: 1px solid var(--ln); padding: 6px 6px 14px; gap: 0; min-width: 0; scrollbar-width: none; }
.gx.m .gx-org, .gx.m .gx-grp { display: none; }
.gx.m .gx-link { flex: none; width: 66px; height: auto; flex-direction: column; gap: 4px; padding: 6px 2px; font-size: 10.5px; text-align: center; position: relative; }
.gx.m .gx-link span { flex: none; width: 100%; }
.gx.m .gx-link.on { background: transparent; color: var(--i); }
.gx.m .gx-link svg { width: 19px; height: 19px; }
.gx.m .gx-badge { position: absolute; top: 2px; right: 12px; min-width: 15px; height: 15px; padding: 0 4px; font-size: 9.5px; }
.gx.m .gx-badge.soon { display: none; }
.gx.m .gx-top { padding: 0 16px; height: 50px; padding-top: 6px; }
.gx.m .gx-crumb, .gx.m .gx-sep, .gx.m .gx-search { display: none; }
.gx.m .gx-title { font-size: 15px; }
.gx.m .gx-page { padding: 14px 14px 24px; gap: 14px; }
.gx.m .gx-h { font-size: 19px; }
.gx.m .gx-acts { margin-left: 0; flex-wrap: wrap; }
.gx.m .gx-stats { grid-template-columns: 1fr 1fr !important; }
.gx.m .gx-stat { padding: 12px 14px; }
.gx.m .gx-stat b { font-size: 19px; }
.gx.m .gx-stat em { display: block; margin: 4px 0 0; }
.gx.m .gx-grid2, .gx.m .gx-grid2.even, .gx.m .gx-door, .gx.m .gx-mail { grid-template-columns: minmax(0, 1fr) !important; }
.gx.m .gx-mail > div:first-child { border-right: 0; border-bottom: 1px solid var(--ln2); }
.gx.m .gx-scroll { overflow-x: auto; }
.gx.m .gx-scroll > * { min-width: 560px; }
.gx.m .gx-row { padding: 10px 14px; }

/* ---------- the management app on a phone, in Ionic's iOS look (like the KBZF admin app) ---------- */
.io { --bg: #0A0B12; --it: #151624; --it2: #1c1e2b; --sep: rgb(255 255 255 / .08); --t: #F2F3F7; --t2: rgb(242 243 247 / .6); --t3: rgb(242 243 247 / .38); --tint: #6E8BFF;
  --gr: #30D158; --am: #FFD60A; --rd: #FF453A; --fill: rgb(118 118 128 / .24);
  position: relative; display: flex; flex-direction: column; height: 760px; border-radius: 36px; overflow: hidden; background: var(--bg); color: var(--t);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif; font-size: 15px; line-height: 1.3; -webkit-font-smoothing: antialiased; text-align: left; }
.io button { font: inherit; color: inherit; }
.io svg { width: 1em; height: 1em; }
.io-status { flex: none; height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 6px 26px 0 30px; font-size: 14.5px; font-weight: 600; }
.io-status i { display: inline-flex; gap: 5px; align-items: center; }
.io-status i b { width: 17px; height: 10px; border-radius: 2px; border: 1.2px solid var(--t); position: relative; }
.io-status i b::after { content: ""; position: absolute; inset: 1.5px 4px 1.5px 1.5px; background: var(--t); border-radius: 1px; }
.io-status i s { width: 16px; height: 10px; background: linear-gradient(90deg, var(--t) 0 3px, transparent 3px 4.5px, var(--t) 4.5px 7.5px, transparent 7.5px 9px, var(--t) 9px 12px, transparent 12px 13.5px, var(--t) 13.5px); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.io-bar { flex: none; height: 44px; display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; padding: 0 8px; }
.io-bar .io-tt { text-align: center; font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; }
.io-bar.sub .io-tt { opacity: 1; }
.io-btn { display: inline-flex; align-items: center; gap: 2px; height: 36px; padding: 0 8px; border: 0; background: none; color: var(--tint) !important; font-size: 17px; cursor: pointer; justify-self: start; }
.io-btn svg { width: 26px; height: 26px; }
.io-btn.end { justify-self: end; }
.io-content { flex: 1; min-height: 0; overflow-y: auto; padding-bottom: 24px; scrollbar-width: none; }
.io-large { padding: 2px 16px 10px; font-size: 32px; font-weight: 700; letter-spacing: .01em; }
.io-sub { padding: 0 16px 10px; margin-top: -6px; color: var(--t2); font-size: 14px; }
.io-hdr { padding: 18px 32px 6px; font-size: 13px; color: var(--t2); text-transform: none; }
.io-list { margin: 0 16px; border-radius: 10px; background: var(--it); overflow: hidden; }
.io-item { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 16px; position: relative; cursor: default; }
.io-item.tap { cursor: pointer; }
.io-item.tap:active { background: var(--it2); }
.io-item + .io-item::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: .5px; background: var(--sep); }
.io-item.av + .io-item.av::before { left: 60px; }
.io-item .lb { flex: 1; min-width: 0; padding: 10px 0; }
.io-item .lb b { display: block; font-size: 16px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.io-item .lb small { display: block; margin-top: 1px; color: var(--t2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.io-item .nt { color: var(--t2); font-size: 15px; white-space: nowrap; }
.io-item .chev { color: var(--t3); width: 14px; height: 14px; flex: none; }
.io-item .ic { width: 29px; height: 29px; border-radius: 7px; display: grid; place-items: center; flex: none; color: #fff; }
.io-item .ic svg { width: 17px; height: 17px; }
.io-av { width: 32px; height: 32px; border-radius: 50%; background: #2c2f42; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; flex: none; }
.io-badge { flex: none; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--fill); color: var(--t); }
.io-badge.g { background: rgb(48 209 88 / .18); color: var(--gr); } .io-badge.a { background: rgb(255 214 10 / .16); color: var(--am); } .io-badge.r { background: rgb(255 69 58 / .18); color: var(--rd); } .io-badge.b { background: rgb(110 139 255 / .2); color: #9CB0FF; }
.io-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 16px; }
.io-card { border-radius: 12px; background: var(--it); padding: 12px 14px; }
.io-card small { display: block; color: var(--t2); font-size: 13px; }
.io-card b { display: block; margin-top: 4px; font-size: 26px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.io-card em { display: block; font-style: normal; font-size: 12px; color: var(--gr); margin-top: 2px; }
.io-search { margin: 0 16px 6px; height: 36px; border-radius: 10px; background: var(--fill); display: flex; align-items: center; gap: 6px; padding: 0 8px; color: var(--t2); font-size: 16px; }
.io-search svg { width: 18px; height: 18px; }
.io-seg { margin: 4px 16px 6px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 2px; border-radius: 9px; background: var(--fill); }
.io-seg button { height: 28px; border: 0; border-radius: 7px; background: transparent; font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.io-seg button.on { background: #636366; font-weight: 600; }
.io-cta { display: block; width: calc(100% - 32px); margin: 16px 16px 0; height: 50px; border: 0; border-radius: 14px; background: var(--tint); color: #fff !important; font-size: 17px; font-weight: 600; cursor: pointer; }
.io-cta.ghost { background: var(--it); color: var(--tint) !important; }
.io-cta.done { background: rgb(48 209 88 / .18); color: var(--gr) !important; }
.io-mini { flex: none; height: 30px; padding: 0 12px; border: 0; border-radius: 99px; background: var(--fill); color: var(--tint) !important; font-size: 14px; font-weight: 600; cursor: pointer; }
.io-mini.done { background: rgb(48 209 88 / .18); color: var(--gr) !important; }
.io-tog { flex: none; width: 51px; height: 31px; border-radius: 99px; background: var(--fill); position: relative; border: 0; cursor: pointer; }
.io-tog::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; transition: transform .2s; }
.io-tog.on { background: var(--gr); } .io-tog.on::after { transform: translateX(20px); }
.io-tabs { flex: none; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px 26px; border-top: .5px solid var(--sep); background: rgb(21 22 36 / .94); }
.io-tab { display: grid; justify-items: center; gap: 2px; border: 0; background: none; color: rgb(242 243 247 / .45) !important; font-size: 10px; font-weight: 500; cursor: pointer; position: relative; }
.io-tab svg { width: 26px; height: 26px; }
.io-tab.on { color: var(--tint) !important; }
.io-tab em { position: absolute; top: -2px; left: 54%; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 99px; background: var(--rd); color: #fff; font-style: normal; font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.io-menu { position: absolute; inset: 0; z-index: 5; display: flex; }
.io-menu .pane { width: 78%; height: 100%; background: #10111b; border-right: .5px solid var(--sep); display: flex; flex-direction: column; padding-top: 44px; overflow-y: auto; scrollbar-width: none; }
.io-menu .pane .io-large { font-size: 28px; }
.io-menu .scrim { flex: 1; background: rgb(0 0 0 / .45); border: 0; cursor: pointer; }
.io-menu .io-list { margin: 0 12px; }
.io-chat { display: flex; flex-direction: column; gap: 6px; padding: 8px 14px; }
.io-chat p { margin: 0; max-width: 80%; padding: 8px 12px; border-radius: 18px; font-size: 15px; line-height: 1.35; }
.io-chat .me { align-self: flex-end; background: var(--tint); color: #fff; border-bottom-right-radius: 5px; }
.io-chat .it { align-self: flex-start; background: var(--it2); border-bottom-left-radius: 5px; }
.io-door { margin: 0 16px; aspect-ratio: 3 / 4; border-radius: 22px; background: radial-gradient(ellipse at center, #1c1e2b, #050608); position: relative; display: grid; place-items: center; overflow: hidden; }
.io-door::before { content: ""; position: absolute; inset: 24% 18%; border: 3px solid rgb(255 255 255 / .55); border-radius: 26px; clip-path: polygon(0 0, 24% 0, 24% 4%, 4% 4%, 4% 24%, 0 24%, 0 76%, 4% 76%, 4% 96%, 24% 96%, 24% 100%, 76% 100%, 76% 96%, 96% 96%, 96% 76%, 100% 76%, 100% 24%, 96% 24%, 96% 4%, 76% 4%, 76% 0, 100% 0, 100% 100%, 0 100%); }
.io-verdict { position: absolute; left: 12px; right: 12px; bottom: 12px; border-radius: 16px; padding: 14px; background: rgb(21 22 36 / .92); }
.io-verdict.ok { background: rgb(18 60 40 / .95); } .io-verdict.warn { background: rgb(70 56 10 / .95); }
.io-verdict small { display: block; color: var(--t2); font-size: 12.5px; }
.io-verdict b { display: block; font-size: 22px; font-weight: 700; margin-top: 2px; }
.io-verdict span { display: block; font-size: 14px; margin-top: 2px; color: var(--t2); }
.io-bars { display: flex; align-items: flex-end; gap: 8px; height: 140px; padding: 14px 16px 8px; }
.io-bars div { flex: 1; display: grid; justify-items: center; gap: 4px; align-content: end; height: 100%; }
.io-bars i { width: 100%; max-width: 26px; border-radius: 5px; background: var(--tint); }
.io-bars small { font-size: 11px; color: var(--t2); }

/* ---------- the door: five photos, three on top and two below ---------- */
.dr-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.dr-grid figure { margin: 0; grid-column: span 2; }
.dr-grid figure:nth-child(n+4) { grid-column: span 3; }
.dr-grid img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; }
.dr-grid figcaption { margin-top: 12px; display: flex; align-items: baseline; gap: 10px; font-size: 15px; }
.dr-grid figcaption b { font-weight: 500; }
.dr-grid figcaption span { color: var(--muted); font-size: 14px; }
.dr-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(28px, 3vw, 40px); }
.dr-facts div { border-top: 2px solid var(--blue); padding-top: 14px; }
.dr-facts b { display: block; font-weight: 500; font-size: 17px; }
.dr-facts span { display: block; margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 760px) { .dr-grid, .dr-facts { grid-template-columns: 1fr; } .dr-grid figure, .dr-grid figure:nth-child(n+4) { grid-column: auto; } }
.gx-stage { width: 100%; }
.gx-stage.phone { display: flex; justify-content: center; }
.gx-stage.phone .gx-phone { width: 380px; max-width: 100%; flex: none; }
.gx-stage.phone .io { width: 100%; }
.gx-bar { flex-wrap: wrap; }
@media (max-width: 760px) { .gx-hint { flex-basis: 100%; } .gx-stage.phone { padding: 16px 8px; } }
.io-menu .pane { width: 84%; }

/* ---------- demo v2: chats, inbox, gallery, coaches, numbers ---------- */
.gx { height: 720px; }
.gx-av.c { color: #fff; }
.gx-split { display: grid; grid-template-columns: minmax(250px, .85fr) minmax(0, 1.6fr); border: 1px solid var(--ln); border-radius: 12px; overflow: hidden; height: 540px; }
.gx-split > div { min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.gx-split > div:first-child { border-right: 1px solid var(--ln); }
.gx-conv { display: flex; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--ln2); cursor: pointer; position: relative; }
.gx-conv:hover { background: var(--g3); }
.gx-conv.on { background: var(--g4); box-shadow: inset 2px 0 0 var(--ac); }
.gx-conv .gx-av { position: relative; }
.gx-conv .ch { position: absolute; right: -3px; bottom: -3px; width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--g); }
.gx-conv .ch svg { width: 8px; height: 8px; color: #fff; }
.ch.wa { background: #25D366; } .ch.web { background: var(--ac); } .ch.tel { background: #bf5af2; }
.gx-conv .tx { flex: 1; min-width: 0; }
.gx-conv .tx div { display: flex; justify-content: space-between; gap: 8px; }
.gx-conv .tx b { font-size: 13.5px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-conv .tx time { flex: none; font-size: 11.5px; color: var(--i5); }
.gx-conv .tx p { margin: 3px 0 0; font-size: 12.5px; color: var(--i4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-conv .tx .tags { display: flex; gap: 4px; margin-top: 6px; }
.gx-livedot { position: absolute; right: 12px; bottom: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--gr); box-shadow: 0 0 0 3px rgb(62 207 154 / .2); }
.gx-thread { display: flex; flex-direction: column; min-height: 100%; }
.gx-thread-h { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--ln2); position: sticky; top: 0; background: var(--g); z-index: 1; }
.gx-thread-h b { font-size: 14px; font-weight: 600; } .gx-thread-h small { display: block; font-size: 12px; color: var(--i4); }
.gx-msgs { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.gx-day { align-self: center; font-size: 11.5px; color: var(--i5); padding: 2px 0 4px; }
.gx-b { max-width: 78%; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; }
.gx-b.in { align-self: flex-start; background: var(--g4); border-bottom-left-radius: 4px; }
.gx-b.out { align-self: flex-end; background: var(--acs); color: var(--i); border-bottom-right-radius: 4px; }
.gx-b.me { align-self: flex-end; background: var(--i); color: var(--g); border-bottom-right-radius: 4px; }
.gx-b time { display: block; margin-top: 4px; font-size: 10.5px; color: var(--i5); text-align: right; }
.gx-b.me time { color: rgb(16 17 27 / .5); }
.gx-tool { align-self: flex-end; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 7px; border: 1px dashed var(--lc); font-size: 11.5px; color: var(--i4); font-family: ui-monospace, Menlo, monospace; }
.gx-tool i { width: 6px; height: 6px; border-radius: 50%; background: var(--gr); }
.gx-ro { padding: 10px 18px; border-top: 1px solid var(--ln2); font-size: 12px; color: var(--i5); display: flex; align-items: center; gap: 8px; }
.gx-answer { align-self: flex-start; max-width: 88%; border: 1px solid var(--ln); border-radius: 14px; border-bottom-left-radius: 4px; overflow: hidden; background: var(--g); }
.gx-answer p { margin: 0; padding: 11px 14px; font-size: 13.5px; line-height: 1.5; }
.gx-answer .gx-row { padding: 9px 14px; }
.gx-answer .src { padding: 8px 14px; border-top: 1px solid var(--ln2); font-size: 11.5px; color: var(--i5); }
.gx-sugs { display: flex; flex-wrap: wrap; gap: 8px; }
.gx-sug { height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--lc); background: transparent; color: var(--i2); font-size: 12.5px; cursor: pointer; }
.gx-sug:hover { border-color: var(--ac); color: var(--i); }
.gx-ask { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 14px; border: 1px solid var(--lc); background: var(--g3); color: var(--i5); font-size: 13.5px; }
.gx-ask span { flex: 1; }
.gx-ask b { width: 32px; height: 32px; border-radius: 10px; background: var(--i); display: grid; place-items: center; color: var(--g); }
.gx-ask b svg { width: 15px; height: 15px; }
/* inbox, Gmail-like */
.gx-mbox { display: grid; grid-template-columns: 200px minmax(0, 1fr); border: 1px solid var(--ln); border-radius: 12px; overflow: hidden; height: 560px; }
.gx-mbox > nav { border-right: 1px solid var(--ln2); padding: 12px 8px; display: flex; flex-direction: column; gap: 2px; background: var(--gs); }
.gx-compose { display: inline-flex; align-items: center; gap: 8px; height: 40px; margin: 0 4px 10px; padding: 0 16px; border-radius: 12px; border: 0; background: var(--acs); color: var(--i) !important; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.gx-fold { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 12px; border-radius: 99px; font-size: 13px; color: var(--i3); }
.gx-fold.on { background: var(--g5); color: var(--i); font-weight: 600; }
.gx-fold svg { width: 15px; height: 15px; color: var(--i4); }
.gx-fold em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; }
.gx-accts { display: flex; gap: 6px; margin-bottom: 2px; }
.gx-acct { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--lc); font-size: 12.5px; color: var(--i3); }
.gx-acct.on { border-color: var(--ac); color: var(--i); background: var(--acs); }
.gx-acct i { width: 6px; height: 6px; border-radius: 50%; background: var(--gr); }
.gx-acct em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--ac); }
.gx-mrow { display: grid; grid-template-columns: 30px 150px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--ln2); cursor: pointer; font-size: 13px; color: var(--i3); }
.gx-mrow:hover { background: var(--g3); }
.gx-mrow.unread { color: var(--i); background: rgb(110 139 255 / .04); }
.gx-mrow.unread b, .gx-mrow.unread .sj { font-weight: 650; color: var(--i); }
.gx-mrow b { font-weight: 450; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-mrow .tx { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-mrow .sj { color: var(--i2); }
.gx-mrow time { font-size: 12px; color: var(--i4); font-variant-numeric: tabular-nums; }
.gx-mail-open { padding: 18px 24px; }
.gx-mail-open h4 { margin: 10px 0 14px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.gx-from { display: flex; align-items: center; gap: 12px; }
.gx-from b { font-size: 13.5px; } .gx-from small { color: var(--i4); font-size: 12px; } .gx-from time { margin-left: auto; font-size: 12px; color: var(--i4); }
.gx-mail-body { margin: 16px 0; font-size: 14px; line-height: 1.65; color: var(--i2); white-space: pre-line; }
.gx-ctx { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--ln); font-size: 12.5px; color: var(--i3); }
.gx-reply { margin-top: 14px; border: 1px solid var(--lc); border-radius: 12px; padding: 12px 14px; color: var(--i5); font-size: 13.5px; min-height: 92px; display: flex; flex-direction: column; justify-content: space-between; }
.gx-reply div { display: flex; justify-content: flex-end; gap: 8px; }
/* gallery */
.gx-gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gx-ph { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--g4); }
.gx-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gx-ph span { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 6px; background: rgb(16 17 27 / .75); font-size: 11.5px; color: var(--i); }
/* coaches */
.gx-coaches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gx-coach { border: 1px solid var(--ln); border-radius: 12px; padding: 16px; display: grid; gap: 10px; }
.gx-coach .top { display: flex; align-items: center; gap: 12px; }
.gx-coach .top b { display: block; font-size: 14.5px; font-weight: 600; } .gx-coach .top small { color: var(--i4); font-size: 12px; }
.gx-coach .kv { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--i4); border-top: 1px solid var(--ln2); padding-top: 8px; }
.gx-coach .kv b { color: var(--i); font-weight: 550; }
/* numbers */
.gx-hbar { display: grid; grid-template-columns: 9rem minmax(0, 1fr) 4.5rem; gap: 12px; align-items: center; padding: 8px 18px; font-size: 13px; }
.gx-hbar i { height: 8px; border-radius: 4px; background: var(--ac); display: block; }
.gx-hbar span { color: var(--i3); } .gx-hbar b { text-align: right; font-weight: 550; font-variant-numeric: tabular-nums; }
.gx-heat { display: grid; grid-template-columns: 2.4rem repeat(15, minmax(0, 1fr)); gap: 3px; padding: 10px 18px 16px; font-size: 10.5px; color: var(--i5); }
.gx-heat i { aspect-ratio: 1.6; border-radius: 3px; background: var(--ac); }
.gx-heat span { align-self: center; }
.gx-cols { display: flex; align-items: flex-end; gap: 14px; height: 170px; padding: 16px 18px 8px; }
.gx-cols div { flex: 1; display: grid; justify-items: center; gap: 6px; align-content: end; height: 100%; }
.gx-cols i { width: 100%; max-width: 44px; border-radius: 6px 6px 2px 2px; background: var(--ac); }
.gx-cols i.prev { background: var(--g5); }
.gx-cols b { font-size: 11px; color: var(--i3); font-weight: 500; } .gx-cols small { font-size: 11.5px; color: var(--i4); }
/* phone: chats and inbox */
.io-conv-ch { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.io-conv-ch svg { width: 10px; height: 10px; color: #fff; }
.io-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 16px; }
.io-gal img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.io-sugs { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 14px; }
.io-sugs button { height: 30px; padding: 0 12px; border-radius: 99px; border: .5px solid var(--sep); background: var(--it); color: var(--t) !important; font-size: 13px; cursor: pointer; }
.dr-grid img { height: auto; }
/* the desktop sketch on a narrow screen: real size, swiped sideways */
.gx-stage.pan { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; border-radius: 16px; scrollbar-width: thin; }
.gx-stage.pan .gx-fit { width: 1180px; }
.gx-conv .ch { width: 13px; height: 13px; right: -2px; bottom: -2px; }
/* sidebar: rows keep their height (no flex shrink), more air between groups, it scrolls if needed */
.gx-side { gap: 1px; padding: 14px 10px 16px; }
.gx-side > * { flex: none; }
.gx-link { height: 34px; font-size: 13.5px; }
.gx-grp { padding: 18px 10px 6px; font-size: 11.5px; letter-spacing: .01em; }
.gx-org + .gx-grp { padding-top: 6px; }
.gx { height: 760px; }
.gx.m .gx-side > * { flex: none; }
.gx .ch { position: absolute; right: -2px; bottom: -2px; width: 13px; height: 13px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--g); }
.gx .ch svg { width: 7px; height: 7px; color: #fff; }
.gx .gx-av { position: relative; }

/* phone view: a soft blurred photo behind the phone, lighter type inside the app */
.gx-stage.phone { position: relative; overflow: hidden; background: #0a0b12; border-color: var(--divider); }
.gx-stage.phone::before { content: ""; position: absolute; inset: -80px; background: url("img/box-hero.jpg") center 35% / cover no-repeat; filter: blur(46px) saturate(1.15); opacity: .5; }
.gx-stage.phone::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgb(10 11 18 / .1), rgb(10 11 18 / .65) 75%); }
.gx-stage.phone .gx-phone { position: relative; z-index: 1; }
.io-large { font-size: 30px; font-weight: 600; letter-spacing: -.01em; }
.io-card b { font-size: 24px; font-weight: 600; }
.io-verdict b { font-weight: 600; }
.io-seg button.on { font-weight: 500; }
.io-status { font-weight: 500; }
.io-item .lb b { font-weight: 400; }
.io-cta { font-weight: 500; }
.gx-stage.phone::before { background-image: url("img/kind-crossfit.jpg"); background-position: center; opacity: .42; filter: blur(40px) saturate(1.2); }
.dr-grid { row-gap: clamp(20px, 2.4vw, 32px); }
.gx-seg button:disabled { opacity: .4; cursor: not-allowed; }

/* app tab icons: Ionicons 7.4.0 outline, drawn as masks in the tab colour */
.ap-tabs span::before { border: 0; border-radius: 0; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.ap-tabs [data-i=home] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M80 212v236a16 16 0 0016 16h96V328a24 24 0 0124-24h80a24 24 0 0124 24v136h96a16 16 0 0016-16V212' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'/%3E%3Cpath d='M480 256L266.89 52c-5-5.28-16.69-5.34-21.78 0L32 256M400 179V64h-48v69' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'/%3E%3C/svg%3E"); }
.ap-tabs [data-i=calendar] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Crect fill='none' stroke='%23000' stroke-linejoin='round' stroke-width='32' x='48' y='80' width='416' height='384' rx='48'/%3E%3Ccircle cx='296' cy='232' r='24'/%3E%3Ccircle cx='376' cy='232' r='24'/%3E%3Ccircle cx='296' cy='312' r='24'/%3E%3Ccircle cx='376' cy='312' r='24'/%3E%3Ccircle cx='136' cy='312' r='24'/%3E%3Ccircle cx='216' cy='312' r='24'/%3E%3Ccircle cx='136' cy='392' r='24'/%3E%3Ccircle cx='216' cy='392' r='24'/%3E%3Ccircle cx='296' cy='392' r='24'/%3E%3Cpath fill='none' stroke='%23000' stroke-linejoin='round' stroke-width='32' stroke-linecap='round' d='M128 48v32M384 48v32'/%3E%3Cpath fill='none' stroke='%23000' stroke-linejoin='round' stroke-width='32' d='M464 160H48'/%3E%3C/svg%3E"); }
.ap-tabs [data-i=list] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='32' d='M160 144h288M160 256h288M160 368h288'/%3E%3Ccircle cx='80' cy='144' r='16' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'/%3E%3Ccircle cx='80' cy='256' r='16' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'/%3E%3Ccircle cx='80' cy='368' r='16' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'/%3E%3C/svg%3E"); }
.ap-tabs [data-i=scan] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M336 448h56a56 56 0 0056-56v-56M448 176v-56a56 56 0 00-56-56h-56M176 448h-56a56 56 0 01-56-56v-56M64 176v-56a56 56 0 0156-56h56' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'/%3E%3C/svg%3E"); }
.ap-tabs [data-i=people] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M402 168c-2.93 40.67-33.1 72-66 72s-63.12-31.32-66-72c-3-42.31 26.37-72 66-72s69 30.46 66 72z' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'/%3E%3Cpath d='M336 304c-65.17 0-127.84 32.37-143.54 95.41-2.08 8.34 3.15 16.59 11.72 16.59h263.65c8.57 0 13.77-8.25 11.72-16.59C463.85 335.36 401.18 304 336 304z' fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='32'/%3E%3Cpath d='M200 185.94c-2.34 32.48-26.72 58.06-53 58.06s-50.7-25.57-53-58.06C91.61 152.15 115.34 128 147 128s55.39 24.77 53 57.94z' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'/%3E%3Cpath d='M206 306c-18.05-8.27-37.93-11.45-59-11.45-52 0-102.1 25.85-114.65 76.2-1.65 6.66 2.53 13.25 9.37 13.25H154' fill='none' stroke='%23000' stroke-linecap='round' stroke-miterlimit='10' stroke-width='32'/%3E%3C/svg%3E"); }
.ap-tabs [data-i=card] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Crect x='48' y='96' width='416' height='320' rx='56' ry='56' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'/%3E%3Cpath fill='none' stroke='%23000' stroke-linejoin='round' stroke-width='60' d='M48 192h416M128 300h48v20h-48z'/%3E%3C/svg%3E"); }
.ap-tabs [data-i=person] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M344 144c-3.92 52.87-44 96-88 96s-84.15-43.12-88-96c-4-55 35-96 88-96s92 42 88 96z' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'/%3E%3Cpath d='M256 304c-87 0-175.3 48-191.64 138.6C62.39 453.52 68.57 464 80 464h352c11.44 0 17.62-10.48 15.65-21.4C431.3 352 343 304 256 304z' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'/%3E%3C/svg%3E"); }
.ap-tabs [data-i=time] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Ccircle cx='256' cy='256' r='192' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'/%3E%3Cpath d='M256 128v144h96' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'/%3E%3C/svg%3E"); }
.ap-tabs [data-i=pulse] { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M48 320h64l64-256 64 384 64-224 32 96h128' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'/%3E%3C/svg%3E"); }

/* the two assistants */
.as-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin: 0 0 clamp(16px, 2vw, 24px); }
.as-two > div { border-radius: 20px; border: 1px solid var(--divider); padding: 22px 24px; }
.as-two small { display: block; font-size: 13px; color: var(--muted); }
.as-two h3 { margin: 6px 0 0; font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; letter-spacing: -.025em; }
.as-two p { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 60ch; }
@media (max-width: 760px) { .as-two { grid-template-columns: minmax(0, 1fr); } }

/* phone frame: one 1px line around the screen, no bezel */
.gx-phone { padding: 0; background: none; border: 1px solid #2A2D44; overflow: hidden; }
.gx-phone .gx { border: 0; border-radius: 45px; }

/* on a phone, the demo phone keeps a real iPhone's proportion (390×844); a little scroll shows its tab bar */
@media (max-width: 760px) { .gx-stage.phone .io { height: auto; aspect-ratio: 390 / 844; } }

/* The assistant, shaped like the team's own: the question a pill on the right, the answer text on the ground,
   what it did folded into one line of steps, a list or figures as a report card, the composer at the bottom. */
.gx .ai { --a-t: var(--i); --a-tx: var(--i2); --a-t2: var(--i3); --a-t3: var(--i5); --a-ln: var(--ln); --a-lc: var(--lc); --a-s: var(--g3); --a-s2: var(--g4); --a-bg: var(--g); --a-ac: var(--ac); }
.io .ai { --a-t: var(--t); --a-tx: var(--t); --a-t2: var(--t2); --a-t3: var(--t3); --a-ln: var(--sep); --a-lc: rgb(255 255 255 / .12); --a-s: var(--it); --a-s2: var(--it2); --a-bg: var(--bg); --a-ac: var(--tint);
  --ln2: var(--sep); --ln: var(--sep); --lc: rgb(255 255 255 / .12); --i: var(--t); --i2: var(--t); --i5: var(--t3); --g: var(--bg); --g5: var(--it2); --ac: var(--tint); }
.gx-page > .ai { flex: 1 0 auto; }
.ai { display: flex; flex-direction: column; gap: 18px; }
.ai-thread { flex: 1; display: flex; flex-direction: column; gap: 22px; width: 100%; max-width: 760px; margin: 0 auto; padding-top: 4px; }
.ai-me { display: flex; justify-content: flex-end; }
.ai-me p { margin: 0; max-width: 80%; padding: 9px 15px; border: 1px solid var(--a-ln); border-radius: 19px; background: var(--a-s2); color: var(--a-t); font-size: 14px; line-height: 1.45; }
.ai-it p { margin: 0; color: var(--a-tx); font-size: 14.5px; line-height: 1.65; }
.ai-steps { margin: -10px 0; font-size: 12px; color: var(--a-t3); }
.ai-steps-h { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 30px; padding: 4px 0; border: 0; background: none; color: inherit !important; font-size: 12px !important; text-align: left; cursor: pointer; }
.ai-steps i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--a-t3); }
.ai-steps.live i { background: var(--a-ac); box-shadow: 0 0 8px var(--a-ac); animation: as-late 1.2s ease-in-out infinite; }
.ai-steps .v { flex: none; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--a-t2); }
.ai-steps .w { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ai-steps .n { flex: none; }
.ai-steps.live .n { display: none; }
.ai-steps ol { display: none; flex-direction: column; gap: 6px; margin: 2px 0 8px 3px; padding: 4px 0 4px 16px; border-left: 1px solid var(--a-ln); list-style: none; }
.ai-steps.open ol { display: flex; }
.ai-steps li { display: flex; gap: 8px; align-items: baseline; }
.ai-dots { display: inline-flex; gap: 5px; padding: 8px 0; }
.ai-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--a-t3); animation: as-late 1.2s ease-in-out infinite; }
.ai-dots span:nth-child(2) { animation-delay: .15s; } .ai-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes as-late { 0%, 80%, 100% { opacity: .35; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.ai-live { display: flex; flex-direction: column; gap: 22px; }
.ai-me:has(+ .ai-live), .ai-live .ai-it, .ai-in { animation: as-in .22s ease-out both; }
@keyframes as-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ai-card { margin-top: 14px; border: 1px solid var(--a-lc); border-radius: 12px; overflow: hidden; background: var(--a-s); }
.ai-card-h { display: flex; align-items: center; justify-content: space-between; min-height: 34px; padding: 0 14px; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--a-t3); }
.ai-card .gx-row { padding: 9px 14px; }
.ai-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); border-top: 1px solid var(--a-ln); }
.ai-figs div { padding: 13px 14px 14px; border-left: 1px solid var(--a-ln); }
.ai-figs div:first-child { border-left: 0; }
.ai-figs b { display: block; color: var(--a-t); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.ai-figs span { color: var(--a-t3); font-size: 12px; }
.ai-act { margin-top: 12px; }
.ai-act .gx-btn { border-color: var(--a-ac); color: var(--a-t); box-shadow: 0 0 14px rgb(110 139 255 / .18); }
.ai-src { margin-top: 10px; color: var(--a-t3); font-size: 11.5px; }
.ai-foot { position: sticky; bottom: -40px; margin-bottom: -40px; padding: 10px 0 40px; background: var(--a-bg); }
.ai-foot > * { width: 100%; max-width: 760px; margin-left: auto; margin-right: auto; }
.ai-sugs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.ai-sug { height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--a-lc); background: transparent; color: var(--a-t2) !important; font-size: 12.5px !important; cursor: pointer; }
.ai-sug:hover { border-color: var(--a-ac); color: var(--a-t) !important; }
.ai-comp { display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 8px; border: 1px solid var(--a-lc); border-radius: 22px; background: var(--a-s); }
.ai-ib, .ai-send { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--a-t3); }
.ai-ib svg, .ai-send svg { width: 18px; height: 18px; }
.ai-field { flex: 1; min-width: 0; padding: 0 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--a-t3); font-size: 13.5px; }
.ai-send { border: 1px solid var(--a-ac); color: var(--a-ac); box-shadow: 0 0 14px rgb(110 139 255 / .22); }
.ai-hint { margin-top: 8px; color: var(--a-t3); font-size: 11.5px; text-align: center; }
.ai-empty { flex: 1; display: grid; align-content: center; justify-items: center; gap: 8px; padding: 40px 20px; text-align: center; color: var(--a-t3); font-size: 13px; }
.ai-empty svg { width: 28px; height: 28px; margin-bottom: 4px; color: var(--a-ac); }
.ai-empty b { color: var(--a-t); font-size: 16px; font-weight: 600; }
.ai-empty span { max-width: 360px; line-height: 1.5; }
.ai.ai-ph { min-height: calc(100% - 60px); padding: 4px 14px 0; gap: 14px; }
.ai.ai-ph .ai-me p, .ai.ai-ph .ai-it p { font-size: 15px; }
.ai.ai-ph .ai-foot { bottom: 0; margin-bottom: 0; padding: 8px 0 4px; }
.ai.ai-ph .ai-sugs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.ai.ai-ph .ai-sug { flex: none; }
.ai.ai-ph .ai-hint { display: none; }

/* A class without booking: people just come, so it reads quieter than one that counts spots. */
.gx-cls.free { border-style: dashed; background: transparent; }
.gx-cls.free small { color: var(--i5); }
