@font-face {
  font-family: 'Inter';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/Inter-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/Inter-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/Inter-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/Inter-Bold.woff2') format('woff2');
}

:root {
  --primary: #A78BFA;
  --primary-dark: #8B5CF6;
  --primary-light: #C4B5FD;
  --secondary: #D41B83;
  --secondary-dark: #A31566;
  --ai: #8B5CF6;
  --bg: #0F172A;
  --bg-elevated: #1E293B;
  --text: #F8FAFC;
  --text-muted: #94A3B8;
  --border: rgba(255, 255, 255, 0.1);
  --max-width: 1100px;
  --radius: 12px;

  /* Spacing scale: 4, 8, 12, 16, 24, 32, 48, 64, 96 */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --font-display: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Premium layer (reused across all 21 pages) */
  --bg-glow: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(167, 139, 250, 0.25), transparent);
  --shadow-glow: 0 0 80px -20px rgba(167, 139, 250, 0.45);
  --shadow-card: 0 1px 2px rgba(0,0,0,0.30), 0 8px 24px -8px rgba(0,0,0,0.50);
  --gradient-surface: linear-gradient(180deg, var(--bg-elevated) 0%, rgba(167, 139, 250, 0.1) 100%);
  --text-display: clamp(40px, 10vw, 80px);
  --text-lede: clamp(18px, 2vw, 22px);
}

html { color-scheme: dark; } /* Neural Dark Mode */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  overflow-x: hidden;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: fadeIn 0.4s ease forwards;
  opacity: 0;
}

