/* ═══════════════════════════════════════════════════════════
   ELEVENPLUS — Design System v3
   Aesthetic: Editorial · Refined · Premium
   Fonts: Sunsive (display + UI) + IBM Plex Mono (code)
   Primary: --ep-primary (#71277d). Legacy aliases --v and --p
   retained as var(--ep-primary) for backwards compatibility.
   ═══════════════════════════════════════════════════════════ */

/* Rubik font - loaded from Google Fonts (OLMO template font) */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ── TOKENS ── */
:root {
  /* Brand */
  --ink:    #0D0C0A;
  --ink2:   #3A3733;
  --ink3:   #7A7570;
  --paper:  #FDFCF9;
  --paper2: #F5F3EE;
  --paper3: #EBE8E1;
  --rule:   #E0DDD6;

  /* Accent — ElevenPass brand purple. --ep-primary is the canonical name;
     --v, --vl, --vm, --vd, --v9 retained as aliases for legacy templates. */
  --ep-primary:       #71277d;
  --ep-primary-light: #F3EAF5;
  --ep-primary-mid:   #9B5BA6;
  --ep-primary-dark:  #4e1b56;
  --ep-primary-deep:  #2b0f2f;
  --v:      var(--ep-primary);
  --vl:     var(--ep-primary-light);
  --vm:     var(--ep-primary-mid);
  --vd:     var(--ep-primary-dark);
  --v9:     var(--ep-primary-deep);

  /* Semantic */
  --go:     #1A5C2A;
  --gol:    #E4F4E8;
  --warn:   #7A4500;
  --warnl:  #FEF3E2;
  --err:    #8C1D1D;
  --errl:   #FDEAEA;

  /* Subjects */
  --sm: #1A5C2A; --sml: #E4F4E8;
  --se: #7A1D1D; --sel: #FDEAEA;
  --sv: #2D2480; --svl: #ECEAFC;
  --sn: #7A4500; --snl: #FEF3E2;

  /* Type scale */
  --f-display: 'Rubik', system-ui, sans-serif;
  --f-ui:      'Rubik', system-ui, sans-serif;
  --f-mono:    'IBM Plex Mono', monospace;

  /* Spacing */
  --r:  8px;
  --rm: 12px;
  --rl: 16px;
  --rx: 24px;
  --max: 1200px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(13,12,10,.06), 0 1px 2px rgba(13,12,10,.04);
  --shadow:    0 4px 16px rgba(13,12,10,.08), 0 2px 6px rgba(13,12,10,.04);
  --shadow-lg: 0 16px 48px rgba(13,12,10,.12), 0 4px 16px rgba(13,12,10,.06);
  --shadow-xl: 0 32px 80px rgba(13,12,10,.18), 0 8px 24px rgba(13,12,10,.08);
}

/* ── BASE OVERRIDES (Bootstrap loaded first, site.css overrides) ── */
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--f-ui); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--v); text-decoration: none; }
a:hover { color: var(--vd); text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
blockquote { margin-bottom: 0; }
ul, ol { margin-bottom: 0; padding-left: 0; }
dl { margin-bottom: 0; }
hr { margin: 0; }

/* ── TYPOGRAPHY (override Bootstrap heading/paragraph resets) ── */
.t-display { font-family: var(--f-display); font-weight: 400; }
h1 { font-family: var(--f-display); font-size: clamp(48px, 6vw, 80px); line-height: 1.04; font-weight: 400; color: var(--ink); margin-bottom: 0; }
h2 { font-family: var(--f-display); font-size: clamp(32px, 4vw, 54px); line-height: 1.1; font-weight: 400; color: var(--ink); margin-bottom: 0; }
h3 { font-family: var(--f-ui); font-size: 22px; font-weight: 600; line-height: 1.25; color: var(--ink); margin-bottom: 0; }
h4 { font-family: var(--f-ui); font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); margin-bottom: 0; }
p { color: var(--ink2); line-height: 1.78; margin-bottom: 0; }
.lead { font-size: 19px; line-height: 1.65; color: var(--ink2); }
.caption { font-size: 12px; color: var(--ink3); font-weight: 500; letter-spacing: .04em; }
.mono { font-family: var(--f-mono); font-size: 13px; }

.eyebrow {
  font-family: var(--f-ui); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--v);
  display: block; margin-bottom: 16px;
}
.eyebrow-dark { color: var(--vm); }

