:root {
  --brand: #0c1b24; /* AppColors.brand */
  --brand-raised: #13293a;
  --brand-line: #22394a;
  --ink: #ffffff;
  --ink-muted: rgba(255, 255, 255, 0.7);
  --accent: #ff5a6e;
  --radius: 20px;
  --max: 1120px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--brand);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

section,
.site-header,
.site-footer {
  width: min(var(--max), 100% - 48px);
  margin-inline: auto;
}

/* Header */

.site-header {
  padding-block: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lang {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.lang a {
  text-decoration: none;
  color: var(--ink-muted);
  padding: 4px 2px;
}

.lang a:hover,
.lang a:focus-visible {
  color: var(--ink);
}

.lang a[aria-current='page'] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 64px;
  padding-block: 48px 96px;
}


h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  letter-spacing: -0.02em;
}

.lede {
  color: var(--ink-muted);
  font-size: 1.2rem;
  margin-top: 24px;
  max-width: 34em;
}

.stores {
  margin-top: 36px;
}

.stores ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Official store badges: shown at a fixed height with their own artwork untouched. */
.stores img {
  display: block;
  height: 48px;
  width: auto;
}

.soon {
  margin-top: 12px;
  color: var(--ink-muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Phone mock-up */

.phone {
  justify-self: center;
  width: min(300px, 80vw);
  aspect-ratio: 9 / 18.5;
  padding: 12px;
  border-radius: 44px;
  background: #050c10;
  box-shadow:
    0 0 0 1px var(--brand-line),
    0 40px 80px rgba(0, 0, 0, 0.45);
}

.phone-screen {
  height: 100%;
  border-radius: 34px;
  background: #f4f6f8;
  color: var(--brand);
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.phone-bar {
  font-weight: 700;
  font-size: 1.25rem;
}

.card {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(12, 27, 36, 0.15);
}

.card-photo {
  flex: 1;
  position: relative;
  background:
    radial-gradient(circle at 50% 38%, #f3c7a8 0 17%, transparent 17.5%),
    radial-gradient(ellipse at 50% 96%, #2f5d7c 0 38%, transparent 38.5%),
    linear-gradient(160deg, #9ec5de, #4f7f9f);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(12, 27, 36, 0.8);
  color: #ffffff;
}

.card-info {
  padding: 12px 14px 14px;
}

.card-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.card-meta {
  font-size: 0.82rem;
  color: #4a5a64;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2bb673;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.action {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(12, 27, 36, 0.15);
}

.action.pass {
  color: #6b7a83;
}

.action.like {
  color: var(--accent);
}

/* Sections */

.how,
.safety {
  padding-block: 88px;
  border-top: 1px solid var(--brand-line);
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.steps,
.features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}

.steps {
  grid-template-columns: repeat(5, 1fr);
}

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

.steps li,
.features li {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--brand-raised);
  border: 1px solid var(--brand-line);
}

.steps p,
.features p {
  color: var(--ink-muted);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin-bottom: 16px;
  font-weight: 700;
  background: var(--ink);
  color: var(--brand);
}

.closing {
  text-align: center;
  padding-block: 96px 112px;
  border-top: 1px solid var(--brand-line);
}

.closing img {
  margin-bottom: 28px;
}

.closing h2 {
  margin-bottom: 14px;
}

.closing p {
  color: var(--ink-muted);
  font-size: 1.1rem;
}

.site-footer {
  padding-block: 32px 48px;
  border-top: 1px solid var(--brand-line);
  color: var(--ink-muted);
  font-size: 0.9rem;
}

/* Responsive */

@media (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-block: 24px 72px;
  }

  .lede {
    font-size: 1.1rem;
  }
}

@media (max-width: 560px) {
  .steps,
  .features {
    grid-template-columns: 1fr;
  }

  .how,
  .safety {
    padding-block: 64px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .phone {
    animation: float 6s ease-in-out infinite;
  }

  @keyframes float {
    50% {
      transform: translateY(-10px);
    }
  }
}

.secondary-language {
  margin-top: 48px;
}
