/* =========================================================
   ElasticShelf — static marketing site
   Light surface, #6828be primary, compact UI motif
   ========================================================= */

:root {
  --primary: #6828be;
  --primary-600: #5a20a8;
  --primary-700: #4a1a8c;
  --primary-050: #f7f2fe;
  --primary-100: #f1e9fd;
  --primary-200: #e3d4f9;

  --ink: #16121f;
  --ink-soft: #38323f;
  --muted: #5b5568;
  --muted-2: #5f586c;

  --bg: #fbfafc;
  --surface: #ffffff;
  --surface-2: #f7f5fb;
  --line: #e7e2f0;
  --line-soft: #efeaf7;

  --green-bg: #e7f6ee;
  --green-fg: #0b6b45;
  --green-line: #c9ebd8;
  --amber-bg: #fdf3dc;
  --amber-fg: #7a4a00;
  --amber-line: #f0dcb2;
  --red-bg: #fdeceb;
  --red-fg: #a32118;
  --red-line: #f5d2cf;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-xs: 0 1px 2px rgba(22, 18, 31, 0.05);
  --shadow-sm: 0 1px 2px rgba(22, 18, 31, 0.05), 0 6px 16px -12px rgba(22, 18, 31, 0.18);
  --shadow-md: 0 2px 4px rgba(22, 18, 31, 0.04), 0 18px 36px -24px rgba(46, 24, 80, 0.28);
  --shadow-lg: 0 2px 6px rgba(22, 18, 31, 0.05), 0 40px 70px -38px rgba(74, 26, 140, 0.38);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(60px, 7.5vw, 108px);
  --header-h: 68px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--primary-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--primary); }
button { font: inherit; color: inherit; }
:where(h1, h2, h3) { text-wrap: balance; }
:where(p) { text-wrap: pretty; }

