/* sections.css — consolidated styles for in-page sections.
   Generated from per-page <style> blocks. */

/* =========================================================
   Features section
   ========================================================= */
.feat-hero { padding: 80px 0 40px; }
  .feat-block {
    padding: 80px 0;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .feat-block.flip { direction: rtl; }
  .feat-block.flip > * { direction: ltr; }
  .feat-block .feat-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--coral);
    font-weight: 500;
  }
  .feat-block h2 {
    margin-top: 14px;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.1;
    text-wrap: balance;
  }
  .feat-block .feat-desc {
    margin-top: 18px;
    font-size: 16.5px;
    color: var(--ink-2);
    line-height: 1.6;
    max-width: 50ch;
  }
  .feat-block ul {
    margin-top: 22px;
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .feat-block ul li {
    font-size: 14.5px;
    color: var(--ink-2);
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }
  .feat-block ul li::before {
    content: "";
    flex: none;
    width: 6px; height: 6px;
    border-radius: 2px;
    background: var(--teal-600);
    margin-top: 8px;
  }

  /* Visual container — holds phone(s) or browser frame */
  .feat-visual {
    background: linear-gradient(135deg,
      color-mix(in oklab, var(--teal-50) 50%, var(--paper)),
      color-mix(in oklab, var(--cream-2) 60%, var(--paper)));
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 48px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 460px;
    position: relative;
    overflow: hidden;
  }
  .feat-visual.warm {
    background: linear-gradient(135deg,
      color-mix(in oklab, var(--coral) 12%, var(--paper)),
      color-mix(in oklab, var(--amber) 8%, var(--paper)));
  }
  .feat-visual.dark {
    background: linear-gradient(135deg, var(--ink), var(--teal-800));
    color: var(--cream);
  }
  .feat-visual .b-phone { max-width: 240px; }
  .feat-visual .b-phones-dual .b-phone { max-width: 200px; }
  .feat-visual .b-browser { width: 100%; max-width: 540px; }
  .feat-visual .b-browser img { object-fit: cover; max-height: 360px; }

  /* Coming soon rail */
  .cs-rail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 32px;
  }
  .cs-item {
    background: var(--paper);
    border: 1px dashed color-mix(in oklab, var(--amber) 50%, var(--line));
    border-radius: 14px;
    padding: 22px;
    transition: transform .3s, border-color .2s;
  }
  .cs-item:hover { transform: translateY(-3px); border-color: var(--amber); }
  .cs-item .cs-stamp {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    background: color-mix(in oklab, var(--amber) 18%, var(--paper));
    color: #a55a06;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
  }
  .cs-item h3 { font-size: 17px; font-weight: 500; }
  .cs-item p { margin-top: 6px; font-size: 13.5px; color: var(--muted); }

  @media (max-width: 880px) {
    .feat-block { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
    .feat-block.flip { direction: ltr; }
    .feat-visual { padding: 32px 20px; min-height: 360px; }
  }

/* =========================================================
   Designed for section
   ========================================================= */
/* ======== Layout ======== */
  .who-hero { padding: 80px 0 24px; }
  .who-hero h2 { font-size: clamp(40px, 5vw, 68px); line-height: 1.05; letter-spacing: -.025em; }
  .who-hero .lede { margin-top: 22px; max-width: 64ch; }

  /* ======== Tabbed carousel stage ======== */
  .dz-stage { margin-top: 48px; }

  .dz-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
  }
  .dz-tab {
    position: relative;
    text-align: left;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px 18px 18px;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: center;
    cursor: pointer;
    color: var(--ink);
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
  }
  .dz-tab:hover { border-color: color-mix(in oklab, var(--accent) 35%, var(--line)); transform: translateY(-2px); }
  .dz-tab .dz-id {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: color-mix(in oklab, var(--accent) 14%, var(--paper));
    color: var(--accent);
    border: 1px solid color-mix(in oklab, var(--accent) 28%, var(--line));
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-serif);
    font-size: 22px;
    font-style: italic;
    flex: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
  }
  .dz-tab .dz-tab-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  .dz-tab .dz-role { font-size: 14.5px; font-weight: 500; letter-spacing: -.005em; line-height: 1.15; }
  .dz-tab .dz-tagline {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--muted);
    letter-spacing: .04em;
    text-transform: lowercase;
    line-height: 1.2;
  }
  .dz-tab .dz-progress {
    position: absolute;
    left: 16px; right: 16px; bottom: 8px;
    height: 2px;
    background: var(--line-2);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    transition: opacity .25s ease;
  }
  .dz-tab .dz-bar {
    display: block; height: 100%; width: 0;
    background: var(--accent);
    border-radius: 2px;
  }
  .dz-tab.is-active {
    background: var(--ink);
    border-color: var(--ink);
  }
  .dz-tab.is-active .dz-id {
    background: var(--accent);
    color: var(--cream);
    border-color: var(--accent);
  }
  .dz-tab.is-active .dz-role { color: var(--cream); }
  .dz-tab.is-active .dz-tagline { color: color-mix(in oklab, var(--cream) 65%, transparent); }
  .dz-tab.is-active .dz-progress { opacity: 1; background: rgba(255,255,255,.14); }
  @keyframes dz-fill { from { width: 0; } to { width: 100%; } }

  /* ======== Panels (cross-fade) ======== */
  .dz-panels {
    position: relative;
    background: linear-gradient(180deg, var(--cream-2), var(--paper));
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    min-height: 540px;
    box-shadow: var(--shadow);
  }
  .dz-panel {
    position: absolute;
    inset: 0;
    padding: 36px;
    opacity: 0;
    transform: translateY(12px) scale(.99);
    transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1);
    pointer-events: none;
  }
  .dz-panel.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .dz-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 40px;
    align-items: center;
    height: 100%;
  }
  .dz-side { min-width: 0; }
  .dz-panel-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    background: color-mix(in oklab, var(--accent) 10%, var(--paper));
    border: 1px solid color-mix(in oklab, var(--accent) 25%, var(--line));
    border-radius: 999px;
    padding: 4px 11px;
  }
  .dz-panel h3 {
    margin-top: 14px;
    font-size: clamp(26px, 2.6vw, 36px);
    letter-spacing: -.02em;
    line-height: 1.12;
    font-weight: 500;
  }
  .dz-quote {
    margin-top: 14px;
    font-size: 16px;
    color: var(--ink-2);
    line-height: 1.55;
    max-width: 48ch;
  }
  .dz-list {
    margin-top: 22px;
    list-style: none; padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 22px;
    max-width: 520px;
  }
  .dz-list li {
    font-size: 13px;
    line-height: 1.42;
    color: var(--ink-2);
    display: flex; gap: 9px; align-items: flex-start;
  }
  .dz-list li::before {
    content: "";
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--accent);
    margin-top: 7px; flex: none;
  }

  .dz-scene {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Re-trigger scene animations when a panel becomes active.
     Mirrors the old .pr.is-in selectors but keyed on .dz-panel.is-active. */
  .dz-panel.is-active .adm-log .line {
    animation: adm-line-in .35s ease forwards;
  }
  .dz-panel.is-active .adm-log .line:nth-child(2) { animation-delay: 0.6s; }
  .dz-panel.is-active .adm-log .line:nth-child(3) { animation-delay: 0.95s; }
  .dz-panel.is-active .adm-log .line:nth-child(4) { animation-delay: 1.30s; }
  .dz-panel.is-active .adm-log .line:nth-child(5) { animation-delay: 1.65s; }

  .dz-panel.is-active .tday { animation: tday-in .5s ease forwards; }
  .dz-panel.is-active .tday:nth-child(1) { animation-delay: 0.15s; }
  .dz-panel.is-active .tday:nth-child(2) { animation-delay: 0.55s; }
  .dz-panel.is-active .tday:nth-child(3) { animation-delay: 0.95s; }
  .dz-panel.is-active .tday:nth-child(4) { animation-delay: 1.35s; }

  .dz-panel.is-active .tday:nth-child(2) .pip { animation: pip-pop .4s cubic-bezier(.2,.7,.2,1) forwards; }
  .dz-panel.is-active .tday:nth-child(2) .pip:nth-child(1) { animation-delay: 0.85s; }
  .dz-panel.is-active .tday:nth-child(2) .pip:nth-child(2) { animation-delay: 0.92s; }
  .dz-panel.is-active .tday:nth-child(2) .pip:nth-child(3) { animation-delay: 0.99s; }
  .dz-panel.is-active .tday:nth-child(2) .pip:nth-child(4) { animation-delay: 1.06s; }
  .dz-panel.is-active .tday:nth-child(2) .pip:nth-child(5) { animation-delay: 1.13s; }
  .dz-panel.is-active .tday:nth-child(2) .pip:nth-child(6) { animation-delay: 1.20s; }
  .dz-panel.is-active .tday:nth-child(2) .pip:nth-child(7) { animation-delay: 1.27s; }
  .dz-panel.is-active .tday:nth-child(2) .pip:nth-child(8) { animation-delay: 1.34s; }
  .dz-panel.is-active .tday:nth-child(3) .send-anim .bar::after { animation: send-fill 1.2s ease 1.2s forwards; }

  .dz-panel.is-active .par-phone .n { animation: par-n-in .35s ease forwards; }
  .dz-panel.is-active .par-phone.before .n:nth-of-type(1) { animation-delay: .2s; }
  .dz-panel.is-active .par-phone.before .n:nth-of-type(2) { animation-delay: .35s; }
  .dz-panel.is-active .par-phone.before .n:nth-of-type(3) { animation-delay: .5s; }
  .dz-panel.is-active .par-phone.before .n:nth-of-type(4) { animation-delay: .65s; }
  .dz-panel.is-active .par-phone.before .n:nth-of-type(5) { animation-delay: .8s; }
  .dz-panel.is-active .par-phone.before .n:nth-of-type(6) { animation-delay: .95s; }
  .dz-panel.is-active .par-phone.before .n:nth-of-type(7) { animation-delay: 1.1s; }
  .dz-panel.is-active .par-phone.after  .n:nth-of-type(1) { animation-delay: .5s; }
  .dz-panel.is-active .par-phone.after  .n:nth-of-type(2) { animation-delay: .75s; }
  .dz-panel.is-active .par-phone.after  .n:nth-of-type(3) { animation-delay: 1.0s; }

  .dz-panel.is-active .stu-task.done .box { background: var(--accent); border-color: var(--accent); color: white; }
  .dz-panel.is-active .stu-task.done:nth-of-type(1) .box { transition-delay: .5s; }
  .dz-panel.is-active .stu-task.done:nth-of-type(2) .box { transition-delay: .85s; }
  .dz-panel.is-active .stu-task.done:nth-of-type(3) .box { transition-delay: 1.2s; }
  .dz-panel.is-active .stu-task.done:nth-of-type(4) .box { transition-delay: 1.55s; }
  .dz-panel.is-active .stu-badge { animation: badge-in .6s cubic-bezier(.2,.7,.2,1) 1.8s forwards; }
  .dz-panel.is-active .stu-feed  { animation: stu-feed-in .5s ease 2.2s forwards; }

  @media (max-width: 980px) {
    .dz-tabs { grid-template-columns: repeat(2, 1fr); }
    .dz-panel-grid { grid-template-columns: 1fr; gap: 24px; }
    .dz-panels { min-height: 760px; }
    .dz-panel { padding: 24px; }
  }
  @media (max-width: 560px) {
    .dz-tabs { grid-template-columns: 1fr; }
    .dz-list { grid-template-columns: 1fr; }
  }

  .pick {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .pick a {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
  }
  .pick a:hover { border-color: color-mix(in oklab, var(--teal-700) 30%, var(--line)); transform: translateY(-2px); }
  .pick a .ix {
    font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
    color: var(--muted); background: var(--cream-2); border: 1px solid var(--line);
    border-radius: 999px; padding: 4px 6px; text-align: center;
  }
  .pick a .lbl { font-size: 14px; font-weight: 500; line-height: 1.2; }
  .pick a .sub { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); margin-top: 2px; }

  /* ======== Persona row ======== */
  .pr {
    position: relative;
    padding: 96px 0;
    border-top: 1px solid var(--line);
  }
  .pr:first-of-type { border-top: 0; }
  .pr-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 64px;
    align-items: center;
  }
  .pr.flip .pr-grid { direction: rtl; }
  .pr.flip .pr-grid > * { direction: ltr; }

  .pr-side h2 { font-size: clamp(28px, 3.2vw, 42px); margin-top: 18px; }
  .pr-side .pr-quote {
    margin-top: 14px;
    font-size: 17px;
    color: var(--ink-2);
    line-height: 1.6;
    max-width: 48ch;
  }
  .pr-tag {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent, var(--teal-700));
    background: color-mix(in oklab, var(--accent, var(--teal-700)) 10%, var(--paper));
    border: 1px solid color-mix(in oklab, var(--accent, var(--teal-700)) 25%, var(--line));
    border-radius: 999px;
    padding: 4px 11px;
  }
  .pr-tag .dot { width: 6px; height: 6px; border-radius:50%; background: var(--accent, var(--teal-700)); }

  .pr-bullets {
    margin-top: 22px;
    list-style: none;
    padding: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px;
    max-width: 520px;
  }
  .pr-bullets li {
    font-size: 13.5px;
    color: var(--ink-2);
    display: flex; gap: 9px; align-items: flex-start;
    line-height: 1.45;
  }
  .pr-bullets li::before {
    content: "";
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--accent, var(--teal-700));
    margin-top: 8px; flex: none;
  }

  .pr-stage {
    position: relative;
    background: linear-gradient(180deg, var(--cream-2), var(--paper));
    border: 1px solid var(--line);
    border-radius: 22px;
    min-height: 500px;
    padding: 28px;
    box-shadow: var(--shadow);
    overflow: hidden;
    opacity: 0; transform: translateY(18px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
  }
  .pr.is-in .pr-stage { opacity: 1; transform: translateY(0); }
  @media (prefers-reduced-motion: reduce) {
    .pr-stage, .pr-stage * { animation: none !important; transition: opacity .2s linear !important; }
  }

  /* persona portrait */
  .portrait {
    display: flex; align-items: center; gap: 14px;
    margin-top: 8px;
  }
  .portrait .ava {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--accent, var(--teal-700));
    color: var(--cream);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 500; letter-spacing: -.01em;
  }
  .portrait .who { font-size: 14px; font-weight: 500; }
  .portrait .role { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .04em; margin-top: 1px; }

  /* =========================================
     SCENE A · ADMIN — dashboard with counters
     ========================================= */
  .adm-cmd {
    background: var(--ink);
    color: var(--cream);
    border-radius: 16px;
    padding: 18px;
    max-width: 460px;
    margin: 0 auto;
    position: relative;
    box-shadow: var(--shadow-lg);
  }
  .adm-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .adm-head .ttl { font-size: 14px; font-weight: 500; }
  .adm-head .live { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: #66e29c; display: flex; align-items: center; gap: 6px; }
  .adm-head .live .pulse { width: 7px; height: 7px; border-radius: 50%; background: #66e29c; animation: adm-pulse 1.6s infinite ease-in-out; }
  @keyframes adm-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

  .adm-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
  .adm-stat {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    padding: 12px 14px;
  }
  .adm-stat .key { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .55; }
  .adm-stat .num { font-size: 24px; font-weight: 500; letter-spacing: -.02em; margin-top: 4px; }
  .adm-stat .delta { font-family: var(--font-mono); font-size: 10px; color: #66e29c; }
  .adm-stat.coral .num { color: var(--coral); }

  .adm-log {
    margin-top: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    padding: 10px 12px;
  }
  .adm-log .key { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .55; margin-bottom: 6px; }
  .adm-log .line {
    display: flex; align-items: center; gap: 8px;
    font-size: 11.5px;
    padding: 4px 0;
    opacity: 0;
    transform: translateX(-8px);
  }
  .adm-log .line .ts {
    font-family: var(--font-mono); font-size: 10px;
    opacity: .55;
    min-width: 46px;
  }
  .adm-log .line .body { opacity: .85; }
  .pr.is-in .adm-log .line { animation: adm-line-in .35s ease forwards; }
  .pr.is-in .adm-log .line:nth-child(2) { animation-delay: 1.2s; }
  .pr.is-in .adm-log .line:nth-child(3) { animation-delay: 1.6s; }
  .pr.is-in .adm-log .line:nth-child(4) { animation-delay: 2.0s; }
  .pr.is-in .adm-log .line:nth-child(5) { animation-delay: 2.4s; }
  @keyframes adm-line-in { to { opacity: 1; transform: translateX(0); } }

  .adm-num { display: inline-block; }
  .pr.is-in .adm-num { animation: adm-count 1.4s cubic-bezier(.2,.7,.2,1) forwards; counter-set: c 0; }
  /* counters animated via JS — we keep CSS for visual aesthetic */

  /* =========================================
     SCENE B · TEACHER — day timeline
     ========================================= */
  .teach-day {
    display: flex; flex-direction: column; gap: 10px;
    padding: 8px 4px;
  }
  .tday {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 14px;
    align-items: stretch;
    opacity: 0; transform: translateX(-10px);
  }
  .pr.is-in .tday { animation: tday-in .5s ease forwards; }
  .pr.is-in .tday:nth-child(1) { animation-delay: .3s; }
  .pr.is-in .tday:nth-child(2) { animation-delay: .9s; }
  .pr.is-in .tday:nth-child(3) { animation-delay: 1.5s; }
  .pr.is-in .tday:nth-child(4) { animation-delay: 2.1s; }
  @keyframes tday-in { to { opacity: 1; transform: translateX(0); } }
  .tday .time {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent, var(--teal-700));
    padding-top: 14px;
    letter-spacing: .04em;
    text-align: right;
    position: relative;
  }
  .tday .time::after {
    content: "";
    position: absolute;
    right: -7px;
    top: 18px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent, var(--teal-700));
    border: 2px solid var(--paper);
  }
  .tday .card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    position: relative;
  }
  .tday .card .ttl { font-size: 13px; font-weight: 500; }
  .tday .card .sub { font-size: 11.5px; color: var(--muted); margin-top: 3px; font-family: var(--font-mono); letter-spacing: .04em; }
  .tday .card .mini {
    display: flex; gap: 4px; margin-top: 9px; flex-wrap: wrap;
  }
  .tday .card .mini .pip {
    width: 18px; height: 18px;
    background: color-mix(in oklab, var(--teal-700) 10%, var(--paper));
    border: 1px solid color-mix(in oklab, var(--teal-700) 25%, var(--line));
    color: var(--teal-700);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-size: 10px;
    transform: scale(.5); opacity: 0;
  }
  .pr.is-in .tday:nth-child(2) .pip { animation: pip-pop .4s cubic-bezier(.2,.7,.2,1) forwards; }
  .pr.is-in .tday:nth-child(2) .pip:nth-child(1) { animation-delay: 1.1s; }
  .pr.is-in .tday:nth-child(2) .pip:nth-child(2) { animation-delay: 1.18s; }
  .pr.is-in .tday:nth-child(2) .pip:nth-child(3) { animation-delay: 1.26s; }
  .pr.is-in .tday:nth-child(2) .pip:nth-child(4) { animation-delay: 1.34s; }
  .pr.is-in .tday:nth-child(2) .pip:nth-child(5) { animation-delay: 1.42s; }
  .pr.is-in .tday:nth-child(2) .pip:nth-child(6) { animation-delay: 1.5s; }
  .pr.is-in .tday:nth-child(2) .pip:nth-child(7) { animation-delay: 1.58s; }
  .pr.is-in .tday:nth-child(2) .pip:nth-child(8) { animation-delay: 1.66s; }
  @keyframes pip-pop { to { opacity: 1; transform: scale(1); } }

  .tday .send-anim {
    display: flex; align-items: center; gap: 10px; margin-top: 9px;
    font-family: var(--font-mono); font-size: 10.5px; color: var(--accent, var(--teal-700));
  }
  .tday .send-anim .bar {
    flex: 1;
    height: 4px;
    background: var(--line-2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
  }
  .tday .send-anim .bar::after {
    content: ""; position: absolute; inset: 0;
    background: var(--accent, var(--teal-700));
    transform-origin: left; transform: scaleX(0);
  }
  .pr.is-in .tday:nth-child(3) .send-anim .bar::after { animation: send-fill 1.2s ease 1.8s forwards; }
  @keyframes send-fill { to { transform: scaleX(1); } }

  .tday .privacy-phone {
    margin-top: 10px;
    background: linear-gradient(135deg, #1a2a30, #0b2a30);
    color: var(--cream);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex; align-items: center; gap: 10px;
  }
  .tday .privacy-phone .icon {
    width: 28px; height: 28px; border-radius: 8px;
    background: color-mix(in oklab, var(--accent, var(--teal-700)) 30%, transparent);
    display: flex; align-items: center; justify-content: center;
    color: var(--cream); font-size: 14px;
  }
  .tday .privacy-phone .body { font-size: 12px; }
  .tday .privacy-phone .body b { font-weight: 500; }

  /* =========================================
     SCENE C · PARENT — before/after phones
     ========================================= */
  .par-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    height: 100%;
    align-items: stretch;
  }
  .par-phone {
    background: var(--ink);
    color: var(--cream);
    border-radius: 24px;
    padding: 14px 12px 18px;
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
  }
  .par-phone .head {
    text-align: center;
    padding: 6px 0 10px;
  }
  .par-phone .head .clock { font-size: 22px; font-weight: 300; letter-spacing: -.02em; }
  .par-phone .head .lbl { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; margin-top: 2px; }
  .par-phone.before .head { background: linear-gradient(180deg, transparent, rgba(232,118,91,.18)); }
  .par-phone.before .head .lbl { color: var(--coral); opacity: .9; }
  .par-phone.after  .head .lbl { color: var(--accent, var(--teal-700)); }

  .par-phone .stream { display: flex; flex-direction: column; gap: 6px; flex: 1; }
  .par-phone .n {
    background: color-mix(in oklab, var(--cream) 88%, transparent);
    color: var(--ink);
    border-radius: 10px;
    padding: 7px 9px;
    font-size: 11px;
    line-height: 1.3;
    opacity: 0; transform: translateY(8px);
  }
  .par-phone .n .a {
    font-family: var(--font-mono); font-size: 8.5px;
    color: var(--muted); letter-spacing: .12em; text-transform: uppercase;
    margin-bottom: 1px;
  }
  .par-phone.before .n.school .a { color: var(--coral); }
  .par-phone.before .n.school { background: color-mix(in oklab, var(--coral) 18%, var(--cream)); }
  .par-phone.after  .n.school .a { color: var(--accent, var(--teal-700)); }
  .par-phone.after  .n.school {
    background: color-mix(in oklab, var(--accent, var(--teal-700)) 18%, var(--cream));
    border-left: 3px solid var(--accent, var(--teal-700));
  }
  .pr.is-in .par-phone .n { animation: par-n-in .35s ease forwards; }
  .pr.is-in .par-phone.before .n:nth-of-type(1) { animation-delay: .2s; }
  .pr.is-in .par-phone.before .n:nth-of-type(2) { animation-delay: .35s; }
  .pr.is-in .par-phone.before .n:nth-of-type(3) { animation-delay: .5s; }
  .pr.is-in .par-phone.before .n:nth-of-type(4) { animation-delay: .65s; }
  .pr.is-in .par-phone.before .n:nth-of-type(5) { animation-delay: .8s; }
  .pr.is-in .par-phone.before .n:nth-of-type(6) { animation-delay: .95s; }
  .pr.is-in .par-phone.before .n:nth-of-type(7) { animation-delay: 1.1s; }
  .pr.is-in .par-phone.after  .n:nth-of-type(1) { animation-delay: .5s; }
  .pr.is-in .par-phone.after  .n:nth-of-type(2) { animation-delay: .75s; }
  .pr.is-in .par-phone.after  .n:nth-of-type(3) { animation-delay: 1.0s; }
  @keyframes par-n-in { to { opacity: 1; transform: translateY(0); } }

  .par-phone.before .n.junk { opacity: .55; }
  .par-phone .footer-cnt {
    margin-top: 8px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: .1em;
    opacity: .7;
  }
  .par-phone.before .footer-cnt { color: var(--coral); }
  .par-phone.after  .footer-cnt { color: var(--accent, var(--teal-700)); }

  /* =========================================
     SCENE D · STUDENT — checklist + badge
     ========================================= */
  .stu-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    max-width: 380px;
    margin: 0 auto;
    box-shadow: var(--shadow);
    position: relative;
  }
  .stu-head { display: flex; justify-content: space-between; align-items: center; }
  .stu-head .lbl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .stu-head .day { font-size: 14px; font-weight: 500; }
  .stu-hw {
    margin-top: 14px;
    background: var(--cream-2);
    border-radius: 12px;
    padding: 12px;
  }
  .stu-hw .key { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
  .stu-task {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 0;
    font-size: 13px;
    color: var(--ink-2);
    border-top: 1px dashed var(--line);
  }
  .stu-task:first-of-type { border-top: 0; }
  .stu-task .box {
    width: 18px; height: 18px;
    border: 1.5px solid var(--line);
    border-radius: 5px;
    flex: none;
    background: var(--paper);
    display: flex; align-items: center; justify-content: center;
    color: transparent;
    font-size: 12px;
    transition: background .35s ease, border-color .35s ease, color .35s ease;
  }
  .pr.is-in .stu-task.done .box { background: var(--accent, var(--teal-700)); border-color: var(--accent, var(--teal-700)); color: white; }
  .stu-task.done .body { text-decoration: line-through; color: var(--muted); }
  .pr.is-in .stu-task.done:nth-of-type(1) .box { transition-delay: .8s; }
  .pr.is-in .stu-task.done:nth-of-type(2) .box { transition-delay: 1.2s; }
  .pr.is-in .stu-task.done:nth-of-type(3) .box { transition-delay: 1.6s; }
  .pr.is-in .stu-task.done:nth-of-type(4) .box { transition-delay: 2.0s; }

  .stu-badge {
    margin-top: 14px;
    background: linear-gradient(135deg, #ffd97a, #f2a03d);
    color: #5a3a09;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex; align-items: center; gap: 14px;
    box-shadow: 0 14px 28px -14px rgba(242,160,61,.6);
    opacity: 0; transform: scale(.92);
  }
  .pr.is-in .stu-badge { animation: badge-in .6s cubic-bezier(.2,.7,.2,1) 2.4s forwards; }
  @keyframes badge-in { to { opacity: 1; transform: scale(1); } }
  .stu-badge .medal {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: white;
    color: #f2a03d;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    box-shadow: inset 0 -3px 0 rgba(0,0,0,.08);
    animation: medal-spin 6s linear infinite;
  }
  @keyframes medal-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
  .stu-badge .body .ttl { font-size: 13.5px; font-weight: 500; }
  .stu-badge .body .sub { font-family: var(--font-mono); font-size: 10.5px; opacity: .8; margin-top: 2px; }

  .stu-feed {
    position: absolute;
    right: -22px;
    bottom: -16px;
    background: var(--ink);
    color: var(--cream);
    padding: 10px 12px;
    border-radius: 12px;
    max-width: 200px;
    box-shadow: var(--shadow);
    opacity: 0; transform: translateY(8px);
  }
  .pr.is-in .stu-feed { animation: stu-feed-in .5s ease 3s forwards; }
  @keyframes stu-feed-in { to { opacity: 1; transform: translateY(0); } }
  .stu-feed .lbl { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
  .stu-feed .body { font-size: 12px; margin-top: 3px; }

  /* ===== responsive ===== */
  @media (max-width: 960px) {
    .pick { grid-template-columns: 1fr 1fr; }
    .pr-grid { grid-template-columns: 1fr; gap: 32px; }
    .pr.flip .pr-grid { direction: ltr; }
    .pr-bullets { grid-template-columns: 1fr; }
  }
  @media (max-width: 560px) {
    .pick { grid-template-columns: 1fr; }
    .pr-stage { min-height: 380px; padding: 18px; }
    .par-compare { grid-template-columns: 1fr; }
    .stu-feed { right: 8px; bottom: 8px; }
  }

/* =========================================================
   Onboarding section
   ========================================================= */
/* ========= Hero ========= */
  .ob-hero { padding: 80px 0 24px; }
  .ob-hero h1 { font-size: clamp(40px, 5vw, 68px); }
  .ob-hero .lede { margin-top: 22px; max-width: 64ch; }

  .ob-meta {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .ob-meta .item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 18px;
  }
  .ob-meta .key { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .ob-meta .val { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin-top: 4px; }
  .ob-meta .sub { font-size: 12px; color: var(--ink-2); margin-top: 4px; }

  /* ========= Timeline ========= */
  .ob-track { margin: 64px 0 96px; position: relative; }
  .ob-track::before {
    content:""; position: absolute;
    left: 38px; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--line) 6%, var(--line) 94%, transparent);
  }
  .ob-step {
    position: relative;
    padding: 56px 0 56px 96px;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
    align-items: start;
  }
  .ob-num {
    position: absolute;
    left: 0; top: 64px;
    width: 76px; height: 76px;
    background: var(--ink);
    color: var(--cream);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono);
    font-size: 22px; font-weight: 500; letter-spacing: -.02em;
    box-shadow: 0 0 0 8px var(--cream), 0 4px 18px -8px rgba(11,42,48,.4);
    transform: scale(.5); opacity: 0;
  }
  .ob-step.is-in .ob-num { animation: ob-num-in .55s cubic-bezier(.2,.7,.2,1) forwards; }
  @keyframes ob-num-in { to { transform: scale(1); opacity: 1; } }

  .ob-side h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 16px; }
  .ob-pill {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 999px;
    background: color-mix(in oklab, var(--accent, var(--teal-700)) 12%, var(--paper));
    border: 1px solid color-mix(in oklab, var(--accent, var(--teal-700)) 30%, var(--line));
    color: var(--accent, var(--teal-700));
  }
  .ob-pill .d { width: 6px; height: 6px; border-radius: 50%; background: var(--accent, var(--teal-700)); }
  .ob-side p.desc { margin-top: 14px; max-width: 50ch; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
  .ob-tasks {
    margin-top: 18px;
    list-style: none; padding: 0;
    display: flex; flex-direction: column; gap: 8px;
    max-width: 460px;
  }
  .ob-tasks li {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 13.5px; color: var(--ink-2);
  }
  .ob-tasks li::before {
    content: "✓"; color: var(--accent, var(--teal-700));
    font-family: var(--font-mono); font-size: 13px;
    margin-top: 1px;
    flex: none;
  }
  .ob-time {
    margin-top: 18px;
    display: inline-flex;
    align-items: center; gap: 8px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--muted);
  }
  .ob-time .icon { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--accent, var(--teal-700)); position: relative; }
  .ob-time .icon::before {
    content:""; position: absolute;
    left: 50%; top: 50%;
    width: 4px; height: 2px;
    background: var(--accent, var(--teal-700));
    transform-origin: 0 50%;
    transform: rotate(0deg);
    animation: clock 8s linear infinite;
  }
  @keyframes clock { to { transform: rotate(360deg); } }

  /* Stage card */
  .ob-stage {
    position: relative;
    background: linear-gradient(180deg, var(--cream-2), var(--paper));
    border: 1px solid var(--line);
    border-radius: 22px;
    min-height: 460px;
    overflow: hidden;
    padding: 28px;
    box-shadow: var(--shadow);
    opacity: 0; transform: translateY(20px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
  }
  .ob-step.is-in .ob-stage { opacity: 1; transform: translateY(0); }
  @media (prefers-reduced-motion: reduce) {
    .ob-stage, .ob-stage * { animation: none !important; transition: opacity .2s linear !important; }
  }

  /* ============================================
     STEP 1 · CSV upload + preview
     ============================================ */
  .csv-drop {
    background: var(--paper);
    border: 2px dashed color-mix(in oklab, var(--teal-700) 30%, var(--line));
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    position: relative;
  }
  .csv-icon {
    width: 56px; height: 70px;
    margin: 0 auto;
    background: linear-gradient(180deg, #fff, #f4eee0);
    border-radius: 4px;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--teal-700);
    box-shadow: 0 6px 18px -8px rgba(11,42,48,.25);
    transform: translateY(8px);
    opacity: 0;
  }
  .csv-icon::after {
    content: "";
    position: absolute; right: 0; top: 0;
    border-left: 12px solid transparent;
    border-bottom: 12px solid var(--paper);
  }
  .ob-step.is-in .csv-icon { animation: csv-drop .55s cubic-bezier(.2,.7,.2,1) .3s forwards; }
  @keyframes csv-drop { 0% { transform: translateY(-30px); opacity: 0; } 60% { transform: translateY(4px); opacity: 1; } 100% { transform: translateY(0); opacity: 1; } }

  .csv-name {
    margin-top: 14px;
    font-family: var(--font-mono); font-size: 11.5px;
    color: var(--muted); letter-spacing: .04em;
    opacity: 0;
  }
  .ob-step.is-in .csv-name { animation: fade-in .4s ease .8s forwards; }
  @keyframes fade-in { to { opacity: 1; } }

  .csv-prog {
    margin-top: 12px;
    height: 5px;
    background: var(--line-2);
    border-radius: 3px;
    overflow: hidden;
    opacity: 0;
  }
  .csv-prog::before {
    content: ""; display: block; height: 100%;
    background: linear-gradient(90deg, var(--teal-600), var(--teal-700));
    width: 0;
  }
  .ob-step.is-in .csv-prog { animation: fade-in .3s ease 1.0s forwards; }
  .ob-step.is-in .csv-prog::before { animation: csv-fill 1.6s ease 1.1s forwards; }
  @keyframes csv-fill { to { width: 100%; } }

  .csv-table {
    margin-top: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
  }
  .csv-table .row {
    display: grid;
    grid-template-columns: 36px 1.4fr 1fr 0.8fr 0.8fr;
    gap: 10px;
    padding: 9px 14px;
    font-size: 12px;
    border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(8px);
  }
  .csv-table .row:last-child { border-bottom: 0; }
  .csv-table .row.h {
    background: var(--cream-2);
    font-family: var(--font-mono); font-size: 10px;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--muted);
  }
  .ob-step.is-in .csv-table .row { animation: csv-row .4s ease forwards; }
  .ob-step.is-in .csv-table .row.h { animation-delay: 2.6s; }
  .ob-step.is-in .csv-table .row:nth-child(2) { animation-delay: 2.8s; }
  .ob-step.is-in .csv-table .row:nth-child(3) { animation-delay: 2.95s; }
  .ob-step.is-in .csv-table .row:nth-child(4) { animation-delay: 3.1s; }
  .ob-step.is-in .csv-table .row:nth-child(5) { animation-delay: 3.25s; }
  .ob-step.is-in .csv-table .row:nth-child(6) { animation-delay: 3.4s; }
  @keyframes csv-row { to { opacity: 1; transform: translateY(0); } }
  .csv-success {
    position: absolute;
    right: 22px; bottom: 22px;
    background: var(--ink);
    color: var(--cream);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex; gap: 10px; align-items: center;
    box-shadow: var(--shadow);
    opacity: 0; transform: translateY(8px);
  }
  .ob-step.is-in .csv-success { animation: csv-row .5s ease 4s forwards; }
  .csv-success .tick {
    width: 26px; height: 26px; border-radius: 50%;
    background: #66e29c; color: #0b2a30;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
  }
  .csv-success .body .num { font-size: 14px; font-weight: 500; }
  .csv-success .body .sub { font-family: var(--font-mono); font-size: 10px; opacity: .65; letter-spacing: .08em; }

  /* ============================================
     STEP 2 · SMS invites + acceptance grid
     ============================================ */
  .inv-phone {
    background: var(--ink);
    color: var(--cream);
    border-radius: 22px;
    padding: 14px;
    max-width: 200px;
    box-shadow: var(--shadow-lg);
    position: absolute;
    left: 28px; top: 28px;
  }
  .inv-phone .hd { font-family: var(--font-mono); font-size: 9.5px; opacity: .6; letter-spacing: .12em; text-transform: uppercase; }
  .inv-phone .ttl { font-size: 14px; font-weight: 500; margin-top: 4px; }
  .inv-phone .msg { background: rgba(255,255,255,.08); border-radius: 10px; padding: 9px 11px; font-size: 11px; margin-top: 10px; line-height: 1.35; }
  .inv-phone .msg b { font-weight: 500; }

  .inv-fly {
    position: absolute;
    left: 200px; top: 60px;
    width: 18px; height: 18px;
    background: var(--coral);
    border-radius: 4px;
    color: white;
    font-size: 11px;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
  }
  .ob-step.is-in .inv-fly { animation: inv-fly 1.6s ease forwards; }
  .ob-step.is-in .inv-fly.f1 { animation-delay: .9s; }
  .ob-step.is-in .inv-fly.f2 { animation-delay: 1.2s; --y: -10px; --x: 160px; }
  .ob-step.is-in .inv-fly.f3 { animation-delay: 1.5s; --y: 30px; --x: 200px; }
  .ob-step.is-in .inv-fly.f4 { animation-delay: 1.8s; --y: -30px; --x: 180px; }
  .ob-step.is-in .inv-fly.f5 { animation-delay: 2.1s; --y: 50px; --x: 220px; }
  @keyframes inv-fly {
    0% { opacity: 0; transform: translate(0, 0); }
    20% { opacity: 1; }
    100% { opacity: 0; transform: translate(var(--x, 180px), var(--y, 10px)); }
  }

  .inv-grid {
    position: absolute;
    right: 24px; bottom: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    max-width: 280px;
    box-shadow: var(--shadow-sm);
  }
  .inv-grid .hd { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .inv-grid .cnt { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin-top: 4px; }
  .inv-grid .cnt .of { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
  .inv-dots {
    margin-top: 12px;
    display: grid; grid-template-columns: repeat(12, 1fr);
    gap: 4px;
  }
  .inv-dots span {
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--cream-2);
    border: 1px solid var(--line);
    transform: scale(.8);
    transition: background .35s ease, border-color .35s ease, transform .35s ease;
  }
  .ob-step.is-in .inv-dots span.joined { background: var(--teal-600); border-color: var(--teal-700); transform: scale(1); }

  .inv-bar {
    margin-top: 12px;
    height: 4px;
    background: var(--line-2);
    border-radius: 2px;
    overflow: hidden;
  }
  .inv-bar::after { content:""; display:block; height:100%; background: var(--teal-700); width: 0; }
  .ob-step.is-in .inv-bar::after { animation: inv-bar-fill 3.5s ease 1.2s forwards; }
  @keyframes inv-bar-fill { to { width: 91%; } }

  /* ============================================
     STEP 3 · Channels switching on
     ============================================ */
  .ch-list {
    display: flex; flex-direction: column; gap: 10px;
    max-width: 380px;
    margin: 0 auto;
  }
  .ch-item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: background .4s ease, border-color .4s ease;
  }
  .ch-icon {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: var(--cream-2);
    border: 1px solid var(--line);
    color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    transition: background .4s ease, color .4s ease, border-color .4s ease;
  }
  .ch-info { flex: 1; min-width: 0; }
  .ch-name { font-size: 13.5px; font-weight: 500; }
  .ch-sub { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); margin-top: 2px; letter-spacing: .04em; }
  .ch-switch {
    width: 38px; height: 22px;
    background: var(--line);
    border-radius: 999px;
    position: relative;
    transition: background .35s ease;
  }
  .ch-switch::after {
    content: "";
    position: absolute;
    left: 2px; top: 2px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--paper);
    box-shadow: 0 2px 5px rgba(0,0,0,.18);
    transition: transform .35s cubic-bezier(.2,.7,.2,1), background .35s ease;
  }
  .ob-step.is-in .ch-item.live { background: color-mix(in oklab, var(--teal-50) 75%, var(--paper)); border-color: color-mix(in oklab, var(--teal-700) 25%, var(--line)); }
  .ob-step.is-in .ch-item.live .ch-icon { background: var(--teal-700); color: var(--cream); border-color: var(--teal-700); }
  .ob-step.is-in .ch-item.live .ch-switch { background: var(--teal-700); }
  .ob-step.is-in .ch-item.live .ch-switch::after { transform: translateX(16px); background: var(--cream); }

  .ob-step.is-in .ch-item.live:nth-child(1) { transition-delay: .3s; }
  .ob-step.is-in .ch-item.live:nth-child(1) .ch-icon { transition-delay: .3s; }
  .ob-step.is-in .ch-item.live:nth-child(1) .ch-switch,
  .ob-step.is-in .ch-item.live:nth-child(1) .ch-switch::after { transition-delay: .3s; }
  .ob-step.is-in .ch-item.live:nth-child(2) { transition-delay: .7s; }
  .ob-step.is-in .ch-item.live:nth-child(2) .ch-icon { transition-delay: .7s; }
  .ob-step.is-in .ch-item.live:nth-child(2) .ch-switch,
  .ob-step.is-in .ch-item.live:nth-child(2) .ch-switch::after { transition-delay: .7s; }
  .ob-step.is-in .ch-item.live:nth-child(3) { transition-delay: 1.1s; }
  .ob-step.is-in .ch-item.live:nth-child(3) .ch-icon { transition-delay: 1.1s; }
  .ob-step.is-in .ch-item.live:nth-child(3) .ch-switch,
  .ob-step.is-in .ch-item.live:nth-child(3) .ch-switch::after { transition-delay: 1.1s; }
  .ob-step.is-in .ch-item.live:nth-child(4) { transition-delay: 1.5s; }
  .ob-step.is-in .ch-item.live:nth-child(4) .ch-icon { transition-delay: 1.5s; }
  .ob-step.is-in .ch-item.live:nth-child(4) .ch-switch,
  .ob-step.is-in .ch-item.live:nth-child(4) .ch-switch::after { transition-delay: 1.5s; }
  .ob-step.is-in .ch-item.live:nth-child(5) { transition-delay: 1.9s; }
  .ob-step.is-in .ch-item.live:nth-child(5) .ch-icon { transition-delay: 1.9s; }
  .ob-step.is-in .ch-item.live:nth-child(5) .ch-switch,
  .ob-step.is-in .ch-item.live:nth-child(5) .ch-switch::after { transition-delay: 1.9s; }

  .ob-banner {
    position: absolute;
    right: 24px; bottom: 24px;
    background: var(--ink);
    color: var(--cream);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex; gap: 10px; align-items: center;
    box-shadow: var(--shadow);
    opacity: 0; transform: translateY(8px);
  }
  .ob-banner .pulse { width: 8px; height: 8px; border-radius: 50%; background: #66e29c; animation: ob-pulse 1.4s infinite ease-in-out; }
  @keyframes ob-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
  .ob-banner .lbl { font-family: var(--font-mono); font-size: 10px; opacity: .65; letter-spacing: .1em; text-transform: uppercase; }
  .ob-banner .val { font-size: 13px; font-weight: 500; }
  .ob-step.is-in .ob-banner { animation: csv-row .5s ease 2.6s forwards; }

  /* ============================================
     STEP 4 · Auto-rollover (calendar flip + grade promote)
     ============================================ */
  .ro-stage { display: grid; grid-template-columns: 130px 1fr; gap: 18px; height: 100%; align-items: stretch; }
  .ro-cal {
    background: var(--ink);
    color: var(--cream);
    border-radius: 14px;
    padding: 14px;
    position: relative;
    overflow: hidden;
  }
  .ro-cal .month {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .65;
    margin-bottom: 8px;
  }
  .ro-cal .year {
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1;
    position: relative;
  }
  .ro-cal .year .next {
    position: absolute;
    left: 0; top: 0;
    opacity: 0;
    transform: translateY(14px);
    color: #66e29c;
  }
  .ob-step.is-in .ro-cal .year .now { animation: yr-out .8s ease 1.0s forwards; }
  .ob-step.is-in .ro-cal .year .next { animation: yr-in .8s ease 1.0s forwards; }
  @keyframes yr-out { to { opacity: 0; transform: translateY(-14px); } }
  @keyframes yr-in  { to { opacity: 1; transform: translateY(0); } }

  .ro-cal .grid {
    margin-top: 14px;
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px;
  }
  .ro-cal .grid span {
    aspect-ratio: 1;
    border-radius: 4px;
    background: rgba(255,255,255,.05);
  }
  .ro-cal .stamp {
    position: absolute;
    right: -6px; bottom: 14px;
    transform: rotate(-12deg) scale(.6);
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: .14em;
    background: var(--coral);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    opacity: 0;
  }
  .ob-step.is-in .ro-cal .stamp { animation: stamp-in .4s cubic-bezier(.2,.7,.2,1) 2.0s forwards; }
  @keyframes stamp-in { to { opacity: 1; transform: rotate(-12deg) scale(1); } }

  .ro-classes {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex; flex-direction: column; gap: 7px;
  }
  .ro-classes .hd { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
  .ro-cls {
    display: grid;
    grid-template-columns: 1fr 24px 1fr;
    align-items: center;
    gap: 10px;
  }
  .ro-cls .a, .ro-cls .b {
    background: var(--cream-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ink);
    display: flex; justify-content: space-between; gap: 8px;
  }
  .ro-cls .b {
    background: color-mix(in oklab, var(--teal-50) 80%, var(--paper));
    border-color: color-mix(in oklab, var(--teal-700) 22%, var(--line));
    color: var(--teal-700);
    transform: translateX(-14px);
    opacity: 0;
  }
  .ro-cls .ct { font-family: var(--font-mono); font-size: 10.5px; opacity: .65; }
  .ro-cls .ar {
    color: var(--muted-2);
    font-family: var(--font-mono); font-size: 11px;
    opacity: 0;
    text-align: center;
  }
  .ob-step.is-in .ro-cls .ar { animation: ar-in .3s ease forwards; }
  .ob-step.is-in .ro-cls .b { animation: cls-in .5s cubic-bezier(.2,.7,.2,1) forwards; }
  .ob-step.is-in .ro-cls:nth-of-type(1) .ar { animation-delay: 1.4s; }
  .ob-step.is-in .ro-cls:nth-of-type(1) .b  { animation-delay: 1.55s; }
  .ob-step.is-in .ro-cls:nth-of-type(2) .ar { animation-delay: 1.7s; }
  .ob-step.is-in .ro-cls:nth-of-type(2) .b  { animation-delay: 1.85s; }
  .ob-step.is-in .ro-cls:nth-of-type(3) .ar { animation-delay: 2.0s; }
  .ob-step.is-in .ro-cls:nth-of-type(3) .b  { animation-delay: 2.15s; }
  .ob-step.is-in .ro-cls:nth-of-type(4) .ar { animation-delay: 2.3s; }
  .ob-step.is-in .ro-cls:nth-of-type(4) .b  { animation-delay: 2.45s; }
  @keyframes ar-in  { to { opacity: 1; } }
  @keyframes cls-in { to { opacity: 1; transform: translateX(0); } }

  .ro-done {
    margin-top: auto;
    background: color-mix(in oklab, var(--teal-50) 80%, var(--paper));
    border: 1px solid color-mix(in oklab, var(--teal-700) 22%, var(--line));
    border-radius: 10px;
    padding: 10px 12px;
    display: flex; gap: 10px; align-items: center;
    opacity: 0; transform: translateY(8px);
  }
  .ro-done .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--teal-700); color: white; display: flex; align-items: center; justify-content: center; font-size: 13px; }
  .ro-done .lbl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700); }
  .ro-done .val { font-size: 13px; font-weight: 500; }
  .ob-step.is-in .ro-done { animation: csv-row .5s ease 3s forwards; }

  /* ===== summary ===== */
  .ob-summary {
    background: var(--ink);
    color: var(--cream);
    border-radius: 24px;
    padding: 56px 56px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
  }
  .ob-summary h2 { color: var(--cream); font-size: clamp(28px, 3.2vw, 42px); }
  .ob-summary p { color: color-mix(in oklab, var(--cream) 75%, transparent); margin-top: 12px; font-size: 16.5px; line-height: 1.6; }
  .ob-summary .total {
    display: flex; align-items: baseline; gap: 14px;
  }
  .ob-summary .total .num { font-size: 88px; font-weight: 300; letter-spacing: -.04em; line-height: 1; }
  .ob-summary .total .unit { font-family: var(--font-mono); font-size: 13px; opacity: .65; letter-spacing: .08em; text-transform: uppercase; }
  .ob-summary .ticks {
    margin-top: 18px;
    list-style: none; padding: 0;
    display: flex; flex-direction: column; gap: 8px;
  }
  .ob-summary .ticks li {
    display: flex; gap: 10px; align-items: center;
    font-size: 13.5px; color: color-mix(in oklab, var(--cream) 90%, transparent);
  }
  .ob-summary .ticks li::before {
    content: "✓"; font-family: var(--font-mono); color: #66e29c;
  }

  /* ===== responsive ===== */
  @media (max-width: 960px) {
    .ob-track::before { left: 18px; }
    .ob-step { padding-left: 64px; grid-template-columns: 1fr; gap: 32px; }
    .ob-num { left: -16px; top: 56px; width: 56px; height: 56px; font-size: 18px; box-shadow: 0 0 0 6px var(--cream); }
    .ob-meta { grid-template-columns: 1fr 1fr; }
    .ob-summary { grid-template-columns: 1fr; padding: 36px 28px; gap: 32px; }
    .ro-stage { grid-template-columns: 1fr; }
  }
  @media (max-width: 560px) {
    .ob-step { padding-left: 50px; }
    .ob-stage { min-height: 380px; padding: 18px; }
    .inv-phone { position: relative; left: 0; top: 0; max-width: 100%; }
    .inv-grid { position: relative; right: auto; bottom: auto; margin-top: 14px; max-width: 100%; }
    .csv-success { right: 14px; bottom: 14px; padding: 9px 11px; }
  }

