/* MoLe landing — tokens mirror @mole/shared colours.ts (light + dark). */
:root {
  --primary: #4F46E5;
  --primary-hover: #3525CD;
  --primary-fixed: #E2DFFF;
  --tint: #F5F2FF;
  --bg: #F9FAFB;
  --surface: #FFFFFF;
  --border: #E8E8F0;
  --text: #111827;
  --text-2: #6B7280;
  --success: #10B981;
  --cta: #F59E0B;
  --cta-hover: #D97706;
  --cta-text: #111827;
  --brand-green: #00BF63;
  --shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 8px 24px rgba(17, 24, 39, .06);
  --shadow-lg: 0 20px 50px rgba(79, 70, 229, .18);
  --radius: 16px;
  --radius-sm: 12px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: #818CF8; --primary-hover: #6366F1; --primary-fixed: #312E81; --tint: #141C33;
    --bg: #0F172A; --surface: #1E293B; --border: #334155;
    --text: #F1F5F9; --text-2: #94A3B8; --success: #34D399;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.3);
    --shadow-lg: 0 20px 50px rgba(0,0,0,.45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --primary: #818CF8; --primary-hover: #6366F1; --primary-fixed: #312E81; --tint: #141C33;
  --bg: #0F172A; --surface: #1E293B; --border: #334155;
  --text: #F1F5F9; --text-2: #94A3B8; --success: #34D399;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.3);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.45);
  color-scheme: dark;
}

/* ── Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.6;
  background: var(--bg); color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.container--narrow { max-width: 760px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 1rem; border-radius: 12px; padding: 12px 22px;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 9px 16px; font-size: .9rem; border-radius: 10px; }
.btn--lg { padding: 14px 26px; }
.btn--xl { padding: 18px 34px; font-size: 1.1rem; }
.btn--block { width: 100%; }
.btn--cta { background: var(--cta); color: var(--cta-text); box-shadow: 0 6px 18px rgba(245, 158, 11, .35); }
.btn--cta:hover { background: var(--cta-hover); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); }
:root[data-theme="dark"] .btn--primary { color: #0F172A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn--primary { color: #0F172A; } }
.btn--outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn--outline:hover { background: var(--tint); }
.btn--white { background: #fff; color: #4F46E5; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; align-items: center; }
.text-link { color: var(--primary); font-weight: 600; }
.text-link:hover { text-decoration: underline; }

.icon-btn { background: none; border: 0; color: var(--text); padding: 8px; border-radius: 10px; cursor: pointer; display: inline-flex; }
.icon-btn:hover { background: var(--tint); }

/* ── Navbar ───────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 28px; margin: 0 auto; font-weight: 500; font-size: .95rem; color: var(--text-2); }
.nav__links a:hover { color: var(--primary); }
.nav__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav__login { font-weight: 600; font-size: .95rem; }
.nav__login--menu, .nav__burger { display: none; }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: none; }
  :root:not([data-theme="light"]) .i-moon { display: block; }
}

@media (max-width: 960px) {
  .nav__burger { display: inline-flex; }
  .nav__actions > .nav__login { display: none; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 68px; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    display: none; color: var(--text);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 4px; border-bottom: 1px solid var(--border); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__login--menu { display: block; }
}
@media (max-width: 420px) { .nav__cta { display: none; } }

/* ── Hero ─────────────────────────────────────────────── */
.hero { padding: 48px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 640px; height: 640px;
  background: radial-gradient(closest-side, var(--primary-fixed), transparent); opacity: .7; z-index: -1;
}
.hero__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.05fr 1fr; } .hero { padding: 72px 0 96px; } }
.hero__copy { display: flex; flex-direction: column; gap: 20px; }
.lead { font-size: 1.15rem; color: var(--text-2); max-width: 34em; }
.pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px; font-size: .85rem; font-weight: 600; color: var(--text-2);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; color: var(--text-2); font-weight: 500; }
.ticks li::before { content: "✓"; color: var(--success); font-weight: 800; margin-right: 6px; }