/* ---------- accessibility helpers ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 10px;
  font-weight: 600; text-decoration: none; transition: top 0.16s ease;
}
.skip-link:focus { top: 0; color: #fff; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}
.cta-panel :focus-visible,
.site-footer :focus-visible { outline-color: #ffffff; }

.anchor-target { display: block; height: 0; scroll-margin-top: calc(var(--header-h) + 12px); }
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section + .section { border-top: 1px solid var(--line-soft); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 650; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--primary-700); margin-bottom: 16px;
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-100);
}
.eyebrow-light { color: #e7d8fb; }

h1 {
  font-size: clamp(2.05rem, 4.1vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
  font-weight: 700;
  margin-bottom: 20px;
}
.h1-accent { color: var(--primary); }
h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  line-height: 1.14;
  letter-spacing: -0.026em;
  font-weight: 700;
}
h3 {
  font-size: 1.06rem;
  line-height: 1.35;
  letter-spacing: -0.012em;
  font-weight: 660;
}
.section-lede {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.6;
  max-width: 62ch;
}
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 13px 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 1rem; font-weight: 620; letter-spacing: -0.006em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 1px 2px rgba(74, 26, 140, 0.28), 0 10px 22px -14px rgba(74, 26, 140, 0.75);
}
.btn-primary:hover { background: var(--primary-600); color: #fff; }
.btn-primary:active { background: var(--primary-700); transform: translateY(1px); }
.btn-ghost {
  background: var(--surface); color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover { border-color: var(--primary-200); color: var(--primary-700); background: var(--primary-050); }
.btn-light { background: #fff; color: var(--primary-700); }
.btn-light:hover { background: var(--primary-050); color: var(--primary-700); }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: 0.925rem; }
.btn-arrow { font-size: 0.9em; opacity: 0.7; transition: transform 0.16s ease; }
.btn-ghost:hover .btn-arrow { transform: translateY(2px); }

#walkthrough-dialog {
  width: min(42rem, calc(100% - 1.5rem)); max-height: 92vh; max-height: 92dvh;
  padding: clamp(1rem, 3vw, 1.75rem); border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--surface); color: var(--ink);
}
#walkthrough-dialog:not([open]) { display: none; }
#walkthrough-dialog[open] { display: flex; flex-direction: column; gap: 0.75rem; }
#walkthrough-dialog::backdrop { background: rgb(22 18 31 / 65%); }
html:has(#walkthrough-dialog[open]) { overflow: hidden; }
.walkthrough-header { display: flex; justify-content: space-between; align-items: start; gap: 0.75rem; }
.walkthrough-header h2 { margin: 0; font-size: clamp(1.125rem, 3vw, 1.5rem); }
#walkthrough-description { margin: 0; color: var(--ink-soft); }
.walkthrough-frame { height: 60vh; min-height: 8rem; }
.walkthrough-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.walkthrough-fallback { align-self: start; text-decoration: underline; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 252, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--header-h);
  flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--ink);
  padding-block: 10px;
}
.brand:hover { color: var(--ink); }
.brand-mark { flex: none; display: block; border-radius: 9px; box-shadow: 0 2px 6px rgba(74, 26, 140, 0.22); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-size: 1.11rem; font-weight: 720; letter-spacing: -0.028em;
}
.brand-name-accent { color: var(--primary); }
.brand-tag {
  font-size: 0.7rem; letter-spacing: 0.035em; text-transform: uppercase;
  color: var(--muted-2); margin-top: 3px; font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 1199px) { .brand-tag { display: none; } }
.brand-footer .brand-name { font-size: 1.02rem; }

.nav-toggle {
  display: none;
  align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 15px 9px 13px; min-height: 42px;
  font-size: 0.9rem; font-weight: 600; color: var(--ink-soft);
  cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 4px; width: 16px; }
.nav-toggle-bars span { display: block; height: 2px; background: currentColor; border-radius: 2px; }
.js .nav-toggle { display: inline-flex; }
@media (min-width: 960px) { .nav-toggle { display: none !important; } }

.site-nav { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: flex-end; }
.nav-list { display: flex; align-items: center; gap: 2px; margin: 0; flex: none; }
.nav-list a {
  display: inline-block; padding: 9px 11px; border-radius: 8px; white-space: nowrap;
  font-size: 0.935rem; font-weight: 550; color: var(--ink-soft); text-decoration: none;
  transition: background-color 0.14s ease, color 0.14s ease;
}
.nav-list a:hover { background: var(--primary-050); color: var(--primary-700); }
.nav-cta { margin-left: 8px; flex: none; white-space: nowrap; }

@media (max-width: 959px) {
  .site-nav {
    display: flex; flex-basis: 100%; flex-direction: column; align-items: stretch;
    gap: 4px; padding: 10px 0 18px; border-top: 1px solid var(--line-soft); margin-top: 2px;
    justify-content: flex-start;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: 13px 12px; font-size: 1rem; border-radius: 10px; }
  .nav-cta { margin: 10px 0 0; width: 100%; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
}
@media (min-width: 960px) and (max-width: 1099px) {
  .header-inner { gap: 8px; }
  .nav-list a { padding: 9px 8px; font-size: 0.9rem; }
  .nav-cta { padding-inline: 14px; font-size: 0.88rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 84px) clamp(52px, 7vw, 96px);
  background:
    radial-gradient(900px 520px at 78% -12%, #efe4fd 0%, rgba(239, 228, 253, 0) 68%),
    radial-gradient(620px 420px at 6% 8%, #f6f1fd 0%, rgba(246, 241, 253, 0) 70%),
    var(--bg);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 56px);
  align-items: center;
}
.hero-lede {
  font-size: clamp(1.03rem, 1.7vw, 1.2rem);
  line-height: 1.58; color: var(--ink-soft);
  max-width: 44ch;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 28px;
}
.hero-actions .btn { flex: 1 1 auto; }
@media (min-width: 520px) { .hero-actions .btn { flex: 0 0 auto; } }
.hero-note {
  margin-top: 18px; font-size: 0.85rem; color: var(--muted-2);
  display: flex; align-items: center; gap: 8px;
}
.hero-note::before {
  content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%;
  background: var(--green-bg); border: 1px solid var(--green-line);
  box-shadow: inset 0 0 0 3px #fff;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; }
  .hero { padding-block: clamp(56px, 5vw, 92px) clamp(64px, 6vw, 104px); }
}

.hero-figure { margin: 0; min-width: 0; }
.figure-caption {
  margin-top: 12px; font-size: 0.79rem; color: var(--muted-2); line-height: 1.45;
}

/* ---------- app window (hero illustration) ---------- */
.app-window {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.app-chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line-soft);
  flex-wrap: wrap;
}
.app-dots { display: inline-flex; gap: 5px; flex: none; }
.app-dots i { width: 8px; height: 8px; border-radius: 50%; background: #d9d2e6; display: block; }
.app-url {
  font-family: var(--mono); font-size: 10.5px; color: var(--muted-2);
  background: var(--surface); border: 1px solid var(--line-soft);
  padding: 3px 9px; border-radius: 999px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.badge-illustrative {
  margin-left: auto;
  font-size: 10px; font-weight: 700; letter-spacing: 0.055em; text-transform: uppercase;
  color: var(--primary-700); background: var(--primary-100);
  border: 1px solid var(--primary-200); border-radius: 999px;
  padding: 3px 9px; white-space: nowrap;
}
.app-body { padding: 16px; display: grid; gap: 14px; }
.app-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.app-kicker {
  font-size: 11px; font-weight: 700; letter-spacing: 0.075em; text-transform: uppercase;
  color: var(--muted);
}
.app-kicker-muted { color: var(--muted-2); font-weight: 600; letter-spacing: 0.05em; }
.app-sub { font-size: 11.5px; color: var(--muted-2); margin-top: 3px; }

.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 9px; }
.stat {
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 10px 11px 11px;
}
.stat-label {
  font-size: 11px; line-height: 1.3; font-weight: 620; letter-spacing: 0.005em;
  color: var(--muted); min-height: 2.6em;
}
.stat-value {
  font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.1; margin: 4px 0 6px;
  font-variant-numeric: tabular-nums;
}
.stat-meta {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 10.5px; color: var(--muted-2);
}

.app-list { border-top: 1px solid var(--line-soft); padding-top: 12px; }
.app-list-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.visit-rows { display: grid; gap: 2px; }
.visit-row {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 8px; border-radius: 9px;
  font-size: 11.5px;
}
.visit-row:nth-child(odd) { background: var(--surface-2); }
.visit-time {
  font-family: var(--mono); font-size: 10.5px; color: var(--muted);
  flex: none; width: 38px; font-variant-numeric: tabular-nums;
}
.visit-main { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.visit-name { font-weight: 620; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.visit-prog { font-size: 10px; color: var(--muted-2); }
.visit-row .pill { flex: none; }

.app-attention {
  border-top: 1px solid var(--line-soft); padding-top: 11px;
}
.attention-rows { display: grid; gap: 7px; margin-top: 8px; }
.attention-rows li {
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; line-height: 1.3;
}
.attention-text { color: var(--ink-soft); flex: 1; min-width: 0; }
.attention-meta { color: var(--muted-2); font-size: 10.5px; flex: none; }

.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.dot-green { background: #12895a; }
.dot-amber { background: #b3760a; }
.dot-red { background: #c0392b; }

/* pills & chips (shared UI motif) */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 650; letter-spacing: 0.015em;
  padding: 2.5px 8px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-soft); white-space: nowrap;
}
.pill-green { background: var(--green-bg); color: var(--green-fg); border-color: var(--green-line); }
.pill-amber { background: var(--amber-bg); color: var(--amber-fg); border-color: var(--amber-line); }
.pill-red { background: var(--red-bg); color: var(--red-fg); border-color: var(--red-line); }
.pill-purple { background: var(--primary-100); color: var(--primary-700); border-color: var(--primary-200); }
.pill-live { background: var(--surface); color: var(--muted); }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 620; letter-spacing: 0.01em;
  padding: 3px 8px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-soft);
  white-space: nowrap;
}
.chip-green { background: var(--green-bg); color: var(--green-fg); border-color: var(--green-line); }
.chip-amber { background: var(--amber-bg); color: var(--amber-fg); border-color: var(--amber-line); }
.chip-red { background: var(--red-bg); color: var(--red-fg); border-color: var(--red-line); }
.chip-purple { background: var(--primary-100); color: var(--primary-700); border-color: var(--primary-200); }
.chip-plain { background: var(--surface-2); color: var(--ink-soft); }

/* ---------- problem ---------- */
.question-grid {
  display: grid; gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}
.question-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px 24px 22px;
  box-shadow: var(--shadow-xs);
}
.question-card p {
  font-size: 1.03rem; line-height: 1.5; color: var(--ink);
  font-weight: 500; letter-spacing: -0.008em;
}
.q-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 7px;
  background: var(--primary-050); border: 1px solid var(--primary-200);
  color: var(--primary); font-weight: 700; font-size: 12px;
  margin-bottom: 14px;
}
@media (min-width: 720px) {
  .question-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .question-card { padding: 28px 26px; }
  .question-card p { font-size: 1.06rem; }
}