/* =========================================================
   Pricing section
   ========================================================= */
.pricing-hero { padding: 80px 0 32px; }
  .pricing-hero h1 { font-size: clamp(40px, 4.6vw, 64px); }
  .toggle {
    display: inline-flex;
    padding: 4px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    gap: 4px;
    margin-top: 28px;
  }
  .toggle button {
    background: transparent;
    border: 0;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--ink-2);
    font-weight: 500;
  }
  .toggle button.active {
    background: var(--ink); color: var(--cream);
  }
  .compare-table {
    margin-top: 16px;
    width: 100%;
    border-collapse: collapse;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .compare-table th, .compare-table td {
    padding: 14px 18px;
    text-align: left;
    font-size: 14px;
    border-top: 1px solid var(--line);
    color: var(--ink-2);
  }
  .compare-table thead th {
    background: var(--cream-2);
    font-size: 12px;
    font-family: var(--font-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    border-top: 0;
    font-weight: 500;
  }
  .compare-table tr td:first-child { font-weight: 500; color: var(--ink); }
  .compare-table .yes { color: var(--teal-700); }
  .compare-table .no { color: var(--muted-2); }
  .faq {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-top: 40px;
  }
  .faq-item { padding: 22px 0; border-top: 1px solid var(--line); }
  .faq-item:first-of-type { border-top: 0; }
  .faq-item h3 { font-size: 17px; font-weight: 500; }
  .faq-item p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
  @media (max-width: 880px) {
    .faq { grid-template-columns: 1fr; gap: 24px; }
  }

/* =========================================================
   Roadmap section
   ========================================================= */
/* ====== Roadmap page layout ====== */
  .roadmap-hero { padding: 80px 0 24px; }
  .roadmap-hero h1 { font-size: clamp(40px, 5vw, 68px); }
  .roadmap-hero .lede { margin-top: 22px; max-width: 64ch; }

  .rm-track {
    margin: 56px 0 96px;
    position: relative;
  }
  .rm-track::before {
    content:"";
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--line) 8%, var(--line) 92%, transparent);
    transform: translateX(-.5px);
  }

  .rm-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 80px 0;
  }
  .rm-row .rm-side { min-width: 0; }
  .rm-row .rm-stage {
    position: relative;
    background: linear-gradient(180deg, var(--cream-2), var(--paper));
    border: 1px solid var(--line);
    border-radius: 22px;
    min-height: 460px;
    overflow: hidden;
    padding: 28px;
    box-shadow: var(--shadow);
  }
  .rm-row.flip { direction: rtl; }
  .rm-row.flip > * { direction: ltr; }

  .rm-node {
    position: absolute;
    left: 50%;
    top: 80px;
    transform: translateX(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--paper);
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono);
    font-size: 11px; font-weight: 500;
    letter-spacing: .04em;
    color: var(--ink);
    box-shadow: 0 0 0 6px var(--cream);
    z-index: 2;
  }
  .rm-pill {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 10.5px;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--coral);
    background: color-mix(in oklab, var(--coral) 12%, var(--paper));
    border: 1px solid color-mix(in oklab, var(--coral) 30%, var(--line));
    padding: 4px 11px;
    border-radius: 999px;
  }
  .rm-pill .dot { width: 6px; height: 6px; border-radius:50%; background: var(--coral); animation: rm-pulse 2s ease-in-out infinite; }
  .rm-pill.shipped { color: var(--teal-700); background: var(--teal-50); border-color: color-mix(in oklab, var(--teal-700) 30%, var(--line)); }
  .rm-pill.shipped .dot { background: var(--teal-700); animation: none; }
  @keyframes rm-pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

  .rm-row h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 18px; }
  .rm-row p.rm-desc { margin-top: 14px; font-size: 17px; color: var(--ink-2); line-height: 1.6; max-width: 48ch; }
  .rm-meta {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    max-width: 360px;
  }
  .rm-meta .item {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    background: var(--paper);
  }
  .rm-meta .key { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .rm-meta .val { font-size: 13px; font-weight: 500; margin-top: 2px; }

  /* trigger: animate when scrolled into view */
  .rm-stage { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  .rm-row.is-in .rm-stage { opacity: 1; transform: translateY(0); }
  @media (prefers-reduced-motion: reduce) {
    .rm-stage, .rm-stage * { animation: none !important; transition: opacity .2s linear !important; }
  }

  /* ========= 1. Fees management ========= */
  .fe-phone {
    background: var(--ink);
    color: var(--cream);
    border-radius: 22px;
    padding: 18px;
    max-width: 320px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
  }
  .fe-head { display:flex; justify-content:space-between; align-items:center; }
  .fe-head .lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity:.6; }
  .fe-head .due { font-size: 11px; color: var(--coral); font-family: var(--font-mono); }
  .fe-title { font-size: 15px; font-weight: 500; margin-top: 4px; }
  .fe-rows { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
  .fe-row {
    display: flex; justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255,255,255,.1);
    font-size: 13px;
    opacity: 0; transform: translateX(-12px);
  }
  .fe-row .amt { font-family: var(--font-mono); }
  .rm-row.is-in .fe-row { animation: fe-row-in .5s ease forwards; }
  .rm-row.is-in .fe-row:nth-child(1) { animation-delay: .3s; }
  .rm-row.is-in .fe-row:nth-child(2) { animation-delay: .5s; }
  .rm-row.is-in .fe-row:nth-child(3) { animation-delay: .7s; }
  .rm-row.is-in .fe-row:nth-child(4) { animation-delay: .9s; }
  @keyframes fe-row-in { to { opacity: 1; transform: translateX(0); } }
  .fe-total {
    margin-top: 14px;
    display: flex; justify-content: space-between; align-items: baseline;
    padding-top: 12px; border-top: 1px solid rgba(255,255,255,.18);
  }
  .fe-total .key { font-family: var(--font-mono); font-size: 10.5px; opacity: .65; letter-spacing: .08em; text-transform: uppercase; }
  .fe-total .num { font-size: 22px; font-weight: 500; letter-spacing: -.015em; }
  .fe-pay {
    margin-top: 14px;
    background: var(--coral);
    color: white;
    border-radius: 10px;
    text-align: center;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
  }
  .fe-pay::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
    transform: translateX(-100%);
  }
  .rm-row.is-in .fe-pay::after { animation: fe-shimmer 2s ease-in-out 1.6s infinite; }
  @keyframes fe-shimmer { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

  .fe-success {
    position: absolute;
    top: 24px; right: 24px;
    background: var(--paper);
    border: 1px solid color-mix(in oklab, var(--teal-700) 25%, var(--line));
    border-radius: 12px;
    padding: 12px 14px;
    display: flex; gap: 10px; align-items: center;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-8px) scale(.96);
  }
  .fe-success .tick {
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--teal-700); color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
  }
  .fe-success .lbl { font-family: var(--font-mono); font-size: 10px; color: var(--teal-700); letter-spacing: .08em; text-transform: uppercase; }
  .fe-success .val { font-size: 13px; font-weight: 500; }
  .rm-row.is-in .fe-success { animation: fe-success-in .5s cubic-bezier(.2,.7,.2,1) 2s forwards; }
  @keyframes fe-success-in { to { opacity: 1; transform: translateY(0) scale(1); } }

  .fe-bell {
    position: absolute;
    left: 30px; top: 36px;
    background: color-mix(in oklab, var(--amber) 18%, var(--paper));
    border: 1px solid color-mix(in oklab, var(--amber) 40%, var(--line));
    color: #9a5a06;
    border-radius: 999px;
    padding: 6px 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .08em;
    display: flex; gap: 6px; align-items: center;
    opacity: 0;
  }
  .rm-row.is-in .fe-bell { animation: fe-bell-in .5s ease 1.2s forwards, fe-bell-shake 1.4s ease-in-out 1.8s 2; }
  @keyframes fe-bell-in { to { opacity: 1; } }
  @keyframes fe-bell-shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
  }

  /* ========= 2. Exams & academics ========= */
  .ex-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    max-width: 380px;
    margin: 0 auto;
    box-shadow: var(--shadow);
  }
  .ex-head { display:flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .ex-name { font-size: 14px; font-weight: 500; }
  .ex-meta { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); letter-spacing: .06em; }
  .ex-rows { margin-top: 14px; display: flex; flex-direction: column; gap: 0; }
  .ex-row {
    display: grid;
    grid-template-columns: 1.2fr auto auto auto;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    font-size: 13px;
    border-bottom: 1px dashed var(--line);
    opacity: 0; transform: translateY(8px);
  }
  .ex-row:last-child { border-bottom: 0; }
  .ex-row .ex-sub { font-weight: 500; }
  .ex-row .ex-score {
    font-family: var(--font-mono);
    width: 110px;
    height: 6px;
    background: var(--line-2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
  }
  .ex-row .ex-score > span { display:block; height:100%; background: var(--teal-700); width: 0; border-radius: 3px; }
  .ex-row .ex-num { font-family: var(--font-mono); font-size: 12px; color: var(--ink); min-width: 36px; text-align: right; }
  .ex-row .ex-grade {
    font-family: var(--font-mono);
    font-size: 10.5px;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--teal-50);
    color: var(--teal-700);
    min-width: 32px; text-align: center;
    transform: scale(.8); opacity: 0;
  }
  .ex-row .ex-grade.aplus { background: color-mix(in oklab, var(--teal-700) 18%, var(--paper)); }
  .ex-row .ex-grade.bplus { background: color-mix(in oklab, var(--amber) 16%, var(--paper)); color: #9a5a06; }

  .rm-row.is-in .ex-row { animation: ex-row-in .45s ease forwards; }
  .rm-row.is-in .ex-row:nth-child(1) { animation-delay: .25s; }
  .rm-row.is-in .ex-row:nth-child(2) { animation-delay: .45s; }
  .rm-row.is-in .ex-row:nth-child(3) { animation-delay: .65s; }
  .rm-row.is-in .ex-row:nth-child(4) { animation-delay: .85s; }
  .rm-row.is-in .ex-row:nth-child(5) { animation-delay: 1.05s; }
  @keyframes ex-row-in { to { opacity: 1; transform: translateY(0); } }
  .rm-row.is-in .ex-row .ex-score > span { animation: ex-fill 1s cubic-bezier(.2,.7,.2,1) forwards; }
  .rm-row.is-in .ex-row:nth-child(1) .ex-score > span { animation-delay: .55s; --w: 92%; }
  .rm-row.is-in .ex-row:nth-child(2) .ex-score > span { animation-delay: .75s; --w: 88%; }
  .rm-row.is-in .ex-row:nth-child(3) .ex-score > span { animation-delay: .95s; --w: 95%; }
  .rm-row.is-in .ex-row:nth-child(4) .ex-score > span { animation-delay: 1.15s; --w: 86%; }
  .rm-row.is-in .ex-row:nth-child(5) .ex-score > span { animation-delay: 1.35s; --w: 90%; }
  @keyframes ex-fill { from { width: 0; } to { width: var(--w, 100%); } }
  .rm-row.is-in .ex-row .ex-grade { animation: ex-grade-pop .35s cubic-bezier(.2,.7,.2,1) forwards; }
  .rm-row.is-in .ex-row:nth-child(1) .ex-grade { animation-delay: 1.55s; }
  .rm-row.is-in .ex-row:nth-child(2) .ex-grade { animation-delay: 1.7s; }
  .rm-row.is-in .ex-row:nth-child(3) .ex-grade { animation-delay: 1.85s; }
  .rm-row.is-in .ex-row:nth-child(4) .ex-grade { animation-delay: 2.0s; }
  .rm-row.is-in .ex-row:nth-child(5) .ex-grade { animation-delay: 2.15s; }
  @keyframes ex-grade-pop { to { opacity: 1; transform: scale(1); } }

  .ex-total {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: baseline;
  }
  .ex-total .lbl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .ex-total .pct { font-size: 22px; font-weight: 500; letter-spacing: -.015em; color: var(--teal-700); }

  /* ========= 3. Staff attendance ========= */
  .sa-grid {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
  }
  .sa-head { display:flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .sa-head .lbl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .sa-head .num { font-size: 14px; font-weight: 500; }
  .sa-roster { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 6px; margin-top: 12px; align-items: center; }
  .sa-roster .col-h {
    font-family: var(--font-mono);
    font-size: 9.5px;
    color: var(--muted);
    text-align: center;
    letter-spacing: .08em;
  }
  .sa-roster .name { font-size: 12px; }
  .sa-cell {
    height: 22px;
    border-radius: 6px;
    background: var(--cream-2);
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--muted-2);
    transition: background .35s ease, color .35s ease, border-color .35s ease;
  }
  .sa-cell.checked { background: var(--teal-50); color: var(--teal-700); border-color: color-mix(in oklab, var(--teal-700) 22%, var(--line)); }
  .sa-cell.leave { background: color-mix(in oklab, var(--amber) 18%, var(--paper)); color: #9a5a06; border-color: color-mix(in oklab, var(--amber) 30%, var(--line)); }
  .rm-row.is-in .sa-cell { opacity: 0; animation: sa-cell-in .35s ease forwards; }
  @keyframes sa-cell-in { to { opacity: 1; } }

  .sa-leave {
    position: absolute;
    right: 22px;
    bottom: 22px;
    background: var(--ink);
    color: var(--cream);
    border-radius: 12px;
    padding: 14px 16px;
    max-width: 240px;
    box-shadow: 0 18px 32px -16px rgba(11,42,48,.4);
    opacity: 0;
    transform: translateY(12px) rotate(-1deg);
  }
  .rm-row.is-in .sa-leave { animation: sa-leave-in .5s cubic-bezier(.2,.7,.2,1) 2.6s forwards; }
  @keyframes sa-leave-in { to { opacity: 1; transform: translateY(0) rotate(-1deg); } }
  .sa-leave .lbl { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
  .sa-leave .name { font-size: 13px; font-weight: 500; margin-top: 3px; }
  .sa-leave .days { font-family: var(--font-mono); font-size: 11px; margin-top: 4px; opacity: .8; }
  .sa-leave .stamp {
    display: inline-block;
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .14em;
    background: var(--teal-700);
    color: white;
    padding: 3px 9px;
    border-radius: 999px;
    transform: scale(.6);
    opacity: 0;
  }
  .rm-row.is-in .sa-leave .stamp { animation: sa-stamp .4s cubic-bezier(.2,.7,.2,1) 3.1s forwards; }
  @keyframes sa-stamp { to { transform: scale(1); opacity: 1; } }

  /* ========= 4. Payroll ========= */
  .pr-slip {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 20px;
    max-width: 360px;
    margin: 0 auto;
    box-shadow: var(--shadow);
    position: relative;
  }
  .pr-head { display: flex; justify-content: space-between; align-items: baseline; }
  .pr-name { font-size: 14px; font-weight: 500; }
  .pr-month { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); letter-spacing: .08em; }
  .pr-section { margin-top: 12px; }
  .pr-section-h {
    font-family: var(--font-mono);
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    margin-bottom: 6px;
  }
  .pr-line { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; opacity: 0; transform: translateY(6px); }
  .pr-line .key { color: var(--ink-2); }
  .pr-line .val { font-family: var(--font-mono); }
  .pr-line.minus .val { color: var(--coral); }
  .rm-row.is-in .pr-line { animation: pr-line-in .35s ease forwards; }
  .rm-row.is-in .pr-line:nth-of-type(1) { animation-delay: .3s; }
  .rm-row.is-in .pr-line:nth-of-type(2) { animation-delay: .45s; }
  .rm-row.is-in .pr-line:nth-of-type(3) { animation-delay: .6s; }
  .rm-row.is-in .pr-line.minus:nth-of-type(1) { animation-delay: 1.1s; }
  .rm-row.is-in .pr-line.minus:nth-of-type(2) { animation-delay: 1.25s; }
  .rm-row.is-in .pr-line.minus:nth-of-type(3) { animation-delay: 1.4s; }
  @keyframes pr-line-in { to { opacity: 1; transform: translateY(0); } }
  .pr-net {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: baseline;
  }
  .pr-net .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .pr-net .num { font-size: 22px; font-weight: 500; color: var(--teal-700); letter-spacing: -.015em; }

  .pr-pdf {
    position: absolute;
    left: -24px;
    bottom: -16px;
    background: var(--ink);
    color: var(--cream);
    padding: 10px 14px;
    border-radius: 10px;
    display: flex; align-items: center; gap: 10px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(8px);
  }
  .pr-pdf .icon {
    width: 26px; height: 30px;
    background: linear-gradient(180deg, #fff, #f4eee0);
    border-radius: 3px;
    color: var(--coral);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 1px 0 rgba(0,0,0,.1);
  }
  .pr-pdf .lbl { font-family: var(--font-mono); font-size: 10px; opacity: .7; letter-spacing: .08em; text-transform: uppercase; }
  .pr-pdf .val { font-size: 12px; font-weight: 500; }
  .rm-row.is-in .pr-pdf { animation: pr-pdf-in .5s cubic-bezier(.2,.7,.2,1) 1.9s forwards; }
  @keyframes pr-pdf-in { to { opacity: 1; transform: translateY(0); } }

  /* ========= 5. Bus tracking ========= */
  .bt-map {
    position: relative;
    background:
      radial-gradient(120% 80% at 30% 20%, color-mix(in oklab, var(--teal-50) 80%, var(--paper)), transparent 60%),
      var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    height: 340px;
    overflow: hidden;
    margin: 0 auto;
    max-width: 480px;
  }
  .bt-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 36px 36px; opacity: .35; }
  .bt-route { position: absolute; inset: 0; }
  .bt-route svg { width: 100%; height: 100%; }
  .bt-route .path-bg { stroke: var(--line); stroke-width: 6; fill: none; stroke-linecap: round; }
  .bt-route .path-fg {
    stroke: var(--coral); stroke-width: 3; fill: none; stroke-linecap: round;
    stroke-dasharray: 700;
    stroke-dashoffset: 700;
  }
  .rm-row.is-in .bt-route .path-fg { animation: bt-draw 6s ease-in-out forwards; animation-delay: .3s; }
  @keyframes bt-draw { to { stroke-dashoffset: 0; } }

  .bt-stop {
    position: absolute;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--ink);
    transform: translate(-50%, -50%);
  }
  .bt-stop.s1 { left: 12%; top: 78%; }
  .bt-stop.s2 { left: 32%; top: 60%; }
  .bt-stop.s3 { left: 55%; top: 70%; }
  .bt-stop.s4 { left: 76%; top: 42%; }
  .bt-stop.school { left: 88%; top: 18%; border-color: var(--teal-700); background: var(--teal-700); width: 18px; height: 18px; }

  .bt-bus {
    position: absolute;
    width: 36px; height: 22px;
    background: var(--ink);
    color: var(--cream);
    border-radius: 4px;
    transform: translate(-50%, -50%);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    box-shadow: 0 6px 14px -6px rgba(11,42,48,.4);
    offset-path: path("M 60 265 Q 120 240 165 200 Q 230 200 270 235 Q 320 230 370 130 Q 420 80 460 60");
    offset-rotate: 0deg;
    offset-distance: 0%;
  }
  .rm-row.is-in .bt-bus { animation: bt-roll 6s ease-in-out forwards; animation-delay: .3s; }
  @keyframes bt-roll { to { offset-distance: 100%; } }

  .bt-notif {
    position: absolute;
    right: 18px;
    background: var(--ink);
    color: var(--cream);
    padding: 10px 12px;
    border-radius: 12px;
    max-width: 220px;
    font-size: 12px;
    box-shadow: 0 10px 24px -12px rgba(11,42,48,.45);
    opacity: 0;
    transform: translateY(10px);
  }
  .bt-notif .lbl { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; opacity: .6; text-transform: uppercase; }
  .bt-notif .body { margin-top: 3px; font-weight: 500; }
  .bt-notif .time { font-family: var(--font-mono); font-size: 10.5px; opacity: .7; margin-top: 2px; }
  .bt-notif .green { color: #66e29c; }
  .bt-notif.n1 { top: 18px; }
  .bt-notif.n2 { top: 100px; right: 14px; }
  .bt-notif.n3 { top: 188px; right: 18px; }
  .rm-row.is-in .bt-notif { animation: bt-notif-in .45s cubic-bezier(.2,.7,.2,1) forwards; }
  .rm-row.is-in .bt-notif.n1 { animation-delay: 1.2s; }
  .rm-row.is-in .bt-notif.n2 { animation-delay: 3.0s; }
  .rm-row.is-in .bt-notif.n3 { animation-delay: 5.0s; }
  @keyframes bt-notif-in { to { opacity: 1; transform: translateY(0); } }

  .bt-bio {
    position: absolute;
    left: 22px;
    bottom: 22px;
    background: color-mix(in oklab, var(--teal-700) 8%, var(--paper));
    border: 1px solid color-mix(in oklab, var(--teal-700) 30%, var(--line));
    border-radius: 12px;
    padding: 10px 12px;
    display: flex; gap: 10px; align-items: center;
    opacity: 0;
  }
  .rm-row.is-in .bt-bio { animation: bt-bio-in .4s ease 4.5s forwards; }
  @keyframes bt-bio-in { to { opacity: 1; } }
  .bt-bio .scan {
    width: 28px; height: 28px;
    border-radius: 50%;
    background:
      radial-gradient(circle at 50% 50%, transparent 6px, var(--teal-700) 6.5px, var(--teal-700) 8px, transparent 8.5px, transparent 11px, var(--teal-700) 11.5px, var(--teal-700) 13px, transparent 13.5px);
    position: relative;
    animation: bt-bio-pulse 1.6s ease-in-out infinite;
  }
  @keyframes bt-bio-pulse { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }
  .bt-bio .lbl { font-family: var(--font-mono); font-size: 9.5px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
  .bt-bio .val { font-size: 12px; font-weight: 500; color: var(--teal-700); }

  /* ====== Responsive ====== */
  @media (max-width: 960px) {
    .rm-track::before { left: 18px; }
    .rm-row { grid-template-columns: 1fr; gap: 32px; padding: 56px 0 56px 48px; }
    .rm-row.flip { direction: ltr; }
    .rm-node { left: 18px; top: 64px; }
    .rm-meta { grid-template-columns: 1fr; }
  }
  @media (max-width: 560px) {
    .rm-row { padding-left: 36px; }
    .rm-stage { min-height: 360px; padding: 18px; }
    .bt-notif { max-width: 180px; right: 12px; font-size: 11px; }
    .pr-pdf { left: 0; bottom: 0; }
    .fe-success { right: 14px; top: 14px; padding: 8px 10px; }
    .fe-bell { left: 18px; top: 18px; }
  }

/* =========================================================
   About section
   ========================================================= */
/* ===== About — calm, focused ===== */
  .ab-hero { padding: 96px 0 32px; }
  .ab-hero h1 {
    font-size: clamp(44px, 5.6vw, 76px);
    line-height: 1.02;
    letter-spacing: -.035em;
    max-width: 19ch;
  }
  .ab-hero .lede { margin-top: 28px; max-width: 58ch; font-size: 19px; }

  /* Stat strip */
  .ab-stats {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .ab-stats .s {
    padding: 28px 22px 28px 0;
    border-right: 1px solid var(--line);
  }
  .ab-stats .s:last-child { border-right: 0; padding-right: 0; }
  .ab-stats .k {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .ab-stats .v {
    margin-top: 8px;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1;
  }
  .ab-stats .v .small {
    font-family: var(--font-mono); font-size: 13px;
    color: var(--muted); margin-left: 4px; letter-spacing: 0;
  }

  /* ===== The team — credibility callout ===== */
  .ab-team {
    margin: 96px 0;
    background: var(--ink);
    color: var(--cream);
    border-radius: 28px;
    padding: 72px 64px;
    position: relative;
    overflow: hidden;
  }
  .ab-team::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(50% 50% at 90% 100%, color-mix(in oklab, var(--coral) 50%, transparent), transparent 60%),
      radial-gradient(60% 50% at 10% 0%, color-mix(in oklab, var(--teal-700) 70%, transparent), transparent 70%);
    pointer-events: none;
  }
  .ab-team .inner { position: relative; z-index: 1; }
  .ab-team .eyebrow { color: var(--amber); }
  .ab-team .eyebrow::before { background: var(--amber); opacity: .8; }
  .ab-team h2 {
    margin-top: 22px;
    color: var(--cream);
    font-size: clamp(28px, 3.6vw, 48px);
    letter-spacing: -.025em;
    line-height: 1.1;
    max-width: 22ch;
  }
  .ab-team h2 .accent { color: var(--coral); font-style: italic; font-family: var(--font-serif); font-weight: 400; }

  .ab-pedigree {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .ped {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 22px 22px 26px;
    backdrop-filter: blur(6px);
    position: relative;
  }
  .ped .role {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: color-mix(in oklab, var(--cream) 55%, transparent);
  }
  .ped .yrs {
    margin-top: 10px;
    font-size: 40px;
    font-weight: 300;
    letter-spacing: -.03em;
    line-height: 1;
  }
  .ped .yrs .u { font-family: var(--font-mono); font-size: 13px; color: color-mix(in oklab, var(--cream) 55%, transparent); margin-left: 6px; letter-spacing: .04em; }
  .ped .body {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: color-mix(in oklab, var(--cream) 75%, transparent);
  }
  .ped .body b { font-weight: 500; color: var(--cream); }
  .ped .tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
  .ped .tag {
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    letter-spacing: .04em;
    color: color-mix(in oklab, var(--cream) 80%, transparent);
  }

  .ab-team .total {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex;
    gap: 24px;
    align-items: baseline;
    flex-wrap: wrap;
  }
  .ab-team .total .num {
    font-size: 88px;
    font-weight: 300;
    letter-spacing: -.04em;
    line-height: .9;
    background: linear-gradient(180deg, var(--cream), color-mix(in oklab, var(--cream) 55%, transparent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .ab-team .total .lbl {
    font-size: 16px;
    line-height: 1.4;
    color: color-mix(in oklab, var(--cream) 80%, transparent);
    max-width: 30ch;
  }
  .ab-team .total .lbl b { color: var(--cream); font-weight: 500; }

  /* ===== Why card — the founding quote ===== */
  .ab-why {
    margin: 0 0 96px;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 56px 56px;
    background: linear-gradient(180deg, var(--cream-2), var(--paper));
  }
  .ab-why h2 {
    margin-top: 22px;
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.22;
    letter-spacing: -.015em;
    max-width: 32ch;
    color: var(--ink);
  }
  .ab-why h2 .hl { font-style: normal; font-family: var(--font-sans); color: var(--coral); font-weight: 500; }
  .ab-why .sig {
    margin-top: 28px;
    display: flex; align-items: center; gap: 12px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .ab-why .sig .dash { width: 32px; height: 1px; background: var(--line); }

  /* ===== Principles ===== */
  .ab-prin {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    margin-top: 24px;
  }
  .ab-prin .p {
    padding: 36px 32px 36px 0;
    border-right: 1px solid var(--line);
  }
  .ab-prin .p:nth-child(3) { border-right: 0; padding-right: 0; }
  .ab-prin .num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--coral);
  }
  .ab-prin h3 {
    margin-top: 14px;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1.18;
    max-width: 18ch;
  }
  .ab-prin p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
    max-width: 32ch;
  }

  /* Origin */
  .ab-origin {
    margin: 88px auto 0;
    max-width: 760px;
    text-align: center;
    padding: 0 24px;
  }
  .ab-origin .eyebrow { justify-content: center; }
  .ab-origin h2 {
    margin-top: 14px;
    font-size: clamp(24px, 2.8vw, 32px);
    text-wrap: balance;
  }
  .ab-origin p {
    margin-top: 16px;
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--ink-2);
  }

  @media (max-width: 880px) {
    .ab-stats { grid-template-columns: 1fr 1fr; }
    .ab-stats .s { padding-right: 18px; }
    .ab-stats .s:nth-child(2) { border-right: 0; }
    .ab-stats .s:nth-child(1), .ab-stats .s:nth-child(2) { border-bottom: 1px solid var(--line); }
    .ab-team { padding: 48px 28px; margin: 64px 0; border-radius: 18px; }
    .ab-team .total .num { font-size: 64px; }
    .ab-pedigree { grid-template-columns: 1fr; }
    .ab-why { padding: 36px 28px; border-radius: 18px; margin-bottom: 64px; }
    .ab-prin { grid-template-columns: 1fr; }
    .ab-prin .p { border-right: 0; padding: 28px 0; border-bottom: 1px solid var(--line); }
    .ab-prin .p:last-child { border-bottom: 0; }
  }

/* ===== Section-wide: smooth scroll + sticky-nav offset ===== */
html { scroll-behavior: smooth; }
.section-anchor { scroll-margin-top: 80px; }
