/* The website pages the server hosts (account deletion for now). Black and white like
   the app (ui/tokens.css), with system fonts so the page loads nothing from anyone else. */

:root {
  --bg: #ffffff;
  --surface: #f6f6f6;
  --line: #d9d9d9;
  --line-strong: #000000;
  --ink: #000000;
  --ink-muted: #5a5a5a;
  --accent: #000000;
  --on-accent: #ffffff;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #161616;
    --line: #262626;
    --line-strong: #ffffff;
    --ink: #ffffff;
    --ink-muted: #9a9a9a;
    --accent: #ffffff;
    --on-accent: #000000;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/24px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main { max-width: 560px; margin: 0 auto; padding: 32px 16px 64px; }

.wordmark { display: block; width: 180px; height: auto; color: var(--ink); margin-bottom: 40px; }

h1 { font-size: 28px; line-height: 34px; margin: 0 0 12px; letter-spacing: -0.3px; }
h2 { font-size: 18px; line-height: 24px; margin: 32px 0 8px; }
p { margin: 0 0 12px; }
ul { margin: 0 0 12px; padding-left: 20px; }
li { margin-bottom: 4px; }
.muted { color: var(--ink-muted); }
.small { font-size: 14px; line-height: 20px; }

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

label { display: block; font-weight: 600; margin-bottom: 6px; }

input {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
}
input:focus { outline: 2px solid var(--line-strong); outline-offset: 1px; }

button {
  width: 100%;
  margin-top: 16px;
  font: inherit;
  font-weight: 700;
  padding: 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--accent);
  color: var(--on-accent);
  cursor: pointer;
}
button.secondary { background: transparent; color: var(--ink); }
button:disabled { opacity: 0.5; cursor: default; }

.error { margin-top: 12px; font-weight: 600; }
.error:empty { display: none; }
.error::before { content: "! "; }

[hidden] { display: none !important; }

.hint { margin-top: 8px; }
.flush { margin-top: 0; }
.footnote { margin-top: 32px; }

/* ---------- Home ---------- */

a { color: inherit; }

.home { max-width: 720px; }

.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 0 16px; }
.mark { width: 200px; height: auto; color: var(--ink); }
.wordmark-hero { width: min(320px, 80vw); height: auto; color: var(--ink); margin-top: 24px; }
.tagline { font-size: 20px; line-height: 28px; margin: 16px 0 32px; }

/* Black and white stand-in for the Play badge (no link until the listing exists). */
.play {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 22px 10px 18px; margin-bottom: 12px;
  border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--accent); color: var(--on-accent);
  text-decoration: none; cursor: default;
}
.play-icon { width: 26px; height: 26px; }
.play span { display: flex; flex-direction: column; text-align: left; font-size: 20px; line-height: 22px; font-weight: 700; }
.play small { font-size: 10px; line-height: 12px; font-weight: 600; letter-spacing: 0.6px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 48px; }
.features > div { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.features h2 { margin: 0 0 8px; }
.features p { margin: 0; }

.site-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