/* ---------- cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

/* ---------- features ---------- */
.feature-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.feature-card {
  display: flex; flex-direction: column;
  padding: 18px 18px 24px;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.feature-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-200); }
.feature-card h3 { margin-bottom: 9px; }
.feature-card > p { color: var(--muted); font-size: 0.955rem; line-height: 1.58; }
.feature-preview {
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 18px;
}
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .feature-card { padding: 20px 20px 26px; }
}

/* mini UI preview */
.mini {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px 12px;
  box-shadow: 0 1px 1px rgba(22, 18, 31, 0.03);
  font-size: 11.5px;
}
.mini-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; flex-wrap: wrap; }
.mini-title { font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.mini-badge {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted-2); background: var(--surface-2); border: 1px solid var(--line);
  padding: 2px 6px; border-radius: 4px; white-space: nowrap;
}
.mini-line { font-size: 12px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.mini-foot { margin-top: 9px; font-size: 10px; color: var(--muted-2); }
.mini-rows { display: grid; gap: 7px; }
.mini-rows li {
  display: flex; align-items: center; justify-content: space-between; gap: 6px 8px;
  font-size: 11px; color: var(--ink-soft); line-height: 1.3; flex-wrap: wrap;
}
.mini-count {
  font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--primary-700);
  background: var(--primary-050); border: 1px solid var(--primary-200);
  border-radius: 5px; padding: 1px 7px;
}
.mini-move {
  display: flex; align-items: center; gap: 10px; margin: 2px 0 9px;
}
.mini-date {
  font-family: var(--mono); font-size: 11.5px; font-weight: 600; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 6px; padding: 4px 8px;
}
.mini-arrow { color: var(--primary); font-size: 12px; }
.mini-lg { font-size: 12px; padding: 14px 15px 16px; }
.mini-lg .mini-rows li { font-size: 12px; padding-block: 2px; }