body.fade-out {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

header, main, footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

header {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.hero {
  padding: 60px 0 30px;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

section {
  padding: 60px 0;
}

.trust-section {
  padding: 10px 0 40px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-feature-settings: 'cv11', 'ss01';
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 24px;
  line-height: 1.2;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature {
  padding: 24px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.feature-lg {
  padding: 32px;
}

.feature-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 0;
}

.feature p { margin-bottom: 0; }

.section-padded {
  margin-bottom: 80px;
}
.section-center {
  text-align: center;
}

.cta-strip {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  margin: 40px 0;
  border: 1px solid var(--border);
}

.cta-strip p {
  font-size: 20px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 24px;
}

.cta-link {
  display: inline-block;
  font-weight: 600;
  font-size: 18px;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps li {
  counter-increment: step;
  padding: 24px 24px 24px 80px;
  position: relative;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 28px;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.steps h3 { margin-bottom: 4px; }
.steps p { margin-bottom: 0; }

.carousel {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 320px; /* fixed height to contain absolute items */
  padding: 0;
  overflow: hidden;
  margin: 40px 0;
}
.carousel-phones {
  height: 480px;
}
.carousel-wrapper {
  position: relative;
}
.carousel > .carousel-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 350px;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  margin-bottom: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  background: var(--bg-elevated);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0.8;
  visibility: visible;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-size: 24px;
  padding: 0;
}
.carousel-btn:hover {
  opacity: 1;
  background: var(--bg-highlight);
  color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}
.carousel-btn.btn-prev {
  left: 10px;
}
.carousel-btn.btn-next {
  right: 10px;
}

.carousel > .carousel-item.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  z-index: 2;
  border-color: var(--primary);
  box-shadow: 0 12px 32px rgba(103, 42, 204, 0.15);
}

.carousel > .carousel-item.prev {
  opacity: 0.4;
  visibility: visible;
  transform: translate(-130%, -50%) scale(0.85);
  z-index: 1;
  filter: blur(2px);
  cursor: pointer;
}

.carousel > .carousel-item.next {
  opacity: 0.4;
  visibility: visible;
  transform: translate(30%, -50%) scale(0.85);
  z-index: 1;
  filter: blur(2px);
  cursor: pointer;
}

@media (min-width: 768px) {
  .carousel > .carousel-item.prev { transform: translate(-150%, -50%) scale(0.85); }
  .carousel > .carousel-item.next { transform: translate(50%, -50%) scale(0.85); }
}

.faq {
  list-style: none;
  padding: 0;
}

.faq li {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.faq li:last-child { border-bottom: none; }

.faq h3 { font-size: 18px; margin-bottom: 8px; }

.faq p { margin-bottom: 0; }

footer {
  padding: 60px 24px 40px;
  border-top: 1px solid var(--border);
  margin-top: 60px;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.footer-cols strong {
  display: block;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-cols ul {
  list-style: none;
  padding: 0;
}

.footer-cols li {
  margin-bottom: 6px;
}

.footer-cols a {
  color: var(--text-muted);
}

.footer-cols a:hover {
  color: var(--primary);
  text-decoration: none;
}

.footer-bottom-capstone {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.capstone-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.copyright {
  margin: 0;
  color: var(--text);
  font-weight: 500;
  font-size: 12px;
}

.disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
  opacity: 0.7;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-header {
  padding: 80px 0 40px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 19px;
  max-width: 700px;
  margin: 0 auto;
}

ul.checklist {
  list-style: none;
  padding: 0;
}

ul.checklist li {
  padding: 8px 0 8px 32px;
  position: relative;
  color: var(--text-muted);
}

ul.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

ul.cross li::before {
  content: "✗";
  color: #c00;
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  header { padding: 16px; }
  .hero { padding: 32px 0 24px; }
  section { padding: 40px 0; }
  .trust-section { padding: 0 0 32px; }
  .feature { padding: 20px; }
  .steps li { padding: 24px 20px 24px 72px; }
  .steps li::before { left: 20px; }
  .phone-mock { transform: scale(0.7); margin: -60px 0; }
}

/* ============================================
   New layout system: site-header, container, site-footer, site-nav, brand, play-badge
   Used by all 5 marketing pages, 5 doc pages, and 10 legal pages
   ============================================ */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  background: var(--bg);
  max-width: none;
  margin: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  max-width: 1400px;
  width: 100%;
}
.site-header .container { max-width: none; }
.site-nav {
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  display: inline-block;
  flex: none;
  width: 48px;
  height: 48px;
  background: url("/icons/brand-mark-dark.png") center/contain no-repeat;
}

.brand-name { color: var(--text); }

.site-nav a {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover { color: var(--primary); }

.play-badge {
  display: inline-block;
  flex: none;
  width: 135px;
  height: 52px;
  background: url("/badges/google-play-badge.png") center/contain no-repeat;
  border-radius: 8px;
  text-decoration: none;
  text-indent: -9999px;
  overflow: hidden;
}
.play-badge:hover { text-decoration: none; opacity: 0.9; }
.play-badge-tag, .play-badge-store { display: none; }

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 16px 0 12px;
  color: var(--text-muted);
  font-size: 12px;
  max-width: none;
  background: var(--bg-elevated);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.site-footer.visible {
  opacity: 1;
  transform: translateY(0);
}
.site-footer .container { display: block; max-width: none; padding: 0 4vw; }
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--primary); }

.subtitle {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
  line-height: 1.5;
}

.cta-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  margin: 60px 0 0;
  color: #fff;
}
.cta-strip .cta-link { background: #000; color: #fff; }

.cta-link {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
}
.cta-link:hover { text-decoration: none; opacity: 0.9; }

/* Doc and legal page layouts */
.doc-page, .legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0 80px;
}

.doc-page h1, .legal-page h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  margin: 40px 0 16px;
  line-height: 1.1;
  text-align: center;
}

.doc-page h2, .legal-page h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 12px;
  letter-spacing: -0.4px;
}

.doc-page p, .legal-page p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: var(--text);
}

.doc-page ul, .legal-page ul {
  margin-bottom: 16px;
  padding-left: 24px;
  line-height: 1.7;
}

.doc-page li, .legal-page li {
  margin-bottom: 8px;
}

.doc-page a, .legal-page a {
  color: var(--primary);
}

.doc-page img, .legal-page img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
}

.doc-page figure, .legal-page figure {
  margin: 24px 0;
}

.doc-page figcaption, .legal-page figcaption {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 8px;
}

/* ponytail: phone mockup is CSS-only, no PNG. Replace with a real screenshot if/when one is ready. */
/* ============================================
   Hero phone mockup (CSS only, no image)
   ============================================ */

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-7);
  align-items: center;
  text-align: left;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-grid .hero-tag,
.hero-grid .lede,
.hero-grid .cta-link { grid-column: 1; }

.hero-grid .lede { margin-left: 0; margin-right: 0; }
.hero-grid .cta-link { margin-top: var(--space-3); }

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: var(--space-6); }
  .hero-grid .hero-tag,
  .hero-grid .lede,
  .hero-grid .cta-link { grid-column: 1; margin-left: auto; margin-right: auto; }
}

