:root {
  --bg: #050606;
  --bg-soft: #0b0d0e;
  --panel: #111415;
  --panel-2: #171b1d;
  --neon: #a7ff14;
  --neon-soft: #d8ff76;
  --red: #ff395f;
  --yellow: #f4db42;
  --white: #f7faf3;
  --muted: #8e9791;
  --line: rgba(247, 250, 243, 0.14);
  --line-neon: rgba(167, 255, 20, 0.35);
  --shell: 1320px;
  --header-height: 68px;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea {
  font: inherit;
}

button,
input,
textarea {
  border: 0;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
ul {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  letter-spacing: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  min-height: var(--header-height);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 10px max(24px, calc((100vw - var(--shell)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 6, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  color: #091000;
  background: var(--neon);
  font-size: 11px;
  font-weight: 950;
}

.brand strong {
  font-size: 15px;
  font-weight: 950;
}

.topbar nav {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.topbar nav a {
  position: relative;
  padding: 10px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.topbar nav a:hover,
.topbar nav a.is-active {
  color: var(--white);
}

.topbar nav a.is-active::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--neon);
  content: "";
}

.top-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 14px;
  padding: 9px 15px;
  color: #081000;
  background: var(--neon);
  font-size: 12px;
  font-weight: 950;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  color: var(--white);
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 1px;
  background: currentColor;
}

.visual {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.visual-hero {
  background-image: url("assets/hero-wide.png");
  background-position: 58% 20%;
}

.visual-mobility {
  background-image: url("assets/mobility-class.png");
  background-position: 52% 36%;
}

.visual-strength {
  background-image: url("assets/strength-class.png");
  background-position: 50% 42%;
}

.visual-power {
  background-image: url("assets/power-class.png");
  background-position: 54% 42%;
}

.visual-class-pilates {
  background-image: url("assets/class-pilates.png");
  background-position: 50% 48%;
}

.visual-class-hiit {
  background-image: url("assets/class-hiit.png");
  background-position: 50% 50%;
}

.visual-class-stretch {
  background-image: url("assets/class-stretch.png");
  background-position: 50% 48%;
}

.visual-class-strong-back {
  background-image: url("assets/class-strong-back.png");
  background-position: 50% 48%;
}

.visual-coach-elena {
  background-image: url("assets/coach-elena.png");
  background-position: 50% 26%;
}

.visual-coach-anna {
  background-image: url("assets/coach-anna.png");
  background-position: 50% 24%;
}

.visual-coach-igor {
  background-image: url("assets/coach-igor.png");
  background-position: 50% 25%;
}

.visual-coach-maria {
  background-image: url("assets/coach-maria.png");
  background-position: 50% 24%;
}

.visual-coaching {
  background-image: url("assets/functional-team-women.png");
  background-position: 50% 48%;
}

.hero {
  position: relative;
  min-height: max(720px, calc(100svh - 48px));
  overflow: hidden;
  background-color: #050606;
  isolation: isolate;
}

.hero-scrim {
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 58%;
  background: rgba(5, 6, 6, 0.93);
  box-shadow: 90px 0 100px rgba(5, 6, 6, 0.92);
}

.hero-grid {
  display: grid;
  width: min(var(--shell), calc(100% - 48px));
  min-height: max(720px, calc(100svh - 48px));
  grid-template-columns: minmax(0, 720px) 280px;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-inline: auto;
  padding-top: calc(var(--header-height) + 44px);
  padding-bottom: 34px;
}

.hero-copy {
  align-self: center;
}

.signal {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--neon-soft);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.signal span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 5px rgba(167, 255, 20, 0.12), 0 0 20px var(--neon);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 92px;
  font-weight: 950;
  line-height: 0.88;
  text-transform: uppercase;
}

.hero h1 em {
  color: var(--neon);
  font-style: normal;
}

.hero-copy > p:last-of-type {
  max-width: 520px;
  margin-bottom: 30px;
  color: rgba(247, 250, 243, 0.7);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 950;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-neon {
  color: #081000;
  background: var(--neon);
  box-shadow: 0 12px 40px rgba(167, 255, 20, 0.16);
}

.button-neon:hover {
  background: var(--neon-soft);
}

.button-ghost {
  border-color: var(--line);
  color: var(--white);
  background: rgba(17, 20, 21, 0.66);
}

.hero-live {
  align-self: end;
  margin-bottom: 54px;
  padding: 22px;
  border: 1px solid var(--line-neon);
  border-radius: 6px;
  background: rgba(11, 13, 14, 0.84);
  backdrop-filter: blur(14px);
}

.live-head {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
}

.live-pill,
.class-top b {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  padding: 3px 6px;
  border-radius: 3px;
  color: var(--white);
  background: var(--red);
  font-size: 9px;
  font-weight: 950;
}

.hero-live > strong {
  display: block;
  margin: 18px 0 0;
  color: var(--neon);
  font-size: 62px;
  line-height: 1;
}

.hero-live > p {
  color: var(--muted);
  font-size: 12px;
}

.capacity,
.class-capacity,
.balance-line {
  height: 5px;
  overflow: hidden;
  background: rgba(247, 250, 243, 0.12);
}

.capacity span,
.class-capacity span,
.balance-line span {
  display: block;
  height: 100%;
  background: var(--neon);
}

.hero-live > small {
  display: block;
  margin: 9px 0 20px;
  color: var(--muted);
  font-size: 10px;
}

.hero-live > a {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--neon);
  font-size: 12px;
  font-weight: 900;
}

.hero-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
}

.hero-metrics div {
  padding: 18px 18px 0 0;
}

.hero-metrics div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.hero-metrics dt {
  margin-bottom: 3px;
  color: var(--neon);
  font-size: 25px;
  font-weight: 950;
}

.hero-metrics dd {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.ticker {
  overflow: hidden;
  padding: 13px 0;
  color: #081000;
  background: var(--neon);
  white-space: nowrap;
}

.ticker div {
  width: max-content;
  padding-left: 2vw;
  font-size: 13px;
  font-weight: 950;
  word-spacing: 22px;
}

.ticker span {
  color: rgba(8, 16, 0, 0.42);
}

.section {
  padding: 104px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 480px);
  align-items: end;
  gap: 48px;
  margin-bottom: 38px;
}

.kicker {
  margin-bottom: 14px;
  color: var(--neon);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.section-heading h2,
.dashboard-header h2,
.brief-copy h2 {
  margin: 0;
  font-size: 62px;
  font-weight: 950;
  line-height: 0.94;
  text-transform: uppercase;
}

.section-heading > p {
  margin-bottom: 4px;
  color: var(--muted);
  line-height: 1.6;
}

.schedule-section {
  background: var(--bg);
}

.schedule-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  color: var(--muted);
  font-size: 10px;
}

.schedule-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.schedule-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.load-low {
  background: var(--neon);
}

.load-mid {
  background: var(--yellow);
}

.load-high {
  background: var(--red);
}

.schedule-legend b {
  padding: 3px 5px;
  border-radius: 3px;
  color: var(--white);
  background: var(--red);
  font-size: 8px;
}

.day-switcher {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow-x: auto;
}

.day-button {
  display: grid;
  min-width: 100px;
  min-height: 72px;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: var(--muted);
  background: var(--panel);
}

.day-button + .day-button {
  border-left: 1px solid var(--line);
}

.day-button span {
  font-size: 10px;
  text-transform: uppercase;
}

.day-button strong {
  color: var(--white);
  font-size: 20px;
}

.day-button.is-active {
  color: #081000;
  background: var(--neon);
}

.day-button.is-active strong {
  color: #081000;
}

.schedule-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tabs button,
.package-switch button {
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-weight: 850;
}

.tabs button:hover,
.tabs button.active,
.package-switch button.is-active {
  border-color: var(--neon);
  color: #081000;
  background: var(--neon);
}

.intensity-control {
  display: grid;
  min-width: 230px;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
}

.intensity-control strong {
  color: var(--white);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--neon);
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.class-card {
  position: relative;
  display: grid;
  min-height: 480px;
  grid-template-rows: 235px auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.class-card.is-live {
  border-color: var(--red);
}

.class-image {
  grid-row: 1;
  min-height: 0;
  filter: saturate(0.88);
}

.class-top {
  z-index: 2;
  grid-row: 1;
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding: 14px;
  color: var(--white);
  background: rgba(5, 6, 6, 0.34);
  font-size: 10px;
  font-weight: 900;
}

.class-top span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.class-top button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--white);
  background: rgba(5, 6, 6, 0.64);
  font-size: 19px;
}

.class-top button.is-favorite {
  color: var(--neon);
}

.class-info {
  display: grid;
  align-content: start;
  padding: 18px;
}

.intensity {
  width: fit-content;
  margin-bottom: 12px;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.intensity.low {
  color: var(--neon);
}

.intensity.mid {
  color: var(--yellow);
}

.intensity.high {
  color: var(--red);
}

.class-info h3 {
  margin-bottom: 7px;
  font-size: 24px;
  text-transform: uppercase;
}

.class-info > p {
  min-height: 38px;
  color: var(--muted);
  font-size: 11px;
}

.class-capacity {
  margin: 8px 0 14px;
}

.class-card[data-intensity="2"] .class-capacity span {
  background: var(--yellow);
}

.class-card[data-intensity="3"] .class-capacity span {
  background: var(--red);
}

.class-info footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.class-info footer small {
  color: var(--muted);
  font-size: 10px;
}

.class-info footer button {
  padding: 8px 0;
  color: var(--neon);
  background: transparent;
  font-size: 11px;
  font-weight: 900;
}

.empty-state {
  padding: 34px;
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
}

.coaches-section {
  background: #e9eee8;
  color: #0b0d0c;
}

.coaches-section .kicker,
.coaches-section .coach-selection {
  color: #4d7704;
}

.coaches-section .section-heading > p {
  color: #5d675f;
}

.coach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.coach-card {
  overflow: hidden;
  border: 1px solid rgba(11, 13, 12, 0.16);
  border-radius: 6px;
  background: #f7faf5;
}

.coach-card.is-selected {
  border-color: #69a900;
  box-shadow: 0 0 0 2px rgba(105, 169, 0, 0.22);
}

.coach-photo {
  aspect-ratio: 1;
  background-color: #171b1d;
}

.coach-body {
  padding: 20px;
}

.coach-body > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #4d7704;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.coach-body h3 {
  margin: 12px 0 7px;
  font-size: 27px;
  text-transform: uppercase;
}

.coach-body > p {
  min-height: 38px;
  color: #626a64;
  font-size: 12px;
  line-height: 1.45;
}

.coach-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.coach-tags span {
  padding: 6px 8px;
  border: 1px solid rgba(11, 13, 12, 0.14);
  border-radius: 3px;
  color: #59615b;
  font-size: 9px;
}

.coach-body > small {
  color: #6d746e;
  font-size: 9px;
  text-transform: uppercase;
}

.coach-times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 9px 0 16px;
}

.coach-times button {
  min-height: 38px;
  border: 1px solid rgba(11, 13, 12, 0.16);
  border-radius: 3px;
  color: #0b0d0c;
  background: transparent;
  font-size: 11px;
  font-weight: 850;
}

.coach-times button:hover,
.coach-times button.is-active {
  border-color: #69a900;
  color: #0b1400;
  background: var(--neon);
}

.coach-select {
  width: 100%;
  min-height: 46px;
  border-radius: 4px;
  color: #0b1400;
  background: var(--neon);
  font-weight: 950;
}

.coach-selection {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 850;
}

.packages-section {
  background: var(--bg-soft);
}

.package-switch {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.packages-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 14px;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.package-card {
  display: grid;
  min-height: 470px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.package-card.featured {
  border-color: var(--neon);
  box-shadow: 0 0 28px rgba(167, 255, 20, 0.09);
}

.package-card.is-selected {
  border-color: var(--neon);
  box-shadow: 0 0 0 2px rgba(167, 255, 20, 0.2);
}

.package-card > span {
  color: var(--neon);
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}

.package-card h3 {
  margin: 12px 0 22px;
  font-size: 30px;
  text-transform: uppercase;
}

.package-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.package-price strong {
  font-size: 30px;
}

.package-price small {
  color: var(--muted);
}

.package-card ul {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.package-card li {
  color: var(--muted);
  font-size: 11px;
}

.package-card li::before {
  margin-right: 9px;
  color: var(--neon);
  content: "✓";
}

.package-card > button {
  min-height: 48px;
  margin-top: auto;
  border: 1px solid var(--line-neon);
  border-radius: 4px;
  color: var(--neon);
  background: transparent;
  font-weight: 950;
}

.package-card > button:hover,
.package-card.is-selected > button {
  color: #081000;
  background: var(--neon);
}

.checkout-panel {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  padding: 24px;
  border: 1px solid var(--line-neon);
  border-radius: 6px;
  background: var(--panel);
}

.checkout-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.checkout-head b {
  color: var(--neon);
}

.checkout-panel h3 {
  margin: 20px 0 4px;
  font-size: 30px;
  text-transform: uppercase;
}

.checkout-panel > p {
  color: var(--neon);
  font-weight: 900;
}

.payment-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 20px 0;
}

.payment-methods label {
  position: relative;
}

.payment-methods input {
  position: absolute;
  opacity: 0;
}

.payment-methods span {
  display: grid;
  min-height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 11px;
}

.payment-methods input:checked + span {
  border-color: var(--neon);
  color: #081000;
  background: var(--neon);
}

#paymentForm,
#cardFields {
  display: grid;
  gap: 12px;
}

#paymentForm label,
#cardFields label {
  display: grid;
  gap: 6px;
}

#paymentForm label span {
  color: var(--muted);
  font-size: 10px;
}

