/* ============================================================
   VINAVO — PROMOTER PLAYBOOK
   Tokens carried from Vinavo's product color system.
   ============================================================ */

:root {
  --brand-25: #FCF5F1;
  --brand-50: #F8EFEA;
  --brand-100: #F1DED5;
  --brand-200: #E3BCAB;
  --brand-300: #D59B80;
  --brand-400: #C77A56;
  --brand-500: #B85C35;
  --brand-600: #934A2A;
  --brand-700: #6E3720;
  --brand-800: #4A2515;
  --brand-900: #25120B;

  --neutral-25: #FFFDF9;
  --neutral-50: #FCFAF6;
  --neutral-100: #F5F0E8;
  --neutral-150: #EFE7DA;
  --neutral-200: #E5DBCD;
  --neutral-300: #D1C4B4;
  --neutral-400: #AAA094;
  --neutral-500: #877E75;
  --neutral-600: #6A6055;
  --neutral-700: #4E453D;
  --neutral-800: #332D28;
  --neutral-900: #211C18;
  --neutral-950: #17120F;

  --green-100: #D8F0E0;
  --green-800: #224B37;

  --alpha-black-08: rgba(23, 18, 15, 0.08);
  --alpha-black-14: rgba(23, 18, 15, 0.14);
  --alpha-black-45: rgba(23, 18, 15, 0.45);

  --bg-default: var(--neutral-50);
  --surface-default: var(--neutral-25);
  --surface-raised: var(--neutral-50);
  --surface-brand: var(--brand-25);

  --text-primary: var(--neutral-950);
  --text-secondary: var(--neutral-700);
  --text-tertiary: var(--neutral-500);
  --text-on-brand: #FFFFFF;

  --border-default: var(--neutral-200);
  --border-subtle: var(--neutral-150);
  --border-strong: var(--neutral-400);
  --border-brand: var(--brand-500);

  --brand-text: var(--brand-600);
  --brand-fill: var(--brand-500);
  --brand-fill-hover: var(--brand-600);
  --brand-subtle: var(--brand-25);
  --brand-muted: var(--brand-100);

  --success-bg: var(--green-100);
  --success-text: var(--green-800);

  --scrim: var(--alpha-black-45);
  --shadow-sm: 0 2px 8px var(--alpha-black-08);
  --shadow-md: 0 10px 28px var(--alpha-black-14);
  --shadow-lg: 0 24px 60px var(--alpha-black-14);

  --font-heading: 'Afacad', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --header-h: 68px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-pad: clamp(56px, 9vh, 108px);
  --content-max: 1180px;
  --duration: 320ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================================
   RESET / BASE
   ============================================================ */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}
body {
  margin: 0;
  background: var(--bg-default);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; height: 100%; }

h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }

::selection { background: var(--brand-muted); color: var(--brand-800); }

:focus-visible {
  outline: 2.5px solid var(--brand-fill);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-pad) 0;
  scroll-margin-top: calc(var(--header-h) + 18px);
}
.section-alt { background: var(--surface-raised); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-text);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--brand-text); }

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 20ch;
}
.section-lede {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 62ch;
  margin-top: 14px;
}
.section-head { margin-bottom: clamp(32px, 5vw, 52px); }

.body-text { font-size: 15.5px; line-height: 1.7; color: var(--text-secondary); max-width: 62ch; }
.body-text + .body-text { margin-top: 12px; }
.body-text strong { color: var(--text-primary); font-weight: 600; }

.label-sm {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 150ms ease, background var(--duration) var(--ease), border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-fill); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-fill-hover); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--surface-default); color: var(--text-primary); border-color: var(--border-default); }
.btn-secondary:hover { border-color: var(--border-strong); }
.btn-ghost { background: transparent; color: var(--text-secondary); border-color: var(--border-default); }
.btn-ghost:hover { color: var(--text-primary); border-color: var(--border-strong); }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--brand-text);
  background: var(--brand-subtle);
  border: 1px solid var(--brand-muted);
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
  flex: none;
}
.copy-btn:hover { background: var(--brand-muted); }
.copy-btn.copied { background: var(--success-bg); color: var(--success-text); border-color: transparent; }
.copy-btn svg { width: 13px; height: 13px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(252, 250, 246, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--border-subtle); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}
.brand img { height: 34px; width: auto; border-radius: 8px; }
.brand-word {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand-word small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.hamburger {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: 50%;
  transition: border-color var(--duration) var(--ease), transform 150ms ease;
}
.hamburger:hover { border-color: var(--border-strong); }
.hamburger:active { transform: scale(0.96); }
.hamburger .bars { position: relative; width: 17px; height: 11px; }
.hamburger .bars span {
  position: absolute; left: 0; width: 100%; height: 1.6px;
  background: var(--text-primary); border-radius: 2px;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease), top var(--duration) var(--ease);
}
.hamburger .bars span:nth-child(1) { top: 0; }
.hamburger .bars span:nth-child(2) { top: 5px; }
.hamburger .bars span:nth-child(3) { top: 10px; }
body.sidebar-open .hamburger .bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
body.sidebar-open .hamburger .bars span:nth-child(2) { opacity: 0; }
body.sidebar-open .hamburger .bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.backdrop {
  position: fixed; inset: 0;
  background: var(--scrim);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease);
  z-index: 45;
}
body.sidebar-open .backdrop { opacity: 1; pointer-events: auto; }

