:root {
  --blue: #1a7fd6;
  --blue-dark: #0f5ea6;
  --blue-deep: #0a3d6e;
  --red: #e2372b;
  --ink: #101828;
  --ink-soft: #475467;
  --bg: #ffffff;
  --bg-soft: #f2f8fe;
  --border: #e4e9f0;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(16, 40, 70, 0.10);
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 17px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--blue-dark); }
.nav .btn-small {
  background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 600;
}
.nav .btn-small:hover { background: var(--blue-dark); color: #fff; }
@media (max-width: 720px) { .nav a:not(.btn-small) { display: none; } }

/* ---------- Buttons ---------- */
.btn-appstore {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; text-decoration: none;
  padding: 12px 24px; border-radius: 14px;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.btn-appstore:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.btn-appstore svg { width: 28px; height: 28px; flex-shrink: 0; }
.btn-appstore .txt { text-align: left; line-height: 1.15; }
.btn-appstore .txt small { display: block; font-size: 11px; font-weight: 400; opacity: .85; }
.btn-appstore .txt strong { font-size: 19px; font-weight: 600; }
.btn-appstore.light { background: #fff; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #2b93e8 0%, var(--blue-dark) 100%);
  color: #fff; overflow: hidden;
}
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  padding-top: 72px; padding-bottom: 0;
}
.hero-copy { padding-bottom: 72px; }
.hero .app-icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: var(--shadow); margin-bottom: 24px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: #ffd84d; }
.hero p.lede { font-size: clamp(16px, 2vw, 19px); opacity: .95; max-width: 34em; margin-bottom: 28px; }
.hero-ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero .free-note { font-size: 13px; opacity: .85; margin-top: 12px; }
.hero-shot { align-self: end; }
.hero-shot img {
  width: min(320px, 80%); margin: 0 auto; border-radius: 28px 28px 0 0;
  box-shadow: 0 -10px 60px rgba(0,0,0,.35);
}
.trust-row { display: flex; gap: 24px; margin-top: 30px; flex-wrap: wrap; }
.trust-row .trust { font-size: 14px; display: flex; align-items: center; gap: 8px; opacity: .95; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-shot { margin-top: 8px; }
}

/* ---------- Sections ---------- */
section { padding: 76px 0; }
section.alt { background: var(--bg-soft); }
.kicker { color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; margin-bottom: 10px; }
h2.section-title { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 14px; }
p.section-sub { color: var(--ink-soft); font-size: 17px; max-width: 44em; margin-bottom: 40px; }
.center { text-align: center; }
.center p.section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Screenshots ---------- */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.shot { text-align: center; }
.shot img { border-radius: 22px; box-shadow: var(--shadow); transition: transform .2s ease; }
.shot img:hover { transform: translateY(-6px); }
.shot figcaption { margin-top: 14px; font-weight: 600; font-size: 15px; }
@media (max-width: 900px) { .shots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .shots { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; } }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: 0 2px 10px rgba(16,40,70,.05);
}
.step .num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 20px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Guides ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.guide-card {
  display: block; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 26px; transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.guide-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--blue); }
.guide-card .emoji { font-size: 26px; }
.guide-card h3 { font-size: 18px; margin: 10px 0 6px; }
.guide-card p { color: var(--ink-soft); font-size: 14.5px; }
.guide-card .more { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--blue-dark); font-size: 14px; }
@media (max-width: 720px) { .guide-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 0; margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 16.5px; padding: 18px 22px;
  list-style: none; position: relative; padding-right: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--blue); font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 22px 20px; color: var(--ink-soft); font-size: 15.5px; }
.faq .answer a { font-weight: 600; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 100%);
  border-radius: 24px; color: #fff; text-align: center;
  padding: 64px 32px;
}
.cta-banner h2 { font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -.02em; margin-bottom: 12px; }
.cta-banner p { opacity: .95; margin-bottom: 28px; font-size: 17px; }

/* ---------- Footer ---------- */
.site-footer { background: #0c1524; color: #b6c2d4; padding: 56px 0 32px; font-size: 14.5px; }
.site-footer a { color: #dbe5f1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; margin-bottom: 12px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Article (guides, legal) ---------- */
.article-hero { background: linear-gradient(160deg, #2b93e8 0%, var(--blue-dark) 100%); color: #fff; padding: 56px 0; }
.article-hero .crumbs { font-size: 14px; opacity: .9; margin-bottom: 16px; }
.article-hero .crumbs a { color: #fff; }
.article-hero h1 { font-size: clamp(28px, 4.2vw, 42px); line-height: 1.12; letter-spacing: -.02em; max-width: 22em; }
.article-hero p.dek { margin-top: 14px; font-size: 17px; opacity: .95; max-width: 40em; }
.article { padding: 56px 0; }
.article .wrap { max-width: 780px; }
.article h2 { font-size: 26px; margin: 40px 0 14px; letter-spacing: -.01em; }
.article h3 { font-size: 20px; margin: 28px 0 10px; }
.article p, .article li { color: #2c3648; font-size: 16.5px; }
.article p { margin-bottom: 16px; }
.article ul, .article ol { margin: 0 0 18px 24px; }
.article li { margin-bottom: 8px; }
.article .tip {
  background: var(--bg-soft); border-left: 4px solid var(--blue);
  padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 24px 0;
}
.article .warn {
  background: #fef3f2; border-left: 4px solid var(--red);
  padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 24px 0;
}
.article .app-steps { background: var(--bg-soft); border-radius: var(--radius); padding: 26px 28px; margin: 26px 0; }
.article .app-steps h3 { margin-top: 0; }
.article .inline-cta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff; border-radius: var(--radius); padding: 28px; margin: 36px 0;
}
.article .inline-cta p { color: #fff; margin: 0; font-weight: 600; font-size: 17px; flex: 1 1 260px; }
.related { padding: 0 0 72px; }
.related .wrap { max-width: 780px; }
.related h2 { font-size: 22px; margin-bottom: 18px; }
.related ul { list-style: none; }
.related li { margin-bottom: 10px; }
.related a { font-weight: 600; text-decoration: none; }
.related a:hover { text-decoration: underline; }