.phone-mock {
  position: relative;
  width: 280px;
  height: 560px;
  margin: 0 auto;
  background: var(--bg);
  border: 8px solid #1a1a1a;
  border-radius: 36px;
  box-shadow: 0 30px 60px -20px rgba(103, 42, 204, 0.35), 0 0 0 1px rgba(0,0,0,0.05);
  padding: 16px;
  overflow: hidden;
  font-family: var(--font-body);
}

@media (prefers-color-scheme: dark) {
  .phone-mock {
    border-color: #2a2a32;
    background: #0f0f12;
  }
}

.phone-mock::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #1a1a1a;
  border-radius: 3px;
}

@media (prefers-color-scheme: dark) {
  .phone-mock::before { background: #2a2a32; }
}

.phone-screen {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
}

.phone-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  font-size: 13px;
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transform-origin: top center;
}

.phone-card-2 {
  transform: rotate(-1.5deg) translateX(6px);
  opacity: 0.92;
}

.phone-card-3 {
  transform: rotate(1deg) translateX(-6px);
  opacity: 0.85;
}

.phone-card-q {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.phone-card-a {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.phone-card-rating {
  display: flex;
  gap: 4px;
  margin-top: 10px;
  justify-content: space-between;
}

.phone-card-rating span {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  color: white;
  background: var(--primary);
}

.phone-card-rating span:nth-child(2) { background: var(--primary-light); }
.phone-card-rating span:nth-child(3) { background: var(--secondary); }
.phone-card-rating span:nth-child(4) { background: var(--secondary-dark); }

.phone-progress {
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  padding: 4px 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  align-self: center;
}

/* ponytail: hero typewriter rendered in the right grid column, no phone frame. Plays once, respects prefers-reduced-motion. */
.phone-tw {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding: 20px 0;
}
.phone-tw-line {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 60px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.05;
  letter-spacing: -1.5px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 18px;
}
.phone-tw-icon {
  flex: none;
  width: 0.85em;
  height: 0.85em;
}
.phone-tw-text {
  display: inline-block;
  overflow: hidden;
  width: 0;
  border-right: 3px solid var(--primary);
  animation: tw-loop-1 10s infinite, tw-blink 0.75s step-end infinite;
}
.phone-tw-sub {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  border-right: 2px solid var(--text-muted);
  animation: tw-loop-2 10s infinite, tw-blink 0.75s step-end infinite;
}
@keyframes tw-loop-1 {
  0%   { width: 0;    animation-timing-function: steps(12, end); }
  15%  { width: 17.2ch; animation-timing-function: linear; }
  80%  { width: 17.2ch; animation-timing-function: steps(12, end); }
  90%  { width: 0;    animation-timing-function: linear; }
  100% { width: 0; }
}
@keyframes tw-loop-2 {
  0%   { width: 0;    animation-timing-function: linear; }
  15%  { width: 0;    animation-timing-function: steps(22, end); }
  30%  { width: 22ch; animation-timing-function: linear; }
  70%  { width: 22ch; animation-timing-function: steps(22, end); }
  80%  { width: 0;    animation-timing-function: linear; }
  100% { width: 0; }
}
@keyframes tw-blink { 50% { border-color: transparent; } }
@media (prefers-reduced-motion: reduce) {
  .phone-tw-text, .phone-tw-sub {
    animation: none;
    width: auto;
    border-right: 0;
  }
}

/* ponytail: icons use mask-image so CSS controls color. 6 SVGs total, color via background-color. */
/* ============================================
   Inline SVG icon (mask-based, color via CSS)
   ============================================ */

.feature h3,
.doc-page h2:has(.icon) {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: none;
  background-color: var(--primary);
  -webkit-mask: var(--icon-url) no-repeat center / contain;
  mask: var(--icon-url) no-repeat center / contain;
}

.doc-page h2 .icon { width: 24px; height: 24px; }

@media (prefers-color-scheme: dark) {
  .icon { background-color: var(--primary-light); }
}

/* ============================================
   Demo page screenshot placeholders
   Real PNGs can be dropped in later; the
   placeholder is intentionally attractive
   ============================================ */

.screenshot-placeholder {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: var(--space-5);
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.screenshot-placeholder .sp-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-3);
  color: var(--primary);
  opacity: 0.6;
}

.screenshot-placeholder .sp-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: var(--space-2);
}

/* ============================================
   Premium layer (added in main page redesign)
   Reused across all 21 pages as we get to them
   ============================================ */

