/* MK Prod landing page
   Visual system: Geist only, Tailwind type scale, spacing tokens 0..96, Tailwind radii,
   flat dark backgrounds, base curve cubic-bezier(0.22, 1, 0.36, 1). */

@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* surfaces (approved dark palette) */
  --bg: #000000;
  --surface-1: #181818;
  --surface-2: #1F1F1F;
  --surface-3: #272727;
  --line: #272727;
  --line-strong: #313131;
  --text: #FFFFFF;
  --muted: #A1A1A1;
  --faint: #6E6E6E;
  --accent: #7B68EE;
  --accent-hover: #8A79F0;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(123, 104, 238, 0.16);
  --green: #2FA86C;

  /* spacing */
  --s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px; --s-300: 24px;
  --s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;

  /* radius (Tailwind) */
  --r-sm: 2px; --r: 4px; --r-md: 6px; --r-lg: 8px; --r-xl: 12px; --r-2xl: 16px; --r-3xl: 24px; --r-full: 9999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--s-900); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem; line-height: 1.5rem; font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, .section-title, .heading-5, .heading-6 { text-wrap: balance; }
p, li, dd, dt { text-wrap: pretty; }
em, i, cite { font-style: normal; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- text styles (B1) ---------- */
.heading-1 { font-size: 3.75rem; line-height: 3.75rem; font-weight: 600; letter-spacing: -0.03em; }
.heading-2 { font-size: 3rem; line-height: 3rem; font-weight: 600; letter-spacing: -0.025em; }
.heading-3 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; letter-spacing: -0.02em; }
.heading-4 { font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; letter-spacing: -0.015em; }
.heading-5 { font-size: 1.5rem; line-height: 2rem; font-weight: 600; letter-spacing: -0.01em; }
.heading-6 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; letter-spacing: -0.01em; }
.title-1 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 500; }
.title-2 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.title-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.title-4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.title-5 { font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.body-1 { font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.body-2 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.body-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.body-4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.body-5 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.body-6 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.body-7 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 400; } /* text-lg regular: lead paragraphs */
.button-lg { font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; }
.button-md { font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.button-sm { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.button-xsm { font-size: 0.75rem; line-height: 1rem; font-weight: 600; }
.caption-1 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.caption-2 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.caption-3 { font-size: 0.75rem; line-height: 1rem; font-weight: 600; }
.caption-4 { font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.caption-5 { font-size: 0.75rem; line-height: 1rem; font-weight: 400; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.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; }

/* ---------- icons (Phosphor, self hosted) ---------- */
@font-face {
  font-family: "Phosphor";
  src: url("/fonts/Phosphor.woff2") format("woff2");
  font-weight: normal; font-style: normal; font-display: block;
}
.ph {
  font-family: "Phosphor" !important;
  speak: never; font-style: normal; font-weight: normal; font-variant: normal;
  text-transform: none; line-height: 1; display: inline-block;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}

/* ---------- layout ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--s-300); }
.section { padding: var(--s-900) 0; }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-200); margin-bottom: var(--s-700); }
.section-title { max-width: 860px; }
.section-sub { max-width: 560px; }
.eyebrow { color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.br-lg { display: inline; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100);
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 500ms var(--ease), background-color 300ms var(--ease), opacity 300ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-lg { border-radius: var(--r-lg); } /* main buttons keep 8px by 12px padding (B2) */
.btn-lg .ph { transition: transform 500ms var(--ease); }
.btn-lg:hover .ph { transform: translateX(4px); }
.btn-sm { padding: var(--s-50) var(--s-100); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-md); }
.btn:focus-visible { outline-offset: 3px; }

.skip-link {
  position: fixed; top: var(--s-200); left: var(--s-200); z-index: 100;
  background: var(--text); color: var(--bg);
  padding: var(--s-75) var(--s-100); border-radius: var(--r-lg);
  transform: translateY(-200%); transition: transform 300ms var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- nav ---------- */
.nav-wrap {
  position: fixed; top: var(--s-200); left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding: 0 var(--s-200);
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: var(--s-300);
  padding: var(--s-75) var(--s-75) var(--s-75) var(--s-200);
  border-radius: var(--r-2xl);
  background: rgba(24, 24, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
.nav-brand { display: inline-flex; align-items: center; gap: var(--s-75); }
.nav-brand img { border-radius: var(--r-md); }
.nav-links { display: flex; gap: var(--s-50); }
.nav-links a {
  display: block; padding: var(--s-50) var(--s-100); border-radius: var(--r-lg);
  color: var(--muted);
  transition: color 300ms var(--ease), background-color 300ms var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-links a[aria-current="true"] { color: var(--text); background: rgba(255, 255, 255, 0.08); }
/* inner radius = 16 outer − 8 gap */
.nav-cta { border-radius: var(--r-lg); }

.menu-toggle {
  display: none; position: relative;
  width: 40px; height: 40px; border: 0; padding: 0; cursor: pointer;
  border-radius: var(--r-lg); background: transparent;
}
.menu-toggle:hover { background: rgba(255, 255, 255, 0.06); }
.menu-line {
  position: absolute; left: 12px; width: 16px; height: 2px; border-radius: var(--r-full);
  background: var(--text);
  transition: transform 500ms var(--ease);
}
.menu-line:nth-child(1) { top: 15px; }
.menu-line:nth-child(2) { top: 23px; }
.menu-toggle[aria-expanded="true"] .menu-line:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  padding: var(--s-900) var(--s-300) var(--s-400);
  opacity: 0; transition: opacity 300ms var(--ease);
}
.mobile-menu.open { opacity: 1; }
.mobile-menu ul { display: flex; flex-direction: column; gap: var(--s-200); }
.mobile-menu li {
  opacity: 0; transform: translateY(24px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.mobile-menu.open li { opacity: 1; transform: translateY(0); }
.mobile-menu a:not(.btn) { display: block; padding: var(--s-75) 0; color: var(--text); }
.mobile-menu .btn { width: 100%; margin-top: var(--s-300); }

/* ---------- hero ---------- */
.hero { padding: 160px 0 var(--s-900); }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: var(--s-75);
  padding: var(--s-50) var(--s-100) var(--s-50) var(--s-100);
  border-radius: var(--r-full);
  background: var(--surface-1); border: 1px solid var(--line-strong);
  color: var(--muted);
  transition: color 300ms var(--ease), background-color 300ms var(--ease);
}
.pill:hover { color: var(--text); background: var(--surface-2); }
.pill-dot { width: 8px; height: 8px; border-radius: var(--r-full); background: var(--green); box-shadow: 0 0 0 4px rgba(47, 168, 108, 0.18); }
.hero-title {
  max-width: 680px; margin-top: var(--s-400);
  background: linear-gradient(90deg, #FFFFFF 0%, #9B9B9B 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-bottom: var(--s-50); /* keeps descenders inside the clipped gradient */
}
.hero-sub { max-width: 680px; margin-top: var(--s-300); color: var(--muted); }
.hero-actions { margin-top: var(--s-500); display: flex; gap: var(--s-100); }
.proof-line { margin-top: var(--s-300); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-100) var(--s-300); color: var(--muted); }
.proof-line li { display: inline-flex; align-items: center; gap: var(--s-75); }
.proof-line .ph { color: var(--text); font-size: 1rem; }

/* ---------- product mock ---------- */
.mock { position: relative; margin-top: var(--s-800); }
.mock-window {
  padding: var(--s-75);
  border-radius: var(--r-2xl);
  background: var(--surface-1);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(123, 104, 238, 0.06);
}
.mock-bar { display: flex; align-items: center; gap: var(--s-75); padding: var(--s-50) var(--s-75) var(--s-100); }
.mock-bar .dot { width: 12px; height: 12px; border-radius: var(--r-full); background: var(--surface-3); }
.mock-path { margin-left: var(--s-200); color: var(--faint); display: inline-flex; align-items: center; gap: var(--s-50); }
/* inner radius = 16 − 8 */
.mock-app {
  display: grid; grid-template-columns: 216px 1fr;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg); border: 1px solid var(--line);
  min-height: 440px;
}
.mock-side { background: #131209; border-right: 1px solid var(--line); padding: var(--s-200) var(--s-100); }
.mock-ws { display: flex; align-items: center; gap: var(--s-75); padding: 0 var(--s-75) var(--s-200); }
.mock-ws img { border-radius: var(--r-md); }
.mock-side ul { display: flex; flex-direction: column; gap: var(--s-25); color: var(--muted); }
.mock-side li { display: flex; align-items: center; gap: var(--s-75); padding: var(--s-75); border-radius: var(--r-md); }
.mock-side li .ph { font-size: 1rem; }
.mock-side li.active { background: var(--surface-2); color: var(--text); }
.mock-side .side-label { color: var(--faint); padding-top: var(--s-200); padding-bottom: var(--s-50); }
.mock-side .count { margin-left: auto; padding: 0 var(--s-75); border-radius: var(--r-full); background: var(--accent); color: var(--accent-ink); }
.sq { width: 12px; height: 12px; border-radius: var(--r); background: var(--c); }
.mock-main { padding: var(--s-200); min-width: 0; }
.mock-tabs { display: flex; gap: var(--s-50); color: var(--faint); padding-bottom: var(--s-200); border-bottom: 1px solid var(--line); margin-bottom: var(--s-200); overflow: hidden; }
.mock-tabs span { padding: var(--s-50) var(--s-100); border-radius: var(--r-md); }
.mock-tabs .on { background: var(--surface-2); color: var(--text); }
.mock-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-200); text-align: left; }
.col { display: flex; flex-direction: column; gap: var(--s-75); }
.col-head { display: flex; align-items: center; gap: var(--s-75); padding: 0 var(--s-50) var(--s-50); color: var(--muted); }
.col-head .n { color: var(--faint); font-weight: 400; }
.st { width: 8px; height: 8px; border-radius: var(--r-full); background: var(--c); }
.card {
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: var(--s-100);
  display: flex; flex-direction: column; gap: var(--s-75);
}
.card .id { color: var(--faint); font-family: var(--mono); }
.card .t { color: var(--text); }
.card.done .t { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--faint); }
.meta { display: flex; align-items: center; justify-content: space-between; gap: var(--s-75); }
.tag { display: inline-flex; align-items: center; gap: var(--s-50); padding: var(--s-25) var(--s-75); border-radius: var(--r-md); background: var(--surface-3); color: var(--muted); }
.tag-green { background: rgba(47, 168, 108, 0.16); color: #5FD39A; }
.due { display: inline-flex; align-items: center; gap: var(--s-50); color: var(--muted); }
.av { width: 28px; height: 28px; border-radius: var(--r-full); display: grid; place-items: center; background: var(--c); color: #fff; font-size: 0.75rem; line-height: 1rem; font-weight: 600; flex: none; }
.bar { height: 4px; border-radius: var(--r-full); background: var(--surface-3); overflow: hidden; }
.bar span { display: block; height: 100%; width: var(--w); background: var(--accent); border-radius: var(--r-full); }

.mock-float {
  position: absolute; right: calc(var(--s-400) * -1); bottom: calc(var(--s-600) * -1);
  width: 320px; text-align: left;
  padding: var(--s-200);
  border-radius: var(--r-2xl);
  background: rgba(31, 31, 31, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
  display: flex; flex-direction: column; gap: var(--s-200);
}
.float-head { display: flex; gap: var(--s-100); align-items: center; }
.float-icon { width: 32px; height: 32px; flex: none; border-radius: var(--r-lg); display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 1.125rem; }
.float-body { display: flex; flex-direction: column; gap: var(--s-100); }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: var(--s-75); }
.budget { display: flex; flex-direction: column; gap: var(--s-75); }
.budget-bar { display: flex; height: 8px; border-radius: var(--r-full); background: var(--surface-3); overflow: hidden; }
.budget-bar span { display: block; height: 100%; width: var(--w); }
.budget-bar .spent { background: var(--accent); }
.budget-bar .committed { background: rgba(123, 104, 238, 0.45); }
.float-actions { display: flex; gap: var(--s-75); justify-content: flex-end; }
/* outer 16, gap 16 → inner square-ish chips use their own 8 radius */
.fbtn { display: inline-flex; align-items: center; gap: var(--s-50); padding: var(--s-75) var(--s-100); border-radius: var(--r-lg); }
.fbtn-ghost { background: var(--surface-3); color: var(--muted); }
.fbtn-primary { background: var(--accent); color: var(--accent-ink); }

/* ---------- problem / solution ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-300); }
.before { display: flex; flex-direction: column; gap: var(--s-100); }
.before-item {
  display: flex; gap: var(--s-200); align-items: flex-start;
  padding: var(--s-300); border-radius: var(--r-2xl);
  background: var(--surface-1); border: 1px solid var(--line);
}
.before-item .ph { font-size: 1.5rem; color: var(--faint); flex: none; }
.before-item div { display: flex; flex-direction: column; gap: var(--s-50); }
.after {
  padding: var(--s-500); border-radius: var(--r-2xl);
  background: var(--surface-2); border: 1px solid var(--line-strong);
  display: flex; flex-direction: column; gap: var(--s-200); justify-content: center;
}
.checks { display: flex; flex-direction: column; gap: var(--s-100); margin-top: var(--s-75); color: var(--muted); }
.checks li { display: flex; gap: var(--s-100); align-items: flex-start; }
.checks .ph { color: var(--accent); font-size: 1.25rem; flex: none; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-200); }
.tile {
  padding: var(--s-400); border-radius: var(--r-2xl);
  background: var(--surface-1); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: var(--s-100);
  transition: transform 500ms var(--ease), background-color 300ms var(--ease);
}
.tile:hover { transform: translateY(-4px); background: var(--surface-2); }
.tile-wide { grid-column: span 2; }
.bento .tile:nth-child(2) { grid-row: span 1; }
.tile-icon {
  width: 40px; height: 40px; border-radius: var(--r-xl);
  display: grid; place-items: center; margin-bottom: var(--s-200);
  background: var(--accent-soft); color: var(--accent); font-size: 1.25rem;
}
.chips { display: flex; flex-wrap: wrap; gap: var(--s-75); margin-top: var(--s-200); }
.chips li { padding: var(--s-50) var(--s-100); border-radius: var(--r-full); background: var(--surface-3); color: var(--muted); }

/* ---------- tagline reveal (B11) ---------- */
.tagline { padding: 160px 0; }
.tagline-text { max-width: 860px; margin: 0 auto; text-align: center; }
.tagline-text .w { color: rgba(255, 255, 255, 0.28); transition: color 600ms var(--ease); }
.tagline-text .w.on { color: var(--text); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-200); counter-reset: none; }
.step {
  padding: var(--s-400); border-radius: var(--r-2xl);
  background: var(--surface-1); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: var(--s-100);
}
.step-n {
  align-self: flex-start; margin-bottom: var(--s-200);
  padding: var(--s-50) var(--s-100); border-radius: var(--r-full);
  background: var(--accent-soft); color: var(--accent);
}

/* ---------- security ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: var(--r-2xl); border: 1px solid var(--line);
  background: var(--surface-1); overflow: hidden; margin-bottom: var(--s-300);
}
.stat { padding: var(--s-400); display: flex; flex-direction: column-reverse; gap: var(--s-75); box-shadow: inset -1px 0 0 var(--line); }
.stat:last-child { box-shadow: none; }
.sec-grid { display: grid; grid-template-columns: 3fr 2fr; gap: var(--s-300); }
.sec-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-200); }
.sec-list li {
  display: flex; flex-direction: column; gap: var(--s-200);
  padding: var(--s-300); border-radius: var(--r-2xl);
  background: var(--surface-1); border: 1px solid var(--line);
}
.sec-list .ph { font-size: 1.5rem; color: var(--accent); }
.sec-list li div { display: flex; flex-direction: column; gap: var(--s-50); }
.honest {
  padding: var(--s-400); border-radius: var(--r-2xl);
  background: var(--surface-2); border: 1px solid var(--line-strong);
  display: flex; flex-direction: column; gap: var(--s-100);
}
.dash { display: flex; flex-direction: column; gap: var(--s-75); padding: var(--s-75) 0; }
.dash li { position: relative; padding-left: var(--s-300); }
.dash li::before { content: ""; position: absolute; left: var(--s-50); top: 9px; width: 6px; height: 2px; border-radius: var(--r-full); background: var(--faint); }

/* ---------- platforms ---------- */
.platforms { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-200); }
.platform {
  height: 100%;
  display: flex; flex-direction: column; gap: var(--s-75);
  padding: var(--s-300); border-radius: var(--r-2xl);
  background: var(--surface-1); border: 1px solid var(--line);
  transition: transform 500ms var(--ease), background-color 300ms var(--ease);
}
.platform:hover { transform: translateY(-4px); background: var(--surface-2); }
.platform:active { transform: scale(0.98); }
.platform > .ph { font-size: 2rem; margin-bottom: var(--s-200); }
.platform-go { margin-top: auto; padding-top: var(--s-200); display: inline-flex; align-items: center; gap: var(--s-50); color: var(--accent); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 800px; }
.faq { border-radius: var(--r-2xl); border: 1px solid var(--line); background: var(--surface-1); overflow: hidden; }
.faq details { box-shadow: inset 0 -1px 0 var(--line); }
.faq details:last-child { box-shadow: none; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-200);
  padding: var(--s-300);
  transition: background-color 300ms var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--surface-2); }
.faq summary:focus-visible { outline-offset: -2px; border-radius: 0; }
.faq summary .ph { flex: none; color: var(--muted); transition: transform 500ms var(--ease); }
.faq details[open] summary .ph { transform: rotate(45deg); }
.faq details p { padding: 0 var(--s-300) var(--s-300); max-width: 680px; }

/* ---------- final CTA ---------- */
.final { padding-top: var(--s-600); }
.final-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-300);
  padding: var(--s-900) var(--s-400);
  border-radius: var(--r-3xl);
  background: var(--surface-1); border: 1px solid var(--line-strong);
}
.final-logo { border-radius: var(--r-2xl); }
.final-title { max-width: 680px; }
.final-sub { max-width: 520px; }

