/* ============================================================
   Momentum — design tokens
   ============================================================ */
:root {
  --violet: #673DE6;
  --violet-600: #673DE6;
  --violet-500: #7C5CFC;
  --violet-400: #9B7CFF;
  --violet-50: #F1ECFF;
  --growth: #22C3A6;
  --growth-50: #E4FBF5;
  --spark: #F5A524;
  --spark-50: #FFF4E1;
  --ink: #14122B;
  --ink-soft: #3A3556;
  --muted: #6E6A86;
  --line: #EAE7F4;
  --surface: #F4F2FB;
  --surface-2: #FBFAFF;
  --white: #ffffff;
  --danger: #E5484D;

  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(20, 18, 43, .06);
  --shadow: 0 12px 34px rgba(20, 18, 43, .10);
  --shadow-lg: 0 30px 70px rgba(52, 30, 120, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --maxw: 1120px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { width: min(var(--maxw), 92vw); margin-inline: auto; }
.narrow { width: min(760px, 92vw); }

/* ============================================================
   Buttons / tags / pills
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font: inherit; font-weight: 600; font-size: .95rem;
  padding: .72rem 1.25rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(120deg, var(--violet-600), var(--violet-400));
  color: #fff; box-shadow: 0 10px 24px rgba(103, 61, 230, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(103, 61, 230, .45); }
.btn-ghost {
  background: rgba(255,255,255,.7); color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.tag {
  font-size: .72rem; font-weight: 700; font-style: normal;
  padding: .22rem .55rem; border-radius: 999px; letter-spacing: .01em;
  display: inline-flex; align-items: center;
}
.tag-impact { background: var(--violet-50); color: var(--violet-600); }
.tag-effort { background: var(--surface); color: var(--muted); }
.pill {
  font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px;
}
.pill-up { background: var(--growth-50); color: #0f8f78; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.2) blur(12px);
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 1.2rem; height: 64px; }
.brand { display: flex; align-items: baseline; gap: .5rem; }
.brand-mark {
  color: #fff; background: linear-gradient(135deg, var(--violet-600), var(--violet-400));
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  align-self: center; box-shadow: 0 6px 16px rgba(103,61,230,.4);
}
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; }
.brand-name.big { font-size: 1.5rem; }
.brand-sub { font-size: .72rem; color: var(--muted); font-weight: 500; }
.nav-links { display: flex; gap: 1.15rem; margin-left: auto; }
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--ink-soft); position: relative; white-space: nowrap; }
.nav-links a:hover { color: var(--violet-600); }
.nav-cta { margin-left: .4rem; padding: .5rem 1rem; font-size: .85rem; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: 4.5rem 0 2rem; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1000px 500px at 78% -8%, rgba(124,92,252,.20), transparent 60%),
    radial-gradient(700px 400px at 10% 10%, rgba(34,195,166,.14), transparent 60%),
    linear-gradient(180deg, #fbfaff, #ffffff 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--violet-600);
  background: var(--violet-50); padding: .35rem .75rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 900; }
.grad { background: linear-gradient(115deg, var(--violet-600), var(--growth)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.14rem; color: var(--ink-soft); margin: 1.3rem 0 1.8rem; max-width: 34rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2rem; margin: 2.4rem 0 0; padding: 0; }
.hero-stats div dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.hero-stats div dd { margin: .2rem 0 0; font-weight: 700; }

/* hero art */
.hero-art { position: relative; height: 420px; overflow: visible; }
.orb { position: absolute; border-radius: 50%; filter: blur(6px); opacity: .6; }
.orb-1 { width: 320px; height: 320px; right: -40px; top: 10px; background: radial-gradient(circle at 30% 30%, rgba(124,92,252,.6), rgba(124,92,252,0) 70%); }
.orb-2 { width: 240px; height: 240px; left: -30px; bottom: -20px; background: radial-gradient(circle at 30% 30%, rgba(34,195,166,.5), rgba(34,195,166,0) 70%); }
.score-card {
  position: absolute; top: 30px; right: 20px; width: 320px;
  background: #fff; border-radius: var(--radius-lg); padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-lg); display: flex; gap: 1.1rem; align-items: center;
  overflow: visible;
}
.score-meta { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: .45rem; }
.score-meta .pill { align-self: flex-start; white-space: nowrap; }
.score-ring {
  --pct: 72; width: 112px; height: 112px; border-radius: 50%; flex: none;
  position: relative;
  background: conic-gradient(from -90deg, var(--violet-600) calc(var(--pct) * 1%), var(--surface) 0);
}
.score-ring-inner {
  position: absolute; inset: 9px; background: #fff; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 1;
}
.score-num { font-size: 1.85rem; font-weight: 900; line-height: 1; }
.score-label {
  font-size: .58rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin-top: 3px;
}
.score-meta p { margin: 0; font-size: .88rem; color: var(--ink-soft); line-height: 1.35; }
.score-meta p strong { color: var(--ink); font-weight: 700; }
.mini-card {
  position: absolute; bottom: 40px; left: 0; width: 300px;
  background: #fff; border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow);
  display: flex; gap: .8rem; align-items: center;
}
.mini-ico { font-size: 1.4rem; }
.mini-card strong { font-size: .9rem; display: block; margin-bottom: .4rem; }
.mini-tags { display: flex; gap: .4rem; }
.float { animation: float 6s var(--ease) infinite; }
.float.delay { animation-delay: -3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.disclaimer { margin-top: 2.4rem; }
.disclaimer p {
  font-size: .82rem; color: var(--muted); background: var(--spark-50);
  border: 1px solid #F6E4C4; padding: .7rem 1rem; border-radius: var(--radius-sm); margin: 0;
}

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 5rem 0; }
.section.alt { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-block: 1px solid var(--line); }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--violet-600); }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; margin: .6rem 0 0; max-width: 22ch; }
.section-lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 46rem; margin: 1.1rem 0 2.4rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; margin-top: 1.6rem; }
.prose p { color: var(--ink-soft); }
.prose h3 { font-size: 1.2rem; margin-bottom: .8rem; }

