:root {
  --accent: #5854e2;
  --accent-soft: #eeedfc;
  --bg: #ffffff;
  --bg-alt: #f5f5f8;
  --text: #111114;
  --muted: #5d5d66;
  --line: #e4e4ea;
  --phone: #0b0b0d;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #7d7af0;
    --accent-soft: #1d1c38;
    --bg: #0b0b0d;
    --bg-alt: #141418;
    --text: #f4f4f6;
    --muted: #a3a3ad;
    --line: #26262c;
    --phone: #000000;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.top nav { display: flex; gap: 18px; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--text); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  padding-top: 40px; padding-bottom: 70px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 18px; font-weight: 800;
}
.hero h1 span { color: var(--accent); }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.price { font-size: 15px; color: var(--muted); margin-top: 14px; }

.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; text-decoration: none;
  padding: 12px 22px; border-radius: 14px; font-weight: 600;
}
@media (prefers-color-scheme: dark) { .store { background: #fff; color: #000; } }
.store svg { width: 22px; height: 22px; fill: currentColor; }
.store small { display: block; font-size: 11px; font-weight: 500; opacity: 0.8; line-height: 1.1; }
.store b { display: block; font-size: 19px; line-height: 1.1; }

/* Phones */
.phone {
  background: var(--phone); border-radius: 46px; padding: 11px;
  box-shadow: 0 30px 60px -20px rgba(20, 20, 60, 0.35), 0 0 0 1.5px #3a3a40 inset;
  max-width: 300px; margin: 0 auto;
}
.phone img { display: block; width: 100%; border-radius: 36px; }

/* Features */
.features { background: var(--bg-alt); padding: 70px 0; }
.features h2, .section-title { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.01em; margin: 0 0 40px; text-align: center; }
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
  padding: 30px 0;
}
.feature:nth-child(even) .copy { order: 2; }
.feature h3 { font-size: 28px; margin: 0 0 10px; letter-spacing: -0.01em; }
.feature p { color: var(--muted); margin: 0; font-size: 18px; }
.feature .tag {
  display: inline-block; background: var(--accent-soft); color: var(--accent);
  font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 99px; margin-bottom: 12px;
}

/* Closing */
.closing { text-align: center; padding-top: 80px; padding-bottom: 80px; }
.closing p { color: var(--muted); max-width: 36em; margin: 0 auto 26px; }

/* Text pages */
.page { max-width: 760px; padding-top: 20px; padding-bottom: 70px; }
.page h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.01em; margin: 10px 0 6px; }
.page .updated { color: var(--muted); font-size: 15px; margin: 0 0 30px; }
.page h2 { font-size: 22px; margin: 34px 0 8px; }
.page p, .page li { color: var(--text); }
.page ul { padding-left: 22px; }
.page .card {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 18px;
  padding: 20px 22px; margin: 22px 0;
}
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 650; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
footer a { color: var(--muted); }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 20px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .feature { grid-template-columns: 1fr; gap: 26px; text-align: center; }
  .feature:nth-child(even) .copy { order: 0; }
  .phone { max-width: 260px; }
  .top nav { gap: 14px; }
}