/* ---------- footer ---------- */
.footer { padding: var(--s-700) 0 var(--s-600); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-400); padding-top: var(--s-400); box-shadow: inset 0 1px 0 var(--line); }
.footer-brand { display: flex; flex-direction: column; gap: var(--s-100); max-width: 320px; }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s-100) var(--s-300); color: var(--muted); }
.footer-links a { transition: color 300ms var(--ease); }
.footer-links a:hover { color: var(--text); }

/* ---------- simple pages (404, legal) ---------- */
.page { padding: 160px 0 var(--s-900); }
.page-narrow { max-width: 720px; }
.prose { display: flex; flex-direction: column; gap: var(--s-200); color: var(--muted); }
.prose h2 { color: var(--text); margin-top: var(--s-400); }
.prose ul { padding-left: var(--s-300); display: flex; flex-direction: column; gap: var(--s-75); }
.prose a { color: var(--accent); }
.notice { padding: var(--s-200); border-radius: var(--r-xl); border: 1px solid var(--line-strong); background: var(--surface-1); color: var(--muted); }
.not-found { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-300); min-height: 70vh; justify-content: center; }
.not-found .code { color: var(--faint); }

/* ---------- reveal (B7) ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .platforms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mock-float { right: var(--s-200); }
}
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-wide { grid-column: span 2; }
  .split, .sec-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { box-shadow: inset 0 -1px 0 var(--line); }
  .stat:nth-child(1) { box-shadow: inset -1px -1px 0 var(--line); }
  .stat:nth-child(3) { box-shadow: inset -1px 0 0 var(--line); }
  .steps { grid-template-columns: 1fr; }
  .mock-app { grid-template-columns: 1fr; }
  .mock-side { display: none; }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav { gap: var(--s-400); width: 100%; justify-content: space-between; }
  .br-lg { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 var(--s-200); }
  .section { padding: var(--s-800) 0; }
  .section-head { margin-bottom: var(--s-500); }
  .hero { padding: 128px 0 var(--s-700); }
  .heading-1 { font-size: 3rem; line-height: 3rem; }      /* steps down to text-5xl */
  .heading-2 { font-size: 1.875rem; line-height: 2.25rem; } /* text-3xl */
  .tagline .heading-2 { font-size: 2.25rem; line-height: 2.5rem; } /* text-4xl */
  .heading-3 { font-size: 1.875rem; line-height: 2.25rem; }
  .hero-actions, .hero-actions .btn { width: 100%; }
  .proof-line { flex-direction: column; align-items: center; }
  .mock { margin-top: var(--s-600); }
  .mock-board { grid-template-columns: 1fr 1fr; gap: var(--s-100); }
  .col-hide-sm { display: none; }
  .mock-app { min-height: 0; }
  .mock-main { padding: var(--s-100); }
  .mock-float { position: relative; right: auto; bottom: auto; width: auto; margin: calc(var(--s-600) * -1) var(--s-200) 0; }
  .bento, .sec-list { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; }
  .tile, .step, .honest, .stat { padding: var(--s-300); }
  .after { padding: var(--s-300); }
  .stats { grid-template-columns: 1fr; }
  .stats .stat { box-shadow: inset 0 -1px 0 var(--line); }
  .stats .stat:last-child { box-shadow: none; }
  .platforms { grid-template-columns: 1fr 1fr; }
  .platforms li:last-child { grid-column: span 2; }
  .tagline { padding: var(--s-900) 0; }
  .final-card { padding: var(--s-700) var(--s-300); }
  .final-card .btn { width: 100%; }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 400px) {
  .heading-1 { font-size: 2.25rem; line-height: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 200ms !important; transition-delay: 0ms !important; }
  .js .reveal { transform: none; }
  .btn:hover, .tile:hover, .platform:hover, .btn-lg:hover .ph { transform: none; }
  .mobile-menu li { transform: none; }
  .tagline-text .w { color: var(--text); transition: none; }
}