/* TL;DR */
.tldr { padding: 3rem 0; }
.tldr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tldr-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.tldr-block h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .5rem; }
.tldr-block p { margin: 0; font-size: .95rem; }
.tldr-block.accent { background: linear-gradient(135deg, var(--violet-600), var(--violet-400)); color: #fff; border: none; }
.tldr-block.accent h3 { color: rgba(255,255,255,.85); }

/* check lists */
.check-list { list-style: none; padding: 0; margin: 1rem 0; }
.check-list li { position: relative; padding-left: 1.8rem; margin-bottom: .6rem; color: var(--ink-soft); }
.check-list.bad li::before { content: "✕"; position: absolute; left: 0; color: var(--danger); font-weight: 700; }
.check-list.good li::before { content: "✓"; position: absolute; left: 0; color: var(--growth); font-weight: 800; }

/* funnel */
.funnel-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; margin: 0; }
.funnel-card figcaption { font-weight: 700; margin-bottom: 1.1rem; }
.funnel { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.funnel li { position: relative; background: #fff; border-radius: 10px; padding: .7rem .9rem; display: flex; justify-content: space-between; overflow: hidden; font-size: .9rem; box-shadow: var(--shadow-sm); }
.funnel li::before { content: ""; position: absolute; inset: 0; width: var(--w); background: linear-gradient(90deg, rgba(103,61,230,.14), rgba(124,92,252,.06)); }
.funnel li span, .funnel li b { position: relative; z-index: 1; }
.funnel li.danger { background: #fff0f0; }
.funnel li.danger::before { display: none; }
.funnel li.danger b { color: var(--danger); }
.fig-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.fig-note.center { text-align: center; max-width: 50rem; margin: 2rem auto 0; }

/* research */
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 3rem; }
.method { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-sm); }
.method-ico { font-size: 1.6rem; }
.method h3 { font-size: 1rem; margin: .7rem 0 .4rem; }
.method p { font-size: .88rem; color: var(--muted); margin: 0; }

.insights-title { font-size: 1.3rem; margin: 2.5rem 0 1.4rem; }
.insight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.insight { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--violet-500); border-radius: var(--radius); padding: 1.4rem; }
.insight-n { font-size: .8rem; font-weight: 800; color: var(--violet-400); }
.insight h4 { margin: .3rem 0 .5rem; font-size: 1.1rem; }
.insight p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* personas */
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.persona { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.persona-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.avatar { width: 44px; height: 44px; border-radius: 12px; background: var(--a); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.persona-head h4 { font-size: 1rem; }
.persona-head span { font-size: .8rem; color: var(--muted); }
.persona p { font-size: .9rem; margin: 0 0 .5rem; color: var(--ink-soft); }

/* principles */
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 3rem; }
.principle { background: var(--surface); border-radius: var(--radius); padding: 1.4rem; border: 1px solid var(--line); }
.principle-ico { font-size: 1.7rem; }
.principle h3 { font-size: 1.05rem; margin: .7rem 0 .4rem; }
.principle p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* flow */
.flow-steps { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; }
.flow-steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; position: relative; }
.flow-n { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--violet-600), var(--violet-400)); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: .8rem; }
.flow-steps h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.flow-steps p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ============================================================
   Prototype app
   ============================================================ */
