/* ============================================================
   CoursePlanner.ai — editorial "paper & ink" system
   Display: Fraunces (variable, optical-sized)  ·  Body: Hanken Grotesk
   ============================================================ */

:root {
  /* surfaces */
  --paper:   #f6f1e7;
  --paper-2: #efe6d4;
  --card:    #fcf9f1;
  --ink:     #1b1a16;
  --ink-soft:#514c41;
  --ink-mute:#7c7565;

  /* brand */
  --ivy:    #16433a;
  --ivy-2:  #1f5a4a;
  --ivy-ink:#0e2e27;
  --amber:  #d98a3d;
  --amber-2:#e0a050;
  --highlight: #f4d79e;

  /* lines & shadow */
  --line:   rgba(27, 26, 22, 0.12);
  --line-2: rgba(27, 26, 22, 0.18);
  --shadow-sm: 0 1px 2px rgba(27,26,22,.06), 0 4px 14px rgba(27,26,22,.05);
  --shadow-md: 0 6px 18px rgba(27,26,22,.08), 0 22px 48px rgba(14,46,39,.10);
  --shadow-lg: 0 12px 28px rgba(27,26,22,.10), 0 40px 80px rgba(14,46,39,.16);

  --radius: 14px;
  --radius-sm: 10px;
  --container: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
  font-variation-settings: "opsz" 144;
}
p { margin: 0; }
em { font-style: italic; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--highlight); color: var(--ink); }

/* ---------- accessibility ---------- */
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 999;
  background: var(--ivy); color: var(--paper);
  padding: 12px 18px; border-radius: 0 0 12px 12px; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--ivy);
  outline-offset: 3px;
  border-radius: 4px;
}
.privacy-section :focus-visible,
.waitlist-section :focus-visible { outline-color: var(--amber-2); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.section { padding-block: clamp(72px, 11vw, 144px); position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .80rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ivy); margin-bottom: 22px;
}
.eyebrow-light { color: var(--amber-2); }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(217,138,61,.18); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 68px); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.section-title {
  font-size: clamp(2.1rem, 1.5rem + 3.2vw, 3.6rem);
  letter-spacing: -0.025em;
}
.section-title em { color: var(--ivy); font-weight: 600; }
.section-lede {
  margin-top: 22px; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
  color: var(--ink-soft); line-height: 1.6; max-width: 60ch;
}
.section-head-center .section-lede { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 24px; border-radius: 11px;
  font-weight: 600; font-size: 1rem; letter-spacing: .005em;
  border: 1.5px solid transparent; transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn svg { transition: transform .25s var(--ease); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; border-radius: 9px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ivy); color: var(--paper); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--ivy-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ivy); color: var(--ivy); transform: translateY(-2px); }
.btn-ghost:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(1.4) blur(10px);
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header[data-scrolled] { border-bottom-color: var(--line); background: color-mix(in srgb, var(--paper) 92%, transparent); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { border-radius: 8px; box-shadow: var(--shadow-sm); }
.brand-word { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; letter-spacing: -0.02em; }
.brand-dot { color: var(--amber); }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a { font-weight: 500; color: var(--ink-soft); position: relative; padding: 6px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--ivy); transition: width .28s var(--ease); }
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { width: 100%; }
.header-cta { margin-left: 4px; }

/* ---------- grain texture ---------- */
.grain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}
.hero .container, .privacy-section .container { position: relative; z-index: 1; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 6vw, 80px); position: relative; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 88% 8%, rgba(217,138,61,.12), transparent 70%),
    radial-gradient(55% 60% at 0% 100%, rgba(22,67,58,.10), transparent 65%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 76px);
  align-items: center; padding-block: clamp(28px, 5vw, 64px);
}
.hero-title {
  font-size: clamp(2.7rem, 1.7rem + 5.2vw, 5.3rem);
  letter-spacing: -0.03em; margin-bottom: 26px;
}
.hero-title em { color: var(--ivy); }
.ul-mark { position: relative; white-space: nowrap; }
.ul-mark::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .34em; z-index: -1;
  background: linear-gradient(105deg, var(--amber-2), var(--highlight));
  border-radius: 3px; transform: scaleX(0); transform-origin: left; opacity: .85;
  animation: swipe .9s var(--ease) .9s forwards;
}
@keyframes swipe { to { transform: scaleX(1); } }
.hero-lede { font-size: clamp(1.08rem, 1rem + 0.55vw, 1.32rem); color: var(--ink-soft); max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 48px); margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-stats div { max-width: 18ch; }
.hero-stats dt { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--ivy); line-height: 1; }
.hero-stats dd { margin-top: 8px; font-size: .9rem; color: var(--ink-mute); line-height: 1.45; }