/* ── LAYOUT ── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-lg { padding: 96px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.col-center { text-align: center; }
.col-center p, .col-center .lead { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; text-align: left; }
.flex-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ── UNIFIED BRAND LOGO (Sprint C) ──
   Single source of truth for the logo across auth, marketing, portals, and
   error pages. Always renders /brand/logo.png. Size modifiers apply per
   context; .ep-logo-invert inverts on dark backgrounds. */
.ep-logo { display: inline-block; width: auto; vertical-align: middle; }
.ep-logo-sm { height: 22px; }
.ep-logo-md { height: 28px; }
.ep-logo-lg { height: 40px; }
.ep-logo-invert { filter: brightness(0) invert(1); }

/* ── NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  background: #FDFCF9;
  border-bottom: 1px solid var(--rule);
  height: 68px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 40px;
}
.auth-nav {
  position: sticky; top: 0; z-index: 200;
  background: #FDFCF9;
  border-bottom: 1px solid var(--rule);
  height: 68px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 40px;
}
@media (max-width: 640px) { .auth-nav { padding: 0 20px; height: 60px; } }
@media (max-width: 520px) { .register-nav-hint { display: none; } .register-nav-signin { display: none; } .register-nav { justify-content: center; } }
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 17px; }
.nav-logo:hover { text-decoration: none; }
.nav-logo-img { height: 30px; width: auto; }
@media (max-width: 1060px) { .nav-logo-img { height: 26px; } }
.logo-mark { width: 34px; height: 34px; background: var(--v9); border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.logo-mark svg { width: 18px; height: 18px; }
.nav-logo-name { color: var(--ink); }
.nav-logo-name em { font-style: normal; color: var(--v); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { font-size: 16px; font-weight: 500; color: var(--ink2); padding: 6px 13px; border-radius: var(--r); transition: all .15s; }
.nav-links a:hover { color: var(--ink); background: var(--paper2); text-decoration: none; }
.nav-links a.active { color: var(--v); background: var(--vl); }
.nav-actions { display: flex; gap: 8px; align-items: center; }

/* ── AUTH SPLIT LAYOUT ──
   Shared desktop split used by sign-in, forgot-password, reset-password,
   verify-email, confirm-email-change, and account-deletion-scheduled.
   Register.html keeps its bespoke .reg-* classes for the multi-step wizard,
   but mirrors this same visual language. On <=900px the left panel hides
   and the right-side card fills the screen. */
/* Auth pages: centred single-column card layout */
.auth-split {
  background: var(--paper2);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 24px 40px;
  min-height: calc(100vh - 68px);
}
@media (max-width: 640px) {
  .auth-split { padding: 40px 16px 24px; }
}

/* Every element inside auth / register cards - readable baseline.
   Descendant selectors override inline font-size on any div/span/p. */
.auth-card, .reg-card { font-size: 16px !important; }
.auth-card *, .reg-card * { font-size: inherit; }
.auth-card h1, .reg-card h1 { font-size: 30px !important; line-height: 1.2 !important; }
.auth-card h2, .reg-card h2 { font-size: 26px !important; line-height: 1.25 !important; }
.auth-card h3, .reg-card h3 { font-size: 20px !important; }
/* Only the description paragraph right under the heading - bump to 16px.
   Footnote-style paragraphs (eg "Back to sign in") keep their inline sizing. */
.auth-card > p:first-of-type, .reg-card > p:first-of-type,
.reg-card > div > p:first-of-type { font-size: 16px !important; line-height: 1.6 !important; }
.auth-card label, .reg-card label { font-size: 14px !important; }
.auth-card input, .auth-card select, .auth-card textarea,
.reg-card input, .reg-card select, .reg-card textarea {
  font-size: 16px !important; padding: 13px 16px !important;
}
.auth-card button, .auth-card .btn, .auth-card .btn-primary,
.reg-card button, .reg-card .btn, .reg-card .btn-primary {
  font-size: 16px !important; padding: 14px 22px !important;
}
.auth-card a, .reg-card a { font-size: inherit !important; }
.auth-card .fi label a, .reg-card .fi label a { font-size: 14px !important; }
/* Secondary text links at the bottom of auth cards (eg "Back to sign in") */
.auth-card > p:not(:first-of-type),
.auth-card > p:not(:first-of-type) a,
.reg-card > p:not(:first-of-type),
.reg-card > p:not(:first-of-type) a { font-size: 14px !important; }
.auth-card .auth-error, .reg-card .reg-error { font-size: 14px !important; }
.reg-card .trial-pill { font-size: 14px !important; padding: 6px 14px !important; }
.reg-card .plan-opt, .reg-card .plan-opt * { font-size: 15px !important; }
.reg-card .plan-features li { font-size: 14px !important; }
.reg-card .step-bar { margin-bottom: 32px !important; }
.auth-card .rules, .reg-card .rules { font-size: 14px !important; color: var(--ink3); }