.sidebar {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 88vw);
  background: var(--neutral-25);
  border-left: 1px solid var(--border-default);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 380ms var(--ease);
  z-index: 50;
  display: flex;
  flex-direction: column;
}
body.sidebar-open .sidebar { transform: translateX(0); }

.sidebar-top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--border-subtle);
}
.sidebar-top .brand-word { font-size: 16px; }
.sidebar-close {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-default);
  background: transparent;
  color: var(--text-primary);
  transition: border-color var(--duration) var(--ease);
}
.sidebar-close:hover { border-color: var(--border-strong); }
.sidebar-close svg { width: 16px; height: 16px; }

.sidebar-nav {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 10px calc(var(--gutter) * 0.6) 20px;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  padding: 15px 14px;
  border-radius: var(--radius-md);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.sidebar-nav a .idx { font-family: var(--font-mono); font-size: 11px; color: var(--text-tertiary); font-weight: 400; flex: 0 0 20px; }
.sidebar-nav a:hover { background: var(--bg-default); color: var(--text-primary); }
.sidebar-nav a.active { background: var(--brand-subtle); color: var(--brand-text); }
.sidebar-nav a.active .idx { color: var(--brand-text); }

.sidebar-footer {
  flex: 0 0 auto;
  padding: 18px var(--gutter);
  border-top: 1px solid var(--border-subtle);
  background: var(--neutral-25);
}
.sidebar-footer .btn { width: 100%; }
.sidebar-footer p { font-size: 11.5px; color: var(--text-tertiary); text-align: center; margin-top: 10px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(56px, 10vh, 110px); }
.hero .eyebrow { }
.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(32px, 5.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 15ch;
}
.hero-title em { font-style: normal; color: var(--brand-text); }
.hero-lede {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 58ch;
  margin-top: 20px;
}
.hero-principle {
  margin-top: 30px;
  border-left: 3px solid var(--brand-fill);
  padding-left: 20px;
  max-width: 46ch;
}
.hero-principle p {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4;
  color: var(--text-primary);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.role-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.role-card {
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  position: relative;
}
.role-card.mid { background: var(--brand-fill); border-color: var(--brand-fill); color: var(--text-on-brand); }
.role-card.mid .role-name, .role-card.mid .role-item { color: var(--text-on-brand); }
.role-card.mid .role-item::before { background: rgba(255,255,255,0.85); }
.role-num { font-family: var(--font-mono); font-size: 11px; color: var(--text-tertiary); }
.role-card.mid .role-num { color: #FFFFFF; }
.role-name { font-family: var(--font-heading); font-weight: 700; font-size: 20px; margin: 6px 0 14px; color: var(--text-primary); }
.role-item { font-size: 13.5px; color: var(--text-secondary); padding-left: 15px; position: relative; line-height: 1.5; margin-top: 8px; }
.role-item::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-fill); }
.role-arrow {
  display: none;
}
@media (min-width: 769px) {
  .role-flow { align-items: stretch; }
}

.formula-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  padding: 20px;
  background: var(--surface-default);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.formula-strip .fpill {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-default);
  border: 1px solid var(--border-default);
  padding: 7px 13px;
  border-radius: var(--radius-pill);
}
.formula-strip .farrow { color: var(--border-strong); font-size: 13px; }

.journey-strip {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.journey-strip .jnode {
  font-size: 12.5px;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px dashed var(--border-strong);
}
.journey-strip .jarrow { color: var(--border-strong); font-size: 12px; }

/* ============================================================
   PROMOTION IDEA CARDS
   ============================================================ */
.idea-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.idea-card {
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.idea-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.idea-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-text); }
.idea-title { font-family: var(--font-heading); font-weight: 700; font-size: 21px; line-height: 1.2; color: var(--text-primary); }
.idea-desc { font-size: 14px; line-height: 1.55; color: var(--text-secondary); }

.idea-hook {
  background: var(--surface-brand);
  border: 1px solid var(--brand-muted);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.idea-hook .label-sm { color: var(--brand-text); }
.idea-hook p {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-primary);
}
.idea-hook-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }

