:root {
  --bg: #ffffff;
  --surface: #f4f4f5;
  --border: #e4e4e7;
  --text: #0f0f10;
  --text-muted: #5f6066;
  --brand: #0d9488;
  --on-brand: #ffffff;
  --max-width: 760px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e10;
    --surface: #1d1d20;
    --border: #2a2a2e;
    --text: #f2f2f3;
    --text-muted: #a1a1a8;
    --brand: #2dd4bf;
    --on-brand: #04302b;
  }
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  padding: 28px 0;
}

header.site .wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

header.site img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

header.site span {
  font-weight: 700;
  font-size: 1.05rem;
}

header.site a.home-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

main {
  padding-bottom: 80px;
}

.hero {
  text-align: center;
  padding: 24px 0 8px;
}

.hero img.icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero p.lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 32px;
}

form.waitlist {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto 12px;
  flex-wrap: wrap;
  justify-content: center;
}

form.waitlist input[type="email"] {
  flex: 1 1 240px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
}

form.waitlist button {
  padding: 14px 24px;
  border-radius: 10px;
  border: none;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

form.waitlist button:hover {
  opacity: 0.9;
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 48px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 48px 0;
}

.feature h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
}

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

.price-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 48px 0 0;
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: 40px;
}

footer.site .wrap {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer.site nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 18px;
}

footer.site nav a:first-child {
  margin-left: 0;
}

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

/* Legal pages */

.legal h1 {
  font-size: 2rem;
  margin: 8px 0 4px;
}

.legal .effective {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 36px 0 12px;
}

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

.legal ul {
  padding-left: 22px;
}

.legal a.back {
  display: inline-block;
  margin-bottom: 24px;
  text-decoration: none;
  font-size: 0.9rem;
}