.app {
  margin-top: 1rem; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line);
}
.app-topbar { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.3rem; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.app-brand { display: flex; align-items: center; gap: .5rem; font-weight: 800; }
.app-logo { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--violet-600), var(--violet-400)); color: #fff; display: grid; place-items: center; }
.app-tabs { display: flex; gap: .3rem; margin: 0 auto; background: var(--surface); padding: .25rem; border-radius: 999px; }
.app-tab { border: none; background: transparent; font: inherit; font-weight: 600; font-size: .88rem; color: var(--muted); padding: .45rem 1rem; border-radius: 999px; cursor: pointer; transition: all .2s var(--ease); }
.app-tab.is-active { background: #fff; color: var(--violet-600); box-shadow: var(--shadow-sm); }
.app-user { display: flex; align-items: center; gap: .6rem; }
.app-site { font-size: .82rem; color: var(--muted); }
.app-av { width: 30px; height: 30px; border-radius: 50%; background: var(--violet-500); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }

.app-body { padding: 1.6rem; background: linear-gradient(180deg, #fff, var(--surface-2)); min-height: 460px; }
.tabpane { display: none; animation: fade .35s var(--ease); }
.tabpane.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* app hero */
.app-hero { display: flex; gap: 1.2rem; align-items: stretch; margin-bottom: 1.6rem; flex-wrap: wrap; }
.momentum { flex: 1 1 340px; display: flex; gap: 1.3rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.m-ring { --pct: 41; width: 120px; height: 120px; border-radius: 50%; flex: none; position: relative; background: conic-gradient(from -90deg, var(--violet-600) calc(var(--pct)*1%), var(--surface) 0); transition: background .8s var(--ease); }
.m-ring-inner { position: absolute; inset: 10px; background: #fff; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 1; }
.m-num { font-size: 2.1rem; font-weight: 900; line-height: 1; }
.m-cap { font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-top: 3px; }
.m-hi { font-weight: 800; font-size: 1.15rem; margin: 0 0 .3rem; }
.m-sub { color: var(--ink-soft); font-size: .92rem; margin: 0 0 .8rem; }
.m-streak { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; font-size: .88rem; color: var(--ink-soft); }
.m-streak > span { white-space: nowrap; }
.m-streak .dot { color: var(--line); }
.streak-flame { font-size: 1.1rem; }
.proj { flex: 1 1 180px; background: linear-gradient(135deg, var(--violet-600), var(--violet-400)); color: #fff; border-radius: var(--radius); padding: 1.3rem; display: flex; flex-direction: column; justify-content: center; }
.proj-cap { font-size: .78rem; opacity: .85; }
.proj-num { font-size: 2.6rem; font-weight: 900; line-height: 1.1; transition: all .5s var(--ease); }
.proj-delta { font-size: .82rem; opacity: .9; }

.moves-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1rem; flex-wrap: wrap; gap: .3rem; }
.moves-head h3 { font-size: 1.15rem; }
.moves-sub { font-size: .82rem; color: var(--muted); }
.moves { display: grid; gap: .9rem; }

/* move card */
.move { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; display: flex; gap: 1rem; align-items: center; transition: transform .2s var(--ease), box-shadow .2s var(--ease), opacity .4s; }
.move:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.move.is-featured { border-color: var(--violet-400); box-shadow: 0 0 0 3px var(--violet-50); }
.move.is-done { opacity: .55; }
.move.is-done .move-title { text-decoration: line-through; }
.move-ico { font-size: 1.6rem; width: 48px; height: 48px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; flex: none; }
.move-body { flex: 1; }
.move-top { display: flex; align-items: center; gap: .5rem; margin-bottom: .3rem; flex-wrap: wrap; }
.move-title { font-weight: 700; font-size: 1rem; }
.badge-top { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--violet-600); background: var(--violet-50); padding: .15rem .5rem; border-radius: 999px; }
.move-desc { font-size: .88rem; color: var(--muted); margin: 0 0 .4rem; }
.move-why { font-size: .8rem; color: var(--violet-600); font-weight: 600; margin: 0 0 .5rem; }
.move-tags { display: flex; gap: .4rem; }
.move-cta { flex: none; }
.btn-do { background: var(--violet-600); color: #fff; border: none; font: inherit; font-weight: 600; font-size: .85rem; padding: .6rem 1rem; border-radius: 999px; cursor: pointer; transition: all .18s var(--ease); }
.btn-do:hover { background: var(--violet-500); transform: translateY(-1px); }
.btn-done { background: var(--growth-50); color: #0f8f78; border: none; font: inherit; font-weight: 700; font-size: .85rem; padding: .6rem 1rem; border-radius: 999px; display: inline-flex; gap: .35rem; align-items: center; cursor: default; }

/* progress tab */
.pane-title { font-size: 1.25rem; margin-bottom: .4rem; }
.pane-lede { color: var(--ink-soft); margin-bottom: 1.4rem; }
.chart { height: 180px; background: linear-gradient(180deg, var(--violet-50), transparent); border-radius: var(--radius); border: 1px solid var(--line); display: flex; align-items: flex-end; gap: 10px; padding: 1rem; }
.bar { flex: 1; background: linear-gradient(180deg, var(--violet-500), var(--violet-600)); border-radius: 8px 8px 4px 4px; min-height: 6px; transition: height .6s var(--ease); position: relative; }
.bar span { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: .7rem; font-weight: 700; color: var(--violet-600); }
.progress-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.4rem 0; }
.pstat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; text-align: center; }
.pstat-num { font-size: 1.8rem; font-weight: 900; display: block; color: var(--violet-600); }
.pstat-cap { font-size: .78rem; color: var(--muted); }
.timeline { display: grid; gap: .6rem; }
.tl-item { display: flex; gap: .8rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; font-size: .9rem; }
.tl-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--growth); flex: none; }
.tl-item time { margin-left: auto; color: var(--muted); font-size: .8rem; }

/* insights tab */
.insight-cards { display: grid; gap: .8rem; margin-bottom: 1.6rem; }
.ic { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.ic-ico { font-size: 1.5rem; width: 46px; height: 46px; border-radius: 12px; background: var(--growth-50); display: grid; place-items: center; flex: none; }
.ic b { display: block; }
.ic p { margin: .2rem 0 0; font-size: .88rem; color: var(--muted); }
.next-best { background: linear-gradient(135deg, var(--violet-600), var(--violet-400)); color: #fff; border-radius: var(--radius); padding: 1.4rem; }
.nb-cap { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.next-best p { margin: .4rem 0 0; font-weight: 600; }
.next-best a, .link-btn {
  text-decoration: underline;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.m-ring.is-pulse {
  animation: ringPulse 0.9s ease;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.05); }
}

.score-target {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.25rem;
}

.proto-score-note {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.proto-note { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 1.2rem; }

/* ============================================================
   Design system section
   ============================================================ */
.ds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.ds-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.ds-card h3 { font-size: 1.1rem; margin-bottom: 1.1rem; }
.swatches { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.sw { border-radius: 12px; padding: .8rem; color: #fff; background: var(--c); display: flex; flex-direction: column; min-height: 70px; justify-content: flex-end; }
.sw.light { color: var(--ink); border: 1px solid var(--line); }
.sw b { font-size: .85rem; }
.sw i { font-style: normal; font-size: .72rem; opacity: .85; }
.type-scale p { margin: 0 0 .6rem; }
.comp-demo { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1rem; }
.ds-note { font-size: .85rem; color: var(--muted); margin: 0; }

/* ============================================================
   Impact / metrics
   ============================================================ */
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 3rem; }
.metric { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; text-align: center; box-shadow: var(--shadow-sm); }
.metric-num { font-size: 2.4rem; font-weight: 900; background: linear-gradient(115deg, var(--violet-600), var(--growth)); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.metric-cap { font-size: .85rem; color: var(--muted); }
.metric-cap i { display: block; font-style: normal; font-size: .72rem; opacity: .8; margin-top: .2rem; }
.measure { margin-top: 1rem; }

/* reflection */
.reflect { display: grid; gap: 1rem; margin-top: 1.6rem; }
.reflect-item { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--growth); border-radius: var(--radius); padding: 1.4rem; }
.reflect-item h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.reflect-item p { margin: 0; color: var(--ink-soft); }

/* footer */
.footer { background: var(--ink); color: #fff; padding: 3rem 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-end; }
.footer p { color: rgba(255,255,255,.6); max-width: 32rem; margin: .6rem 0 0; }
.footer-fine { font-size: .78rem; max-width: 30rem; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(180%);
  background: #14122b; color: #fff; padding: .9rem 1.3rem; border-radius: 999px;
  font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-lg); z-index: 100;
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .4s var(--ease), opacity .35s var(--ease), visibility .4s;
  display: flex; gap: .5rem; align-items: center; text-align: center;
  max-width: min(92vw, 440px);
  opacity: 0; visibility: hidden; pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hero-inner, .two-col { grid-template-columns: 1fr; }
  .hero-art { height: 340px; order: -1; }
  .tldr-grid, .method-grid, .principle-grid, .flow-steps, .metric-grid, .progress-stats { grid-template-columns: repeat(2, 1fr); }
  .insight-grid, .persona-grid, .ds-grid { grid-template-columns: 1fr; }
  .app-tabs { order: 3; width: 100%; margin: .4rem 0 0; }
  .app-topbar { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .tldr-grid, .method-grid, .principle-grid, .flow-steps, .metric-grid, .progress-stats { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1.2rem; }
  .move { flex-wrap: wrap; }
  .nav-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   ADDED FEATURES
   ============================================================ */

/* skip link */
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--violet-600); color: #fff; padding: .6rem 1rem;
  border-radius: 10px; font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* focus visibility */
:focus-visible { outline: 3px solid var(--violet-400); outline-offset: 2px; border-radius: 6px; }

/* reading progress bar */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--violet-600), var(--growth));
  z-index: 60; transition: width .1s linear;
}

/* nav tools */
.nav-tools { display: flex; align-items: center; gap: .6rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2);
  cursor: pointer; font-size: 1rem; color: var(--ink); transition: all .2s var(--ease);
}
.icon-btn:hover { background: var(--surface); transform: translateY(-1px); }
.theme-ico--moon { display: none; }
[data-theme="dark"] .theme-ico--sun { display: none; }
[data-theme="dark"] .theme-ico--moon { display: inline; }

.nav-links a.active { color: var(--violet-600); font-weight: 600; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -20px; height: 2px;
  background: var(--violet-600); border-radius: 2px;
}

/* mobile menu button */
.menu-btn { display: none; flex-direction: column; gap: 4px; }
.menu-btn span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .25s var(--ease); }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* meta bar */
.metabar { border-bottom: 1px solid var(--line); background: var(--surface-2); }
.metabar-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; padding: 1.6rem 0; }
.meta dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }
.meta dd { margin: .3rem 0 0; font-size: .9rem; font-weight: 500; color: var(--ink); }