.idea-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 2px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
  align-self: flex-start;
}
.idea-toggle:hover { color: var(--text-primary); }
.idea-toggle svg { width: 11px; height: 11px; transition: transform var(--duration) var(--ease); }
.idea-card.expanded .idea-toggle svg { transform: rotate(180deg); }

.idea-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms var(--ease);
}
.idea-card.expanded .idea-detail { grid-template-rows: 1fr; }
.idea-detail-inner { overflow: hidden; }
.idea-detail-block { padding-top: 14px; border-top: 1px solid var(--border-subtle); margin-top: 2px; }
.idea-detail-block + .idea-detail-block { margin-top: 14px; padding-top: 14px; }
.idea-detail-block .label-sm { margin-bottom: 8px; }
.idea-detail-block ul li { font-size: 13px; color: var(--text-secondary); padding-left: 14px; position: relative; line-height: 1.5; margin-top: 5px; }
.idea-detail-block ul li::before { content: ""; position: absolute; left: 0; top: 6.5px; width: 4px; height: 4px; border-radius: 50%; background: var(--brand-fill); }
.idea-note { font-size: 12.5px; color: var(--text-tertiary); font-style: italic; margin-top: 4px; }

/* mobile swipe carousel */
.idea-scroll-wrap { position: relative; }
.idea-dots { display: none; justify-content: center; gap: 6px; margin-top: 16px; }
.idea-dots .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border-default); transition: background var(--duration) var(--ease), width var(--duration) var(--ease); }
.idea-dots .dot.active { background: var(--brand-fill); width: 18px; border-radius: 4px; }
.swipe-note { display: none; text-align: center; font-family: var(--font-mono); font-size: 11px; color: var(--text-tertiary); margin-top: 4px; letter-spacing: 0.05em; text-transform: uppercase; }

/* ============================================================
   PUBLIC / DIRECT TABS
   ============================================================ */
.tabs {
  display: inline-flex;
  padding: 4px;
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}
.tab-btn {
  border: none;
  background: none;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-tertiary);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.tab-btn.active { background: var(--brand-fill); color: #fff; }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 380ms var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.context-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.context-list { display: flex; flex-direction: column; gap: 8px; }
.context-list .ctag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-secondary);
  padding: 9px 4px;
  border-bottom: 1px solid var(--border-subtle);
}
.context-list .ctag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-fill); flex: none; }

.example-card {
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.example-card .label-sm { margin-bottom: 10px; }
.example-steps { display: flex; flex-direction: column; gap: 12px; }
.example-step { display: flex; gap: 12px; }
.example-step .estag {
  flex: 0 0 96px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-text);
  padding-top: 3px;
}
.example-step p { font-size: 14px; line-height: 1.55; color: var(--text-primary); }
.example-card hr { border: none; border-top: 1px solid var(--border-subtle); margin: 16px 0; }

/* ============================================================
   PROMO CODE
   ============================================================ */
