:root {
  --bg: #ffffff;
  --bg-muted: #f6f6f4;
  --ink: #111111;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #c4f033;
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: 2.1rem; }
.brand-logo {
  width: 68px; height: 68px; border-radius: 16px; object-fit: cover; flex-shrink: 0;
}
.brand-badge {
  width: 68px; height: 68px; border-radius: 16px; background: var(--accent);
  display: grid; place-items: center; font-weight: 900; font-size: 1.6rem;
}
.nav { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .95rem; }
.nav a:hover, .nav a.active { color: var(--ink); text-decoration: underline; }
.store-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.store-badge {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; min-width: 128px; padding: 12px 16px; border-radius: 16px;
  background: #6b7280; color: #fff; font-size: .72rem; font-weight: 700;
  text-align: center; line-height: 1.2;
}
.store-badge svg {
  width: 28px; height: 28px; flex-shrink: 0; fill: #fff; color: #fff;
}
.store-badge svg path { fill: #fff; }
.store-badge-sm {
  min-width: 132px; padding: 14px 16px; font-size: .75rem; color: #fff;
}
.store-badge-sm svg { width: 28px; height: 28px; fill: #fff; color: #fff; }
.store-badge-sm svg path { fill: #fff; }
.nav-toggle {
  display: none !important;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.nav-toggle:hover { background: var(--bg-muted); }

.hero { padding: 56px 0 72px; }
.hero-grid {
  display: grid; grid-template-columns: .68fr 1.32fr; gap: 24px; align-items: center;
}
@media (max-width: 900px) { .hero-grid, .feature-grid { grid-template-columns: 1fr; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
  border-radius: 999px; background: var(--bg-muted); color: var(--muted); font-size: .85rem;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.02; margin: 18px 0 16px; letter-spacing: -.03em; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 52ch; }
.section { padding: 72px 0; }
.section-muted { background: var(--bg-muted); }
.section-title { text-align: center; font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 12px; }
.section-sub { text-align: center; color: var(--muted); max-width: 62ch; margin: 0 auto 36px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: 0 8px 24px rgba(17,17,17,.04);
}
.step-num {
  width: 34px; height: 34px; border-radius: 999px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 700; margin-bottom: 14px;
}
.feature-grid {
  display: grid; grid-template-columns: 1.32fr .68fr; gap: 24px; align-items: center;
}
.feature-list { display: grid; gap: 18px; }
.feature-item h3 { margin: 0 0 6px; font-size: 1.15rem; }
.feature-item p { margin: 0; color: var(--muted); }
.phone-shot {
  overflow: visible;
  max-width: none;
  width: 100%;
  margin-inline: auto;
}
.phone-shot img {
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: center;
  transform: scale(1.2);
  transform-origin: center center;
}
@media (min-width: 901px) {
  .hero-grid .phone-shot img { transform: scale(1.35); }
  .feature-grid .phone-shot img { transform: scale(1.3); }
}
@media (max-width: 900px) {
  .hero-grid, .feature-grid { overflow: visible; }
  .phone-shot img { transform: scale(1.15); }

  .header-row {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 0;
  }
  .brand { font-size: 1.55rem; gap: 10px; }
  .brand-logo, .brand-badge { width: 52px; height: 52px; border-radius: 14px; }

  /* Browser mobile: keep links visible, allow wrap */
  .header-row > .nav {
    display: flex;
    flex: 1 1 100%;
    order: 3;
    gap: 12px;
  }
  .header-row > .store-row {
    display: flex;
    flex: 1 1 auto;
    order: 2;
  }

  /* In-app WebView only: hamburger + collapsible nav */
  body.in-app .nav-toggle {
    display: inline-flex !important;
    order: 2;
  }
  body.in-app .header-row > .nav,
  body.in-app .header-row > .store-row {
    display: none;
    width: 100%;
    order: 3;
  }
  body.in-app .header-row.is-open > .nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 4px 0 8px;
  }
  body.in-app .header-row.is-open > .store-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 8px;
  }
  body.in-app .header-row.is-open > .store-row .store-badge {
    width: 100%;
  }
}

.faq-list { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: 14px; background: #fff;
  overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron {
  flex-shrink: 0; color: var(--muted); font-size: .85rem; transition: transform .2s ease;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  padding: 0 20px 18px; color: var(--muted); border-top: 1px solid var(--border);
  padding-top: 14px; margin-top: -2px;
}
.faq-answer a { text-decoration: underline; color: var(--ink); }

.legal-page { padding: 48px 0 80px; }
.legal-page h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.meta { color: var(--muted); margin-bottom: 28px; }
.toc {
  background: var(--bg-muted); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; margin-bottom: 36px;
}
.toc ol { columns: 2; gap: 24px; margin: 0; padding-left: 18px; }
@media (max-width: 700px) { .toc ol { columns: 1; } }
.legal-page h2 { margin-top: 34px; font-size: 1.35rem; }
.legal-page p, .legal-page li { color: #1f2937; }
.placeholder { background: #fff3bf; padding: 0 4px; border-radius: 4px; }
.site-footer {
  border-top: 1px solid var(--border); background: var(--bg-muted); padding: 48px 0 36px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr .9fr .9fr; gap: 32px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { margin-bottom: 12px; }
.footer-blurb {
  color: var(--muted); font-size: .95rem; max-width: 34ch; margin: 0 0 16px; line-height: 1.5;
}
.footer-store-row { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-store-row a.store-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  color: #fff !important;
}
.footer-store-row a.store-badge svg,
.footer-store-row a.store-badge svg path {
  width: 32px;
  height: 32px;
  fill: #fff !important;
  color: #fff !important;
}
.footer-col-title {
  margin: 0 0 12px; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.footer-grid a:not(.store-badge) {
  display: block; color: #374151; margin: 8px 0; font-size: .95rem;
}
.footer-grid a:not(.store-badge):hover { color: var(--ink); text-decoration: underline; }
.footer-bottom {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: .92rem;
}
.reviewer-notes {
  margin-top: 48px; padding: 20px; border-left: 4px solid #f59e0b;
  background: #fffbeb; border-radius: 8px; font-size: .95rem;
}
