:root {
  --bg: #fbf8f4;
  --surface: #ffffff;
  --ink: #2a2530;
  --muted: #6f6878;
  --line: #ece7e0;
  --accent: #6b5b95;
  --accent-soft: #ece8f5;
  --rose: #e8b4b8;
  --sage: #7fb3a4;
  --peach: #e8a76b;
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.5; }
a { color: var(--accent); }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.015em; line-height: 1.15; }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: 20px; }
section { padding-block: 56px; }
@media (min-width: 720px) { section { padding-block: 84px; } }

.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav a.link { text-decoration: none; font-weight: 700; color: var(--muted); margin-left: 18px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 14px 24px; font-weight: 800; text-decoration: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font-size: 1rem; }
.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 8px 24px rgba(107, 91, 149, 0.28); }
.btn.big { padding: 18px 32px; font-size: 1.1rem; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--accent); }

.hero { display: grid; gap: 36px; align-items: center; padding-top: 24px; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.eyebrow { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.hero p.lead { font-size: 1.2rem; margin: 18px 0 26px; max-width: 34rem; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .fine { margin-top: 14px; }

/* phone mockup */
.phone { width: 300px; max-width: 100%; margin: 0 auto; background: #1d1a22; border-radius: 40px; padding: 12px; box-shadow: 0 30px 60px rgba(42, 37, 48, 0.25); }
.phone .screen { background: var(--bg); border-radius: 30px; padding: 22px 16px 16px; min-height: 560px; font-size: 13px; }
.phone .date { color: var(--muted); font-size: 11px; }
.phone .greet { font-weight: 800; font-size: 16px; margin-bottom: 12px; }
.phone .card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; margin-bottom: 10px; }
.phone .card h4 { margin: 0 0 6px; font-size: 13px; display: flex; justify-content: space-between; }
.phone .chip { background: var(--accent-soft); border-radius: 999px; padding: 1px 8px; font-size: 10px; font-weight: 800; }
.phone .ev { display: grid; grid-template-columns: 42px 1fr; gap: 6px; padding: 6px 0; border-top: 1px solid var(--line); }
.phone .ev:first-of-type { border-top: 0; }
.phone .ev b { color: var(--accent); }
.phone .dots span { display: inline-block; width: 14px; height: 14px; border-radius: 50%; color: #fff; font-size: 8px; font-weight: 800; text-align: center; line-height: 14px; margin-right: 2px; }
.phone .task { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); }
.phone .task:first-of-type { border-top: 0; }
.phone .box { width: 14px; height: 14px; border: 2px solid var(--accent); border-radius: 4px; }
.phone .box.on { background: var(--accent); }
.phone .tabs { display: flex; justify-content: space-around; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 9px; font-weight: 800; color: var(--muted); }
.phone .tabs .on { color: var(--accent); }

.grid3 { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; background: var(--accent-soft); }
.feature h3 { margin-bottom: 6px; }

.steps { counter-reset: step; display: grid; gap: 18px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-left: 56px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: grid; place-items: center; }

.quote { background: var(--accent-soft); border-radius: 20px; padding: 28px; font-size: 1.15rem; }

.price { background: var(--surface); border: 2px solid var(--accent); border-radius: 24px; padding: 32px 28px; max-width: 460px; margin: 0 auto; text-align: center; }
.price .amount { font-size: 3rem; font-weight: 800; color: var(--accent); line-height: 1; }
.price .per { color: var(--muted); margin-bottom: 18px; }
.price ul { list-style: none; padding: 0; margin: 0 0 22px; text-align: left; }
.price li { padding: 8px 0; border-top: 1px solid var(--line); }
.price li:first-child { border-top: 0; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.compare div { background: var(--bg); border-radius: 14px; padding: 12px; font-size: 0.9rem; }
.compare b { display: block; font-size: 1.2rem; }

.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: '+'; color: var(--accent); }
.faq details[open] summary::after { content: '–'; }
.faq p { margin-top: 8px; color: var(--muted); }

footer { padding: 32px 0 48px; color: var(--muted); font-size: 0.9rem; }
footer a { margin-right: 16px; }

/* install page */
.install-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; margin-top: 20px; }
.install-card ol { padding-left: 22px; margin: 12px 0 0; }
.install-card li { margin: 10px 0; }
.install-card kbd { background: var(--accent-soft); border-radius: 6px; padding: 2px 8px; font-family: inherit; font-weight: 800; }
.warn { background: #fff4e5; border: 1px solid #f3d9b1; border-radius: 16px; padding: 16px 18px; margin-top: 20px; }
.urlbox { display: flex; gap: 8px; margin-top: 12px; }
.urlbox input { flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font: inherit; }
[data-only] { display: none; }
html[data-platform='ios-safari'] [data-only='ios-safari'],
html[data-platform='ios-other'] [data-only='ios-other'],
html[data-platform='ios-inapp'] [data-only='ios-inapp'],
html[data-platform='android'] [data-only='android'],
html[data-platform='android-inapp'] [data-only='android-inapp'],
html[data-platform='desktop'] [data-only='desktop'],
html[data-platform='installed'] [data-only='installed'] { display: block; }
.show-all [data-only] { display: block; }

table.fees { width: 100%; border-collapse: collapse; margin-top: 16px; }
table.fees th, table.fees td { text-align: left; padding: 10px 8px; border-top: 1px solid var(--line); }
table.fees th { color: var(--muted); font-size: 0.85rem; }
