/* ============================================================
   Dancetu — landing page
   Single stylesheet · vanilla CSS · no build step
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* surface */
  --bg: #FAF8F4;
  --surface: #FFFFFF;
  --surface-soft: #F4F1EA;

  /* ink */
  --ink: #0F172A;
  --ink-muted: #475569;
  --ink-subtle: #64748B;

  /* brand */
  --primary: #3730A3;
  --primary-hover: #312E81;
  --primary-strong: #1E1B4B;
  --primary-soft: #EEF2FF;

  /* accent */
  --accent: #F59E0B;
  --accent-strong: #D97706;
  --accent-soft: #FEF3C7;

  /* state */
  --success: #16A34A;
  --success-soft: #DCFCE7;
  --danger: #DC2626;
  --danger-soft: #FEE2E2;

  /* lines */
  --border: #E5E7EB;
  --border-strong: #D1D5DB;

  /* radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-pill: 999px;

  /* shadow */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 18px 38px rgba(15, 23, 42, 0.10), 0 4px 10px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 30px 60px -10px rgba(30, 27, 75, 0.20), 0 12px 25px -10px rgba(30, 27, 75, 0.12);

  /* layout */
  --container: 1120px;
  --container-narrow: 760px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-pad: clamp(64px, 9vw, 120px);

  /* type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  /* type scale */
  --t-display: clamp(2.5rem, 5.4vw, 4.25rem);
  --t-h2: clamp(1.75rem, 3.2vw, 2.625rem);
  --t-h3: clamp(1.125rem, 1.6vw, 1.375rem);
  --t-lead: clamp(1.0625rem, 1.4vw, 1.25rem);

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 240ms;

  /* promo strip */
  --promo-h: 48px;
}

@supports (font-variation-settings: normal) {
  :root { --font-sans: "Inter var", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; tab-size: 4; scroll-behavior: smooth; scroll-padding-top: calc(var(--promo-h) + 72px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--primary) 55%, transparent);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .5em;
  font-weight: 700;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--primary); color: #fff; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px; top: 0;
  background: var(--primary-strong);
  color: #fff;
  padding: 10px 14px;
  border-radius: 0 0 var(--r-md) 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; color: #fff; }

/* Sticky promo + header as one unit */
.site-top {
  position: sticky;
  top: 0;
  z-index: 60;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

/* ---------- Section ---------- */
.section { padding-block: var(--section-pad); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--alt { background: var(--surface); }

.section__heading { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__heading--center { margin-inline: auto; text-align: center; }
.section__title { font-size: var(--t-h2); margin: 12px 0 16px; }
.section__lead { font-size: var(--t-lead); color: var(--ink-muted); max-width: 60ch; margin: 0; }
.section__heading--center .section__lead { margin-inline: auto; }
.section__eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin: 0 0 24px;
}

/* ---------- Eyebrow chip ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid color-mix(in oklab, var(--primary) 18%, transparent);
  white-space: nowrap;
  max-width: 100%;
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 18%, transparent);
}
.eyebrow--accent {
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-color: color-mix(in oklab, var(--accent) 30%, transparent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn--lg { padding: 15px 22px; font-size: 16px; border-radius: 14px; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px -8px color-mix(in oklab, var(--primary) 70%, transparent), inset 0 -1px 0 rgba(0,0,0,.15);
}
.btn--primary:hover {
  background: var(--primary-hover);
  color: #fff;
  box-shadow: 0 10px 22px -8px color-mix(in oklab, var(--primary) 75%, transparent), inset 0 -1px 0 rgba(0,0,0,.15);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--ink-muted); }

.btn__spinner {
  display: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
}
.btn[aria-busy="true"] .btn__spinner { display: inline-block; }
.btn[aria-busy="true"] .btn__label { opacity: .8; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Promo strip (top of page) ---------- */
.promo-strip {
  position: relative;
  background: linear-gradient(90deg, var(--accent-soft) 0%, color-mix(in oklab, var(--accent-soft) 70%, white) 100%);
  color: var(--accent-strong);
  border-bottom: 1px solid color-mix(in oklab, var(--accent) 25%, transparent);
  overflow: hidden;
  transition: max-height 320ms var(--ease), opacity 240ms var(--ease);
  max-height: 140px;
  opacity: 1;
}
.promo-strip[hidden] { display: none !important; }
.promo-strip.is-dismissed {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}
.promo-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: var(--promo-h);
  padding-block: 10px;
  font-size: clamp(15px, 2.1vw, 17px);
  font-weight: 500;
  flex-wrap: wrap;
}
.promo-strip__icon { font-size: 1.15em; line-height: 1; }
.promo-strip__text { color: var(--accent-strong); }
.promo-strip__text strong { color: var(--ink); font-weight: 700; }
.promo-strip__cta {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: color-mix(in oklab, var(--accent) 50%, transparent);
  text-underline-offset: 3px;
}
.promo-strip__cta:hover {
  color: var(--primary-strong);
  text-decoration-color: var(--primary-strong);
}
.promo-strip__close {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: var(--accent-strong);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur) var(--ease);
}
.promo-strip__close:hover { background: color-mix(in oklab, var(--accent) 20%, transparent); }

