:root {
  color-scheme: light dark;
  --bg: #faf8f5;
  --surface: #ffffff;
  --text: #1c1917;
  --muted: #6b635c;
  --accent: #ea580c;
  --accent-strong: #c2410c;
  --accent-soft: #ffedd5;
  --border: #ece7e1;
  --bezel: #0c0a09;
  --shadow: 0 30px 80px rgba(120, 45, 10, 0.22);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14110f;
    --surface: #1f1b18;
    --text: #f5f2ef;
    --muted: #a8a09a;
    --accent: #fb923c;
    --accent-strong: #fdba74;
    --accent-soft: #3a2314;
    --border: #2e2823;
    --bezel: #000000;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

a {
  color: inherit;
}

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

/* Navigation */

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand img {
  border-radius: 9px;
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.lang {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 5px 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* Hero */

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 96px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -80px -200px auto auto;
  width: 640px;
  height: 640px;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--accent) 28%, transparent) 0%,
    transparent 65%
  );
  z-index: -1;
  pointer-events: none;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 14px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 800;
}

.lead {
  margin: 22px 0 30px;
  font-size: clamp(18px, 2vw, 21px);
  color: var(--muted);
  max-width: 34ch;
}

.badge {
  display: inline-block;
  transition: transform 0.15s ease;
}

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

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

.chips {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 15px;
}

.chips li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}

/* Phone mockups */

.phone {
  background: var(--bezel);
  padding: 9px;
  border-radius: 46px;
  box-shadow: var(--shadow);
}

.phone img {
  border-radius: 38px;
  width: 100%;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
  background: var(--surface);
}

.hero-phones {
  position: relative;
  height: 600px;
}

.hero-phones .phone {
  position: absolute;
  width: 270px;
}

.phone-front {
  left: 8%;
  top: 0;
  transform: rotate(-4deg);
  z-index: 2;
}

.phone-back {
  right: 4%;
  top: 60px;
  transform: rotate(6deg);
  opacity: 0.95;
}

/* Steps */

.steps {
  background: var(--surface);
  border-block: 1px solid var(--border);
  padding: 88px 24px;
}

.steps h2,
.privacy h2 {
  text-align: center;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 48px;
}

.steps ol {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.steps li {
  padding: 28px;
  border-radius: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  margin-bottom: 18px;
}

.steps h3,
.privacy h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.steps p,
.privacy p,
.feature-copy p {
  color: var(--muted);
  margin: 0;
}

/* Features */

.feature {
  max-width: 980px;
  margin: 0 auto;
  padding: 96px 24px 0;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 72px;
  align-items: center;
}

.feature-flip {
  grid-template-columns: 1fr 300px;
}

.feature-flip .phone {
  order: 2;
}

.feature-copy h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
}

.feature-copy p {
  font-size: 19px;
  max-width: 34ch;
}

/* Privacy */

.privacy {
  max-width: 1040px;
  margin: 120px auto 0;
  padding: 0 24px;
}

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

.privacy-grid > div {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
}

/* Call to action */

.cta {
  margin: 120px 24px 0;
  padding: 72px 24px;
  border-radius: 36px;
  background: linear-gradient(160deg, #f97316 0%, #ea580c 55%, #c2410c 100%);
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  max-width: 1072px;
  margin-inline: auto;
}

.cta img:first-child {
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(67, 20, 7, 0.35);
}

.cta h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  max-width: 18ch;
}

/* Footer */

.footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  color: var(--muted);
  font-size: 14px;
}

.footer span {
  margin-right: auto;
}

.footer a {
  text-decoration: none;
}

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

/* Phone width */

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 24px 16px 64px;
    text-align: center;
  }

  .lead {
    margin-inline: auto;
  }

  .chips {
    justify-content: center;
  }

  .hero-phones {
    height: 480px;
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
  }

  .hero-phones .phone {
    width: 210px;
  }

  .phone-front {
    left: 2%;
  }

  .phone-back {
    right: 2%;
    top: 44px;
  }

  .steps {
    padding: 64px 16px;
  }

  .steps ol,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature-flip {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 72px 16px 0;
    text-align: center;
    justify-items: center;
  }

  .feature .phone {
    width: 240px;
    order: 0;
  }

  .feature-copy p {
    margin-inline: auto;
  }

  .privacy {
    margin-top: 88px;
    padding: 0 16px;
  }

  .cta {
    margin: 88px 16px 0;
    border-radius: 28px;
  }

  .nav {
    padding: 16px;
  }

  .nav-links {
    gap: 14px;
  }

  .footer {
    padding: 40px 16px 48px;
    justify-content: center;
  }

  .footer span {
    margin-right: 0;
    width: 100%;
    text-align: center;
  }
}
