:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --surface-soft: #f3f4f6;
  --text: #101010;
  --muted: #626262;
  --border: #e7e5e4;
  --accent: #4f46e5;
  --accent-dark: #3730a3;
  --accent-soft: #eef0ff;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(231, 229, 228, 0.9);
  background: rgba(250, 250, 249, 0.94);
}

.nav,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav {
  min-height: 70px;
}

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

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

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

.nav-links a,
.site-footer a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--text);
}

.language-menu {
  position: relative;
}

.language-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  padding: 6px 10px;
}

.flag-icon {
  width: 22px;
  height: 14px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.16s ease;
}

.language-button[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.language-list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  min-width: 180px;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  list-style: none;
}

.language-list[hidden] {
  display: none;
}

.language-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 9px;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  padding: 9px 10px;
  text-decoration: none;
}

.language-list a:hover,
.language-list a:focus {
  background: var(--surface-soft);
  outline: none;
}

.language-list a[aria-current="page"]::after {
  content: "✓";
  margin-left: auto;
  color: var(--accent);
}

.section {
  padding: 80px 0;
}

.hero {
  padding-top: 92px;
}

.alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.25;
}

.lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 20px;
}

.subnote {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.store-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.store-facts li {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: #3b3b3b;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  padding: 7px 11px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  background: var(--text);
  color: #fff;
}

.button.primary:hover {
  background: #2b2b2b;
}

.button.secondary {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.hero-panel,
.card,
.legal-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 30px;
}

.app-icon {
  display: block;
  margin-bottom: 22px;
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}

.check-list,
.steps {
  margin: 0;
  padding-left: 22px;
}

.check-list li,
.steps li {
  margin: 10px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading p,
.legal-panel p,
.legal-panel li,
.faq-list p,
.steps,
.final-cta p {
  color: #2f2f2f;
}

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

.card {
  padding: 24px;
  box-shadow: none;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-list article {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.faq-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.final-cta {
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-main {
  padding: 58px 0 80px;
}

.legal-hero {
  margin-bottom: 18px;
}

.legal-hero p {
  color: var(--muted);
}

.legal-panel {
  max-width: 860px;
  padding: 30px;
  box-shadow: none;
}

.legal-panel h2 {
  margin-top: 34px;
  font-size: 24px;
}

.legal-panel h2:first-of-type {
  margin-top: 0;
}

.legal-panel ul {
  padding-left: 22px;
}

.note {
  margin: 20px 0;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: #2b2a66;
}

@media (max-width: 860px) {
  .hero-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }

  .section {
    padding: 58px 0;
  }

  .nav,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
  }

  .language-menu {
    margin-left: auto;
  }

  .language-list {
    right: 0;
    left: auto;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }
}
