:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #12141a;
  --muted: #5b6475;
  --border: #e6e8ec;
  --accent: #4f46e5;
  --accent-2: #0ea5a4;
  --accent-soft: rgba(79, 70, 229, 0.1);
  --shadow: 0 2px 4px rgba(16, 24, 40, 0.06), 0 16px 40px rgba(16, 24, 40, 0.1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0f14;
    --surface: #171a21;
    --text: #eef0f4;
    --muted: #a3acba;
    --border: #262b35;
    --accent: #8b85ff;
    --accent-2: #2dd4bf;
    --accent-soft: rgba(139, 133, 255, 0.16);
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.35), 0 16px 40px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

header.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

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

nav a {
  margin-inline-start: 18px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

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

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

h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 span {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0 0 26px;
  max-width: 34em;
  font-size: 18px;
  color: var(--muted);
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 6px 18px var(--accent-soft);
}

.button.ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.platforms {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.phones {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 480px;
}

.phones img {
  width: 250px;
  height: auto;
  border-radius: 28px;
  border: 6px solid var(--surface);
  box-shadow: var(--shadow);
}

.phones img:first-child {
  transform: translate(30px, 30px) rotate(-5deg);
}

.phones img:last-child {
  transform: translate(-30px, 0) rotate(4deg);
}

section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

h2 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.sub {
  margin: 0 0 28px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

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

.card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

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

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

.chips li {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}

.note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

footer a {
  color: var(--muted);
  margin-inline-end: 16px;
}

/* The privacy page is one column of text. */
.doc {
  max-width: 720px;
  padding: 24px 20px 64px;
  margin: 0 auto;
}

.doc h1 {
  font-size: 36px;
}

.doc h2 {
  margin-top: 36px;
  font-size: 22px;
}

.doc li {
  margin-bottom: 6px;
}

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

  .phones {
    min-height: 0;
    padding: 10px 0 30px;
  }

  .phones img {
    width: 44vw;
    max-width: 230px;
  }

  nav a:not(:last-child) {
    display: none;
  }
}
