:root {
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --fg: #16181d;
  --fg-muted: #52585f;
  --border: #dfe2e6;
  --accent: #2f5fdb;
  --accent-ink: #ffffff;
  --accent-alt: #d6336c;
  --tag-demonstrated: #2f5fdb;
  --tag-delivered: #1a7f4b;
  --tag-learning: #b8720a;
  --code-bg: #f0f1f4;
  --shadow: 0 1px 2px rgba(16, 20, 30, 0.06), 0 8px 24px rgba(16, 20, 30, 0.05);
  --radius: 10px;
  --max-w: 920px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161b;
    --bg-alt: #1b1e25;
    --fg: #e7e9ee;
    --fg-muted: #a2a8b3;
    --border: #2a2e37;
    --accent: #6a8fef;
    --accent-ink: #0c1220;
    --accent-alt: #ef6a9a;
    --tag-demonstrated: #6a8fef;
    --tag-delivered: #4fd493;
    --tag-learning: #f0b429;
    --code-bg: #1e222b;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
  }
}

:root[data-theme="dark"] {
  --bg: #14161b;
  --bg-alt: #1b1e25;
  --fg: #e7e9ee;
  --fg-muted: #a2a8b3;
  --border: #2a2e37;
  --accent: #6a8fef;
  --accent-ink: #0c1220;
  --accent-alt: #ef6a9a;
  --tag-demonstrated: #6a8fef;
  --tag-delivered: #4fd493;
  --tag-learning: #f0b429;
  --code-bg: #1e222b;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
}

:root[data-theme="light"] {
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --fg: #16181d;
  --fg-muted: #52585f;
  --border: #dfe2e6;
  --accent: #2f5fdb;
  --accent-ink: #ffffff;
  --accent-alt: #d6336c;
  --tag-demonstrated: #2f5fdb;
  --tag-delivered: #1a7f4b;
  --tag-learning: #b8720a;
  --code-bg: #f0f1f4;
  --shadow: 0 1px 2px rgba(16, 20, 30, 0.06), 0 8px 24px rgba(16, 20, 30, 0.05);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

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

header.site {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 16px;
}

.brand {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-decoration: none;
}

.brand span { color: var(--accent); }

nav.site-nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

nav.site-nav a {
  color: var(--fg-muted);
  text-decoration: none;
}

nav.site-nav a:hover { color: var(--fg); }

main { display: block; }

section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type { border-bottom: none; }

section.hero { padding-top: 72px; padding-bottom: 56px; }

h1 {
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

h2 {
  font-size: clamp(22px, 3.4vw, 28px);
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

h3 {
  font-size: 18px;
  margin: 0 0 6px;
}

.section-kicker {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 10px;
}

.lede {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 0 28px;
}

.section-intro {
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 0 32px;
}

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { opacity: 0.92; }

.btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--fg-muted); }

.proof-strip {
  margin-top: 36px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  font-size: 15px;
  max-width: 640px;
}

.proof-strip strong { color: var(--fg); }

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

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

@media (max-width: 760px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  nav.site-nav { display: none; }
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.card .price {
  font-size: 26px;
  font-weight: 700;
  margin: 6px 0 10px;
}

.card .meta {
  color: var(--fg-muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.card p { color: var(--fg-muted); font-size: 14px; margin: 0 0 14px; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  font-weight: 700;
}

.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.table-scroll table { border: none; }
.table-scroll th, .table-scroll td { border-bottom: 1px solid var(--border); }
.table-scroll tr:last-child td { border-bottom: none; }

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid currentColor;
}

.tag-demonstrated { color: var(--tag-demonstrated); }
.tag-delivered { color: var(--tag-delivered); }
.tag-learning { color: var(--tag-learning); }

.practice-card { display: flex; flex-direction: column; gap: 10px; }
.practice-card .tag { align-self: flex-start; }

.sample-card { display: flex; flex-direction: column; gap: 12px; }
.sample-card .btn { align-self: flex-start; }

.notice {
  font-size: 13px;
  color: var(--fg-muted);
  border-left: 3px solid var(--accent-alt);
  padding: 4px 0 4px 14px;
}

.faq-item { margin-bottom: 22px; }
.faq-item h3 { margin-bottom: 6px; }
.faq-item p { color: var(--fg-muted); margin: 0; }

footer.site {
  padding: 40px 0 56px;
  color: var(--fg-muted);
  font-size: 13px;
}

footer.site a { color: var(--fg-muted); }

code {
  background: var(--code-bg);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.92em;
}

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

@media (max-width: 760px) {
  .delivery-model { grid-template-columns: 1fr; }
}

.delivery-step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.delivery-step .step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}