.auth-legal-footer { font-size: 14px !important; padding: 24px 16px !important; line-height: 1.7 !important; background: var(--v9) !important; color: rgba(255,255,255,.3) !important; }
.auth-legal-footer .br-mobile { display: none; }
@media (max-width: 640px) { .auth-legal-footer .br-mobile { display: block; } }

/* Sign-in secondary CTAs - alt register routes. Inline text links with
   non-breaking space before the arrow so it stays with the last word. */
.signin-alt-row {
  text-align: center;
  font-size: 14px !important;
  color: var(--ink2);
  margin-top: 8px;
  line-height: 1.7;
}
.signin-alt-row a {
  font-size: 14px !important;
  font-weight: 700;
  color: var(--ep-primary);
  white-space: nowrap;
}

/* Mobile nav */
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 210; }
.nav-hamburger span span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: all .2s; }
.nav-hamburger span.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger span.open span:nth-child(2) { opacity: 0; }
.nav-hamburger span.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-mobile { position: fixed; inset: 0; top: 68px; background: rgba(0,0,0,.4); z-index: 199; opacity: 0; pointer-events: none; transition: opacity .2s; }
.nav-mobile-open { opacity: 1; pointer-events: auto; }
.nav-mobile-inner { background: #fff; padding: 16px 24px 24px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.nav-mobile-inner a { font-size: 15px; font-weight: 500; color: var(--ink2); padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--rule); }
.nav-mobile-inner a:last-of-type { border-bottom: none; }

/* ── BUTTONS (override Bootstrap .btn) ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 22px; border-radius: var(--rm); border: 1.5px solid var(--rule);
  background: var(--paper); color: var(--ink); font-family: var(--f-ui);
  font-size: 14px; font-weight: 600; cursor: pointer; transition: all .18s;
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn:hover { background: var(--paper3); color: var(--ink); text-decoration: none; }
.btn:focus { box-shadow: none; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink2); border-color: var(--ink2); color: var(--paper); }
.btn-violet { background: var(--v) !important; border-color: var(--v) !important; color: #fff !important; }
.btn-violet:hover { background: var(--vd) !important; border-color: var(--vd) !important; color: #fff !important; }
.btn-ghost-w { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; }
.btn-ghost-w:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-outline-v { border-color: var(--v); color: var(--v); background: transparent; }
.btn-outline-v:hover { background: var(--vl); color: var(--v); }
.btn-sm { padding: 7px 16px; font-size: 13px; border-radius: var(--r); }
.btn-lg { padding: 14px 32px; font-size: 15px; border-radius: var(--rl); }
.btn-xl { padding: 17px 40px; font-size: 16px; border-radius: var(--rl); font-weight: 700; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── HERO ── */
.hero {
  background: var(--v9);
  position: relative; overflow: hidden;
  padding: 96px 0 0;
}
.hero-grid { display: grid; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(75,63,191,.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(143,135,220,.18) 0%, transparent 60%);
}
.hero-noise {
  position: absolute; inset: 0; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.15); border-radius: 20px;
  padding: 6px 16px; margin-bottom: 32px;
  background: rgba(255,255,255,.06); backdrop-filter: blur(8px);
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; flex-shrink: 0; animation: pulse-dot 2s ease infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(.8)} }
.hero-badge span { font-size: 13px; color: rgba(255,255,255,.7); font-weight: 500; }
.hero-badge a { color: var(--vm); font-weight: 600; }
.hero-badge a:hover { text-decoration: none; opacity: .85; }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero-accent { font-style: italic; color: var(--vm); }
.hero-lead { font-size: 20px; color: rgba(255,255,255,.6); max-width: 560px; margin-bottom: 44px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-social { display: flex; align-items: center; gap: 14px; margin-bottom: 60px; }
.hero-avatars { display: flex; }
.hero-av {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--v9);
  background: linear-gradient(135deg, #7C73DC 0%, #5B52C5 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff; margin-left: -9px;
}
.hero-av:first-child { margin-left: 0; }
.hero-social-text { font-size: 13px; color: rgba(255,255,255,.5); }
.hero-social-text strong { color: #fff; }

/* ── HERO STATS BAR ── */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: 20px 20px 0 0; overflow: hidden;
  border: 1px solid rgba(255,255,255,.1); border-bottom: none;
  max-width: 920px; margin-top: 16px;
  background: rgba(255,255,255,.04);
}
.hero-stat { padding: 26px 28px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.hero-stat:last-child { border-right: none; }
.hero-stat-num { font-family: var(--f-display); font-size: 34px; color: #fff; display: block; line-height: 1; }
.hero-stat-lbl { font-size: 12px; color: rgba(255,255,255,.4); display: block; margin-top: 6px; font-weight: 500; }

/* ── BOARDS BAR ── */
.boards-bar { background: #fff; border-bottom: 1px solid var(--rule); padding: 20px 0; }
.boards-bar-inner { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.board-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 16px; border-radius: 20px; border: 1.5px solid var(--rule); font-size: 13px; font-weight: 600; color: var(--ink2); background: var(--paper2); }
.board-chip-active { border-color: var(--v); color: var(--v); background: var(--vl); }

/* ── SECTION DIVIDERS ── */
.rule { height: 1px; background: var(--rule); }
.rule-strong { height: 1px; background: var(--paper3); }

/* ── CARDS (override Bootstrap .card) ── */
.card { background: #fff; border: 1px solid var(--rule); border-radius: var(--rl); padding: 28px; --bs-card-spacer-y: 0; --bs-card-spacer-x: 0; --bs-card-border-color: var(--rule); --bs-card-border-radius: var(--rl); --bs-card-bg: #fff; }
.card-sm { padding: 20px 22px; }
.card-lift { transition: all .25s cubic-bezier(.22,1,.36,1); }
.card-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--vm); }

/* Feature cards */
.feat-card {
  background: #fff; border: 1px solid var(--rule); border-radius: var(--rl);
  padding: 30px; position: relative; overflow: hidden; transition: all .25s;
}
.feat-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--v), var(--vm)); opacity: 0; transition: opacity .2s;
}
.feat-card:hover { border-color: var(--vm); box-shadow: var(--shadow); }
.feat-card:hover::after { opacity: 1; }
.feat-icon {
  width: 48px; height: 48px; border-radius: 13px; background: var(--vl);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  color: var(--v);
}
.feat-icon svg { width: 24px; height: 24px; }
.feat-card h3 { font-size: 18px; margin-bottom: 10px; }