/* ---------- Brand / header ---------- */
.site-header {
  position: relative;
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.is-elevated {
  border-bottom-color: var(--border);
  background: color-mix(in oklab, var(--bg) 92%, transparent);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--ink); }
.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--primary-strong);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.brand__name { font-size: 17px; }
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
}
.site-nav a {
  color: var(--ink-muted);
  font-weight: 500;
  font-size: 15px;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.site-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.language-switcher:hover {
  color: var(--ink);
  border-color: var(--primary);
  background: var(--surface);
}
.language-switcher__current { color: var(--primary); }
.language-switcher__link { color: var(--ink-subtle); }
.language-switcher__link:hover { color: var(--primary); }
.language-switcher__other { color: var(--ink-subtle); }

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(56px, 9vw, 120px) clamp(40px, 6vw, 80px);
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 70%;
  background:
    radial-gradient(60% 60% at 80% 10%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 60%),
    radial-gradient(55% 55% at 10% 0%, color-mix(in oklab, var(--primary) 20%, transparent), transparent 60%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero__title {
  font-size: var(--t-display);
  margin: 18px 0 18px;
  letter-spacing: -0.035em;
  font-weight: 800;
  overflow-wrap: break-word;
}
.hero__title-accent {
  display: inline-block;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-strong) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.hero__title-accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px; height: 10px;
  background: var(--accent);
  opacity: .35;
  border-radius: 8px;
  z-index: -1;
}
.hero__sub {
  font-size: var(--t-lead);
  color: var(--ink-muted);
  margin: 0 0 32px;
  max-width: 56ch;
  overflow-wrap: break-word;
}
.hero__sub strong { color: var(--ink); font-weight: 700; }
.hero__ctas {
  display: flex; flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.trust-row {
  display: flex; flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
  color: var(--ink-muted);
}
.trust-row li { display: inline-flex; align-items: center; gap: 6px; }
.trust-row li span { color: var(--success); font-weight: 700; }

/* ---------- Image placeholders / mock window shell ---------- */
.hero__visual { position: relative; }
.hero__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-xl);
}
.image-placeholder {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  isolation: isolate;
}
.image-placeholder__label {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.image-placeholder--hero { aspect-ratio: 5 / 4; }
.image-placeholder--step { aspect-ratio: 4 / 3; margin-top: 18px; }

.mock-window {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #ffffff, #fbfbfd);
}
.mock-window__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
}
.mock-window__bar > span:not(.mock-window__url) {
  width: 11px; height: 11px; border-radius: 50%;
  background: #E5E7EB;
}
.mock-window__bar > span:nth-child(1) { background: #FCA5A5; }
.mock-window__bar > span:nth-child(2) { background: #FCD34D; }
.mock-window__bar > span:nth-child(3) { background: #86EFAC; }
.mock-window__url {
  margin-left: 10px;
  font-size: 12px;
  color: var(--ink-subtle);
  background: #fff;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  flex: 1;
  text-align: center;
  max-width: 280px;
}
.mock-window__body {
  flex: 1;
  padding: 18px;
}

/* ---------- Mock weekly schedule (hero) ---------- */
.mock-window__body--schedule {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 14px 14px;
}
.mock-schedule {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  flex: 1;
  min-height: 0;
}
.mock-schedule__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.mock-schedule__day {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  text-align: center;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.mock-schedule__class {
  background: var(--primary-soft);
  border: 1px solid color-mix(in oklab, var(--primary) 20%, transparent);
  border-left: 3px solid var(--primary);
  border-radius: var(--r-sm);
  padding: 8px 8px 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
  line-height: 1.3;
  min-width: 0;
}
.mock-schedule__class--partner {
  background: color-mix(in oklab, var(--accent-soft) 70%, white);
  border-color: color-mix(in oklab, var(--accent) 30%, transparent);
  border-left-color: var(--accent);
}
.mock-schedule__class--full {
  background: color-mix(in oklab, var(--danger-soft) 80%, white);
  border-color: color-mix(in oklab, var(--danger) 20%, transparent);
  border-left-color: var(--danger);
}
.mock-schedule__time {
  font-weight: 700;
  font-size: 11px;
  color: var(--ink);
}
.mock-schedule__name {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-schedule__room {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  align-self: flex-start;
  padding: 1px 6px;
  border-radius: var(--r-pill);
}
.mock-schedule__room--a { background: color-mix(in oklab, var(--primary) 12%, transparent); color: var(--primary-strong); }
.mock-schedule__room--b { background: color-mix(in oklab, var(--accent) 18%, transparent); color: var(--accent-strong); }
.mock-schedule__balance,
.mock-schedule__cap {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-top: 2px;
}
.mock-schedule__balance b { color: var(--primary-strong); font-weight: 800; }
.mock-schedule__class--full .mock-schedule__balance b { color: var(--danger); }
.mock-schedule__legend {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--ink-subtle);
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.legend-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.legend-dot--a { background: var(--primary); }
.legend-dot--b { background: var(--accent); }
.legend-spacer { flex: 1; }
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
}
.badge--ok { background: var(--success-soft); color: var(--success); }

/* ---------- Problem strip ---------- */
.problem-strip { padding-top: clamp(16px, 4vw, 32px); }
.grid { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.grid--1 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.problem-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.problem-card h3 { font-size: 1.15rem; margin: 12px 0 8px; }
.problem-card p { color: var(--ink-muted); margin: 0; }
.problem-card__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
}

/* ---------- Funkcie buckets ---------- */
.bucket { margin-top: clamp(28px, 3vw, 40px); }
.bucket:first-of-type { margin-top: 0; }
.bucket__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin: 0 0 16px;
}
.bucket--accent .bucket__title { color: var(--accent-strong); }

.feature {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.feature h4 {
  font-size: 1.0625rem;
  margin: 14px 0 6px;
  letter-spacing: -0.01em;
}
.feature p { color: var(--ink-muted); margin: 0; font-size: 14.5px; }
.feature__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 10px;
}
.feature__icon--accent { background: var(--accent-soft); color: var(--accent-strong); }

.feature--accent {
  background: linear-gradient(180deg, var(--surface) 0%, color-mix(in oklab, var(--accent-soft) 70%, white) 130%);
  border-color: color-mix(in oklab, var(--accent) 28%, transparent);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: clamp(24px, 3vw, 36px);
}
.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: clamp(22px, 3vw, 36px);
  box-shadow: var(--shadow-sm);
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: var(--primary-strong);
  color: var(--accent);
  border-radius: 18px;
  font-weight: 800;
  font-size: 22px;
  box-shadow: var(--shadow-md);
}
.step__body h3 { font-size: 1.5rem; margin: 0 0 6px; }
.step__body p { color: var(--ink-muted); margin: 0; }
.step__visual { margin-top: 0; }

/* mock step visuals */
.mock-step {
  position: absolute; inset: 0;
  padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(180deg, #ffffff, #fafafa);
}
.mock-step__field {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 12px;
  font-size: 13px;
  color: var(--ink-muted);
}
.mock-step__field strong { color: var(--ink); font-weight: 700; }
.mock-step__field--text { color: var(--ink); font-weight: 500; }
.mock-step__btn {
  margin-top: auto;
  background: var(--primary);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

/* mock-step--booking (Step 2) */
.mock-step--booking {
  gap: 14px;
}
.mock-step__row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--ink);
}
.mock-step__row--head { font-weight: 600; }
.mock-step__row .check {
  background: color-mix(in oklab, var(--primary) 14%, transparent);
  color: var(--primary-strong);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  font-size: 11px;
}
.mock-step__roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mock-step__role {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px;
  text-align: center;
}
.mock-step__role--active {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 15%, transparent);
}
.mock-step__role-name { font-weight: 700; font-size: 13px; color: var(--ink); }
.mock-step__role-count { font-size: 11px; color: var(--ink-subtle); font-weight: 600; }

/* mock-step--dashboard (Step 3) */
.mock-step--dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 10px;
  padding: 16px;
}
.mock-stat {
  display: flex; flex-direction: column;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 12px;
  min-width: 0;
}
.mock-stat__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-subtle);
  font-weight: 700;
  margin-bottom: 4px;
}
.mock-stat__value {
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.mock-stat__sub {
  font-size: 10.5px;
  color: var(--ink-muted);
  font-weight: 600;
  margin-top: 2px;
}
.mock-stat__sub--up { color: var(--success); }
.mock-bars {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px;
  min-height: 70px;
}
.mock-bars span {
  flex: 1;
  height: var(--h, 50%);
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  border-radius: 4px 4px 2px 2px;
}
.mock-bars span:nth-child(6) {
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
}

/* ---------- Pillars ---------- */
.pillar {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pillar:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pillar h3 { font-size: 1.0625rem; margin: 14px 0 6px; }
.pillar p { color: var(--ink-muted); margin: 0; font-size: 14.5px; }
.pillar__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: var(--primary-strong);
  color: var(--accent);
  border-radius: 12px;
}

/* ---------- Pricing (Cenník) ---------- */
.pricing { padding-block: var(--section-pad); }

.pricing__promo {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(90deg, var(--accent-soft) 0%, color-mix(in oklab, var(--accent-soft) 60%, white) 100%);
  border: 1px solid color-mix(in oklab, var(--accent) 28%, transparent);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  margin-bottom: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.pricing__promo-icon { font-size: 22px; line-height: 1.2; }
.pricing__promo p {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
}
.pricing__promo strong { color: var(--accent-strong); font-weight: 700; }
.pricing__promo-link {
  font-weight: 700;
  margin-left: 6px;
  white-space: nowrap;
}

.pricing__grid {
  align-items: stretch;
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 28px 26px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tier:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.tier--recommended {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface) 70%, var(--primary-soft) 100%);
  border-color: color-mix(in oklab, var(--primary) 35%, transparent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.tier--recommended:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); }
.tier__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--primary-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.tier__header {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}
.tier__name {
  font-size: 1.25rem;
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.tier__audience {
  color: var(--ink-muted);
  font-size: 14px;
  margin: 0 0 18px;
  min-height: 2.4em;
}
.tier__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  margin-bottom: 6px;
}
.tier__amount {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}
.tier__amount-strike {
  font-size: 1.125rem;
  color: var(--ink-subtle);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  font-weight: 600;
}
.tier__amount--discount { color: var(--success); }
.tier--recommended .tier__amount--discount { color: var(--primary); }
.tier__period {
  flex-basis: 100%;
  font-size: 12.5px;
  color: var(--ink-subtle);
  font-weight: 500;
  letter-spacing: 0.005em;
  margin-top: 2px;
}
.tier__price-note {
  font-size: 12px;
  color: var(--ink-subtle);
  margin: 8px 0 0;
  font-style: italic;
}

.tier__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
}
.tier__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.45;
}
.tier__features-head {
  font-weight: 700;
  color: var(--ink-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
  padding-top: 4px;
}
.tier__check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  font-weight: 800;
  font-size: 12px;
  margin-top: 1px;
}
.tier--recommended .tier__check {
  background: color-mix(in oklab, var(--primary) 12%, transparent);
  color: var(--primary);
}

