:root {
  --paper: #faf8f5;
  --card: #ffffff;
  --ink: #1d1a22;
  --ink-2: #6d6779;
  --accent: #6d28d9;   /* electric violet — matches the app icon */
  --accent-2: #8b5cf6;
  --line: #e7e2ee;
  --danger: #9c3b2e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141118;
    --card: #1e1a26;
    --ink: #efecf5;
    --ink-2: #a49dbd;
    --accent: #a78bfa;
    --accent-2: #8b5cf6;
    --line: #322c40;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Georgia, serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }
header.site {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: baseline; justify-content: space-between; }
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; font-weight: 600;
}
.brand span { color: var(--accent); }
nav a {
  color: var(--ink-2); text-decoration: none; font-size: 14px; margin-left: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
nav a:hover { color: var(--accent); }
main { padding: 56px 0 80px; }
h1 {
  font-family: Georgia, serif; font-size: 42px; line-height: 1.15;
  font-weight: 600; margin-bottom: 18px; letter-spacing: -0.01em;
}
h2 {
  font-family: Georgia, serif; font-size: 24px; font-weight: 600;
  margin: 40px 0 12px;
}
h3 { font-size: 18px; margin: 26px 0 8px; }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px 22px; }
li { margin-bottom: 6px; }
a { color: var(--accent); }
.lede { font-size: 21px; color: var(--ink-2); margin-bottom: 28px; }
.muted { color: var(--ink-2); font-size: 14px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px 24px; margin: 18px 0;
}
.steps { counter-reset: step; list-style: none; margin-left: 0; }
.steps li {
  counter-increment: step; padding-left: 44px; position: relative; margin-bottom: 16px;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 2px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  font-family: -apple-system, sans-serif;
}
.cta {
  display: inline-block; background: var(--ink); color: var(--paper);
  padding: 14px 26px; border-radius: 999px; text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px; font-weight: 600; margin-top: 8px;
}
.cta.soon { opacity: 0.75; pointer-events: none; }
footer.site {
  border-top: 1px solid var(--line); padding: 26px 0 48px;
  color: var(--ink-2); font-size: 13.5px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
footer.site a { color: var(--ink-2); margin-right: 14px; }
.notice {
  border-left: 3px solid var(--accent); padding: 10px 16px; margin: 18px 0;
  background: var(--card); border-radius: 0 10px 10px 0;
  color: var(--ink-2); font-size: 15px;
}
.waitlist { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.waitlist input {
  flex: 1 1 220px; padding: 13px 16px; font-size: 16px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--ink); outline: none;
}
.waitlist input:focus { border-color: var(--accent); }
.waitlist button {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; border: 0; padding: 13px 26px; border-radius: 999px;
  font: 600 15px -apple-system, BlinkMacSystemFont, sans-serif; cursor: pointer;
}
.waitlist button:disabled { opacity: 0.6; cursor: default; }
#waitlist-msg { font-size: 14.5px; margin-top: 10px; color: var(--accent); min-height: 1.4em;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif; }
.code-box {
  font: 600 26px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em; background: var(--card); border: 1px dashed var(--accent);
  border-radius: 14px; padding: 22px; text-align: center; margin: 22px 0;
  user-select: all;
}