/* hero visual: tilted plan stack */
.hero-visual { position: relative; min-height: 380px; }
.plan-stack { position: relative; height: 100%; perspective: 1200px; }
.term-card {
  position: absolute; width: min(330px, 80%); padding: 20px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 9px;
}
.tc-head { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ivy); margin-bottom: 3px; }
.tc-credits { margin-top: 4px; font-size: .78rem; color: var(--ink-mute); font-weight: 600; }
.term-card .chip {
  font-size: .88rem; font-weight: 500; background: var(--paper); border: 1px solid var(--line);
  border-radius: 9px; padding: 9px 12px; color: var(--ink);
}
.chip-warn { border-color: rgba(217,138,61,.5); background: #fbf0df; color: #7a4d18; display: flex; flex-direction: column; }
.chip-warn em { font-style: normal; font-size: .72rem; color: var(--amber); font-weight: 700; margin-top: 2px; }
.tc-1 { top: 6%; left: 0; transform: rotate(-4deg); animation: floaty 7s var(--ease) infinite; }
.tc-2 { top: 40%; right: 0; transform: rotate(3.5deg); animation: floaty 8s var(--ease) infinite reverse; }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.float-badge {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  background: var(--ivy); color: var(--paper); font-size: .8rem; font-weight: 600;
  padding: 9px 13px; border-radius: 999px; box-shadow: var(--shadow-md); z-index: 3;
}
.float-badge svg { background: var(--paper); border-radius: 50%; padding: 2px; }
.fb-1 { top: 30%; left: -6%; animation: floaty 6s var(--ease) infinite; }
.fb-2 { bottom: 4%; right: 6%; background: var(--card); color: var(--ink); border: 1px solid var(--line); animation: floaty 9s var(--ease) infinite reverse; }
.fb-key { color: var(--amber); font-weight: 700; }

/* university strip */
.uni-strip { margin-top: clamp(28px, 5vw, 56px); padding-top: 30px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px; }
.uni-label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.uni-list { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.uni-list li { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; color: var(--ink-soft); opacity: .82; transition: opacity .2s var(--ease), color .2s var(--ease); }
.uni-list li:hover { opacity: 1; color: var(--ivy); }

/* ---------- planner demo ---------- */
.planner-section { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.planner-demo { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 3vw, 30px); box-shadow: var(--shadow-md); }
.planner-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.planner-hint { font-size: .95rem; color: var(--ink-soft); max-width: 60ch; }
.planner-hint strong { color: var(--ivy); }

.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.term-col {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; min-height: 230px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.term-col.is-target { border-color: var(--ivy); background: #f0f5f1; box-shadow: inset 0 0 0 2px rgba(22,67,58,.18); }
.term-col-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.term-col-name { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ivy); }
.term-col-credits { font-size: .76rem; font-weight: 600; color: var(--ink-mute); }
.term-col-credits.is-over { color: #b4451f; }
.term-list { display: flex; flex-direction: column; gap: 9px; flex: 1; }

.course-chip {
  position: relative; text-align: left; width: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; display: flex; flex-direction: column; gap: 2px;
  box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
  touch-action: manipulation;
}
.course-chip:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: var(--shadow-md); }
.course-chip.is-selected { border-color: var(--ivy); box-shadow: 0 0 0 2px var(--ivy), var(--shadow-md); transform: translateY(-2px); }
.course-chip.is-dragging { opacity: .45; }
.course-chip.has-error { border-color: #d9743f; background: #fbeee6; }
.course-chip.has-error::before { content: "!"; position: absolute; top: -8px; right: -8px; width: 20px; height: 20px; background: #c4521f; color: #fff; border-radius: 50%; font-size: .72rem; font-weight: 800; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.cc-code { font-weight: 700; font-size: .82rem; letter-spacing: .01em; }
.cc-title { font-size: .82rem; color: var(--ink-soft); line-height: 1.3; }
.cc-meta { display: flex; gap: 8px; align-items: center; margin-top: 3px; }
.cc-credits { font-size: .72rem; font-weight: 600; color: var(--ink-mute); }
.cc-tag { font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; }
.cc-tag.req { background: rgba(22,67,58,.12); color: var(--ivy); }
.cc-tag.elec { background: rgba(217,138,61,.16); color: #8a541e; }
.cc-tag.gen { background: rgba(27,26,22,.08); color: var(--ink-soft); }

.conflicts { margin-top: 18px; }
.conflicts-empty, .conflict { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 11px; font-size: .92rem; }
.conflicts-empty { background: #eef4ef; color: var(--ivy-ink); border: 1px solid rgba(22,67,58,.18); align-items: center; }
.conflicts-empty svg { color: var(--ivy); flex: none; }
.conflict { background: #fbeee6; color: #6f3c19; border: 1px solid rgba(196,82,31,.28); margin-bottom: 8px; }
.conflict-icon { flex: none; width: 22px; height: 22px; background: #c4521f; color: #fff; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.conflict strong { color: #8a3a12; }

.feature-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; }
.fnote { padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.fnote h3 { font-size: 1.15rem; margin-bottom: 8px; }
.fnote p { font-size: .95rem; color: var(--ink-soft); }
.fnote em { color: var(--ivy); font-style: normal; font-weight: 600; }

/* ---------- syllabus demo ---------- */
.syllabus-demo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 34px); align-items: start; }
.syllabus-doc {
  position: relative; background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-md); overflow: hidden;
  background-image: repeating-linear-gradient(transparent, transparent 31px, rgba(22,67,58,.06) 32px);
}
.doc-corner { position: absolute; top: 0; right: 0; width: 38px; height: 38px; background: linear-gradient(225deg, var(--paper-2) 50%, transparent 50%); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.doc-title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: 14px; color: var(--ivy); }
.doc-body { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .82rem; line-height: 2; color: var(--ink-soft); white-space: pre-wrap; margin: 0; }

.syllabus-out-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 6px; }
.syllabus-out-head h3 { font-size: 1.3rem; }
.syllabus-asof { font-size: .82rem; color: var(--ink-mute); min-height: 1.2em; margin-bottom: 12px; }
.checklist { display: flex; flex-direction: column; gap: 10px; }
.checklist-placeholder { color: var(--ink-mute); font-size: .95rem; padding: 16px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.checklist-placeholder em { color: var(--ivy); font-style: normal; font-weight: 600; }

.task {
  display: flex; align-items: flex-start; gap: 12px; padding: 13px 15px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(8px);
  animation: taskIn .5s var(--ease) forwards;
}
@keyframes taskIn { to { opacity: 1; transform: none; } }
.task-check {
  flex: none; margin-top: 1px; width: 24px; height: 24px; border-radius: 7px;
  border: 2px solid var(--line-2); background: var(--paper); display: grid; place-items: center;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.task-check svg { width: 14px; height: 14px; opacity: 0; transform: scale(.5); transition: .2s var(--ease); }
.task[aria-checked="true"] .task-check { background: var(--ivy); border-color: var(--ivy); }
.task[aria-checked="true"] .task-check svg { opacity: 1; transform: scale(1); }
.task[aria-checked="true"] .task-name { text-decoration: line-through; color: var(--ink-mute); }
.task-body { flex: 1; min-width: 0; }
.task-name { font-weight: 600; font-size: .96rem; }
.task-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 3px; font-size: .8rem; color: var(--ink-mute); }
.task-date { font-weight: 600; }
.task-weight { padding: 1px 7px; border-radius: 999px; background: rgba(27,26,22,.07); }
.task-status { font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.task.is-overdue { border-color: rgba(196,82,31,.35); }
.task.is-overdue .task-status { background: #f7e0d4; color: #b4451f; }
.task.is-next { border-color: rgba(22,67,58,.4); box-shadow: 0 0 0 2px rgba(22,67,58,.14), var(--shadow-sm); }
.task.is-next .task-status { background: rgba(22,67,58,.14); color: var(--ivy); }
.task.is-upcoming .task-status { background: rgba(217,138,61,.18); color: #8a541e; }

/* ---------- privacy ---------- */
.privacy-section { background: var(--ivy); color: var(--paper); }
.privacy-section .section-title { color: var(--paper); }
.privacy-section .section-title em { color: var(--amber-2); }
.privacy-section .section-lede { color: rgba(246,241,231,.78); }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(246,241,231,.16); border: 1px solid rgba(246,241,231,.16); border-radius: 18px; overflow: hidden; }
.principle { background: var(--ivy); padding: 30px 26px; transition: background .3s var(--ease); }
.principle:hover { background: var(--ivy-2); }
.principle-num { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--amber-2); }
.principle h3 { color: var(--paper); font-size: 1.32rem; margin: 14px 0 10px; }
.principle p { color: rgba(246,241,231,.76); font-size: .95rem; line-height: 1.6; }
.principle p em { color: var(--paper); font-style: normal; font-weight: 600; }

/* ---------- roadmap ---------- */
.roadmap-section { background: var(--paper-2); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.phase { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.phase-now { box-shadow: var(--shadow-md); border-color: rgba(22,67,58,.35); }
.phase-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; margin-bottom: 16px; }
.phase-now .phase-tag { background: var(--ivy); color: var(--paper); }
.phase-next .phase-tag { background: rgba(217,138,61,.2); color: #8a541e; }
.phase-later .phase-tag { background: rgba(27,26,22,.08); color: var(--ink-soft); }
.phase h3 { font-size: 1.5rem; margin-bottom: 16px; }
.phase ul { display: flex; flex-direction: column; gap: 10px; }
.phase li { position: relative; padding-left: 24px; font-size: .95rem; color: var(--ink-soft); line-height: 1.45; }
.phase ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--ivy); }
.phase-next ul li::before { border-color: var(--amber); }
.phase-later ul li::before { border-color: var(--ink-mute); }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; position: relative; }
.price-card-feature { background: var(--ivy); color: var(--paper); border-color: var(--ivy); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.price-badge { position: absolute; top: 18px; right: 18px; background: var(--amber-2); color: var(--ivy-ink); font-size: .72rem; font-weight: 800; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px; }
.price-name { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.price-card-feature .price-name { color: rgba(246,241,231,.7); }
.price-fig { font-family: var(--font-display); font-weight: 600; font-size: 3.4rem; line-height: 1; margin: 14px 0 6px; display: flex; align-items: baseline; gap: 2px; }
.price-cur { font-size: 1.6rem; }
.price-per { font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: var(--ink-mute); margin-left: 6px; }
.price-card-feature .price-per { color: rgba(246,241,231,.7); }
.price-sub { font-size: .95rem; color: var(--ink-soft); margin-bottom: 20px; }
.price-card-feature .price-sub { color: rgba(246,241,231,.82); }
.price-feats { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex: 1; }
.price-feats li { position: relative; padding-left: 26px; font-size: .94rem; color: var(--ink-soft); }
.price-card-feature .price-feats li { color: rgba(246,241,231,.86); }
.price-feats li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 8px; border-left: 2px solid var(--ivy); border-bottom: 2px solid var(--ivy); transform: rotate(-45deg); }
.price-card-feature .price-feats li::before { border-color: var(--amber-2); }
.price-foot { text-align: center; margin-top: 26px; font-size: .88rem; color: var(--ink-mute); }

/* ---------- waitlist ---------- */
.waitlist-section { padding-bottom: clamp(80px, 12vw, 150px); }
.waitlist-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; background: var(--ivy); color: var(--paper); border-radius: 26px; padding: clamp(32px, 5vw, 60px); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.waitlist-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 100% 0%, rgba(217,138,61,.22), transparent 70%); pointer-events: none; }
.waitlist-copy { position: relative; z-index: 1; }
.waitlist-copy .section-title { color: var(--paper); }
.waitlist-copy .section-lede { color: rgba(246,241,231,.8); }
.waitlist-form { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .82rem; font-weight: 600; letter-spacing: .03em; color: rgba(246,241,231,.85); }
.field-opt { color: rgba(246,241,231,.55); font-weight: 400; }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 12px;
  border: 1.5px solid rgba(246,241,231,.22); background: rgba(246,241,231,.07);
  color: var(--paper); font: inherit; transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f6f1e7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field input::placeholder { color: rgba(246,241,231,.45); }
.field input:focus, .field select:focus { border-color: var(--amber-2); background: rgba(246,241,231,.12); outline: none; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--amber-2); outline-offset: 2px; }
.field option { color: #111; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.waitlist-form .btn-primary { background: var(--amber-2); color: var(--ivy-ink); margin-top: 4px; }
.waitlist-form .btn-primary:hover { background: var(--amber); }
.form-status { min-height: 1.3em; font-size: .92rem; font-weight: 600; }
.form-status.is-ok { color: #bfe6c8; }
.form-status.is-err { color: #f3c0a4; }
.form-fine { font-size: .78rem; color: rgba(246,241,231,.55); line-height: 1.5; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(48px, 7vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; }
.site-footer .brand-word { color: var(--paper); }
.footer-tagline { margin-top: 16px; max-width: 34ch; color: rgba(246,241,231,.62); font-size: .95rem; }
.footer-org { margin-top: 18px; font-size: .85rem; color: rgba(246,241,231,.5); }
.footer-org strong { color: var(--amber-2); font-weight: 600; }
.footer-col h4 { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(246,241,231,.5); margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; color: rgba(246,241,231,.78); font-size: .95rem; transition: color .18s var(--ease); }
.footer-col a:hover { color: var(--amber-2); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 26px; border-top: 1px solid rgba(246,241,231,.14); font-size: .82rem; color: rgba(246,241,231,.5); }
.footer-disc { max-width: 64ch; }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .07s; }
.reveal:nth-child(3) { transition-delay: .14s; }
.reveal:nth-child(4) { transition-delay: .21s; }
.reveal:nth-child(5) { transition-delay: .28s; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 320px; order: 2; margin-top: 12px; }
  .board { grid-template-columns: repeat(2, 1fr); }
  .feature-notes { grid-template-columns: 1fr; }
  .syllabus-demo { grid-template-columns: 1fr; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .price-card-feature { transform: none; }
  .waitlist-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .site-nav { display: none; }
  .board { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .ul-mark::after { transform: scaleX(1); }
  .tc-1, .tc-2, .fb-1, .fb-2 { animation: none; }
}