.pricing__footer-note {
  text-align: center;
  margin: clamp(28px, 4vw, 40px) auto 0;
  max-width: 620px;
  font-size: 13.5px;
  color: var(--ink-subtle);
  line-height: 1.55;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 0; }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background var(--dur) var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  width: 12px; height: 12px;
  border-right: 2px solid var(--ink-muted);
  border-bottom: 2px solid var(--ink-muted);
  transform: rotate(45deg);
  transition: transform var(--dur) var(--ease);
  flex-shrink: 0;
}
.faq__item[open] summary { background: var(--surface); }
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__body { padding: 0 22px 20px; color: var(--ink-muted); }
.faq__body p { margin: 0; }
.faq__body strong { color: var(--ink); }
.faq__body em { color: var(--ink); font-style: italic; }
.faq__body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Waitlist ---------- */
.waitlist { padding-top: clamp(56px, 8vw, 96px); }
.waitlist__card {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface) 60%, var(--primary-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.waitlist__card::before {
  content: "";
  position: absolute;
  inset: -50% -50% 30% auto;
  width: 60%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 25%, transparent), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.waitlist__card .section__title { margin-top: 12px; }
.waitlist__card .section__lead { margin-bottom: 28px; }

.waitlist-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  position: relative;
  z-index: 1;
}
[hidden] { display: none !important; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.field .req { color: var(--accent-strong); }
.field input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:hover { border-color: var(--ink-muted); }
.field input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 18%, transparent);
}
.field--has-error input {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--danger) 14%, transparent);
}
.field__error {
  margin: 0;
  font-size: 13px;
  color: var(--danger);
  min-height: 0;
}
.field--has-error .field__error { min-height: 18px; }