#paymentForm input {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--white);
  background: var(--bg-soft);
  outline: 0;
}

#paymentForm input:focus {
  border-color: var(--neon);
}

.card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

#paymentForm .button {
  width: 100%;
  margin-top: 4px;
}

.payment-status {
  min-height: 18px;
  margin: 0;
  color: var(--neon);
  font-size: 10px;
  line-height: 1.45;
}

.program-section {
  background: #e9eee8;
  color: #0b0d0c;
}

.program-section .kicker {
  color: #4d7704;
}

.program-section .section-heading > p {
  color: #5d675f;
}

.program-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 14px;
  align-items: stretch;
}

.program-builder {
  min-height: 610px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 30px;
  border: 1px solid rgba(11, 13, 12, 0.16);
  border-radius: 6px;
  background: #f7faf5;
}

.program-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.program-progress > div {
  flex: 1;
  height: 5px;
  overflow: hidden;
  background: rgba(11, 13, 12, 0.12);
}

.program-progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: #69a900;
  transition: width 180ms ease;
}

.program-progress strong {
  color: #5d675f;
  font-size: 10px;
}

.program-step {
  animation: program-in 180ms ease both;
}

@keyframes program-in {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}

.step-number {
  display: block;
  margin-bottom: 14px;
  color: #69a900;
  font-size: 13px;
  font-weight: 950;
}

