:root {
  --primary: #0a84ff;
  --primary-dark: #0658bf;
  --primary-light: #64d2ff;
  --ink: #15171e;
  --ink-soft: #20242d;
  --ink-border: #303744;
  --paper: #f7f3ea;
  --gold: #f4b84a;
  --leaf: #2f7d5a;
  --text: #111827;
  --muted: #5b6472;
  --line: #d9dee8;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(10, 16, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(21, 23, 30, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: #d8dee8;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--white);
}

.language-select {
  min-width: 128px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 10px;
}

.language-select option {
  color: var(--text);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-cta {
  padding: 10px 14px;
  box-shadow: 0 0 28px rgba(10, 132, 255, 0.28);
}

.button {
  padding: 15px 20px;
  box-shadow: 0 0 28px rgba(10, 132, 255, 0.28), 0 0 80px rgba(100, 210, 255, 0.16);
}

.button:hover,
.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.menu-button svg {
  width: 22px;
  height: 22px;
}

.menu-button .close-icon,
.menu-button[aria-expanded="true"] .open-icon {
  display: none;
}

.menu-button[aria-expanded="true"] .close-icon {
  display: inline;
}

.hero {
  position: relative;
  display: flex;
  min-height: 78svh;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(10, 132, 255, 0.18), rgba(47, 125, 90, 0.1) 48%, rgba(244, 184, 74, 0.08) 100%),
    var(--ink);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.82;
}

.hero-bg::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 18% 20%, rgba(100, 210, 255, 0.18), transparent 34%),
    radial-gradient(circle at 72% 28%, rgba(244, 184, 74, 0.13), transparent 28%),
    linear-gradient(90deg, rgba(21, 23, 30, 0.98), rgba(21, 23, 30, 0.9)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.065) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 86px);
}

.hero-inner,
.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 92px 0;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 8px 11px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(46px, 8vw, 82px);
  line-height: 1;
}

.hero-lede {
  margin: 20px 0 0;
  background: linear-gradient(135deg, var(--primary-light), var(--white), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(25px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.12;
}

.hero-text {
  max-width: 610px;
  margin: 22px 0 0;
  color: #d8dee8;
  font-size: 18px;
  line-height: 1.75;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.store-badges.center {
  justify-content: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease;
}

.store-badge:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.store-badge img {
  width: auto;
  height: 44px;
}

.google-play-badge img {
  height: 64px;
  margin: -10px 0;
}

.microcopy {
  margin: 12px 0 0;
  color: #8f98a7;
  font-size: 14px;
}

.trust {
  border-top: 1px solid var(--ink-border);
  border-bottom: 1px solid var(--ink-border);
  background: var(--ink);
  padding: 34px 0;
  text-align: center;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #d8dee8;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 13px;
}

.section {
  padding: 76px 0;
}

.section.dark {
  background: var(--ink);
}

.section.light {
  background: #f4f7fb;
  color: var(--text);
}

.section.paper {
  background: var(--paper);
  color: var(--text);
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head h2,
.legal-hero h1 {
  margin: 12px 0 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.08;
}

.section-head p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.dark .section-head p {
  color: #aeb7c5;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(10, 16, 28, 0.06);
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.dark .card,
.card.dark-card {
  border-color: var(--ink-border);
  background: rgba(32, 36, 45, 0.78);
  box-shadow: none;
}

.card h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 18px;
}

.dark .card h3,
.card.dark-card h3 {
  color: var(--white);
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.dark .card p,
.card.dark-card p {
  color: #aeb7c5;
}

.icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  background: rgba(10, 132, 255, 0.1);
  color: var(--primary);
}

.icon svg {
  width: 22px;
  height: 22px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.phone-shot {
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
  box-shadow: var(--shadow);
}

.phone-shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
}

.phone-shot figcaption {
  padding: 18px 4px 4px;
}

.phone-shot h3 {
  margin-bottom: 8px;
  color: var(--text);
}

.phone-shot p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.step-number {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.faq-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.faq-list details {
  padding: 22px;
}

.faq-list details + details {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--text);
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span:last-child {
  color: var(--primary);
  font-size: 24px;
  line-height: 1;
}

.faq-list p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.download {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.download::before {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: rgba(10, 132, 255, 0.18);
  filter: blur(90px);
  content: "";
}

.download .section-inner {
  position: relative;
}

.download h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 54px);
}

.download p {
  max-width: 700px;
  margin-right: auto;
  margin-left: auto;
  color: #aeb7c5;
  font-size: 18px;
  line-height: 1.7;
}

.site-footer {
  border-top: 1px solid var(--ink-border);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0;
}

.footer-grid p,
.footer-grid a,
.copyright {
  color: #8f98a7;
  font-size: 14px;
  line-height: 1.7;
}

.footer-grid h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.copyright {
  border-top: 1px solid var(--ink-border);
  padding: 18px 16px;
  text-align: center;
}

.legal-hero {
  background: var(--ink);
  padding: 64px 0;
}

.legal-body {
  background: #f4f7fb;
  color: var(--text);
  padding: 48px 0;
}

.legal-card {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: clamp(24px, 5vw, 42px);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin-top: 32px;
  color: var(--text);
}

.legal-card h3 {
  margin-top: 22px;
  color: #273142;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.78;
}

.legal-card a {
  color: var(--primary-dark);
  font-weight: 800;
}

.notice {
  border: 1px solid rgba(10, 132, 255, 0.2);
  border-radius: 8px;
  background: rgba(10, 132, 255, 0.08);
  color: #264562;
  padding: 16px;
}

.form-frame {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-frame iframe {
  display: block;
  width: 100%;
  height: 760px;
  border: 0;
}

[dir="rtl"] .nav,
[dir="rtl"] .hero-inner,
[dir="rtl"] .store-badges,
[dir="rtl"] .button-row,
[dir="rtl"] .brand {
  direction: rtl;
}

@media (max-width: 900px) {
  .menu-button {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    border-bottom: 1px solid var(--ink-border);
    background: var(--ink);
    padding: 20px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a,
  .nav-links select {
    width: 100%;
  }

  .nav-cta {
    padding: 13px 14px;
  }

  .grid.three,
  .grid.four,
  .grid.two,
  .preview-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 84px 0 64px;
  }
}

@media (max-width: 560px) {
  .button-row,
  .button {
    width: 100%;
  }

  .store-badges {
    align-items: flex-start;
  }

  .store-badges .button {
    width: 100%;
  }

  .store-badge img {
    height: 42px;
  }

  .google-play-badge img {
    height: 61px;
  }

  .section {
    padding: 60px 0;
  }

  .card,
  .legal-card {
    padding: 20px;
  }
}
