/* The app's own palette (Features/Sources/DesignSystem/Tokens.swift): dark only, like the app. */
:root {
  --ground: #0e0d0c;
  --surface: #1a1917;
  --line: #2e2b28;
  --bone: #f4f0e9;
  --stone: #a39c91;
  --sage: #8fa97f;
  --serif: "New York", ui-serif, "Iowan Old Style", Georgia, serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0 20px;
  background: var(--ground);
  color: var(--bone);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

/* Text pages (privacy, support) are a narrow column; the home page is wider. */
nav, main, footer { max-width: 640px; margin: 0 auto; }
.home-page nav, .home-page main, .home-page footer { max-width: 960px; }

main { padding: 56px 0 72px; }

h1, h2, .serif {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  font-size: clamp(34px, 7vw, 44px);
  line-height: 1.15;
  margin: 0 0 8px;
}

h2 {
  font-size: 24px;
  line-height: 1.3;
  margin: 40px 0 8px;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 28px 0 4px;
}

p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }

.muted, .updated { color: var(--stone); }
.updated { font-size: 15px; margin-bottom: 32px; }

a { color: var(--sage); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

strong { font-weight: 600; }

.card {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px 22px;
  margin: 24px 0;
}
.card p:last-child { margin-bottom: 0; }

/* Navigation */
nav {
  padding: 20px 0 0;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 15px;
}
nav a { color: var(--stone); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--bone); }
nav .home {
  color: var(--bone);
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 19px;
}
nav .home img { width: 28px; height: 28px; border-radius: 7px; }

footer {
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--stone);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
footer a { color: var(--stone); text-decoration: none; }
footer a:hover { color: var(--bone); }
footer .copy { margin-right: auto; }

/* Home: the promise on the left, the app on the right. */
.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 56px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 60px);
  line-height: 1.08;
  margin-bottom: 18px;
}
.hero .lede {
  color: var(--stone);
  font-size: 19px;
  max-width: 30em;
  margin-bottom: 26px;
}
.soon {
  display: inline-block;
  font-size: 14px;
  color: var(--stone);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}

.phone {
  width: 300px;
  border-radius: 46px;
  padding: 9px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0, 0, 0, 0.55);
}
.phone img { border-radius: 38px; width: 100%; height: auto; }

.points {
  list-style: none;
  padding: 0;
  margin: 72px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.points li { margin: 0; border-top: 1px solid var(--line); padding-top: 18px; }
.points h2 { font-size: 21px; margin: 0 0 6px; }
.points p { color: var(--stone); font-size: 16px; margin: 0; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .phone { width: min(280px, 78vw); margin: 0 auto; }
  .points { grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
}
