:root {
  --bg: #f6f8f5;
  --bg-soft: #edf3ee;
  --surface: #ffffff;
  --text: #102017;
  --muted: #56675c;
  --line: #dde6df;
  --brand: #2f8f46;
  --brand-strong: #1f6a34;
  --brand-soft: #e3f3e6;
  --glow: rgba(68, 158, 82, .28);
  --shadow: 0 20px 50px rgba(16, 32, 23, .12);
  --store-bg: #0f1a14;
  --store-text: #ffffff;
  --radius: 20px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0b110e;
  --bg-soft: #101915;
  --surface: #131d18;
  --text: #e9f1eb;
  --muted: #9fb2a5;
  --line: #22312a;
  --brand: #5cc172;
  --brand-strong: #7bd48e;
  --brand-soft: #173022;
  --glow: rgba(92, 193, 114, .22);
  --shadow: 0 20px 50px rgba(0, 0, 0, .45);
  --store-bg: #f3f7f4;
  --store-text: #0f1a14;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b110e;
    --bg-soft: #101915;
    --surface: #131d18;
    --text: #e9f1eb;
    --muted: #9fb2a5;
    --line: #22312a;
    --brand: #5cc172;
    --brand-strong: #7bd48e;
    --brand-soft: #173022;
    --glow: rgba(92, 193, 114, .22);
    --shadow: 0 20px 50px rgba(0, 0, 0, .45);
    --store-bg: #f3f7f4;
    --store-text: #0f1a14;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 12px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 19px; margin-right: auto; }
.logo img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--bg-soft); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; min-width: 38px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--text);
  font: 700 13px/1 inherit; text-decoration: none; cursor: pointer;
}
.icon-btn:hover { border-color: var(--brand); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 190px; padding: 11px 20px 11px 16px;
  border-radius: 14px; border: 1.5px solid var(--store-bg);
  background: var(--store-bg); color: var(--store-text);
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.store:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 11px; font-weight: 600; letter-spacing: .02em; opacity: .85; }
.store b { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
/* The visitor's platform comes first and stays filled; the other store is outlined */
.os-android .store-ios, .os-ios .store-android { background: transparent; color: var(--text); border-color: var(--line); }
.os-ios .store-ios { order: -1; }
.os-android .store-android, .os-ios .store-ios { box-shadow: 0 10px 30px var(--glow); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(circle, var(--glow), transparent 65%); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-strong);
  font-size: 14px; font-weight: 700;
}
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 34em; margin-bottom: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust svg { width: 18px; height: 18px; color: var(--brand); }
.phones { position: relative; display: flex; justify-content: center; min-height: 520px; }
.phone {
  width: min(280px, 62%); border-radius: 34px; overflow: hidden;
  border: 7px solid var(--surface); box-shadow: var(--shadow); background: var(--surface);
}
.phones .phone:first-child { position: relative; z-index: 2; transform: translateX(-18%) rotate(-3deg); }
.phones .phone:last-child { position: absolute; top: 56px; right: 4%; transform: rotate(5deg); opacity: .96; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shot { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 22px; }
.shot img { border-radius: 14px; aspect-ratio: 600 / 1067; width: 100%; object-fit: cover; background: var(--bg-soft); }
.shot h3 { font-size: 20px; margin: 18px 0 6px; }
.shot p { color: var(--muted); font-size: 15.5px; margin: 0; }

.checks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.checks li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; font-weight: 600; font-size: 15.5px; display: flex; gap: 12px; align-items: flex-start; }
.checks .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-strong); display: grid; place-items: center; }
.checks .ic svg { width: 18px; height: 18px; }
.checks small { display: block; color: var(--muted); font-weight: 500; font-size: 14px; margin-top: 2px; }

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; }

.cta {
  border-radius: 28px; padding: 48px 32px; text-align: center; color: #fff;
  background: linear-gradient(135deg, #2f8f46, #1d5f30);
  box-shadow: var(--shadow);
}
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); }
.cta p { opacity: .9; margin-bottom: 24px; }
.cta .stores { justify-content: center; }
.cta .store { background: #fff; color: #0f1a14; border-color: #fff; }
.os-android .cta .store-ios, .os-ios .cta .store-android { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }

/* Inner pages */
.page-head { padding: 52px 0 12px; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; }
.page-head p { color: var(--muted); font-size: 18px; max-width: 42em; }
.prose { max-width: 760px; padding-bottom: 72px; }
.prose h2 { font-size: 22px; margin-top: 1.8em; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2em; }
.prose img { border-radius: 16px; border: 1px solid var(--line); margin: 20px 0; }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 40px; }
.step { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step h2 { font-size: 22px; display: flex; gap: 12px; align-items: center; }
.step .num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 16px; }
:root[data-theme="dark"] .step .num { color: #0b110e; }
.step ol, .step ul { color: var(--muted); padding-left: 1.2em; }
.step b { color: var(--text); }
.gallery { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 2px 14px; }
.gallery img { width: 190px; flex: none; border-radius: 14px; border: 1px solid var(--line); scroll-snap-align: start; }
.note { background: var(--brand-soft); color: var(--text); border-radius: 16px; padding: 18px 20px; margin-bottom: 72px; }
.note a { color: var(--brand-strong); font-weight: 700; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 32px; color: var(--muted); font-size: 15px; }
.foot { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.foot .logo { font-size: 17px; margin-bottom: 8px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--text); }
.copy { margin-top: 24px; font-size: 14px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .lead { margin-inline: auto; }
  .hero .stores, .trust { justify-content: center; }
  .phones { min-height: 0; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .checks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links a:not(.keep) { display: none; }
  .nav-links a { padding: 8px 10px; }
  .hero { padding: 32px 0 48px; }
  .phones .phone { width: 58%; }
  .section { padding: 56px 0; }
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -16px; padding: 4px 16px 12px; }
  .shot { flex: 0 0 76%; scroll-snap-align: center; }
  .checks { grid-template-columns: 1fr; }
  .stores { flex-direction: column; align-items: stretch; }
  .store { justify-content: center; }
  .cta { padding: 36px 20px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store { transition: none; }
}
