/* ============================================================
   WalletScribe Marketing Site — Design Tokens & Styles
   Vanilla CSS, mobile-first, dark mode via html.dark
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
.is-disabled { opacity: 0.5; cursor: not-allowed; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ---------- Design Tokens (Light) ---------- */
:root {
  --color-bg: #eef1f8;
  --color-card: #ffffff;
  --color-card-alt: #f6f8fa;
  --color-text: #1d1d1d;
  --color-text-secondary: #2e2e2e;
  --color-text-tertiary: #494949;
  --color-text-muted: #6b7280;
  --color-primary: #a3e635;
  --color-primary-dark: #65a30d;
  --color-cta-bg: #0f172a;
  --color-cta-text: #a3e635;
  --color-stroke: #dfdfdf;
  --color-stroke-light: rgba(0,0,0,0.1);
  --color-green: #16a34a;
  --color-blue: #2563eb;
  --color-pink: #db2777;
  --color-red: #dc2626;
  --color-badge-bg: #e9ebef;
  --shadow-card: 0 10px 30px rgba(15,23,42,0.08);
  --shadow-nav: 0 0 4px rgba(0,0,0,0.08), 0 10px 30px rgba(15,23,42,0.08);
  --radius-card: 28px;
  --radius-pill: 999px;
  --radius-badge: 16px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --max-width: 1440px;
  --side-padding: 16px;
}

/* ---------- Design Tokens (Dark) ---------- */
html.dark {
  --color-bg: #1a1f23;
  --color-card: #262a30;
  --color-card-alt: #2e333a;
  --color-text: #f3f4f6;
  --color-text-secondary: #d1d5db;
  --color-text-tertiary: #9ca3af;
  --color-text-muted: #9ca3af;
  --color-stroke: #3f3f46;
  --color-stroke-light: rgba(255,255,255,0.1);
  --color-badge-bg: #3f3f46;
  --shadow-card: 0 10px 30px rgba(0,0,0,0.25);
  --shadow-nav: 0 0 4px rgba(0,0,0,0.2), 0 10px 30px rgba(0,0,0,0.3);
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Layout ---------- */
.site-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px var(--side-padding);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section-card {
  background: var(--color-card);
  border: 1px solid var(--color-stroke-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px;
}

/* ---------- Typography ---------- */
.heading-hero {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 1.12;
  color: var(--color-text);
}

.heading-section {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.5;
  color: var(--color-text);
}

.heading-card {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--color-text);
}

.heading-3 {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--color-text);
}

.text-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-tertiary);
}

.text-small {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.text-center { text-align: center; }

/* ---------- Navigation ---------- */
.nav {
  background: var(--color-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-nav);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 16px;
  z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.3);
}

html.dark .nav.scrolled {
  background: rgba(38, 42, 48, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
}

.nav-logo {
  height: 32px;
  width: auto;
  flex-shrink: 0;
}

/* Light/dark logo swap — light variant is default, dark replaces in dark mode. */
.nav-logo--dark { display: none; }
html.dark .nav-logo--light { display: none; }
html.dark .nav-logo--dark { display: block; }

.nav-links {
  display: none;
  background: var(--color-bg);
  border: 1px solid var(--color-stroke-light);
  border-radius: var(--radius-pill);
  padding: 7px;
  gap: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--color-card);
  box-shadow: var(--shadow-card);
}

.nav-link.active {
  background: var(--color-card);
  box-shadow: var(--shadow-card);
  color: var(--color-text);
}

.nav-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  display: none;
  background: var(--color-cta-bg);
  color: var(--color-cta-text);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.875rem;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.nav-cta:hover { opacity: 0.9; }

.nav-cta.active {
  background: var(--color-card);
  color: var(--color-text);
  cursor: default;
  pointer-events: none;
}