/* reveal animations */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* funnel animated fill */
.funnel li::before { width: 0; transition: width 1s var(--ease); }
.funnel.in li::before { width: var(--w); }

/* reset button */
.btn-reset {
  border: 1px solid var(--line); background: var(--surface-2); color: var(--muted);
  font: inherit; font-weight: 600; font-size: .82rem; padding: .5rem .9rem;
  border-radius: 999px; cursor: pointer; transition: all .2s var(--ease);
}
.btn-reset:hover { color: var(--violet-600); border-color: var(--violet-400); }

/* all-done state */
.all-done { text-align: center; padding: 2.5rem 1rem; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.all-done-ico { font-size: 2.4rem; }
.all-done h4 { font-size: 1.2rem; margin: .6rem 0 .4rem; }
.all-done p { color: var(--muted); max-width: 30rem; margin: 0 auto 1.2rem; }

/* ============================================================
   Review & approve drawer
   ============================================================ */
.drawer-scrim { position: fixed; inset: 0; background: rgba(20,18,43,.45); backdrop-filter: blur(2px); z-index: 90; opacity: 0; transition: opacity .3s var(--ease); }
.drawer-scrim.show { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(460px, 92vw);
  background: var(--white); z-index: 95; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; transform: translateX(100%);
  transition: transform .35s var(--ease);
}
.drawer.show { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 1.4rem 1.4rem 1rem; border-bottom: 1px solid var(--line); }
.drawer-step { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--violet-600); }
.drawer-title { font-size: 1.25rem; margin-top: .3rem; }
.drawer-body { padding: 1.4rem; overflow-y: auto; flex: 1; }
.drawer-foot { border-top: 1px solid var(--line); padding: 1.1rem 1.4rem; background: var(--surface-2); }
.drawer-note { font-size: .78rem; color: var(--muted); display: block; margin-bottom: .8rem; }
.drawer-actions { display: flex; gap: .6rem; }
.drawer-actions .btn { flex: 1; justify-content: center; }