.waitlist-form__submit { margin-top: 4px; }
.privacy {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ink-subtle);
}

/* Success state */
.waitlist-success {
  text-align: center;
  padding: 16px 0 4px;
}
.waitlist-success__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  background: var(--success-soft);
  color: var(--success);
  border-radius: 50%;
  margin: 0 auto 18px;
  animation: pop .45s var(--ease);
}
@keyframes pop {
  0% { transform: scale(.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.waitlist-success h3 { font-size: 1.5rem; margin: 0 0 8px; }
.waitlist-success p { color: var(--ink-muted); margin: 0 0 18px; }
.waitlist-success p strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary-strong);
  color: rgba(255,255,255,.78);
  padding-block: 56px 40px;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px 40px;
  align-items: start;
}
.site-footer__brand { max-width: 460px; }
.site-footer__brand p { color: rgba(255,255,255,.7); font-size: 14px; margin: 12px 0 0; }
.brand--footer { color: #fff; }
.brand--footer:hover { color: #fff; }
.brand--footer .brand__mark { background: rgba(255,255,255,.1); }
.site-footer__nav {
  display: flex; flex-wrap: wrap;
  gap: 14px 22px;
  justify-self: end;
  align-self: center;
}
.site-footer__nav a {
  color: rgba(255,255,255,.78);
  font-size: 14.5px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.site-footer__nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.site-footer__nav a[aria-disabled="true"] { color: rgba(255,255,255,.45); pointer-events: none; }
.site-footer__legal {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================ */
/* Responsive                                                    */
/* ============================================================ */

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: 2; }
  .hero__copy { max-width: none; }

  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .step { grid-template-columns: 56px minmax(0, 1fr); }
  .step__visual { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

  .pricing__grid.grid--3 { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; gap: 20px; }
  .tier--recommended { transform: none; }
  .tier--recommended:hover { transform: translateY(-2px); }
  .tier__audience { min-height: 0; }

  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__nav { justify-self: start; }
}

@media (max-width: 720px) {
  .hero::before {
    inset: -8% 0 auto 0;
  }

  .hero .eyebrow {
    white-space: normal;
    flex-wrap: wrap;
    align-items: flex-start;
    max-width: 100%;
    text-wrap: balance;
  }

  .hero .eyebrow__dot {
    display: none;
  }

  .site-nav { display: none; }
  .site-header__inner { padding-block: 12px; }
  .site-header__actions { gap: 8px; }

  .promo-strip { max-height: 200px; }
  .promo-strip__icon { display: none; }
  .promo-strip__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-right: 36px;
    padding-inline: 12px;
    gap: 10px;
    font-size: clamp(16px, 4.5vw, 18px);
  }
  .promo-strip__text {
    text-align: center;
    text-wrap: balance;
    width: 100%;
    max-width: 28rem;
  }
  .promo-strip__cta { flex-basis: auto; width: 100%; text-align: center; }

  .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }

  .mock-window__url { max-width: none; }
  .mock-schedule { gap: 6px; }
  .mock-schedule__class { padding: 6px 6px 6px 8px; font-size: 10px; }
  .mock-schedule__time, .mock-schedule__balance, .mock-schedule__cap { font-size: 10px; }

  .step { padding: 22px 18px; }
  .step__num { width: 48px; height: 48px; font-size: 18px; border-radius: 14px; }

  .pricing__promo { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 18px; }

  .waitlist__card { padding: 28px 22px; }

  .waitlist-form { grid-template-columns: 1fr; max-width: none; }

  .site-footer__brand { max-width: none; }
}

@media (max-width: 640px) {
  .mock-window__body--schedule {
    min-height: 0;
    gap: 12px;
  }

  .mock-schedule {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    gap: 8px;
    padding-bottom: 8px;
    scrollbar-gutter: stable;
  }

  .mock-schedule__col {
    flex: 0 0 auto;
    min-width: 118px;
    width: min(126px, 32vw);
    scroll-snap-align: start;
  }

  .mock-schedule__class {
    font-size: 11px;
  }

  .mock-schedule__time,
  .mock-schedule__balance,
  .mock-schedule__cap {
    font-size: 10.5px;
  }

  .mock-schedule__name {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.3;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  .mock-schedule__legend {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 8px;
    column-gap: 12px;
  }

  .mock-schedule__legend .legend-spacer {
    flex: 0;
    flex-basis: 100%;
    width: 0;
    height: 0;
    display: none;
  }
}

@media (max-width: 640px) and (pointer: coarse) {
  .mock-schedule__class {
    padding: 10px 10px 10px 12px;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero__title { letter-spacing: -0.025em; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .site-header__actions .btn { display: none; }

  .promo-strip__inner {
    font-size: clamp(17px, 5.2vw, 20px);
    gap: 12px;
    padding-inline: 10px;
  }

  .tier { padding: 24px 22px 22px; }
  .tier__name { font-size: 1.125rem; }
  .tier__amount { font-size: 2rem; }

  .mock-step--dashboard { grid-template-columns: 1fr 1fr; }
  .mock-bars { min-height: 60px; }
}
