:root {
  color-scheme: light;
  --ink: #171b22;
  --muted: #606a78;
  --line: rgba(23, 27, 34, 0.12);
  --paper: #ffffff;
  --soft: #f5f7f4;
  --brand: #109982;
  --brand-dark: #087765;
  --lime: #d7ff57;
  --violet: #a77cf5;
  --shadow: 0 24px 80px rgba(14, 28, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(245, 247, 244, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

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

.nav-links .button {
  color: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  align-items: center;
  gap: clamp(28px, 6vw, 74px);
  padding: clamp(48px, 8vw, 100px) clamp(18px, 5vw, 72px) 56px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(44px, 8vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 23px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.language-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  color: var(--muted);
  font-weight: 800;
}

.language-strip span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.phone-card {
  width: min(100%, 420px);
  justify-self: center;
  padding: 18px;
  border-radius: 42px;
  background: var(--brand);
  box-shadow: var(--shadow);
}

.wallet-panel {
  padding: 22px;
  border-radius: 32px;
  background: #fff;
}

.wallet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.wallet-title {
  font-size: 20px;
  font-weight: 900;
}

.wallet-chip {
  padding: 9px 14px;
  border-radius: 999px;
  background: #f0f1f3;
  font-weight: 800;
}

.wallet-label {
  color: #a5a8af;
  font-size: 18px;
}

.wallet-amount {
  margin-top: 6px;
  font-size: clamp(40px, 8vw, 58px);
  font-weight: 950;
  line-height: 1;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.mini-card {
  min-height: 148px;
  padding: 18px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.mini-card strong {
  display: block;
  margin-top: 14px;
  font-size: 30px;
  line-height: 1;
}

.mini-card small {
  display: block;
  margin-top: 12px;
  font-weight: 900;
}

.violet {
  background: var(--violet);
  color: #fff;
}

.lime {
  background: var(--lime);
  color: var(--ink);
}

.section {
  padding: 56px clamp(18px, 5vw, 72px);
}

.section h2,
.policy h1 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
}

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

.card {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.localized {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.locale-card {
  padding: 22px;
  border-radius: 22px;
  background: var(--ink);
  color: #fff;
}

.locale-card p {
  color: rgba(255, 255, 255, 0.72);
}

.rtl {
  direction: rtl;
  text-align: right;
}

.policy {
  max-width: 920px;
  margin: 0 auto;
  padding: 52px clamp(18px, 5vw, 52px);
}

.policy-card {
  padding: clamp(22px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
}

.policy h2 {
  margin-top: 34px;
  font-size: 26px;
}

.policy ul {
  padding-left: 22px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

  .hero {
    padding-top: 34px;
  }

  .phone-card {
    justify-self: stretch;
  }
}

@media (max-width: 460px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .mini-grid {
    grid-template-columns: 1fr;
  }
}
