:root {
  --bg: #0c0e12;
  --surface: #161a22;
  --raised: #1e242f;
  --border: #2a3140;
  --text: #f3efe6;
  --muted: #8b92a1;
  --gold: #e4b56a;
  --gold-dim: #8a6a32;
  --correct: #3ddc97;
  --wrong: #ff6b6b;
  --sans: "Figtree", "Segoe UI", sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 80% -10%, rgba(228, 181, 106, 0.14), transparent 55%),
    radial-gradient(700px 480px at -10% 20%, rgba(228, 181, 106, 0.06), transparent 50%),
    var(--bg);
  line-height: 1.5;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  color: #f3d19a;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(12, 14, 18, 0.72);
  border-bottom: 1px solid rgba(42, 49, 64, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}

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

.brand-name {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a.quiet {
  color: var(--muted);
  font-size: 0.92rem;
}

.lang {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  background: var(--gold);
  color: #1a1408;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0 40px;
}

.kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.lede {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 34rem;
  margin: 0 0 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.store-ios {
  display: block;
  line-height: 0;
  color: inherit;
}

.store-ios svg {
  display: block;
  height: 52px;
  width: auto;
}

.store-android {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 14px 0 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #000;
  color: var(--muted);
}

.android-icon {
  color: #f3efe6;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
}

.store-android-kicker {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-android-name {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.device {
  width: 280px;
  background: #000;
  border: 1px solid #2a3140;
  border-radius: 40px;
  padding: 10px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(228, 181, 106, 0.08);
}

.device img {
  display: block;
  width: 100%;
  border-radius: 30px;
}

.device-sm {
  width: 220px;
  padding: 8px;
  border-radius: 34px;
}

.device-sm img {
  border-radius: 26px;
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 28px 0 8px;
  justify-items: center;
}

.shots figure {
  margin: 0;
}

.shots figcaption {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 28px 0 8px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 20px;
}

.num {
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
}

.step h2 {
  font-size: 1.1rem;
  margin: 8px 0 8px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.features {
  padding: 48px 0 24px;
}

.features h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 2rem;
  margin: 0 0 22px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

footer {
  border-top: 1px solid var(--border);
  margin-top: 56px;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.legal {
  max-width: 680px;
  padding: 56px 0 80px;
}

.legal h1 {
  font-size: 2.6rem;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal h2 {
  font-size: 1.15rem;
  margin: 28px 0 8px;
}

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

  .hero {
    padding-top: 36px;
  }

  .device {
    width: 260px;
  }
}
