:root {
  color-scheme: light dark;
  --ink: #181715;
  --ink-soft: #5b5850;
  --ink-mute: #85806f;
  --paper: #f8f5ed;
  --paper-2: #efe9dc;
  --card: rgba(255, 253, 247, 0.86);
  --line: rgba(24, 23, 21, 0.1);
  --gold: #f2b530;
  --gold-deep: #d99c2b;
  --gold-soft: #f6e2ae;
  --red: #b3262d;
  --night: #181715;
  --night-ink: #fbf6ea;
  --shadow: 0 24px 70px rgba(32, 28, 20, 0.1);
  --radius: 28px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f7f2e5;
    --ink-soft: #bdb5a5;
    --ink-mute: #8e877a;
    --paper: #0f0e0d;
    --paper-2: #1a1815;
    --card: rgba(30, 28, 25, 0.86);
    --line: rgba(255, 255, 255, 0.1);
    --gold-soft: #3a2c14;
    --red: #e0555b;
    --night: #1f1d19;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 2%, rgba(242, 181, 48, 0.22), transparent 32rem),
    radial-gradient(circle at 4% 30%, rgba(179, 38, 45, 0.06), transparent 26rem),
    var(--paper);
  overflow-x: hidden;
}

@media (prefers-color-scheme: dark) {
  body {
    background:
      radial-gradient(circle at 82% 2%, rgba(242, 181, 48, 0.14), transparent 32rem),
      radial-gradient(circle at 4% 30%, rgba(179, 38, 45, 0.09), transparent 26rem),
      var(--paper);
  }
}

a {
  color: inherit;
}

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

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

/* Nav */

.nav {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  margin-top: 16px;
  padding: 10px 10px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 10px 35px rgba(28, 25, 19, 0.07);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.app-icon {
  width: 38px;
  height: 38px;
  border-radius: 22.5%;
  box-shadow:
    0 0 0 0.5px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(26, 23, 18, 0.14);
}

.nav-links {
  display: flex;
  gap: 4px;
  margin: 0 auto;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

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

.nav-end {
  display: flex;
  align-items: center;
  gap: 8px;
}

.langs {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.langs a {
  min-width: 36px;
  padding: 7px 8px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.langs a[aria-current] {
  color: var(--night-ink);
  background: var(--night);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 14px;
  color: var(--night-ink);
  background: var(--night);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

@media (prefers-color-scheme: dark) {
  .button,
  .langs a[aria-current] {
    color: #181715;
    background: var(--gold);
  }
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 96px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 9px 13px;
  border-radius: 999px;
  color: #fffaf0;
  background: #181715;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.flag-dot {
  flex: none;
  width: 24px;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(to bottom, #000 0 33%, #dd0000 33% 66%, #ffcc00 66%);
  outline: 1px solid rgba(255, 255, 255, 0.2);
}

h1 {
  margin: 0;
  font-size: clamp(46px, 7.4vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.058em;
  text-wrap: balance;
}

h1 em {
  font-style: normal;
  color: var(--gold-deep);
}

@media (prefers-color-scheme: dark) {
  h1 em {
    color: var(--gold);
  }
}

.intro {
  max-width: 600px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 34px;
}

.store-badge {
  display: inline-block;
  border-radius: 12px;
  transition: transform 0.15s ease;
}

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

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

@media (prefers-color-scheme: dark) {
  .store-badge img {
    outline: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 11px;
  }
}

.devices {
  color: var(--ink-mute);
  font-size: 15px;
  font-weight: 600;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 14px;
  font-weight: 700;
}

.chips li::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23181715' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 16px no-repeat;
}

/* Phones */

.phone {
  --pw: 280px;
  position: relative;
  flex: none;
  width: var(--pw);
  margin: 0;
  padding: calc(var(--pw) * 0.03);
  border-radius: calc(var(--pw) * 0.165);
  background: #0c0c0c;
  box-shadow:
    inset 0 0 0 1.5px #3b3a38,
    0 0 0 1px rgba(0, 0, 0, 0.12),
    0 30px 60px -12px rgba(34, 29, 20, 0.35),
    0 18px 36px -18px rgba(34, 29, 20, 0.3);
}

.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 644 / 1400;
  border-radius: calc(var(--pw) * 0.138);
}

@media (prefers-color-scheme: dark) {
  .phone {
    box-shadow:
      inset 0 0 0 1.5px #45433f,
      0 30px 70px -12px rgba(0, 0, 0, 0.7);
  }
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 600px;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 181, 48, 0.55), rgba(242, 181, 48, 0) 68%);
  filter: blur(8px);
}

.hero-visual .phone {
  --pw: 270px;
}

.hero-visual .front {
  z-index: 2;
  transform: translateX(-17%) rotate(-3deg);
}

.hero-visual .back {
  position: absolute;
  z-index: 1;
  --pw: 238px;
  transform: translate(36%, 5%) rotate(5deg);
  opacity: 0.97;
}

/* Sections */

section {
  scroll-margin-top: 96px;
}

.section {
  padding: clamp(56px, 8vw, 104px) 0 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h3 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.62;
  text-wrap: pretty;
}

.section-head p {
  margin: 16px 0 0;
  font-size: clamp(17px, 1.8vw, 20px);
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

/* Stats */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stats li {
  padding: 26px 24px 24px;
}

.stats strong {
  display: block;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.stats li:nth-child(4) strong {
  color: var(--gold-deep);
}

.stats span {
  display: block;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.45;
}

/* Feature rows */

.rows {
  display: grid;
  gap: 18px;
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
}

.row-copy {
  padding: clamp(28px, 5vw, 64px);
}

.row-copy p {
  max-width: 460px;
  margin: 18px 0 0;
  font-size: 18px;
}

.stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-self: stretch;
  padding: 56px 24px 0;
  min-height: 460px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(242, 181, 48, 0.42), transparent 62%),
    var(--paper-2);
}

.stage .phone {
  --pw: 280px;
  margin-bottom: -170px;
}

.row:nth-child(even) .stage {
  order: -1;
}

.row:nth-child(even) .stage {
  background:
    radial-gradient(circle at 50% 30%, rgba(179, 38, 45, 0.16), transparent 62%),
    var(--paper-2);
}

/* Two cards */

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

.duo .card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.duo .row-copy {
  padding-bottom: 0;
}

.duo h3 {
  font-size: clamp(24px, 2.6vw, 32px);
}

.duo .stage {
  flex: 1;
  margin-top: 32px;
  min-height: 380px;
  background: transparent;
}

.duo .stage::before {
  content: '';
  position: absolute;
  inset: 20% 10% auto;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 181, 48, 0.4), transparent 66%);
}

.duo .phone {
  --pw: 250px;
  margin-bottom: -220px;
}

/* Privacy */

.dark-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--radius);
  color: #fbf6ea;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 181, 48, 0.2), transparent 30rem),
    #181715;
  box-shadow: var(--shadow);
}