.grid-note {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--muted-2);
}

/* ---------- programs ---------- */
.program-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.program-card {
  padding: 24px 22px 26px;
  border-top: 3px solid var(--primary);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.program-card:hover { box-shadow: var(--shadow-md); }
.program-link { display: inline-block; margin-top: 14px; font-weight: 650; }

.guide-header { border-bottom: 1px solid var(--primary-200); }
.guide-header .container { display: flex; align-items: center; min-height: var(--header-h); }
.guide-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.3rem; font-weight: 750; text-decoration: none; }
.program-guide { max-width: 52rem; margin-inline: auto; padding: 2rem var(--gutter) 4rem; }
.guide-breadcrumb ol { display: flex; flex-wrap: wrap; gap: .65rem; color: var(--muted); font-size: .9rem; }
.guide-breadcrumb li + li::before { content: "/"; margin-right: .65rem; color: var(--muted); }
.program-guide h1 { margin-block: 2rem 1rem; font-size: clamp(2.25rem, 5vw, 3.6rem); line-height: 1.08; }
.program-guide h2 { margin-bottom: .65rem; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; }
.program-guide p { max-width: 66ch; }
.program-guide p + p { margin-top: .75rem; }
.program-guide section { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--primary-200); }
.guide-byline { color: var(--muted); font-size: .9rem; }
.program-top { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.program-top h3 { font-size: 1.16rem; letter-spacing: -0.02em; }
.program-card > p { color: var(--muted); font-size: 0.955rem; line-height: 1.5; max-width: 34ch; }
@media (min-width: 800px) {
  .program-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .program-card { padding: 26px 24px 28px; }
}

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.step {
  position: relative;
  padding: 0 0 30px 0;
  display: grid; gap: 6px;
}
.step:last-child { padding-bottom: 0; }
.step-num {
  font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--primary-700);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 24px; border-radius: 6px;
  background: var(--primary-050); border: 1px solid var(--primary-200);
  margin-bottom: 8px;
}
.step h3 { font-size: 1.03rem; }
.step p { color: var(--muted); font-size: 0.945rem; line-height: 1.55; max-width: 42ch; }
.step::before {
  content: ""; position: absolute; left: 16px; top: 38px; bottom: 10px; width: 1px;
  background: linear-gradient(180deg, var(--primary-200), var(--line-soft));
}
.step:last-child::before { display: none; }
@media (min-width: 880px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
  .step {
    padding: 30px 0 0;
    border-top: 1px solid var(--line);
  }
  .step::before { display: none; }
  .step-num {
    position: absolute; top: 0; left: 0; transform: translateY(-50%);
    background: var(--bg); margin: 0; z-index: 1;
  }
  .step h3 { margin-top: 0; }
}

