/* Plumlist site — brand sheet from the app (lib/theme.ts). */
:root {
  --plum: #5A1F6A;
  --plum-pressed: #4A1858;
  --plum-tint: #F1E6F2;
  --magenta: #A63D7A;
  --magenta-tint: #F8E7F0;
  --cream: #FDF8F4;
  --bg: #F3EFE3;
  --surface: #EAE5D5;
  --surface-alt: #E4DECC;
  --border: #E1DACA;
  --text: #2B0D2F;
  --text2: #4A3450;
  --muted: #8A7B8D;
  --faint: #B9AEBB;
  --leaf: #6BA66A;
  --leaf-tint: #E3EFDF;
  --leaf-text: #3B7339;
  --white: #fff;
  --shadow: rgba(43, 13, 47, 0.10);
  --radius: 16px;
  --max: 720px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--plum); }
a:hover { color: var(--plum-pressed); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  padding: 18px 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand img { width: 40px; height: 40px; margin-left: -4px; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark .plum {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
}
.wordmark .list {
  font-weight: 600;
  font-size: 8px;
  letter-spacing: 0.28em;
  padding-left: 2px;
  margin-top: 1px;
}
.nav { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  color: var(--text2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--plum); }

.hero { padding: 36px 0 12px; }
.hero h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(32px, 8vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 14px;
}
.lede { font-size: 18px; color: var(--text2); margin: 0 0 28px; max-width: 36em; }

.waitlist {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 30px var(--shadow);
  max-width: 520px;
}
.waitlist label { display: block; font-size: 13px; font-weight: 600; color: var(--text2); margin: 0 0 8px; }
.waitlist .row { display: flex; gap: 8px; flex-wrap: wrap; }
.waitlist input[type="email"] {
  flex: 1 1 200px;
  min-width: 0;
  border: 1.5px solid var(--border);
  background: var(--cream);
  color: var(--text);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  font-size: 16px;
}
.waitlist input[type="email"]:focus {
  outline: none;
  border-color: var(--plum);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--plum-tint);
}
.waitlist button {
  flex: 0 0 auto;
  border: 0;
  background: var(--plum);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  padding: 13px 18px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(90, 31, 106, 0.25);
}
.waitlist button:hover { background: var(--plum-pressed); }
.waitlist button:disabled { opacity: 0.65; cursor: default; }
.waitlist .note, .waitlist .status { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.waitlist .status.ok { color: var(--leaf-text); }
.waitlist .status.err { color: #C2410C; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.steps { display: grid; gap: 12px; margin: 40px 0 16px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
}
.step .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 999px;
  background: var(--plum-tint);
  color: var(--plum);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}
.step h2 { font-size: 17px; margin: 0 0 6px; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--text2); font-size: 15px; }

.aside {
  margin: 28px 0 48px;
  background: var(--plum-tint);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.aside h2 { font-size: 18px; margin: 0 0 8px; }
.aside p { margin: 0; color: var(--text2); font-size: 15px; }

.doc { padding: 12px 0 64px; }
.doc h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(28px, 6vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 8px 0 6px;
}
.meta { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.doc h2 {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 2em 0 0.5em;
}
.doc h3 { font-size: 16px; margin: 1.4em 0 0.4em; }
.doc p, .doc li { color: var(--text2); }
.doc ul, .doc ol { padding-left: 1.2em; }
.doc li { margin: 0.35em 0; }
.doc .updated { font-size: 13px; color: var(--muted); }

.cta-block { margin: 36px 0 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--plum);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 13px 18px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(90, 31, 106, 0.25);
}
.btn:hover { background: var(--plum-pressed); color: var(--white); }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: flex-start; }
.site-footer nav { display: flex; gap: 14px; flex-wrap: wrap; }
.site-footer a { color: var(--text2); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--plum); }
.site-footer p { margin: 0 0 6px; }

.notfound { text-align: center; padding: 80px 0 100px; }
.notfound h1 { font-family: "Iowan Old Style", Palatino, Georgia, serif; font-size: 40px; margin: 12px 0 8px; }
.notfound p { color: var(--text2); }

@media (max-width: 520px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .waitlist .row { flex-direction: column; }
  .waitlist button { width: 100%; }
  .site-header { align-items: flex-start; }
}