@media (prefers-color-scheme: dark) {
  .dark-card {
    border: 1px solid var(--line);
    background:
      radial-gradient(circle at 100% 0%, rgba(242, 181, 48, 0.16), transparent 30rem),
      #1c1a17;
  }
}

.dark-card .kicker {
  color: var(--gold);
}

.dark-card p {
  color: #c9c1b0;
  margin: 18px 0 0;
  font-size: 18px;
}

.checks {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 650;
  line-height: 1.35;
}

.checks li::before {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23181715' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 22px no-repeat;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 26px;
  color: var(--gold);
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.faq {
  padding: 8px clamp(20px, 3vw, 32px);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' fill='none' stroke='%23d99c2b' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")
    center / 16px no-repeat;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: -6px 0 22px;
  max-width: 620px;
}

.contact {
  position: sticky;
  top: 96px;
  padding: clamp(24px, 3vw, 32px);
  background: var(--gold-soft);
  border-color: transparent;
}

.contact h3 {
  font-size: 26px;
}

.contact p {
  margin: 12px 0 22px;
  color: var(--ink);
  opacity: 0.8;
}

.contact .button {
  width: 100%;
}

/* CTA */

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(56px, 8vw, 104px);
  padding: clamp(40px, 6vw, 72px) 24px;
  border-radius: var(--radius);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.45), transparent 60%),
    var(--gold);
  color: #181715;
}

.cta .app-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 24px;
  box-shadow: 0 16px 32px rgba(80, 50, 0, 0.25);
}

.cta p {
  margin: 14px 0 28px;
  color: rgba(24, 23, 21, 0.72);
  font-size: 19px;
}

.cta .store-badge img {
  outline: none;
}

/* Footer */

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 32px;
  margin-top: 28px;
  padding: 28px 4px 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.55;
}

footer p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  max-width: 560px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: flex-end;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Document pages (privacy, 404) */

.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 88px) 0 0;
}

.doc .meta {
  margin: 0 0 12px;
  color: var(--ink-mute);
  font-size: 14px;
}

.doc h1 {
  font-size: clamp(40px, 6vw, 64px);
}

.doc .lead {
  margin: 18px 0 32px;
  font-size: 20px;
}

.doc h2 {
  margin: 40px 0 0;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.doc p,
.doc li {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}

.doc ul {
  padding-inline-start: 22px;
}

.doc li + li {
  margin-top: 6px;
}

.doc a {
  text-underline-offset: 3px;
}

.back {
  display: inline-flex;
  margin-bottom: 28px;
  gap: 6px;
  color: var(--ink-soft);
  font-weight: 650;
  text-decoration: none;
}

/* Reveal on scroll */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.7s ease,
      transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .js .reveal.in {
    opacity: 1;
    transform: none;
  }

  .hero-visual .front {
    animation: float 6s ease-in-out infinite;
  }

  @keyframes float {
    0%,
    100% {
      transform: translateX(-17%) rotate(-3deg) translateY(0);
    }
    50% {
      transform: translateX(-17%) rotate(-3deg) translateY(-10px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Responsive */

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

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

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

  .contact {
    position: static;
  }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .hero-visual {
    min-height: 0;
    padding: 12px 0 8px;
  }

  .hero-visual .phone {
    --pw: min(62vw, 250px);
  }

  .hero-visual .back {
    --pw: min(54vw, 220px);
  }

  .row,
  .dark-card,
  .duo {
    grid-template-columns: 1fr;
  }

  .row:nth-child(even) .stage {
    order: 0;
  }

  .stage {
    min-height: 400px;
  }

  .stage .phone {
    --pw: min(68vw, 270px);
  }

  footer {
    grid-template-columns: 1fr;
  }

  footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .page {
    width: calc(100% - 32px);
  }

  .nav {
    padding: 8px 8px 8px 10px;
  }

  .nav .button {
    display: none;
  }

  .brand span {
    font-size: 16px;
  }

  .langs a {
    min-width: 32px;
    padding: 7px 6px;
  }

  .store-badge img {
    height: 50px;
  }

  .eyebrow-more {
    display: none;
  }

  .stats li {
    padding: 20px 18px;
  }

  .stats span {
    font-size: 14px;
  }
}