/* ---------- proof ---------- */
.proof-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.proof-card { padding: 26px 24px; display: flex; flex-direction: column; }
.proof-founder {
  background: linear-gradient(160deg, #ffffff 0%, var(--primary-050) 100%);
  border-color: var(--primary-200);
  justify-content: space-between;
  gap: 20px;
}
.proof-founder blockquote { margin: 0; }
.proof-founder blockquote p {
  font-size: clamp(1.12rem, 2.1vw, 1.38rem);
  line-height: 1.44; letter-spacing: -0.018em; font-weight: 550; color: var(--ink);
}
.proof-founder figcaption { display: flex; flex-direction: column; gap: 1px; padding-top: 16px; border-top: 1px solid var(--primary-200); }
.proof-name { font-weight: 650; font-size: 0.94rem; }
.proof-role { font-size: 0.85rem; color: var(--muted); }
.proof-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.proof-external .proof-quote {
  font-size: 1.02rem; line-height: 1.55; color: var(--ink);
  padding-left: 14px; border-left: 3px solid var(--primary-200);
}
.proof-note { margin-top: 14px; font-size: 0.86rem; line-height: 1.5; color: var(--muted); }
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 0.9rem; font-weight: 620;
}
.link-arrow { font-size: 0.95em; }
@media (min-width: 880px) {
  .proof-grid { grid-template-columns: 1.05fr 1fr; gap: 20px; align-items: stretch; }
  .proof-card { padding: 32px 30px; }
}

/* ---------- start small ---------- */
.start-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.start-aside {
  margin-top: 22px; padding-left: 16px;
  border-left: 3px solid var(--primary-200);
  font-size: 1rem; line-height: 1.5; color: var(--ink-soft); font-weight: 500;
  max-width: 46ch;
}
.start-panel .mini { box-shadow: var(--shadow-sm); }
@media (min-width: 880px) {
  .start-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
}