/* Stat cards */
.stat-card { padding: 28px 32px; background: var(--paper2); border-radius: var(--rl); border: 1px solid var(--rule); text-align: center; }
.stat-big { font-family: var(--f-display); font-size: 52px; color: var(--v); display: block; line-height: 1; }
.stat-was { font-size: 14px; color: var(--ink3); text-decoration: line-through; display: block; margin-bottom: 6px; }

/* ── TESTIMONIALS ── */
.tcard { background: #fff; border: 1px solid var(--rule); border-radius: var(--rl); padding: 32px; position: relative; }
.tcard::before { content: '\201C'; font-family: var(--f-display); font-size: 72px; color: var(--vl); position: absolute; top: 16px; left: 24px; line-height: 1; }
.tcard-dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.tcard-dark::before { color: rgba(143,135,220,.25); }
.tquote { font-size: 15px; line-height: 1.78; color: var(--ink); padding-top: 28px; margin-bottom: 22px; }
.tquote-dark { color: rgba(255,255,255,.85); }
.tauthor { display: flex; align-items: center; gap: 12px; }
.tav { width: 40px; height: 40px; border-radius: 50%; background: var(--vl); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--vd); flex-shrink: 0; }
.tav-dark { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }
.tname { font-size: 14px; font-weight: 600; }
.tname-dark { color: #fff; }
.trole { font-size: 12px; color: var(--ink3); }
.trole-dark { color: rgba(255,255,255,.4); }
.stars { color: #F59E0B; font-size: 13px; letter-spacing: 2px; margin-bottom: 12px; }

/* ── PRICING ── */
.price-card { background: #fff; border: 1.5px solid var(--rule); border-radius: var(--rx); padding: 36px; position: relative; }
.price-card-featured { background: var(--v9); border-color: var(--v); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--v); color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 16px; border-radius: 20px; white-space: nowrap;
  box-shadow: 0 2px 12px rgba(75,63,191,.4);
}
.price-name { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; color: var(--ink2); }
.price-name-w { color: rgba(255,255,255,.5); }
.price-amt { font-family: var(--f-display); font-size: 48px; line-height: 1; color: var(--ink); margin: 14px 0 4px; }
.price-amt-w { color: #fff; }
.price-per { font-family: var(--f-ui); font-size: 15px; color: var(--ink3); font-weight: 400; }
.price-per-w { color: rgba(255,255,255,.45); }
.price-trial { font-size: 12px; color: var(--go); font-weight: 600; margin-bottom: 24px; }
.price-check { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; margin-bottom: 10px; color: var(--ink2); }
.price-check::before { content: '✓'; color: var(--go); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.price-check-w { color: rgba(255,255,255,.65); }
.price-check-w::before { color: #4ade80; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--rule); cursor: pointer; }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 15px; font-weight: 600; color: var(--ink); gap: 20px; }
.faq-a { padding: 0 0 20px; font-size: 14px; color: var(--ink2); line-height: 1.78; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-chevron { width: 18px; height: 18px; flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

/* ── TABLE ── */
.comp-wrap { border-radius: var(--rl); border: 1px solid var(--rule); overflow: hidden; }
.comp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.comp-table th { padding: 14px 20px; background: var(--paper2); font-weight: 600; border-bottom: 1px solid var(--rule); text-align: left; font-size: 13px; }
.comp-table td { padding: 13px 20px; border-bottom: 1px solid var(--rule); color: var(--ink2); }
.comp-table tr:last-child td { border: none; }
.comp-table .ck { color: var(--go); font-size: 16px; }
.comp-table .cx { color: var(--ink3); }
.comp-table .col-v { background: var(--vl); }
.comp-table .col-v-hdr { background: var(--v); color: #fff; }
.comp-table .cat { background: var(--paper3); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--ink2); }

/* ── UI MOCKUPS ── */
.mockup-window {
  background: var(--paper2); border: 1px solid var(--rule); border-radius: var(--rx);
  overflow: hidden; box-shadow: var(--shadow-xl);
}
.mockup-chrome {
  background: #fff; border-bottom: 1px solid var(--rule); padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
}
.mc-dot { width: 10px; height: 10px; border-radius: 50%; }
.mc-bar { flex: 1; height: 24px; background: var(--paper2); border-radius: 6px; border: 1px solid var(--rule); display: flex; align-items: center; padding: 0 10px; }
.mc-bar span { font-size: 11px; color: var(--ink3); font-family: var(--f-mono); }

/* Student phone mockup */
.phone-mockup {
  width: 280px; background: var(--v9); border-radius: 36px; overflow: hidden;
  box-shadow: var(--shadow-xl); border: 8px solid #0a0935;
}
.phone-notch { height: 28px; background: #0a0935; display: flex; align-items: center; justify-content: center; }
.phone-dot { width: 8px; height: 8px; border-radius: 50%; background: #1a1750; }
.phone-body { padding: 16px 14px 24px; }

/* ── PROGRESS BARS ── */
.pbar { height: 8px; background: var(--paper3); border-radius: 4px; overflow: hidden; }
.pfill { height: 100%; border-radius: 4px; transition: width .8s cubic-bezier(.22,1,.36,1); }

/* ── WEEK CARDS ── */
.week-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--rl); padding: 22px; }
.week-day { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--v); margin-bottom: 10px; }
.week-mins { display: inline-flex; align-items: center; gap: 6px; background: var(--gol); color: var(--go); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; margin-bottom: 10px; }

/* ── SUBJECT TAGS ── */
.stag { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.stag-m { background: var(--sml); color: var(--sm); }
.stag-e { background: var(--sel); color: var(--se); }
.stag-v { background: var(--svl); color: var(--sv); }
.stag-n { background: var(--snl); color: var(--sn); }

/* ── PILLS ── */
.pill { display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.pill-v { background: var(--vl); color: var(--vd); }
.pill-g { background: var(--gol); color: var(--go); }
.pill-w { background: var(--warnl); color: var(--warn); }
.pill-e { background: var(--errl); color: var(--err); }
.pill-gray { background: var(--paper3); color: var(--ink2); }
.pill-dark { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }

/* ── DARK SECTIONS ── */
.dark { background: var(--v9); color: #fff; }
.dark h2 { color: #fff; }
.dark p { color: rgba(255,255,255,.6); }
.dark .eyebrow { color: var(--vm); }
.mid { background: #2D2480; }

/* ── WARM SECTION ── */
.warm { background: var(--paper2); }

/* ── TIMELINE ── */
.tl-item { display: flex; gap: 20px; padding-bottom: 32px; position: relative; }
.tl-item::after { content: ''; position: absolute; left: 18px; top: 38px; bottom: 0; width: 2px; background: var(--rule); }
.tl-item:last-child::after { display: none; }
.tl-dot { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; position: relative; z-index: 1; }
.tl-done { background: var(--go); color: #fff; }
.tl-now { background: var(--v); color: #fff; }
.tl-todo { background: #fff; border: 2px solid var(--rule); color: var(--ink3); }

/* ── COMPARISON (before/after) ── */
.ba-col { background: var(--paper2); border-radius: var(--rl); padding: 24px; border: 1px solid var(--rule); }
.ba-col-bad { border-color: #F0B0B0; background: #FEF8F8; }
.ba-col-good { border-color: #A8D8B0; background: #F4FBF5; }
.ba-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 14px; }

/* ── SCORE RING ── */
.ring-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.ring-label { position: absolute; text-align: center; }
.ring-num { font-family: var(--f-display); font-size: 28px; color: var(--v); line-height: 1; }
.ring-sub { font-size: 11px; color: var(--ink3); font-weight: 600; }

/* ── FOOTER ── */
.footer { background: var(--v9); padding: 80px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 340px 1fr; gap: 48px; margin-bottom: 64px; }
.footer-nav-wrap { display: flex; }
.footer-nav-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; width: 100%; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand { font-size: 17px; font-weight: 700; color: #fff; }
.footer-brand em { font-style: normal; color: var(--vm); }
.footer-desc { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.75; max-width: 280px; margin-bottom: 24px; }
.footer-hed { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.3); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.5); transition: color .15s; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-trust { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.trust-badge { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 6px 12px; font-size: 12px; color: rgba(255,255,255,.45); font-weight: 500; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 28px; display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.3); flex-wrap: wrap; gap: 8px; }

/* ── CHECKLIST ── */
.cl li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 14px; color: var(--ink2); list-style: none; }
.cl li::before { content: '✓'; color: var(--go); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
@media (max-width:768px) {
  .cl li { display: list-item; list-style: none; padding-left: 24px; position: relative; }
  .cl li::before { position: absolute; left: 0; top: 2px; }
}
.il li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 9px; font-size: 14px; color: var(--ink2); list-style: none; }
.il li::before { content: '→'; color: var(--v); font-weight: 700; flex-shrink: 0; }

/* ── RUBRIC MOCKUP ── */
.rubric-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.rubric-row:last-child { border: none; }
.score-btn { width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--rule); background: var(--paper2); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--ink3); cursor: pointer; }
.score-btn-active { background: var(--v); border-color: var(--v); color: #fff; }

/* ── PROBLEM/SOLUTION ── */
.prob-item { background: var(--errl); border: 1px solid #F0B0B0; border-radius: var(--rl); padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.prob-item-icon { font-size: 22px; flex-shrink: 0; }
.soln-item { background: var(--gol); border: 1px solid #A8D8B0; border-radius: var(--rl); padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }

/* ── ANIMATED COUNTER ── */
.counter { font-family: var(--f-display); }

/* ── QUOTE CALLOUT ── */
.callout { border-left: 3px solid var(--v); padding: 16px 20px; background: var(--vl); border-radius: 0 var(--r) var(--r) 0; font-size: 15px; font-style: italic; color: var(--vd); margin: 20px 0; }

/* ── BLOG ARTICLE TYPOGRAPHY ── */
article h2 { font-family: var(--f-display); font-size: 24px; margin-top: 48px; margin-bottom: 16px; line-height: 1.3; }
article h3 { font-family: var(--f-display); font-size: 20px; margin-top: 36px; margin-bottom: 12px; line-height: 1.3; }
article p { font-size: 16px; line-height: 1.8; color: var(--ink2); margin-bottom: 18px; }
article ul, article ol { font-size: 16px; line-height: 1.8; color: var(--ink2); margin-bottom: 18px; padding-left: 24px; }
article li { margin-bottom: 8px; }
article strong { color: var(--ink); }
article blockquote { border-left: 3px solid var(--v); padding: 16px 20px; background: var(--vl); border-radius: 0 var(--r) var(--r) 0; font-size: 15px; font-style: italic; color: var(--vd); margin: 24px 0; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-5 { grid-template-columns: repeat(3, 1fr); } .footer-grid { grid-template-columns: 1fr; } .footer-nav-inner { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1060px) { .nav-links { display: none; } .nav-actions { display: none; } .nav-hamburger { display: block; } .site-nav { justify-content: center; } .nav-logo { position: absolute; left: 50%; transform: translateX(-50%); } .nav-hamburger { position: absolute; right: 16px; } }
@media (max-width: 900px) { .grid-2, .grid-3, .showcase-grid { grid-template-columns: 1fr; } .steps-grid { grid-template-columns: 1fr !important; gap: 12px !important; } .section p, .wrap > div > p, .wrap p, .hero p { text-align: left !important; } .wrap { padding: 0 24px; } .hero-stats { grid-template-columns: repeat(2, 1fr); } .hero-content[style*="grid-template-columns"] { grid-template-columns: 1fr !important; } }
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr !important; } .pricing-cost-grid { grid-template-columns: repeat(2, 1fr) !important; } .comp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; } .comp-table { min-width: 700px; } }
@media (max-width: 600px) { .section { padding: 40px 0; } h1 { font-size: 44px; } h2 { font-size: 32px; } .grid-4, .grid-5 { grid-template-columns: 1fr; } .footer { padding: 40px 0 24px; } .footer-grid { display: block; margin-bottom: 32px; } .footer-grid > div:first-child { text-align: center; margin-bottom: 28px; } .footer-logo { justify-content: center; } .footer-desc { max-width: 100%; margin-left: auto; margin-right: auto; } .footer-trust { justify-content: center; } .footer-nav-wrap { grid-column: 1 / -1; } .footer-nav-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; max-width: 360px; margin: 0 auto; } .footer-hed { margin-bottom: 10px; } .footer-links { gap: 8px; } .footer-bottom { flex-direction: column; text-align: center; gap: 4px; padding-top: 20px; } .phone-mockup { display: none; } .pricing-cost-grid { grid-template-columns: 1fr !important; } }

/* ── ENTRY ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideRight { from { transform: translateX(-20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.anim-up { opacity: 0; animation: fadeUp .6s cubic-bezier(.22,1,.36,1) forwards; }
.anim-up-1 { animation-delay: .1s; }
.anim-up-2 { animation-delay: .2s; }
.anim-up-3 { animation-delay: .3s; }
.anim-up-4 { animation-delay: .4s; }

/* ── LEGAL PAGES (Sprint C) ── */
.legal-page { max-width: 780px; margin: 0 auto; padding: 48px 40px 80px; }
.legal-page h1 { font-family: var(--f-display); font-size: clamp(36px, 5vw, 56px); line-height: 1.08; margin-bottom: 20px; }
.legal-page h2 { font-family: var(--f-display); font-size: 28px; font-weight: 400; margin: 36px 0 12px; color: var(--ink); }
.legal-page h3 { font-family: var(--f-ui); font-size: 18px; font-weight: 600; margin: 24px 0 8px; color: var(--ink); }
.legal-page p, .legal-page li { font-size: 16px; line-height: 1.75; color: var(--ink2); margin-bottom: 14px; }
.legal-page ul { padding-left: 22px; margin-bottom: 14px; }
.legal-page .legal-meta { font-size: 13px; color: var(--ink3); margin-bottom: 32px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.legal-page a { color: var(--v); text-decoration: underline; }

/* ── ERROR PAGES (Sprint C) ── */
.error-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.error-header { padding: 22px 40px; border-bottom: 1px solid var(--rule); background: #fff; }
.error-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 60px 24px; }
.error-card { max-width: 540px; text-align: center; }
.error-code { font-family: var(--f-display); font-size: clamp(72px, 12vw, 120px); line-height: 1; color: var(--v); margin-bottom: 14px; font-weight: 400; }
.error-title { font-family: var(--f-display); font-size: clamp(26px, 4vw, 36px); line-height: 1.15; margin-bottom: 12px; color: var(--ink); font-weight: 400; }
.error-desc { font-size: 16px; color: var(--ink2); margin-bottom: 28px; line-height: 1.65; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