.program-step h3 {
  margin-bottom: 26px;
  font-size: 34px;
  text-transform: uppercase;
}

.goal-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.goal-options button {
  display: grid;
  min-height: 105px;
  align-content: center;
  gap: 7px;
  padding: 16px;
  border: 1px solid rgba(11, 13, 12, 0.16);
  border-radius: 4px;
  color: #0b0d0c;
  background: transparent;
  text-align: left;
  font-size: 17px;
  font-weight: 950;
  text-transform: uppercase;
}

.goal-options small {
  color: #667068;
  font-size: 10px;
  font-weight: 600;
  text-transform: none;
}

.goal-options button:hover,
.goal-options button.is-selected {
  border-color: #69a900;
  color: #0b1400;
  background: var(--neon);
}

.goal-options button.is-selected small {
  color: rgba(8, 16, 0, 0.68);
}

.range-line {
  display: grid;
  gap: 24px;
  color: #0b0d0c;
  font-size: 24px;
  font-weight: 950;
}

.range-line input {
  accent-color: #69a900;
}

.frequency-marks {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: #69716b;
  font-size: 10px;
}

.toggle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.toggle-grid label {
  position: relative;
}

.toggle-grid input {
  position: absolute;
  opacity: 0;
}

.toggle-grid span {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(11, 13, 12, 0.16);
  border-radius: 4px;
  color: #5f6861;
  font-size: 12px;
  font-weight: 850;
}

