@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --emerald-900: #062b1a;
  --emerald-800: #0a4e30;
  --emerald-700: #0a7c56;
  --emerald-600: #0e9f6e;
  --emerald-500: #16b98a;
  --emerald-100: #e2f6ee;
  --amber-500: #f4b740;
  --terracotta: #c2714f;
  --ink: #15201b;
  --ink-soft: #4c5a52;
  --muted: #8a9690;
  --line: #dbe3df;
  --line-strong: #cbd8d2;
  --paper: #ffffff;
  --field: #f4f7f4;
  --night: #0e1511;
  --shadow: 0 24px 80px rgba(6, 43, 26, 0.14);
  --shadow-tight: 0 14px 40px rgba(6, 43, 26, 0.12);
  --radius: 8px;
  --radius-soft: 20px;
  --max: none;
  color-scheme: light;
  font-family: Inter, "Noto Sans Georgian", "Noto Sans Armenian", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(14, 159, 110, 0.18), transparent 28rem),
    linear-gradient(180deg, #fbfdfb 0%, var(--field) 48%, #ffffff 100%);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(21, 32, 27, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 32, 27, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(14, 159, 110, 0.42);
  outline-offset: 4px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(22px, 3vw, 64px);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 253, 251, 0.84);
  border-bottom: 1px solid rgba(219, 227, 223, 0.72);
  backdrop-filter: blur(18px);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.brand-lockup {
  width: 154px;
  height: auto;
  flex: 0 0 auto;
}

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

.language-switch {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.language-switch button {
  min-width: 38px;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.language-switch button.is-active {
  background: var(--emerald-600);
  color: white;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

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

.nav-links a.btn-primary,
.nav-links a.btn-primary:hover {
  color: white;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--emerald-600);
  color: white;
  box-shadow: 0 14px 30px rgba(14, 159, 110, 0.3);
}

.btn-primary:hover {
  background: var(--emerald-700);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-tight);
}

.btn-store {
  background: var(--night);
  color: white;
  padding: 8px 14px;
  min-width: 168px;
  justify-content: flex-start;
}

.btn-store span {
  display: grid;
  line-height: 1.08;
}

.btn-store small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
}

.icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

.hero {
  min-height: calc(100dvh - 156px);
  display: grid;
  align-items: center;
  padding: 28px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, 0.82fr);
  align-items: center;
  gap: clamp(28px, 4.6vw, 92px);
}

.hero-grid > *,
.wallet-demo > *,
.legal-layout > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin: 0 0 20px;
  padding: 0 12px;
  border: 1px solid rgba(14, 159, 110, 0.24);
  border-radius: 999px;
  background: rgba(226, 246, 238, 0.72);
  color: var(--emerald-800);
  font-weight: 800;
  font-size: 13px;
}

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

h1 {
  max-width: 1160px;
  margin-bottom: 24px;
  font-size: clamp(52px, 4.85vw, 96px);
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.lead {
  max-width: 820px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
  overflow-wrap: break-word;
}

.hero-actions {
  margin: 34px 0 28px;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--ink-soft);
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
}

.proof-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-600);
  box-shadow: 0 0 0 6px rgba(14, 159, 110, 0.12);
}

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  justify-self: stretch;
}

.orbit {
  position: absolute;
  inset: 34px 0 0;
  border: 1px solid rgba(14, 159, 110, 0.22);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.float-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-tight);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(12px);
  animation: float 5s ease-in-out infinite;
}

.chip-one {
  left: 0;
  top: 76px;
}

.chip-two {
  right: 0;
  bottom: 92px;
  animation-delay: -1.5s;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(360px, 78vw);
  aspect-ratio: 0.49;
  border: 10px solid #111914;
  border-radius: 44px;
  background: #edf2ef;
  box-shadow: 0 30px 90px rgba(6, 43, 26, 0.24);
  overflow: hidden;
}

.phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 86px;
  height: 24px;
  border-radius: 999px;
  background: #111914;
  transform: translateX(-50%);
  z-index: 3;
}

.phone-screen {
  height: 100%;
  padding: 58px 18px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), transparent 42%),
    var(--field);
}

.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.mini-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--emerald-700);
  font-size: 15px;
}

.mini-brand-mark {
  width: 24px;
  height: auto;
  flex: 0 0 auto;
}

.wallet-card {
  position: relative;
  min-height: 205px;
  padding: 20px;
  border-radius: 24px;
  color: white;
  background:
    radial-gradient(circle at 84% 10%, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(135deg, var(--emerald-700), var(--emerald-600) 54%, #063d2c);
  box-shadow: 0 18px 42px rgba(14, 159, 110, 0.34);
  overflow: hidden;
}

.wallet-card::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -56px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
}

.card-business {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 800;
}

.card-stamps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 28px 0 18px;
}