.surface-card {
  background: var(--gradient-surface);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--space-5);
}

.phone-glow {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.phone-glow::before {
  content: "";
  position: absolute;
  inset: -40px -60px;
  background: var(--bg-glow);
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(20px);
}

.hero-stats {
  display: flex;
  gap: var(--space-4);
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-2);
}
.hero-stats span { display: inline-flex; align-items: center; gap: 4px; }
.hero-stats strong { color: var(--text); font-weight: 700; font-size: 15px; }
.hero-stats span:not(:last-child)::after {
  content: "·";
  margin-left: var(--space-4);
  color: var(--border);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
@media (max-width: 800px) {
  .hero-cta-row { justify-content: center; flex-direction: column; }
}

.play-badge-lg {
  display: inline-block;
  flex: none;
  width: 180px;
  height: 70px;
  background: url("/badges/google-play-badge.png") center/contain no-repeat;
  border-radius: 10px;
  text-decoration: none;
  text-indent: -9999px;
  overflow: hidden;
  transition: opacity 0.15s ease;
}
.play-badge-lg:hover { opacity: 0.9; text-decoration: none; }
.play-badge-lg-tag, .play-badge-lg-store { display: none; }

.cta-link-secondary {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
}
.cta-link-secondary:hover { color: var(--primary); text-decoration: none; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: var(--space-5) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0;
  list-style: none;
}

.stat-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.pullquote {
  font-size: clamp(20px, 2.5vw, 28px);
  font-style: italic;
  font-weight: 500;
  text-align: center;
  color: var(--text);
  max-width: 800px;
  margin: var(--space-8) auto;
  line-height: 1.4;
  letter-spacing: -0.3px;
}

.features-asym {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
.features-asym .feature-full {
  grid-column: 1 / -1;
}
.features-asym .feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
@media (max-width: 800px) {
  .features-asym .feature-row { grid-template-columns: 1fr; }
}

.see-in-action {
  margin-top: var(--space-6);
}

.phone-mock-sm {
  width: 220px;
  height: 440px;
  padding: 10px;
  border-width: 6px;
  border-radius: 24px;
  margin: 0 auto;
}
.phone-mock-sm::before {
  width: 44px;
  height: 5px;
  top: 10px;
}
.phone-mock-sm .phone-screen {
  padding-top: 18px;
  gap: 8px;
}
.phone-mock-sm .phone-card {
  padding: 10px;
  font-size: 11px;
}
.phone-mock-sm .phone-card-q { font-size: 9px; }
.phone-mock-sm .phone-card-a { font-size: 12px; }
.phone-mock-sm .phone-card-rating span {
  padding: 4px 0;
  font-size: 9px;
}
.phone-mock-sm .phone-progress { font-size: 9px; padding: 3px 7px; }

.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-6);
  align-items: center;
  text-align: left;
}
.cta-grid .cta-text h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: var(--space-3);
  color: #fff;
}
.cta-grid .cta-text p { color: rgba(255,255,255,0.85); margin-bottom: var(--space-4); }
@media (max-width: 800px) {
  .cta-grid { grid-template-columns: 1fr; text-align: center; }
  .cta-grid .phone-mock { transform: scale(0.8); margin: -40px 0; }
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}
.footer-brand-text { max-width: 420px; }
.footer-brand-text .tagline {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  margin: var(--space-1) 0 0;
}
.footer-early {
  margin: 0;
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
  opacity: 0.7;
}

.hero h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: var(--space-4);
  max-width: 640px;
  white-space: nowrap;
}
.hero-subtitle {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.3;
  margin: 0 0 var(--space-4);
  max-width: 540px;
}
.hero .lede {
  font-size: var(--text-lede);
  max-width: 540px;
  margin: 0 0 var(--space-4);
}
@media (max-width: 800px) {
  .hero h1 { letter-spacing: -1.5px; }
  .hero .lede { margin-left: auto; margin-right: auto; }
}

.changelog-past {
  opacity: 0.6;
  margin-top: 40px;
}
.changelog-past h2 {
  color: var(--text-muted);
  font-size: 1.4rem;
}
.changelog-past ul {
  font-size: 0.95em;
}

/* Page Transition Animations */
body {
  opacity: 0;
  animation: page-fade-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.fade-out {
  animation: page-fade-out 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes page-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes page-fade-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
    opacity: 1;
  }
  body.fade-out {
    animation: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
}