.toggle-grid input:checked + span {
  border-color: #69a900;
  color: #0b1400;
  background: var(--neon);
}

.program-hint {
  max-width: 560px;
  color: #626a64;
  line-height: 1.6;
}

.program-result {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 30px;
}

.match-ring {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  align-content: center;
  border: 12px solid #69a900;
  border-radius: 50%;
}

.match-ring strong {
  font-size: 40px;
}

.match-ring span,
.program-result > div > span {
  color: #667068;
  font-size: 10px;
  text-transform: uppercase;
}

.program-result h4 {
  margin: 8px 0;
  font-size: 30px;
  text-transform: uppercase;
}

.program-result p {
  color: #626a64;
  line-height: 1.55;
}

.program-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 24px;
}

.program-actions .button-ghost {
  border-color: rgba(11, 13, 12, 0.16);
  color: #0b0d0c;
  background: transparent;
}

.program-actions button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.program-summary {
  display: grid;
  align-content: start;
  padding: 26px;
  border-radius: 6px;
  color: var(--white);
  background: #0b0d0c;
}

.program-summary > span {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.program-summary > strong {
  margin: 20px 0 12px;
  color: var(--neon);
  font-size: 42px;
}

.program-summary > p {
  min-height: 58px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.mini-plan {
  display: grid;
  gap: 6px;
  margin: 24px 0;
}

.mini-plan div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.mini-plan span {
  color: var(--muted);
  font-size: 10px;
}

.mini-plan b {
  color: var(--neon);
  font-size: 11px;
}

.quick-toggles {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 20px;
}

.quick-toggles span {
  min-height: 44px;
  border-color: var(--line);
  color: var(--muted);
}

.program-summary .button {
  width: 100%;
}

.dashboard-section {
  background: var(--bg);
}

.dashboard-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.profile-chip {
  display: flex;
  min-width: 220px;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.profile-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #081000;
  background: var(--neon);
  font-size: 11px;
  font-weight: 950;
}

.profile-chip div {
  display: grid;
  gap: 3px;
}

.profile-chip small {
  color: var(--muted);
  font-size: 9px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr 1fr;
  gap: 10px;
}

.dash-card {
  min-height: 250px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.dash-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.dash-card-head button {
  color: var(--neon);
  background: transparent;
  font-size: 10px;
}

.streak-card > strong,
.balance-card > strong {
  display: block;
  margin: 30px 0 5px;
  color: var(--neon);
  font-size: 46px;
}

.streak-card > p,
.progress-card > p {
  color: var(--muted);
  font-size: 10px;
}

.week-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-top: 26px;
}

.week-row i {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: #081000;
  background: var(--neon);
  font-style: normal;
  font-size: 8px;
  font-weight: 950;
}

.week-row i.pending {
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
}

.upcoming-card {
  grid-row: span 2;
}

#upcomingList {
  display: grid;
  margin-top: 16px;
}

#upcomingList > div {
  display: grid;
  grid-template-columns: 64px 70px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

#upcomingList time {
  color: var(--muted);
  font-size: 9px;
}