/* drawer preview content */
.preview-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 1.2rem 0 .5rem; }
.preview-label:first-child { margin-top: 0; }
.preview-why { background: var(--violet-50); border-radius: 12px; padding: 1rem; font-size: .9rem; color: var(--ink-soft); margin-bottom: .4rem; }
.preview-why b { color: var(--violet-600); }
.kw-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.kw-chip { background: var(--growth-50); color: #0f8f78; font-weight: 600; font-size: .85rem; padding: .4rem .7rem; border-radius: 999px; }
.preview-box { border: 1px solid var(--line); border-radius: 12px; padding: 1rem; background: var(--surface-2); font-size: .9rem; }
.preview-box.before { opacity: .7; }
.preview-box .mark { background: #d8ffe9; border-radius: 4px; padding: 0 3px; font-weight: 600; }
.photo-row { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; }
.photo-ph { aspect-ratio: 1; border-radius: 10px; background: linear-gradient(135deg, var(--violet-50), var(--growth-50)); display: grid; place-items: center; font-size: 1.4rem; }
.mock-header { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 12px; padding: .7rem 1rem; background: #fff; }
.mock-header .mh-logo { font-weight: 800; }
.mock-cta { background: var(--violet-600); color: #fff; font-size: .78rem; font-weight: 700; padding: .4rem .8rem; border-radius: 999px; }
.impact-line { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--ink-soft); margin-top: .6rem; }
.impact-line .pill { flex: none; }

.tweak-editor { display: grid; gap: .6rem; }
.tweak-input {
  width: 100%; min-height: 8rem; resize: vertical;
  border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem;
  background: var(--surface); color: var(--ink); font: inherit; font-size: .95rem; line-height: 1.55;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.tweak-input:focus {
  outline: none; border-color: var(--violet-400);
  box-shadow: 0 0 0 3px rgba(103, 61, 230, .15);
}
.tweak-hint { font-size: .82rem; color: var(--muted); margin: 0; }

/* ============================================================
   DARK THEME
   ============================================================ */
[data-theme="dark"] {
  --ink: #ECEAF6;
  --ink-soft: #C4C0DA;
  --muted: #9A95B5;
  --line: #2A2740;
  --surface: #1B1930;
  --surface-2: #16142A;
  --white: #0F0E1F;
  --violet-50: #241C4A;
  --growth-50: #10312B;
  --spark-50: #33260F;
}
[data-theme="dark"] body { background: #0F0E1F; }
[data-theme="dark"] .hero-bg {
  background:
    radial-gradient(1000px 500px at 78% -8%, rgba(124,92,252,.25), transparent 60%),
    radial-gradient(700px 400px at 10% 10%, rgba(34,195,166,.14), transparent 60%),
    linear-gradient(180deg, #14122b, #0F0E1F 60%);
}
[data-theme="dark"] .nav { background: rgba(15,14,31,.8); }
[data-theme="dark"] .btn-ghost { background: rgba(255,255,255,.04); }
[data-theme="dark"] .score-card,
[data-theme="dark"] .mini-card,
[data-theme="dark"] .method,
[data-theme="dark"] .insight,
[data-theme="dark"] .persona,
[data-theme="dark"] .flow-steps li,
[data-theme="dark"] .app,
[data-theme="dark"] .momentum,
[data-theme="dark"] .move,
[data-theme="dark"] .funnel li,
[data-theme="dark"] .pstat,
[data-theme="dark"] .ic,
[data-theme="dark"] .metric,
[data-theme="dark"] .ds-card,
[data-theme="dark"] .drawer,
[data-theme="dark"] .tl-item,
[data-theme="dark"] .mock-header { background: var(--surface); }
[data-theme="dark"] .m-ring-inner,
[data-theme="dark"] .score-ring-inner { background: var(--surface); }
[data-theme="dark"] .app-tab.is-active { background: var(--surface-2); }
[data-theme="dark"] .menu-btn span { background: var(--ink); }
[data-theme="dark"] .disclaimer p { background: #2a2110; border-color: #4a3a1a; }

/* mobile nav drawer */
@media (max-width: 1024px) {
  .menu-btn { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    display: flex; flex-direction: column; position: fixed; top: 64px; right: 0;
    width: min(280px, 80vw); height: calc(100dvh - 64px); background: var(--white);
    border-left: 1px solid var(--line); padding: 1.4rem; gap: 1.2rem;
    transform: translateX(100%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg);
    z-index: 55;
  }
  .nav-links.open { transform: none; }
  .nav-links a.active::after { display: none; }
  .metabar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .metabar-grid { grid-template-columns: 1fr; }
  .drawer-actions { flex-direction: column; }
}

/* ============================================================
   Believability: quotes, product voice, validation
   ============================================================ */

/* verbatim quotes */
.quotes { margin-top: 2.5rem; }
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.quote-grid.two { grid-template-columns: repeat(2, 1fr); margin-top: 1.4rem; }
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; margin: 0; position: relative; box-shadow: var(--shadow-sm);
}
.quote-card::before {
  content: "\201C"; position: absolute; top: .2rem; left: 1rem;
  font-size: 3rem; line-height: 1; color: var(--violet-400); opacity: .35; font-family: Georgia, serif;
}
.quote-card.danger { border-left: 3px solid var(--danger); }
.quote-body { font-size: 1.02rem; line-height: 1.55; color: var(--ink); margin: .4rem 0 1rem; position: relative; }
.quote-body em { color: var(--violet-600); font-style: italic; }
.quote-attr { display: flex; align-items: center; gap: .55rem; font-size: .82rem; color: var(--muted); }
.quote-attr b { color: var(--danger); }
.q-av { width: 26px; height: 26px; border-radius: 8px; background: var(--a); color: #fff; display: inline-grid; place-items: center; font-weight: 800; font-size: .75rem; flex: none; }

/* product voice */
.voice { margin-top: 3rem; }
.voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.voice-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; background: #fff; box-shadow: var(--shadow-sm); }
.voice-head { margin-bottom: 1rem; }
.voice-badge { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--violet-600); background: var(--violet-50); padding: .3rem .6rem; border-radius: 999px; }
.voice-email { background: linear-gradient(180deg, #fff, var(--surface-2)); }
.voice-subject { font-size: 1.15rem; font-weight: 800; margin: 0 0 .8rem; }
.voice-line { font-size: .95rem; color: var(--ink-soft); margin: 0 0 .5rem; }
.voice-cta { display: inline-block; margin-top: .6rem; background: var(--violet-600); color: #fff; font-weight: 700; font-size: .85rem; padding: .55rem 1rem; border-radius: 999px; }
.push-bubble { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; margin-bottom: .7rem; }
.push-bubble.muted { opacity: .8; }
.push-app { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.push-text { margin: .3rem 0 0; font-size: .92rem; color: var(--ink); }
.voice-note { font-size: .8rem; color: var(--muted); margin: 1rem 0 0; }

/* validation */
.validation { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; margin-bottom: 3rem; }
.validation-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.validation-meta { font-size: .8rem; color: var(--muted); }
.validation-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.4rem; }
.vstat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.vstat-num { display: block; font-size: 1.9rem; font-weight: 900; color: var(--violet-600); line-height: 1; margin-bottom: .5rem; }
.vstat-cap { font-size: .82rem; color: var(--muted); line-height: 1.45; }
.vstat-cap b { color: var(--ink); }

@media (max-width: 940px) {
  .quote-grid, .quote-grid.two, .voice-grid { grid-template-columns: 1fr; }
  .validation-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .validation-grid { grid-template-columns: 1fr; }
}

/* dark theme for new cards */
[data-theme="dark"] .quote-card,
[data-theme="dark"] .voice-card,
[data-theme="dark"] .vstat { background: var(--surface); }
[data-theme="dark"] .validation { background: var(--surface-2); }
[data-theme="dark"] .push-bubble { background: var(--surface-2); }
[data-theme="dark"] .voice-email { background: var(--surface); }