/* ---------- value ---------- */
.value-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.value-list { display: grid; gap: 0; }
.value-list li {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  display: grid; gap: 6px;
}
.value-list li:last-child { border-bottom: 1px solid var(--line); }
.value-kicker {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary-700);
}
.value-list p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.55; max-width: 46ch; }
@media (min-width: 880px) {
  .value-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .value-list li { padding: 22px 0; }
}

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.faq-head { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 2px; cursor: pointer; list-style: none;
  font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary-700); }
.faq-icon {
  position: relative; flex: none; width: 22px; height: 22px;
  border: 1px solid var(--line); border-radius: 50%; background: var(--surface);
  transition: background-color 0.16s ease, border-color 0.16s ease;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; inset: 50% 50% auto auto;
  width: 9px; height: 1.6px; background: var(--primary-700); border-radius: 2px;
  transform: translate(50%, -50%);
}
.faq-icon::after { transform: translate(50%, -50%) rotate(90deg); transition: transform 0.18s ease; }
.faq-item[open] .faq-icon { background: var(--primary-050); border-color: var(--primary-200); }
.faq-item[open] .faq-icon::after { transform: translate(50%, -50%) rotate(0deg); }
.faq-body { padding: 0 2px 22px; }
.faq-body p { color: var(--muted); font-size: 0.96rem; line-height: 1.6; max-width: 62ch; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
  .faq-item summary { padding: 21px 2px; }
}

/* ---------- closing cta ---------- */
.cta-section { padding-block: clamp(56px, 7vw, 96px); }
.cta-panel {
  position: relative;
  background:
    radial-gradient(700px 340px at 88% -30%, rgba(255, 255, 255, 0.16), transparent 70%),
    linear-gradient(135deg, #5d21ad 0%, #6828be 52%, #7a36d0 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(30px, 4.4vw, 56px);
  display: grid; gap: 26px;
  box-shadow: 0 30px 60px -40px rgba(74, 26, 140, 0.65);
  overflow: hidden;
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35; pointer-events: none;
}
.cta-copy { position: relative; }
.cta-copy h2 { color: #fff; }
.cta-copy p:not(.eyebrow) { margin-top: 14px; color: #f0e6fd; font-size: 1.03rem; max-width: 46ch; }
.cta-actions { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cta-actions .btn { min-height: 54px; }
.cta-note { font-size: 0.83rem; color: #f0e6fd; }
@media (min-width: 860px) {
  .cta-panel { grid-template-columns: 1.25fr 0.75fr; align-items: center; gap: 40px; }
  .cta-actions { align-items: flex-start; }
}

/* ---------- footer ---------- */
.site-footer {
  background: #14101c;
  color: #cfc8da;
  padding-block: clamp(40px, 5vw, 60px) 26px;
  font-size: 0.9rem;
}
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.brand-footer { color: #fff; padding-block: 0; }
.brand-footer:hover { color: #fff; }
.brand-footer .brand-name { color: #fff; }
.brand-footer .brand-name-accent { color: #d3b8fb; }
.footer-tag { margin-top: 14px; color: #b6adc4; max-width: 34ch; line-height: 1.5; }
.footer-address { margin-top: 12px; color: #a79dba; font-size: 0.85rem; line-height: 1.55; max-width: 42ch; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { color: #e2dbec; text-decoration: none; font-weight: 500; display: inline-block; padding-block: 6px; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between;
  margin-top: 32px; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #948aa6; font-size: 0.8rem;
}
@media (min-width: 780px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr; gap: 40px; }
  .footer-nav ul { flex-direction: column; gap: 0; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .feature-card:hover, .program-card:hover { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .nav-toggle, .cta-panel::before { display: none; }
  body { background: #fff; }
  .section { padding-block: 24px; }
  .card, .app-window { box-shadow: none; }
}