#upcomingList time b {
  color: var(--neon);
  font-size: 15px;
}

.class-mini {
  width: 70px;
  aspect-ratio: 1.2;
  border-radius: 4px;
}

#upcomingList p {
  display: grid;
  gap: 4px;
  margin: 0;
}

#upcomingList p strong {
  font-size: 12px;
}

#upcomingList p small {
  color: var(--muted);
  font-size: 9px;
}

#upcomingList > div > button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--muted);
  background: var(--panel-2);
}

.progress-card .dash-card-head b {
  color: var(--neon);
}

.chart {
  display: flex;
  height: 120px;
  align-items: end;
  gap: 7px;
  margin-top: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.chart i {
  flex: 1;
  min-height: 8px;
  background: var(--neon);
  box-shadow: 0 0 16px rgba(167, 255, 20, 0.18);
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: var(--muted);
  font-size: 8px;
}

.balance-card > strong small {
  color: var(--muted);
  font-size: 18px;
}

.balance-line {
  margin: 18px 0;
}

.balance-card button {
  padding: 8px 0;
  color: var(--neon);
  background: transparent;
  font-size: 10px;
  font-weight: 900;
}

#freezeStatus {
  min-height: 16px;
  color: var(--muted);
  font-size: 9px;
}

.promo-card {
  color: #081000;
  background: var(--neon);
}

