:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --surface-alt: #f2efe9;
  --ink: #1b1f2a;
  --muted: #565e70;
  --border: #e3dfd6;
  --accent: #2c4b9e;
  --accent-hover: #1f387c;
  --teal: #1d7a6e;
  --teal-hover: #145c53;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(27, 31, 42, 0.07);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
  padding: 8px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #595cac;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.94rem;
}
.nav-links a { color: var(--muted); font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); text-decoration: none; }

/* Hero */
.hero {
  padding: 48px 0 32px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(29, 122, 110, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 680px;
  margin: 0 0 26px;
}

/* Buttons */
.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-teal {
  background: var(--teal);
  color: #fff;
}
.btn-teal:hover { background: var(--teal-hover); }

.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}
.btn-outline:hover { border-color: #c5bfb2; background: var(--surface-alt); }

/* Interactive Trainer Stage */
.trainer-stage {
  margin: 28px 0 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

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

.mode-tab {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}
.mode-tab.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.stage-body {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #141824;
  color: #f4f5f8;
}

.stage-placeholder {
  text-align: center;
  padding: 40px 24px;
  max-width: 480px;
}

.stage-placeholder h2 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  color: #fff;
}

.stage-placeholder p {
  margin: 0 0 22px;
  color: #c4cbdc;
  font-size: 0.98rem;
}

.stage-iframe {
  width: 100%;
  height: 600px;
  border: 0;
  display: block;
  background: #000;
}

.stage-note {
  padding: 10px 16px;
  font-size: 0.86rem;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Sections & Cards */
section.block {
  padding: 28px 0;
}

section.block h2 {
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.card .card-link {
  font-weight: 600;
  font-size: 0.92rem;
}

.steps-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.steps-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.steps-list strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

/* Curriculum table */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.tier.pro {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.tier ul {
  padding-left: 18px;
  color: var(--muted);
  margin: 12px 0 18px;
}
.tier li { margin-bottom: 6px; }

/* FAQ */
details.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
details.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer */
footer.site-footer {
  margin-top: 48px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links a { color: var(--muted); }

@media (max-width: 640px) {
  .hero { padding: 32px 0 20px; }
  .stage-iframe { height: 520px; }
}
