/* FoldOdometer — shared styles. No external fonts, no CDNs: system font stack only. */

:root {
  color-scheme: light dark;
  --indigo: #2a1c7a;
  --violet: #5636d6;
  --violet-bright: #6a47e8;
  --accent: #5e3fd8;
  --bg: #f4f1ff;
  --surface: #ffffff;
  --text: #17132b;
  --muted: #5b5675;
  --border: rgba(86, 54, 214, 0.18);
  --hero-gradient: linear-gradient(145deg, #6a47e8 0%, #5636d6 45%, #2a1c7a 100%);
  --radius: 22px;
  --shadow: 0 18px 40px -18px rgba(42, 28, 122, 0.45);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #a48cff;
    --bg: #0d0920;
    --surface: #1a1436;
    --text: #f1eeff;
    --muted: #b3acd6;
    --border: rgba(164, 140, 255, 0.22);
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border-radius: 999px;
}
.skip-link:focus { left: 0.5rem; z-index: 10; }

.wrap {
  width: min(100% - 2.5rem, 960px);
  margin-inline: auto;
}

.narrow { width: min(100% - 2.5rem, 760px); }

/* Header */

.site-header {
  padding-block: 1rem;
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-rounded);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.site-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--accent); }

/* Hero */

.hero {
  background: var(--hero-gradient);
  color: #fff;
  padding-block: 4.5rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 65%);
  pointer-events: none;
}
.hero .wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-icon {
  width: 168px;
  height: 168px;
  border-radius: 38px;
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.55);
}
.hero h1 {
  font-family: var(--font-rounded);
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
.hero .tagline {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  margin: 0 0 1.5rem;
  opacity: 0.92;
  max-width: 34ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

.badge-placeholder {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 200px;
  padding: 0.65rem 1.2rem;
  border: 2px dashed rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  color: #fff;
  line-height: 1.25;
}
.badge-placeholder small { opacity: 0.8; font-size: 0.8rem; }
.badge-placeholder strong { font-size: 1.05rem; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Sections */

main { display: block; }

.section { padding-block: 4rem; }
.section h2 {
  font-family: var(--font-rounded);
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.section-lead { color: var(--muted); margin: 0 0 2rem; max-width: 60ch; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }
.card .emoji { font-size: 1.6rem; display: block; margin-bottom: 0.5rem; }

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.shots figure { margin: 0; }
.shots img {
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.shots figcaption { text-align: center; color: var(--muted); font-size: 0.95rem; margin-top: 0.75rem; }

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--violet);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
}
.callout p { margin: 0.25rem 0; }

/* Long-form pages (privacy, support) */

.page-header {
  background: var(--hero-gradient);
  color: #fff;
  padding-block: 3rem;
}
.page-header h1 {
  font-family: var(--font-rounded);
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin: 0 0 0.25rem;
}
.page-header p { margin: 0; opacity: 0.9; }

.prose { padding-block: 3rem 4rem; }
.prose h2 {
  font-family: var(--font-rounded);
  font-size: 1.45rem;
  margin: 2.5rem 0 0.5rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin: 1.75rem 0 0.4rem; }
.prose p,
.prose li { color: var(--text); }
.prose ul,
.prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: 0.35rem; }
.prose .summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.25rem 1.25rem;
  margin-bottom: 0.85rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding-block: 0.85rem;
  list-style-position: outside;
}
.faq details[open] summary { border-bottom: 1px solid var(--border); margin-bottom: 0.75rem; }
.faq details > :last-child { margin-bottom: 1rem; }

.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.6rem;
  min-height: 1.9rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

kbd,
.ui {
  font-family: var(--font);
  font-weight: 700;
  white-space: nowrap;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}
.site-footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 640px) {
  .hero { padding-block: 3rem 3.5rem; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 1.5rem; }
  .hero .tagline { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-icon { width: 128px; height: 128px; border-radius: 29px; }
  .section { padding-block: 3rem; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