.promo-card > span {
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}

.promo-card > strong {
  display: block;
  margin: 18px 0 4px;
  font-size: 58px;
  line-height: 1;
}

.promo-card h3 {
  font-size: 24px;
  text-transform: uppercase;
}

.promo-card button {
  margin-top: 18px;
  padding: 10px 0;
  color: #081000;
  background: transparent;
  font-size: 10px;
  font-weight: 950;
}

#friendPromo {
  margin: 8px 0 0;
  font-size: 10px;
  font-weight: 950;
}

.brief-section {
  color: #0b0d0c;
  background: #e9eee8;
}

.brief-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 70px;
}

.brief-copy {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.brief-copy .kicker {
  color: #4d7704;
}

.brief-copy > p:not(.kicker) {
  max-width: 460px;
  color: #5f6861;
  line-height: 1.6;
}

.brief-selection {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.brief-selection span {
  padding: 12px 14px;
  border: 1px solid rgba(11, 13, 12, 0.16);
  border-radius: 4px;
  color: #4d7704;
  background: #f7faf5;
  font-size: 11px;
  font-weight: 850;
}

.brief-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(11, 13, 12, 0.16);
  border-radius: 6px;
  background: #f7faf5;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.brief-form label {
  display: grid;
  gap: 7px;
}

.brief-form label > span,
.schedule-picker legend {
  color: #626a64;
  font-size: 10px;
  font-weight: 800;
}

.brief-form input,
.brief-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid rgba(11, 13, 12, 0.16);
  border-radius: 4px;
  color: #0b0d0c;
  background: #ffffff;
  outline: 0;
}

.brief-form input:focus,
.brief-form textarea:focus {
  border-color: #69a900;
}

.brief-form textarea {
  resize: vertical;
}