.promo-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.promo-code-side {
  background: var(--brand-fill);
  color: #fff;
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.promo-code-side .label-sm { color: #FFFFFF; }
.promo-code-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255,255,255,0.12);
  border: 1px dashed rgba(255,255,255,0.5);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.promo-code-chip span.code {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.promo-code-chip .copy-btn { background: rgba(255,255,255,0.92); border-color: transparent; color: var(--brand-700); }
.promo-code-chip .copy-btn.copied { background: var(--success-bg); color: var(--success-text); }
.promo-meta { display: flex; gap: 22px; flex-wrap: wrap; }
.promo-meta div p:first-child { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #FFFFFF; }
.promo-meta div p:last-child { font-family: var(--font-heading); font-weight: 700; font-size: 20px; margin-top: 4px; }

.promo-note-side { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.promo-note-side .body-text { font-size: 14.5px; }
.promo-order { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.promo-order .porder-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.promo-order .porder-item .pnum {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px;
  border: 1px solid var(--border-strong); color: var(--text-tertiary);
}
.promo-order .porder-item.primary .pnum { background: var(--brand-fill); border-color: var(--brand-fill); color: #fff; }
.promo-order .porder-item.primary span:last-child { color: var(--text-primary); font-weight: 600; }

/* ============================================================
   KNOW VINAVO LOOP
   ============================================================ */
.know-loop {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 8px;
  align-items: stretch;
}
.know-step {
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: left;
  position: relative;
}
.know-step .know-idx { font-family: var(--font-mono); font-size: 11px; color: var(--text-tertiary); }
.know-step .know-name { font-family: var(--font-heading); font-weight: 700; font-size: 17px; margin: 8px 0 8px; color: var(--text-primary); }
.know-step .know-desc { font-size: 12.5px; line-height: 1.5; color: var(--text-secondary); }
.know-connector { display: none; }
@media (min-width: 769px) {
  .know-loop { position: relative; }
}
.know-test .know-name { color: var(--brand-text); }

/* ============================================================
   ACCORDION — STUDENT QUESTIONS
   ============================================================ */
.role-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 32px; }
.role-split-card { background: var(--surface-default); border: 1px solid var(--border-default); border-radius: var(--radius-md); padding: 20px; }
.role-split-card .label-sm { margin-bottom: 8px; }
.role-split-card p.rtext { font-family: var(--font-heading); font-weight: 600; font-size: 16px; color: var(--text-primary); }

.accordion { display: flex; flex-direction: column; gap: 10px; }
.accordion-item {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--surface-default);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text-primary);
}
.accordion-trigger .aicon {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.accordion-trigger .aicon::before, .accordion-trigger .aicon::after {
  content: ""; position: absolute; background: var(--text-secondary);
}
.accordion-trigger .aicon::before { width: 9px; height: 1.4px; }
.accordion-trigger .aicon::after { width: 1.4px; height: 9px; transition: transform var(--duration) var(--ease); }
.accordion-item.open .accordion-trigger .aicon::after { transform: rotate(90deg); opacity: 0; }

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms var(--ease);
}
.accordion-item.open .accordion-panel { grid-template-rows: 1fr; }
.accordion-panel-inner { overflow: hidden; }
.accordion-panel-content { padding: 0 20px 20px; }
.accordion-panel-content .label-sm { margin-bottom: 8px; }
.accordion-panel-content p { font-size: 14.5px; line-height: 1.6; color: var(--text-secondary); }
.accordion-panel-content p + p { margin-top: 8px; }

/* ============================================================
   PRINCIPLES
   ============================================================ */
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.principle-card { background: var(--surface-default); border: 1px solid var(--border-default); border-radius: var(--radius-lg); padding: 24px; }
.principle-card .label-sm { margin-bottom: 12px; }
.principle-card h3 { font-family: var(--font-heading); font-weight: 700; font-size: 18px; margin-bottom: 10px; color: var(--text-primary); }
.principle-card p { font-size: 13.5px; line-height: 1.6; color: var(--text-secondary); }

.compare-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }
.compare-box { border-radius: var(--radius-md); padding: 14px 16px; font-size: 13.5px; line-height: 1.5; }
.compare-box.no { background: var(--neutral-100); color: var(--text-tertiary); text-decoration: line-through; text-decoration-color: var(--border-strong); }
.compare-box.yes { background: var(--surface-brand); border: 1px solid var(--brand-muted); color: var(--text-primary); font-weight: 500; text-decoration: none; }

.mindset-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.mindset-flow .mpill { font-family: var(--font-mono); font-size: 12px; padding: 6px 12px; border-radius: var(--radius-pill); }
.mindset-flow.no .mpill { background: var(--neutral-100); color: var(--text-tertiary); text-decoration: line-through; text-decoration-color: var(--border-strong); }
.mindset-flow.yes .mpill { background: var(--brand-fill); color: #fff; }
.mindset-flow .marrow { color: var(--border-strong); font-size: 11px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta { text-align: center; }
.final-cta .container { display: flex; flex-direction: column; align-items: center; }
.final-headline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.15;
  max-width: 18ch;
}
.final-headline em { font-style: normal; color: var(--brand-text); }
.final-sub { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.final-sub span { font-size: 14px; color: var(--text-tertiary); }
.final-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 26px 0 40px;
}
.site-footer .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.site-footer p { font-size: 12px; color: var(--text-tertiary); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .role-flow { grid-template-columns: 1fr; }
  .idea-cards { grid-template-columns: 1fr 1fr; }
  .know-loop { grid-template-columns: repeat(3, 1fr); }
  .promo-panel { grid-template-columns: 1fr; }
  .principle-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .context-grid { grid-template-columns: 1fr; }
  .know-loop { grid-template-columns: repeat(2, 1fr); }
  .role-split { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1fr; }

  .idea-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    margin: 8px calc(var(--gutter) * -1) 0;
    padding: 4px var(--gutter) 4px;
    scrollbar-width: none;
  }
  .idea-cards::-webkit-scrollbar { display: none; }
  .idea-card { flex: 0 0 86%; scroll-snap-align: center; }
  .idea-dots { display: flex; }
  .swipe-note { display: block; }
}

@media (max-width: 560px) {
  .know-loop { grid-template-columns: 1fr 1fr; }
  .promo-meta { gap: 14px; }
  .brand-word small { display: none; }
}

/* Sidebar must be a full-screen takeover on mobile, never a partial drawer */
@media (max-width: 640px) {
  .sidebar { width: 100vw; border-left: none; }
}