.btn-primary.active {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

.dark-toggle {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.dark-toggle:hover { background: var(--color-badge-bg); }

.dark-toggle svg {
  width: 24px;
  height: 24px;
  color: var(--color-text);
}

/* Mobile nav hamburger */
.nav-hamburger {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.nav-hamburger svg {
  width: 24px;
  height: 24px;
  color: var(--color-text);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 200;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu.open { display: flex; }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.mobile-menu-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.mobile-menu-close svg {
  width: 24px;
  height: 24px;
  color: var(--color-text);
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: background 0.2s;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  background: var(--color-card-alt);
}

.mobile-menu-link svg {
  width: 24px;
  height: 24px;
}

.mobile-menu-cta {
  margin-top: auto;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-cta-bg);
  color: var(--color-cta-text);
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  transition: opacity 0.2s;
}

.btn-primary:hover { opacity: 0.9; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-badge-bg);
  color: var(--color-cta-bg);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
}

html.dark .btn-secondary {
  background: var(--color-card-alt);
  color: var(--color-text);
}

.btn-secondary:hover { opacity: 0.85; }

.btn-secondary.is-disabled {
  opacity: 1;
  background: #d1d5db;
  color: var(--color-cta-bg);
}

html.dark .btn-secondary.is-disabled {
  opacity: 1;
  background: var(--color-card-alt);
  color: var(--color-text-secondary);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-card);
  border: 1px solid var(--color-stroke-light);
  color: var(--color-text);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s;
}

.btn-outline:hover { background: var(--color-card-alt); }

/* ---------- Hero ---------- */
.hero-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px;
}

.hero-right {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  min-height: 300px;
  background: linear-gradient(126deg, #2f3c4a 8%, #97b7c1 93%);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-mockup {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-text);
}

.hero-feature span {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
}

/* ---------- Feature Cards ---------- */
.features-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

.feature-card {
  background: var(--color-card);
  border: 1px solid var(--color-stroke-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-badge);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.feature-icon.green { background: rgba(22,163,74,0.16); color: #16a34a; }
.feature-icon.green svg { color: #16a34a; }
.feature-icon.blue { background: rgba(37,99,235,0.16); color: #2563eb; }
.feature-icon.blue svg { color: #2563eb; }
.feature-icon.pink { background: rgba(219,39,119,0.16); color: #db2777; }
.feature-icon.pink svg { color: #db2777; }
.feature-icon.red { background: rgba(220,38,38,0.16); color: #dc2626; }
.feature-icon.red svg { color: #dc2626; }

.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-bullet {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--color-text-tertiary);
}

.feature-bullet svg {
  width: 16px;
  height: 16px;
  color: var(--color-green);
  flex-shrink: 0;
}

/* ---------- Download Section ---------- */
.download-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 48px 32px;
}

.download-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding: 16px 0;
}

.download-badge {
  height: 40px;
  border-radius: 6px;
  transition: opacity 0.2s;
}

.download-badge:hover { opacity: 0.85; }

.download-primary {
  font-size: 1.125rem;
  padding: 16px 32px;
}

.download-others {
  margin-top: 8px;
  width: 100%;
  max-width: 480px;
}

.download-others summary {
  cursor: pointer;
  color: var(--color-text-secondary);
  text-align: center;
  padding: 8px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

/* ---------- Principles / Values ---------- */
.principles-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.principle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
}

.principle-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-card);
  background: var(--color-card-alt);
  border: 1px solid var(--color-stroke-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.principle-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-text);
}

/* ---------- Dark Gradient Section ---------- */
.gradient-section {
  background: linear-gradient(153deg, #2f3c4a 8%, #97b7c1 92%);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 48px 32px;
  color: white;
}

.gradient-section .heading-section { color: white; }

.gradient-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}

.gradient-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-card);
  padding: 14px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
}

.gradient-pill svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ---------- Pricing ---------- */
.pricing-hero {
  text-align: center;
  padding: 48px 32px;
}

.pricing-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-card-alt);
  border: 2px solid var(--color-badge-bg);
  border-radius: var(--radius-pill);
  padding: 16px 32px;
  margin: 24px 0;
}

.pricing-amount {
  font-weight: 900;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--color-text);
}

.pricing-period {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

.pricing-icon {
  width: 96px;
  height: 96px;
  border-radius: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.pricing-icon svg {
  width: 48px;
  height: 48px;
  color: white;
}

/* ---------- Feature Checklist ---------- */
.checklist-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  max-width: 1024px;
  margin: 0 auto;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-card-alt);
  border: 1px solid var(--color-stroke-light);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
}

