:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #5b6475;
  --line: #e3e8ef;
  --accent: #0f6fd1;
  --accent-ink: #ffffff;
  --accent-soft: #e6f0fb;
  --good: #1f9d55;
  --good-soft: #e5f6ec;
  --shadow: 0 12px 40px rgb(15 23 42 / 0.1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1219;
    --surface: #151c26;
    --text: #e8edf4;
    --muted: #98a3b4;
    --line: #253041;
    --accent: #3d93ea;
    --accent-ink: #ffffff;
    --accent-soft: #16273b;
    --good: #3cc47a;
    --good-soft: #13291d;
    --shadow: 0 12px 40px rgb(0 0 0 / 0.35);
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  margin-right: auto;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  letter-spacing: -0.5px;
}
.langs {
  display: flex;
  gap: 2px;
  font-size: 14px;
}
.langs a {
  padding: 6px 9px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--muted);
}
.langs a[aria-current] {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:hover {
  filter: brightness(1.08);
}
.btn:active {
  transform: scale(0.98);
}
.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-small {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 15px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-block: 64px 56px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}
h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.lead {
  margin: 20px 0 28px;
  font-size: 19px;
  color: var(--muted);
  max-width: 34em;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* Phone mock-up */
.phone {
  justify-self: center;
  width: min(360px, 100%);
  padding: 12px;
  border-radius: 36px;
  background: #0f172a;
  box-shadow: var(--shadow);
}
.phone-screen {
  border-radius: 26px;
  background: var(--surface);
  padding: 16px;
  font-size: 14px;
}
.q-head {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 10px;
}
.q-img {
  display: block;
  width: 100%;
  border-radius: 14px;
}
.q-text {
  font-weight: 700;
  margin: 12px 0;
  line-height: 1.4;
}
.q-opt {
  padding: 10px 12px;
  margin-top: 8px;
  border-radius: 12px;
  background: var(--bg);
  border: 1.5px solid transparent;
}
.q-opt-right {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-color: var(--good);
  background: var(--good-soft);
  font-weight: 600;
}
.q-opt-right span {
  color: var(--good);
  font-weight: 800;
}
.q-explain {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

/* Stats */
.stats {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  padding-block: 28px;
}
.stats strong {
  display: block;
  font-size: 34px;
  line-height: 1.1;
  color: var(--accent);
}
.stats span {
  color: var(--muted);
  font-size: 15px;
}

/* Sections */
.section {
  padding-block: 72px 8px;
}
h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.section-lead {
  margin: 0 0 32px;
  color: var(--muted);
  max-width: 44em;
}
h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.features article {
  padding: 22px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.features p,
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}
.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  font-size: 22px;
  margin-bottom: 14px;
}

/* Picture showcase */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.showcase p {
  color: var(--muted);
}
.showcase figure {
  margin: 0;
}
.showcase figure img {
  display: block;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.signs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}
.signs li {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}
.steps li {
  padding: 22px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  margin-bottom: 14px;
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
  padding-block: 4px;
}
.faq summary {
  cursor: pointer;
  padding-block: 14px;
  font-weight: 700;
  list-style-position: outside;
}
.faq details p {
  margin: 0 0 16px;
  color: var(--muted);
}

/* Final call */
.final {
  margin-block: 72px 48px;
  padding: 48px 24px;
  border-radius: 28px;
  background: var(--accent);
  color: var(--accent-ink);
  text-align: center;
}
.final p {
  margin: 0 auto 24px;
  max-width: 32em;
  opacity: 0.9;
}
.final .btn {
  background: #ffffff;
  color: #0f6fd1;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 0 40px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .hero,
  .showcase {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 40px;
    gap: 40px;
  }
  .features,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .top .btn-small {
    display: none;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 18px;
  }
  .features,
  .steps {
    grid-template-columns: 1fr;
  }
  .actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
  .section {
    padding-top: 56px;
  }
}