.schedule-picker {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.time-slots label {
  position: relative;
}

.time-slots input {
  position: absolute;
  opacity: 0;
}

.time-slots span {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid rgba(11, 13, 12, 0.16);
  border-radius: 4px;
  color: #0b0d0c;
  background: #ffffff;
}

.time-slots input:checked + span {
  border-color: #69a900;
  color: #081000;
  background: var(--neon);
}

.consent {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 9px !important;
}

.consent input {
  width: 18px;
  min-height: 18px;
  accent-color: #69a900;
}

.brief-form .button {
  width: 100%;
}

.form-note {
  min-height: 20px;
  margin: 0;
  color: #4d7704;
  font-size: 11px;
  font-weight: 850;
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr auto;
  align-items: center;
  gap: 26px;
}

.footer-grid > div {
  display: grid;
  gap: 5px;
}

.footer-grid > div span,
.footer-grid > div a {
  color: var(--muted);
  font-size: 10px;
}

.toast {
  position: fixed;
  z-index: 120;
  right: 18px;
  bottom: 18px;
  width: min(390px, calc(100% - 36px));
  padding: 14px 16px;
  border: 1px solid var(--line-neon);
  border-radius: 4px;
  color: var(--white);
  background: rgba(11, 13, 14, 0.96);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 1fr 260px;
  }

  .hero h1 {
    font-size: 76px;
  }

  .class-grid,
  .coach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .coach-card:last-child {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
  }

  .packages-layout,
  .program-layout {
    grid-template-columns: 1fr;
  }

  .checkout-panel {
    position: static;
  }

  .packages-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }

  .upcoming-card {
    grid-row: auto;
  }

  .promo-card {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .topbar nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    background: rgba(5, 6, 6, 0.98);
  }

  .topbar nav.is-open {
    display: grid;
  }

  .topbar nav a {
    min-height: 42px;
    padding: 12px;
    border-bottom: 1px solid var(--line);
  }

  .menu-toggle {
    display: grid;
  }

  .top-cta {
    justify-self: end;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .hero-scrim {
    inset: 0;
    width: 100%;
    background: rgba(5, 6, 6, 0.72);
    box-shadow: none;
  }

  .hero-live {
    width: min(330px, 100%);
    margin: 0;
  }

  .hero-metrics {
    grid-column: auto;
  }

  .section-heading,
  .brief-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading h2,
  .dashboard-header h2,
  .brief-copy h2 {
    font-size: 50px;
  }

  .schedule-legend {
    justify-content: flex-start;
  }

  .schedule-toolbar {
    display: grid;
  }

  .intensity-control {
    min-width: 0;
  }

  .packages-grid {
    grid-template-columns: 1fr;
  }

  .package-card {
    min-height: 0;
  }

  .brief-copy {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 62px;
  }

  .shell,
  .hero-grid {
    width: min(var(--shell), calc(100% - 28px));
  }

  .topbar {
    padding-inline: 14px;
  }

  .brand strong,
  .top-cta {
    display: none;
  }

  .hero,
  .hero-grid {
    min-height: max(740px, calc(100svh - 48px));
  }

  .hero-grid {
    gap: 24px;
    padding-top: 104px;
    padding-bottom: 24px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-copy > p:last-of-type {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .hero-metrics div + div {
    border-left: 0;
  }

  .hero-metrics div:nth-child(even) {
    padding-left: 18px;
    border-left: 1px solid var(--line);
  }

  .section {
    padding: 72px 0;
  }

  .section-heading h2,
  .dashboard-header h2,
  .brief-copy h2 {
    font-size: 40px;
  }

  .day-switcher {
    grid-template-columns: repeat(7, 84px);
  }

  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .tabs button {
    flex: 0 0 auto;
  }

  .class-grid,
  .coach-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .class-card {
    min-height: 0;
    grid-template-rows: 250px auto 1fr;
  }

  .coach-card:last-child {
    grid-column: auto;
    display: block;
  }

  .package-switch {
    justify-content: flex-start;
  }

  .program-builder {
    min-height: 0;
    padding: 22px 16px;
  }

  .goal-options,
  .toggle-grid,
  .program-result {
    grid-template-columns: 1fr;
  }

  .match-ring {
    width: 170px;
  }

  .program-actions {
    display: grid;
  }

  .program-actions .button {
    width: 100%;
  }

  .dashboard-header {
    display: grid;
  }

  .promo-card {
    grid-column: auto;
  }

  #upcomingList > div {
    grid-template-columns: 56px 58px minmax(0, 1fr) 28px;
    gap: 8px;
  }

  .class-mini {
    width: 58px;
  }

  .form-row,
  .time-slots {
    grid-template-columns: 1fr 1fr;
  }

  .brief-form {
    padding: 20px 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
