:root {
  --bg: #f8f9fb;
  --surface: #ffffff;
  --surface2: #f1f4f8;
  --border: #e2e7ef;
  --border2: #d1d9e6;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --accent: #2563eb;
  --accent2: #1d4ed8;
  --accent-bg: #eff6ff;
  --accent-border: #bfdbfe;
  --green: #16a34a;
  --green-bg: #f0fdf4;
  --green-border: #bbf7d0;
  --radius: 8px;
  --radius-lg: 12px;
  --sans: 'Inter', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.nav-brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { background: var(--accent); color: #fff !important; padding: 8px 16px; border-radius: var(--radius); font-weight: 700 !important; transition: all 0.15s; }
.nav-cta:hover { background: var(--accent2); }
/* Mobile nav: hamburger */
.nav-toggle { display: none; background: none; border: 1px solid var(--border2); border-radius: 8px; padding: 8px 10px; cursor: pointer; color: var(--text); }
.nav-toggle svg { display: block; }
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 62px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; box-shadow: 0 12px 24px rgba(15,23,42,0.08); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 20px; font-size: 15px; border-bottom: 1px solid var(--border); }
  .nav-links a:last-child { border-bottom: none; }
}

/* ---------- Badges & headings ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-bg); border: 1px solid var(--accent-border); color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 4px; margin-bottom: 14px; text-transform: uppercase; }
h1 { font-size: clamp(28px, 5vw, 44px); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
h1 span { color: var(--accent); }
h2 { font-size: clamp(22px, 3.5vw, 30px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
h3 { font-size: 17px; font-weight: 700; }
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head p { color: var(--text-muted); margin-top: 10px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, #eff6ff 0%, var(--bg) 100%); border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero p.lede { color: var(--text-muted); font-size: 17px; margin: 18px 0 26px; max-width: 540px; }
.hero-proof { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 26px; }
.proof-item strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.proof-item span { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.hero-shot { border-radius: 18px; border: 1px solid var(--border2); box-shadow: 0 24px 60px rgba(15,23,42,0.14); margin: 0 auto; max-height: 460px; width: auto; }

/* ---------- Store buttons ---------- */
.store-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 10px; font-weight: 700; font-size: 14px; text-decoration: none; transition: all 0.15s; }
.store-btn.ios { background: var(--accent); color: #fff; }
.store-btn.ios:hover { background: var(--accent2); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.25); }
.store-btn.android { background: var(--surface); border: 1px solid var(--border2); color: var(--text); }
.store-btn.android:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.store-note { font-size: 12px; color: var(--text-dim); margin-top: 10px; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-3 { grid-template-columns: 1fr; } }
.feature-card .fi { font-size: 26px; margin-bottom: 10px; }
.feature-card h3 { margin-bottom: 6px; }
.feature-card p { font-size: 14px; color: var(--text-muted); }

/* ---------- Screenshots ---------- */
.shots { display: flex; gap: 16px; overflow-x: auto; padding: 8px 4px 20px; scroll-snap-type: x mandatory; }
.shots img { height: 420px; width: auto; border-radius: 14px; border: 1px solid var(--border2); box-shadow: 0 10px 30px rgba(15,23,42,0.08); scroll-snap-align: start; flex-shrink: 0; }
@media (max-width: 560px) { .shots img { height: 340px; } }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 24px; position: relative; }
.step-num { display: inline-flex; width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 800; font-size: 14px; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--text-muted); }

/* ---------- Guides ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 720px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-card { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 24px; transition: all 0.15s; }
.guide-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,99,235,0.08); }
.guide-card .tag { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.guide-card h3 { color: var(--text); margin: 8px 0 6px; }
.guide-card p { font-size: 13px; color: var(--text-muted); }
.guide-card .more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--accent); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
details.faq { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 0; overflow: hidden; }
details.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; font-size: 20px; color: var(--accent); font-weight: 500; }
details.faq[open] summary::after { content: '–'; }
details.faq .faq-body { padding: 0 22px 18px; font-size: 14px; color: var(--text-muted); }
.learn-more { font-weight: 700; text-decoration: none; }
.learn-more:hover { text-decoration: underline; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, #eff6ff 0%, #f8faff 100%); border-top: 1px solid var(--accent-border); border-bottom: 1px solid var(--accent-border); padding: 64px 0; text-align: center; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--text-muted); max-width: 560px; margin: 0 auto 26px; }
.cta-band .store-btns { justify-content: center; }

/* ---------- Footer ---------- */
footer { padding: 44px 0 56px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; margin-bottom: 10px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 7px; }
footer p, footer a { font-size: 13px; color: var(--text-muted); }
footer a { text-decoration: none; display: block; margin-bottom: 8px; }
footer p a { display: inline; margin-bottom: 0; }
footer a:hover { color: var(--accent); }
footer .foot-h { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text); margin-bottom: 12px; }
.copyright { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-dim); }

/* ---------- Guide article pages ---------- */
.article { padding: 56px 0 72px; }
.article header { margin-bottom: 34px; }
.article .lede { color: var(--text-muted); font-size: 17px; margin-top: 14px; }
.article h2 { margin: 40px 0 14px; font-size: clamp(20px, 3vw, 26px); }
.article h3 { margin: 26px 0 8px; }
.article p { margin-bottom: 14px; font-size: 15.5px; color: #334155; }
.article ul, .article ol { margin: 0 0 16px 22px; font-size: 15.5px; color: #334155; }
.article li { margin-bottom: 6px; }
.article table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.article th, .article td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.article th { background: var(--surface2); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.cta-card { background: linear-gradient(135deg, #eff6ff 0%, #f8faff 100%); border: 1px solid var(--accent-border); border-radius: var(--radius-lg); padding: 28px 24px; margin: 32px 0; }
.cta-card .cta-icon { font-size: 28px; display: block; margin-bottom: 10px; }
.cta-card .cta-headline { font-size: 18px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.cta-card .cta-body { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumb { font-size: 13px; color: var(--text-dim); margin-bottom: 18px; }
.breadcrumb a { text-decoration: none; color: var(--text-muted); }

/* ---------- Review cards ---------- */
.review-card .review-stars { color: #f59e0b; font-size: 15px; letter-spacing: 2px; margin-bottom: 10px; }
.review-card .review-text { font-size: 14px; color: #334155; line-height: 1.6; margin-bottom: 14px; }
.review-card .review-by { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }


/* ---------- Mobile polish ---------- */
.rating-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 640px; margin: 0 auto 28px; }
@media (max-width: 480px) { .rating-cards { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .hero-shot { max-width: min(320px, 100%); height: auto; max-height: none; } }
.article .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0 22px; }
.article .table-scroll table { margin: 0; min-width: 480px; }
@media (max-width: 640px) { .article table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; } }
@media (max-width: 560px) { .store-btn { flex: 1 1 100%; justify-content: center; } }