.stamp {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.13);
}

.stamp.filled {
  background: white;
  border-color: white;
  transform: scale(0);
  animation: popStamp 520ms cubic-bezier(0.2, 0.9, 0.2, 1.2) forwards;
}

.stamp:nth-child(2) { animation-delay: 120ms; }
.stamp:nth-child(3) { animation-delay: 220ms; }
.stamp:nth-child(4) { animation-delay: 320ms; }
.stamp:nth-child(5) { animation-delay: 420ms; }
.stamp:nth-child(6) { animation-delay: 520ms; }
.stamp:nth-child(7) { animation-delay: 620ms; }

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 700;
}

.qr {
  width: 62px;
  aspect-ratio: 1;
  padding: 6px;
  border-radius: 8px;
  background: white;
  color: #102018;
}

.phone-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.phone-row {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgba(203, 216, 210, 0.8);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink-soft);
  font-weight: 700;
}

.phone-row strong {
  color: var(--ink);
}

.section {
  padding: 72px 0;
}

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

.section-kicker {
  margin: 0 0 10px;
  color: var(--emerald-700);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-head p,
.muted {
  color: var(--ink-soft);
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step,
.feature,
.quote,
.download-panel,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.86) inset;
}

.step,
.feature,
.quote {
  padding: 24px;
}

.step-no {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  font-weight: 800;
}

.step h3,
.feature h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.18;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--emerald-100);
  color: var(--emerald-700);
}

.wallet-demo {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: center;
}

.pass-stack {
  position: relative;
  min-height: 390px;
}

.pass {
  position: absolute;
  width: min(370px, 88vw);
  min-height: 238px;
  padding: 24px;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.pass.one {
  left: 16px;
  top: 18px;
  background: linear-gradient(135deg, #0e9f6e, #063d2c);
}

.pass.two {
  right: 4px;
  bottom: 16px;
  background: linear-gradient(135deg, #f4b740, #c2714f);
  transform: rotate(6deg);
}

.download-panel {
  padding: clamp(26px, 5vw, 46px);
  background: rgba(255, 255, 255, 0.94);
}

.download-panel h2 {
  max-width: 720px;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.quote p {
  font-size: 19px;
  line-height: 1.45;
}

.quote cite {
  color: var(--ink-soft);
  font-style: normal;
  font-weight: 700;
}

.footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: white;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
}

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

.legal-hero {
  padding: 70px 0 34px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding-bottom: 90px;
}

.legal-card {
  padding: 24px;
}

.legal-card.sticky {
  position: sticky;
  top: 104px;
}

.legal-card nav {
  display: grid;
  gap: 8px;
}

.legal-card nav a {
  min-height: 40px;
  display: flex;
  align-items: center;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
}

.legal-content {
  padding: clamp(26px, 5vw, 52px);
}

.legal-content h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.legal-content h2 {
  margin-top: 44px;
  font-size: 26px;
}

.legal-content li {
  margin: 8px 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible,
.is-ready [data-reveal="load"] {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="load"] {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes popStamp {
  to { transform: scale(1); }
}

@media (max-width: 980px) {
  .hero-grid,
  .wallet-demo,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    min-height: 560px;
  }

  .flow,
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .legal-card.sticky {
    position: static;
  }
}

@media (max-width: 680px) {
  .container {
    padding-inline: 16px;
  }

  .nav-inner {
    min-height: 68px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .brand {
    font-size: 21px;
  }

  .brand-lockup {
    width: 136px;
  }

  .hero {
    min-height: calc(100dvh - 118px);
    padding: 28px 0 42px;
  }

  h1 {
    font-size: clamp(40px, 11vw, 48px);
    line-height: 1.02;
  }

  .hero-grid > div:first-child,
  .hero-grid h1,
  .hero-grid .lead,
  .hero-grid .button-row {
    max-width: calc(100vw - 28px);
  }

  .legal-content h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .lead {
    font-size: 18px;
  }

  .button-row,
  .hero-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .proof-strip {
    display: grid;
  }

  .phone-stage {
    min-height: 300px;
    overflow: hidden;
  }

  .phone {
    width: min(290px, 74vw);
    border-width: 8px;
    border-radius: 38px;
  }

  .phone-screen {
    padding: 54px 14px 18px;
  }

  .float-chip {
    display: none;
  }

  .section {
    padding: 62px 0;
  }

  .flow,
  .features-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .pass-stack {
    min-height: 330px;
  }

  .pass {
    width: 82vw;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-cta.btn {
    width: auto;
    flex-shrink: 0;
  }

  .phone-stage {
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  [data-reveal],
  .is-loading [data-reveal="load"] {
    opacity: 1;
    transform: none;
  }
}
