/* Colors are the app's own tokens (docs/app/design-tokens.md), light and dark by the device setting. */
:root {
  --bg: #f6f5f1;
  --card: #ffffff;
  --ink: #1c2420;
  --muted: #6b756f;
  --line: #e6e4dc;
  --brand: #1f6f4a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1311;
    --card: #18201c;
    --ink: #eef3f0;
    --muted: #93a199;
    --line: #26312b;
    --brand: #25a56b;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  font-family: -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  overflow-wrap: break-word;
}

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

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

header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}

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

.name img {
  width: 36px;
  height: 36px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
}

/* Home */

.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 36px 0 56px;
}

h1 {
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.1;
  margin: 0 0 16px;
  text-wrap: balance;
  letter-spacing: -0.01em;
}

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

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.soon {
  height: 56px;
  padding: 0 20px;
  border-radius: 9px;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: 600;
}

.soon small {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}

/* The phone frame is drawn here and copies no real phone. */
.phone {
  width: 300px;
  border-radius: 40px;
  padding: 11px;
  background: #1c2420;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

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

.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 24px 0 48px;
}

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

.point h2 {
  font-size: 17px;
  margin: 0 0 6px;
}

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

/* FAQ, terms and privacy */

.text {
  max-width: 44em;
  padding-bottom: 48px;
}

.text h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-top: 24px;
}

.text h2 {
  font-size: 20px;
  margin: 32px 0 8px;
}

.updated {
  color: var(--muted);
  font-size: 14px;
}

details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
}

summary {
  font-weight: 600;
  cursor: pointer;
}

details p {
  margin: 10px 0 0;
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  font-size: 13px;
  color: var(--muted);
}

footer nav a {
  font-size: 14px;
}

footer p {
  margin: 14px 0 0;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 32px;
    padding-top: 12px;
  }

  .hero > div:first-child {
    justify-self: start;
  }

  .phone {
    width: min(300px, 100%);
  }

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