.checklist-check {
  width: 24px;
  height: 24px;
  border-radius: 12px;
  background: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checklist-check svg {
  width: 16px;
  height: 16px;
  color: white;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 768px;
  margin: 24px auto 0;
}

.faq-item {
  background: var(--color-card-alt);
  border: 1px solid var(--color-stroke-light);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-question:hover { background: var(--color-bg); }

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item[open] .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* ---------- About Value Cards ---------- */
.values-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.value-card {
  background: var(--color-card);
  border: 1px solid var(--color-stroke-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px;
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  opacity: 0.9;
}

.value-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.value-icon.green { background: #16a34a; }
.value-icon.pink { background: #db2777; }
.value-icon.red { background: #dc2626; }
.value-icon.blue { background: #2563eb; }

/* ---------- Timeline ---------- */
.timeline-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  max-width: 1024px;
  margin: 24px auto 0;
}

.timeline-card {
  background: var(--color-card-alt);
  border: 1px solid var(--color-stroke-light);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  position: relative;
}

.timeline-number {
  position: absolute;
  top: -16px;
  left: -8px;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background: var(--color-badge-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-cta-bg);
}

html.dark .timeline-number {
  background: var(--color-primary);
  color: var(--color-cta-bg);
}

/* ---------- Contact Cards ---------- */
.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 24px auto 0;
}

.contact-card {
  background: var(--color-card-alt);
  border: 1px solid var(--color-stroke-light);
  border-radius: var(--radius-card);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-card);
  background: var(--color-badge-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-text);
}

.contact-card .btn-outline { margin-top: auto; }

/* ---------- Support CTA (gradient) ---------- */
.support-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.support-cta .text-body { color: rgba(255,255,255,0.9); }
.support-cta .text-small { color: rgba(255,255,255,0.75); }

.support-cta-icon {
  width: 64px;
  height: 64px;
  border-radius: 32px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-cta-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--color-cta-bg);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: opacity 0.2s;
}

.btn-white:hover { opacity: 0.9; }

/* ---------- Footer ---------- */
.footer {
  padding: 48px 32px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-link {
  color: var(--color-text-secondary);
  transition: color 0.2s;
}

.footer-link:hover { color: var(--color-text); }

/* ---------- Get Started Page ---------- */
.get-started-cards {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

.get-started-card {
  background: var(--color-card);
  border: 1px solid var(--color-stroke-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: var(--color-primary);
  color: var(--color-cta-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* ---------- 404 ---------- */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  gap: 16px;
}

.not-found-code {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--color-badge-bg);
  line-height: 1;
}

/* ============================================================
   Responsive Breakpoints
   ============================================================ */

/* Tablet (768px+) */
@media (min-width: 768px) {
  :root { --side-padding: 32px; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .checklist-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .get-started-cards { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  :root { --side-padding: 48px; }

  .nav-links { display: flex; }
  .nav-hamburger { display: none; }
  .nav-cta { display: inline-flex; }

  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-right { min-height: 480px; }

  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .principles-grid { grid-template-columns: repeat(4, 1fr); }
  .checklist-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
  :root { --side-padding: 16px; }
}

/* Focus styles */
:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Utility */
.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;
}

/* ---------- Hero app mockup (theme-swapped) ---------- */
/* Sizing already handled by .hero-mockup rule above (max-width: 80%, etc).
   These rules just toggle which variant is visible. */
.hero-mockup--dark { display: none; }
html.dark .hero-mockup--light { display: none; }
html.dark .hero-mockup--dark { display: block; }

/* ---------- Legal pages (privacy, tos) ---------- */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 64px;
}
.legal-prose {
  background: var(--color-card);
  border-radius: var(--radius-card, 28px);
  padding: 32px;
  color: var(--color-text-secondary);
  line-height: 1.65;
  font-size: 0.9375rem;
}
.legal-prose > * + * { margin-top: 0.75rem; }
.legal-prose h1,
.legal-prose h2,
.legal-prose h3 {
  color: var(--color-text);
  font-family: var(--font-heading, 'Outfit'), sans-serif;
  font-weight: 700;
  margin-top: 1.75rem;
}
.legal-prose h2 { font-size: 1.25rem; }
.legal-prose h3 { font-size: 1.0625rem; }
.legal-prose strong { color: var(--color-text); font-weight: 600; }
.legal-prose ul,
.legal-prose ol {
  padding-left: 1.5rem;
  list-style: disc;
}
.legal-prose ol { list-style: decimal; }
.legal-prose li { margin-top: 0.25rem; }
.legal-prose a {
  color: var(--color-primary-dark, #65a30d);
  text-decoration: underline;
}
.legal-prose a:hover { opacity: 0.85; }
.legal-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.875em;
  background: rgba(127, 127, 127, 0.1);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
}

