:root {
  --bg: #0d0f12;
  --bg-soft: #14171c;
  --card: #191d23;
  --card-hover: #1f242b;
  --border: #262b33;
  --text: #f5f6f7;
  --text-dim: #9aa1ab;
  --text-faint: #6b7280;
  --accent: #a5b4fc;
  --accent-ink: #10121a;
  --radius: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Nav ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 15, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(145deg, #f5f6f7, #c9cdd4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img { height: 20px; width: auto; display: block; }

.hero-wrap { position: relative; overflow: hidden; }

.hero-menhir {
  position: absolute;
  right: 4%;
  bottom: -8%;
  height: 105%;
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

.footer-logo { height: 34px; width: auto; opacity: 0.9; display: block; }

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.15s;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-links a.lang {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}

.nav-links a.lang:hover { border-color: var(--text-faint); color: var(--text); }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 88px; }

.hero h1 {
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 760px;
}

.hero p {
  margin-top: 28px;
  font-size: 19px;
  color: var(--text-dim);
  max-width: 620px;
}

.btn {
  display: inline-block;
  margin-top: 36px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  transition: filter 0.15s, transform 0.15s;
}

.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }

.section-alt { background: var(--bg-soft); }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.pill {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-faint);
  margin-bottom: 12px;
}

/* ---------- App cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s, transform 0.15s;
}

.card:hover { background: var(--card-hover); transform: translateY(-2px); }

.app-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.app-icon img, .app-hero-icon img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  display: block;
}

.card-body { flex: 1; min-width: 0; }

.card-body h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }

.card-body p { font-size: 14px; color: var(--text-dim); margin-top: 2px; line-height: 1.45; }

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--text-faint);
}

.badge {
  background: rgba(165, 180, 252, 0.12);
  color: var(--accent);
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
}

.chevron { color: var(--text-faint); font-size: 20px; flex-shrink: 0; }

/* ---------- Values ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px 48px;
  margin-top: 48px;
}

.values h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }

.values p { color: var(--text-dim); font-size: 15.5px; }

/* ---------- Prose (about) ---------- */
.prose { max-width: 720px; }

.prose h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 28px;
}

.prose h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 48px 0 16px; }

.prose p { color: var(--text-dim); font-size: 17px; margin-bottom: 18px; }

.prose strong { color: var(--text); }

.prose a { color: var(--accent); text-decoration: none; }
.prose a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; }

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

.faq summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after { content: "+"; color: var(--text-faint); font-size: 22px; font-weight: 400; }

.faq details[open] summary::after { content: "–"; }

.faq details p { margin-top: 12px; color: var(--text-dim); font-size: 15.5px; max-width: 640px; }

/* ---------- App detail pages ---------- */
.breadcrumb {
  padding: 20px 0 0;
  font-size: 14px;
  color: var(--text-faint);
}

.breadcrumb a { color: var(--text-dim); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { margin: 0 6px; }

.app-hero { padding: 40px 0 56px; }

.app-hero-top {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.app-hero-icon {
  width: 110px;
  height: 110px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 54px;
  flex-shrink: 0;
}

.app-hero-top h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }

.app-hero-top .subtitle { color: var(--text-dim); font-size: 18px; margin-top: 4px; }

.app-hero-top .meta { color: var(--text-faint); font-size: 14.5px; margin-top: 6px; }

.app-tagline {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 560px;
  margin-bottom: 28px;
}

.store-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  border: 1px solid #333;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 12px;
  transition: border-color 0.15s;
}

.store-badge:hover { border-color: #666; }

.store-badge .apple { font-size: 26px; line-height: 1; }

.store-badge .lines { display: flex; flex-direction: column; line-height: 1.2; }
.store-badge .lines small { font-size: 10.5px; font-weight: 400; }
.store-badge .lines strong { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

.store-note { color: var(--text-dim); font-size: 15px; }

/* Screenshot carousel */
.shots {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.shot {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 250px;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 28px 20px;
  text-align: center;
}

.shot h4 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
.shot .hl { display: block; }
.shot small { color: var(--text-faint); font-size: 11px; display: block; margin-bottom: 18px; }

.shot .phone {
  margin: 0 auto;
  width: 170px;
  height: 340px;
  border-radius: 26px;
  border: 6px solid #000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 34px;
}

.shot-img {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 230px;
  border-radius: 18px;
  border: 1px solid var(--border);
  display: block;
}

.swipe-hint { color: var(--text-faint); font-size: 13.5px; margin-top: 6px; }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px 48px;
  margin-top: 40px;
}

.features h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.features p { color: var(--text-dim); font-size: 15px; }

/* Free vs Pro */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.plan.pro { border-color: rgba(165, 180, 252, 0.4); }

.plan h3 { font-size: 20px; font-weight: 800; margin-bottom: 16px; }

.plan.pro h3 { color: var(--accent); }

.plan ul { list-style: none; }

.plan li {
  color: var(--text-dim);
  font-size: 15px;
  padding: 7px 0;
  padding-left: 26px;
  position: relative;
}

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

.fine-print { margin-top: 28px; color: var(--text-dim); font-size: 15px; max-width: 640px; }
.fine-print a { color: var(--accent); text-decoration: none; }
.fine-print a:hover { text-decoration: underline; }

/* Final CTA */
.cta-final { text-align: center; padding: 88px 0; }

.cta-final h2 {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 640px;
  margin: 0 auto 16px;
}

.cta-final p { color: var(--text-dim); font-size: 17px; max-width: 520px; margin: 0 auto; }

.cta-final .store-badge { margin-top: 32px; }

/* ---------- Legal pages ---------- */
.legal-head { padding: 72px 0 8px; }

.legal-head h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.legal-head .lede { color: var(--text-dim); font-size: 18px; }

.legal-head .updated { color: var(--text-faint); font-size: 14px; margin-top: 16px; }

.legal-body { max-width: 760px; padding-bottom: 40px; }

.legal-body h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 44px 0 14px; }

.legal-body h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }

.legal-body p { color: var(--text-dim); font-size: 16px; margin-bottom: 14px; }

.legal-body ul { margin: 0 0 14px 22px; color: var(--text-dim); font-size: 16px; }

.legal-body li { margin-bottom: 6px; }

.legal-body a { color: var(--accent); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 14px;
}

.footer-inner a { color: var(--text-dim); text-decoration: none; margin-left: 24px; }
.footer-inner a:hover { color: var(--text); }

@media (max-width: 640px) {
  .nav-links { gap: 20px; }
  .hero { padding: 64px 0 56px; }
  section { padding: 56px 0; }
}