/* ---------- Phosphor glyphs used on these pages ---------- */
.ph.ph-android-logo:before { content: "\e008"; }
.ph.ph-apple-logo:before { content: "\e516"; }
.ph.ph-arrow-left:before { content: "\e058"; }
.ph.ph-arrow-right:before { content: "\e06c"; }
.ph.ph-arrow-up-right:before { content: "\e092"; }
.ph.ph-arrows-clockwise:before { content: "\e094"; }
.ph.ph-bell-ringing:before { content: "\e5e8"; }
.ph.ph-calendar-blank:before { content: "\e10a"; }
.ph.ph-caret-right:before { content: "\e13a"; }
.ph.ph-check:before { content: "\e182"; }
.ph.ph-check-circle:before { content: "\e184"; }
.ph.ph-check-square:before { content: "\e186"; }
.ph.ph-device-mobile:before { content: "\e1e0"; }
.ph.ph-devices:before { content: "\eba4"; }
.ph.ph-envelope-simple:before { content: "\e218"; }
.ph.ph-export:before { content: "\eaf0"; }
.ph.ph-file-text:before { content: "\e23a"; }
.ph.ph-globe-simple:before { content: "\e28e"; }
.ph.ph-house:before { content: "\e2c2"; }
.ph.ph-kanban:before { content: "\eb54"; }
.ph.ph-key:before { content: "\e2d6"; }
.ph.ph-link-simple:before { content: "\e2e6"; }
.ph.ph-lock-key:before { content: "\e2fe"; }
.ph.ph-lock-simple:before { content: "\e308"; }
.ph.ph-plus:before { content: "\e3d4"; }
.ph.ph-receipt:before { content: "\e3ec"; }
.ph.ph-seal-check:before { content: "\e606"; }
.ph.ph-shield-check:before { content: "\e40c"; }
.ph.ph-squares-four:before { content: "\e464"; }
.ph.ph-table:before { content: "\e476"; }
.ph.ph-tray:before { content: "\e4aa"; }
.ph.ph-wallet:before { content: "\e68a"; }
.ph.ph-windows-logo:before { content: "\e692"; }