/* Hero visual: laptop + overlapping phone, pure CSS */
.hero__visual { position: relative; min-height: 380px; }
.laptop { width: 88%; margin-left: auto; }
.laptop__screen { background: #0F172A; border: 10px solid #1E293B; border-radius: 16px 16px 0 0; aspect-ratio: 16 / 10; overflow: hidden; box-shadow: var(--shadow-lg); }
.laptop__base { height: 14px; background: linear-gradient(#CBD5E1, #94A3B8); border-radius: 0 0 14px 14px; margin: 0 -6%; }
.call { position: relative; height: 100%; background: radial-gradient(circle at 50% 40%, #312E81, #0F172A 70%); display: grid; place-items: center; }
.call__main { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #E2E8F0; }
.call__name { font-size: .85rem; font-weight: 600; }
.call__live { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 700; color: #fff; background: rgba(0,0,0,.4); padding: 4px 10px; border-radius: 999px; }
.call__rec { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; color: #fff; background: rgba(239, 68, 68, .22); border: 1px solid rgba(239, 68, 68, .55); padding: 3px 10px; border-radius: 999px; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #EF4444; animation: rec-blink 1.4s ease-in-out infinite; }
@keyframes rec-blink { 50% { opacity: .25; } }
.call__self { position: absolute; right: 12px; bottom: 44px; width: 22%; aspect-ratio: 4/3; background: #334155; border-radius: 10px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.15); }
.call__bar { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.call__bar i { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; color: #fff; }
.call__bar svg { width: 17px; height: 17px; stroke-width: 2; }
.call__bar i.end svg { width: 19px; height: 19px; }
.call__bar i.end svg { fill: #fff; stroke: none; }
.call__bar i.end { background: #EF4444; }

.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; color: #fff; background: linear-gradient(135deg, #4F46E5, #818CF8); flex-shrink: 0; }
.avatar--alt { background: linear-gradient(135deg, #10B981, #34D399); }
.avatar--xl { width: 84px; height: 84px; font-size: 1.5rem; }
.avatar--sm { width: 36px; height: 36px; font-size: .7rem; background: linear-gradient(135deg, var(--primary-fixed), var(--primary)); }

.phone { background: #111827; border-radius: 34px; padding: 9px; box-shadow: 0 0 0 1px var(--border), var(--shadow-lg); }
.phone__screen { background: var(--bg); border-radius: 26px; overflow: hidden; aspect-ratio: 9 / 19.5; position: relative; }
.shot .phone__screen { aspect-ratio: 9 / 16; }
.phone--hero { position: absolute; left: 0; bottom: -24px; width: 42%; max-width: 230px; }
.phone--hero .phone__screen { padding: 22px 10px 10px; display: flex; flex-direction: column; gap: 10px; }
.ecard { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; font-size: .72rem; }
.ecard--ghost { opacity: .6; }
.ecard__top { display: flex; gap: 8px; align-items: center; }
.ecard__top .avatar { width: 34px; height: 34px; font-size: .7rem; }
.ecard strong { display: block; font-size: .8rem; }
.ecard small { color: var(--text-2); }
.badge-live { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; color: var(--success); background: color-mix(in srgb, var(--success) 14%, transparent); border-radius: 999px; padding: 2px 8px; font-weight: 700; font-size: .65rem; }
.chips { display: flex; gap: 4px; }
.chips span { background: var(--tint); color: var(--primary); border-radius: 6px; padding: 2px 6px; font-weight: 600; font-size: .62rem; }
.ecard__meta { display: flex; justify-content: space-between; color: var(--text-2); }
.ecard__meta b { color: var(--text); }
.ecard__btn { background: var(--primary); color: #fff; text-align: center; border-radius: 8px; padding: 6px; font-weight: 700; }

@media (max-width: 520px) {
  .hero__visual { min-height: 320px; }
  .laptop { width: 86%; }
  .laptop__base { margin: 0 -3%; }
  .call__main { padding-left: 38%; }
  .call__self { display: none; }
  .avatar--xl { width: 56px; height: 56px; font-size: 1.1rem; }
  .phone--hero { width: 50%; bottom: -16px; }
  .ecard__meta { flex-direction: column; gap: 2px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}

/* ── Stats ────────────────────────────────────────────── */
.stats { border-block: 1px solid var(--border); background: var(--surface); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-block: 32px; text-align: center; }
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; }
.stat span { color: var(--text-2); font-size: .9rem; font-weight: 500; }

/* ── Sections ─────────────────────────────────────────── */
.section { padding: 80px 0; }
@media (min-width: 960px) { .section { padding: 104px 0; } }
.section--tint { background: var(--tint); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 48px; display: flex; flex-direction: column; gap: 12px; }
.section__head p { color: var(--text-2); font-size: 1.1rem; }
.eyebrow { color: var(--primary); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.eyebrow--light { color: #C7D2FE; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.step p { color: var(--text-2); font-size: .95rem; }
.step__num { width: 40px; height: 40px; border-radius: 12px; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; transition: background-color .4s ease, color .4s ease, box-shadow .4s ease; }
.js .step:not(.is-lit) .step__num { background: var(--primary-fixed); color: var(--primary); }
.js .step.is-lit .step__num { box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary) 18%, transparent); }
.js .step.is-lit { border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }
@media (min-width: 1024px) {

}

/* ── Screenshots ──────────────────────────────────────── */
.seg { display: flex; width: max-content; margin: 0 auto 32px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px; }
.seg__btn { border: 0; background: none; font: inherit; font-weight: 600; font-size: .95rem; color: var(--text-2); padding: 10px 20px; border-radius: 999px; cursor: pointer; }
.seg__btn.is-active { background: var(--primary); color: #fff; }
:root[data-theme="dark"] .seg__btn.is-active { color: #0F172A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .seg__btn.is-active { color: #0F172A; } }

.carousel { position: relative; }
.carousel__track {
  list-style: none; margin: 0; padding: 16px calc(50% - 130px) 8px;
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 260px; scroll-snap-align: center; text-align: center; transition: transform .35s ease, opacity .35s ease; }
.shot .phone { margin-bottom: 18px; }
.shot h3 { margin-bottom: 4px; }
.shot p { color: var(--text-2); font-size: .92rem; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
/* Missing screenshot → neutral frame with the caption. */
.phone__screen.is-missing { display: grid; place-items: center; padding: 20px; background: repeating-linear-gradient(135deg, var(--surface) 0 12px, var(--tint) 12px 24px); }
.phone__screen.is-missing::after { content: attr(data-label); font-weight: 700; color: var(--text-2); text-align: center; }
@media (min-width: 768px) {
  .shot { opacity: .5; transform: scale(.86); }
  .shot.is-active { opacity: 1; transform: scale(1); }
}
.carousel__arrow {
  display: none; position: absolute; top: calc(50% - 60px); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow);
}
.carousel__arrow:hover { color: var(--primary); }
.carousel__arrow--prev { left: 8%; }
.carousel__arrow--next { right: 8%; }
@media (min-width: 768px) { .carousel__arrow { display: grid; place-items: center; } }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.carousel__dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--border); transition: width .25s ease, background-color .25s ease; }
.carousel__dots span.is-active { width: 24px; background: var(--primary); }

.app-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.play-badge { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; padding: 8px 18px 8px 14px; border-radius: 10px; border: 1px solid #333; }
.play-badge svg { width: 26px; height: 26px; stroke: none; }
.play-badge span { display: flex; flex-direction: column; font-weight: 700; font-size: 1.05rem; line-height: 1.1; }
.play-badge small { font-size: .6rem; font-weight: 600; letter-spacing: .06em; }
.play-badge--light { border-color: rgba(255,255,255,.35); }
.play-badge--lg { padding: 12px 26px 12px 20px; }
.play-badge--lg svg { width: 34px; height: 34px; }
.play-badge--lg span { font-size: 1.35rem; }
.play-badge--lg small { font-size: .7rem; }

/* ── Bento ────────────────────────────────────────────── */
.bento { display: grid; gap: 20px; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .card--lg { min-height: 230px; }
}
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card p { color: var(--text-2); }
.card--lg { padding: 32px; }
.card--lg h3 { font-size: 1.3rem; }
.card--lg:first-child { background: linear-gradient(160deg, var(--surface) 55%, var(--tint)); }
@media (min-width: 1024px) { .card--lg:first-child { grid-row: span 2; justify-content: flex-end; } }
.chip-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--primary); display: grid; place-items: center; margin-bottom: 6px; }
.card--lg:first-child .chip-icon { background: var(--primary-fixed); }
@media (min-width: 768px) and (max-width: 1023px) { .card--lg:first-child { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .card--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 20px; }
  .card--wide .chip-icon { margin: 0; }
  .card--wide h3 { white-space: nowrap; }
}

/* Feature card illustration: mini live call */
.mini-call { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin-bottom: 20px; }
.mini-call__tile {
  position: relative; border-radius: 14px; padding: 22px 10px 14px; min-height: 130px;
  background: radial-gradient(circle at 50% 35%, #312E81, #0F172A 75%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #E2E8F0;
}
.mini-call__tile small { font-size: .72rem; font-weight: 600; }
.mini-call__tile--you { background: linear-gradient(160deg, #1E293B, #0F172A); }
.mini-call__live { position: absolute; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: 5px; font-size: .6rem; font-weight: 800; background: rgba(0,0,0,.45); padding: 3px 8px; border-radius: 999px; }
.mini-call__bubble {
  grid-column: 1 / -1; justify-self: end; max-width: 85%;
  background: var(--primary); color: #fff; font-size: .78rem; font-weight: 600;
  padding: 8px 12px; border-radius: 14px 14px 4px 14px; box-shadow: var(--shadow);
}
:root[data-theme="dark"] .mini-call__bubble { color: #0F172A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mini-call__bubble { color: #0F172A; } }
@media (max-width: 1023px) { .mini-call { max-width: 420px; } }

/* ── Why MoLe ───────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.why-cards { display: grid; gap: 20px; margin-bottom: 40px; }
@media (min-width: 768px) { .why-cards { grid-template-columns: repeat(3, 1fr); } }
.why { position: relative; padding: 28px; border-radius: var(--radius); background: var(--tint); display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.why__num { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--primary); opacity: .25; letter-spacing: -0.04em; }
.why p { color: var(--text-2); }

.compare { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); -webkit-overflow-scrolling: touch; }
.compare table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .92rem; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); font-weight: 700; }
.compare tbody th { font-weight: 600; color: var(--text); white-space: nowrap; position: sticky; left: 0; background: var(--surface); z-index: 1; }
.compare td { color: var(--text-2); }
.compare .is-mole { background: color-mix(in srgb, var(--primary) 8%, var(--surface)); color: var(--text); font-weight: 600; }
.compare thead .is-mole { color: var(--primary); font-size: .95rem; text-transform: none; letter-spacing: 0; }
.compare thead .is-mole img { display: inline-block; vertical-align: -4px; margin-right: 4px; }
.compare .yes, .compare .no { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: .72rem; font-weight: 800; margin-right: 6px; vertical-align: 1px; }
.compare .yes { background: color-mix(in srgb, var(--success) 16%, transparent); color: var(--success); }
.compare .no { background: color-mix(in srgb, #EF4444 12%, transparent); color: #EF4444; }
.compare .meh::before { content: "–"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; margin-right: 6px; background: var(--border); color: var(--text-2); font-weight: 800; font-size: .8rem; }
.compare__note { margin-top: 12px; font-size: .8rem; color: var(--text-2); text-align: center; }
@media (max-width: 767px) {
  .compare table { min-width: 620px; font-size: .85rem; }
  .compare th, .compare td { padding: 12px; }
  .compare tbody th { white-space: normal; width: 112px; min-width: 112px; box-shadow: 1px 0 0 var(--border); }
  .compare thead th:first-child { width: 112px; }
}
@media (max-width: 767px) { .compare__note::before { content: "Swipe to compare → "; font-weight: 600; } }

/* ── Pricing ──────────────────────────────────────────── */
.pricing { display: grid; gap: 24px; max-width: 900px; margin: 0 auto; }
@media (min-width: 768px) { .pricing { grid-template-columns: 1fr 1fr; } }
.plan { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.plan--featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
.plan h3 { font-size: 1rem; color: var(--text-2); text-transform: uppercase; letter-spacing: .08em; }
.plan__price { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.plan__sub { color: var(--text-2); }
.plan .btn { margin-top: auto; }
.ribbon { position: absolute; top: -14px; right: 24px; background: var(--primary); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
:root[data-theme="dark"] .ribbon { color: #0F172A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ribbon { color: #0F172A; } }
.checklist { list-style: none; padding: 0; margin: 4px 0 12px; display: flex; flex-direction: column; gap: 10px; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--success) 16%, transparent); color: var(--success); font-size: .75rem; font-weight: 800; display: grid; place-items: center; }

/* ── Educator band ────────────────────────────────────── */
.band { background: #4F46E5; color: #fff; padding: 72px 0; }
.band__inner { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .band__inner { grid-template-columns: 1.2fr 1fr auto; gap: 48px; } }
.band h2 { margin-top: 10px; }
.band__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; color: #E0E7FF; }
.band__list b { color: #fff; }

/* ── Reviews ──────────────────────────────────────────── */
.reviews { display: grid; gap: 20px; }
@media (min-width: 768px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.stars { color: #F59E0B; letter-spacing: 2px; }
.review blockquote { margin: 0; font-style: italic; font-size: 1.05rem; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.review small { color: var(--text-2); }

/* ── FAQ ──────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 1.4rem; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; color: var(--text-2); }
.faq a { color: var(--primary); text-decoration: underline; }

/* ── Final CTA ────────────────────────────────────────── */
.final { padding: 32px 16px 96px; }
.final__inner {
  background: linear-gradient(135deg, #4F46E5, #3525CD 55%, #312E81);
  color: #fff; border-radius: 28px; padding: 64px 24px; text-align: center;
  display: flex; flex-direction: column; gap: 16px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.final__inner p { color: #E0E7FF; font-size: 1.15rem; margin-bottom: 12px; }
.final h2 { max-width: 18em; }

/* ── Footer ───────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 40px 0 24px; background: var(--surface); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer__brand p { color: var(--text-2); font-size: .9rem; margin-top: 6px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .92rem; color: var(--text-2); }
.footer__links a:hover, .footer__social a:hover { color: var(--primary); }
.footer__social { display: flex; gap: 12px; color: var(--text-2); }
.footer__social svg { width: 22px; height: 22px; }
.footer__copy { color: var(--text-2); font-size: .85rem; margin-top: 24px; }

/* ── Sticky mobile CTA ────────────────────────────────── */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  transform: translateY(110%); transition: transform .25s ease;
}
.mobile-cta.is-visible { transform: none; }
@media (min-width: 768px) { .mobile-cta { display: none; } }
@media (max-width: 767px) { .footer { padding-bottom: 96px; } }

/* ── Reveal on scroll ─────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* How it works progress track (desktop) */
.steps-track { display: none; }
@media (min-width: 1024px) {
  .js .steps-track { display: block; position: relative; height: 4px; border-radius: 999px; background: var(--border); margin: 0 calc(12.5% - 10px) 28px; overflow: hidden; }
  .steps-track__fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--cta)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .15s linear; }
}

/* Hero rotating subject */
.rotator { display: inline-block; color: var(--primary); font-weight: 700; transition: opacity .3s ease, transform .3s ease; }
.rotator.is-out { opacity: 0; transform: translateY(-8px); }

/* Section heading underline draws in */
.section__head h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 999px; margin: 14px auto 0; background: linear-gradient(90deg, var(--primary), var(--cta)); transform-origin: 50% 50%; transition: transform .7s cubic-bezier(.2,.7,.2,1) .3s; }
.js .section__head:not(.is-in) h2::after { transform: scaleX(0); }

/* Smooth light/dark switch */
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after { transition: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease !important; }

/* ── Motion ───────────────────────────────────────────── */
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } }
@keyframes fade-in-right { from { opacity: 0; transform: translateX(40px); } }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes float-soft { 50% { transform: translateY(-6px); } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
@keyframes shine { to { transform: translateX(220%) skewX(-20deg); } }
@keyframes gradient-pan { 50% { background-position: 100% 50%; } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(79,70,229,.45); } 100% { box-shadow: 0 0 0 14px rgba(79,70,229,0); } }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--primary), var(--cta)); transform-origin: 0 50%; transform: scaleX(0); }

/* Hero entrance + floating mockups */
.hero__copy > * { animation: fade-up .8s cubic-bezier(.2,.7,.2,1) both; }
.hero__copy > *:nth-child(2) { animation-delay: .12s; }
.hero__copy > *:nth-child(3) { animation-delay: .24s; }
.hero__copy > *:nth-child(4) { animation-delay: .36s; }
.hero__visual { animation: fade-in-right 1s .2s cubic-bezier(.2,.7,.2,1) both; }
.laptop { animation: float-soft 7s 1.2s ease-in-out infinite; }
.phone--hero { animation: float 6s 1s ease-in-out infinite; }
.ecard__btn { animation: ring 2.4s 1.6s ease-out infinite; }
.call__bar i.end { animation: float-soft 3s ease-in-out infinite; }

/* CTA shine on hover */
.btn--cta { position: relative; overflow: hidden; }
.btn--cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); pointer-events: none; }
.btn--cta:hover::after { animation: shine .8s ease; }

/* Card micro-interactions */
.chip-icon { transition: transform .35s cubic-bezier(.3,1.6,.5,1), background-color .2s ease; }
.card:hover .chip-icon, .why:hover .why__num { transform: rotate(-8deg) scale(1.12); }
.why { transition: transform .25s ease, box-shadow .25s ease; }
.why:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why__num { transition: transform .35s cubic-bezier(.3,1.6,.5,1); display: inline-block; align-self: flex-start; }
.plan { transition: transform .25s ease, box-shadow .25s ease; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step { transition: transform .25s ease, border-color .25s ease; }
.step:hover { transform: translateY(-4px); border-color: var(--primary); }
.js .step.reveal .step__num { transform: scale(.4); opacity: 0; }
.js .step.is-in .step__num { animation: pop .55s calc(var(--d, 0ms) + .25s) cubic-bezier(.3,1.4,.5,1) both; }

/* Mini live-call: typing dots, then the question bubble (same grid cell) */
.mini-call__typing, .mini-call__bubble { grid-column: 1 / -1; grid-row: 2; justify-self: end; align-self: center; }
.mini-call__typing { display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 14px; background: var(--tint); opacity: 0; }
.mini-call__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); animation: typing 1.2s infinite; }
.mini-call__typing i:nth-child(2) { animation-delay: .15s; }
.mini-call__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing-show { 0%, 99% { opacity: 1; } 100% { opacity: 0; } }
.js .card--hero .mini-call__bubble { opacity: 0; }
.js .card--hero.is-in .mini-call__typing { animation: typing-show 1.6s .3s both; }
.js .card--hero.is-in .mini-call__bubble { animation: pop .5s 1.9s cubic-bezier(.3,1.4,.5,1) both; }

/* Comparison rows cascade in */
.js .compare.reveal tbody tr { opacity: 0; transform: translateX(-12px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--r, 0) * 80ms + 200ms); }
.js .compare.reveal.is-in tbody tr { opacity: 1; transform: none; }
.js .compare.is-in .is-mole .yes { animation: pop .45s calc(var(--r, 0) * 80ms + 450ms) both; }

/* Living gradients */
.final__inner { background-size: 200% 200%; animation: gradient-pan 14s ease-in-out infinite; }
.band { position: relative; overflow: hidden; background: linear-gradient(120deg, #4F46E5, #3525CD, #4F46E5); background-size: 200% 200%; animation: gradient-pan 16s ease-in-out infinite; }

/* Screenshot phones lift on hover */
.shot.is-active .phone { transition: transform .3s ease; }
.shot.is-active:hover .phone { transform: translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
  .js .step.reveal .step__num, .js .compare.reveal tbody tr { opacity: 1; transform: none; }
  .mini-call__typing { display: none; }
  .js .card--hero .mini-call__bubble { opacity: 1; }
  .scroll-progress { display: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
