/* Dossio waitlist page. Tokens follow docs/SPEC.md 3.1 to 3.4. */
@font-face { font-family: Outfit; src: url(/fonts/outfit-700.ttf) format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Geist; src: url(/fonts/geist-400.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Geist; src: url(/fonts/geist-500.ttf) format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: Geist; src: url(/fonts/geist-600.ttf) format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(/fonts/geist-mono-500.ttf) format('truetype'); font-weight: 500; font-display: swap; }

:root {
  --bg: #F6F7F9;
  --surface: #FFFFFF;
  --inverse: #0E1116;
  --text: #0E1116;
  --muted: #5B6472;
  --border: rgba(14, 17, 22, 0.08);
  --divider: rgba(14, 17, 22, 0.06);
  --chip: #F1F3F6;
  --accent: #3B5BDB;
  --accent-fill: #3B5BDB;
  --accent-tint: #EEF2FF;
  --accent-tint-text: #2B3A8C;
  --warn-tint: #FFF4E5;
  --warn-text: #8A4B00;
  --danger-text: #A61B1B;
  --shadow: 0 1px 2px rgba(14, 17, 22, 0.04), 0 8px 24px rgba(14, 17, 22, 0.06);
  --display: Outfit, 'Geist', system-ui, sans-serif;
  --ui: Geist, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0D10;
    --surface: #15181D;
    --inverse: #262C36;
    --text: #F2F4F7;
    --muted: #9AA3B2;
    --border: rgba(255, 255, 255, 0.08);
    --divider: rgba(255, 255, 255, 0.06);
    --chip: #21262E;
    --accent: #8DA2F7;
    --accent-fill: #4C6EF5;
    --accent-tint: #1C2340;
    --accent-tint-text: #B9C6FF;
    --warn-tint: #2E2212;
    --warn-text: #F2B66B;
    --danger-text: #FCA5A5;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--ui);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.top { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; }
.brand img { display: block; height: 34px; width: auto; }
.brand { display: inline-flex; align-items: flex-start; gap: 2px; text-decoration: none; }
.brand .tm { color: var(--muted); font-size: 13px; line-height: 1; margin-top: 2px; }

.stamp, .label, .mono { font-family: var(--mono); font-weight: 500; }
.stamp {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); border: 1.5px solid currentColor; border-radius: 6px;
  padding: 4px 8px; transform: rotate(-2deg);
}
.label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.muted { color: var(--muted); }

main.wrap { display: grid; gap: 56px; padding-top: 32px; padding-bottom: 72px; }
@media (min-width: 900px) {
  main.wrap { grid-template-columns: 1.05fr 0.95fr; align-items: center; column-gap: 64px; row-gap: 88px; padding-top: 56px; }
  .points { grid-column: 1 / -1; }
}

h1 {
  font: 700 clamp(38px, 6.2vw, 60px)/1.04 var(--display);
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.lede { font-size: 18px; color: var(--muted); max-width: 34em; margin: 0 0 28px; text-wrap: pretty; }

.join { display: flex; gap: 10px; max-width: 480px; }
.join input[type=email] {
  flex: 1; min-width: 0; height: 52px; padding: 0 16px;
  font: 400 16px var(--ui); color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.join input[type=email]::placeholder { color: var(--muted); opacity: 0.8; }
.join input[type=email]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.join input[aria-invalid=true] { border-color: var(--danger-text); }
.join button {
  height: 52px; padding: 0 20px; border: 0; border-radius: 14px;
  background: var(--accent-fill); color: #fff;
  font: 600 15px var(--ui); cursor: pointer; white-space: nowrap;
  transition: transform 120ms ease, opacity 150ms ease, background 150ms ease;
}
.join button:hover { background: #3451C6; }
.join button:active { transform: scale(0.97); }
.join button:focus-visible { outline: 3px solid var(--accent-tint); outline-offset: 2px; }
.join button[disabled] { opacity: 0.6; cursor: default; transform: none; }
@media (max-width: 480px) { .join { flex-direction: column; } .join input[type=email] { flex: none; width: 100%; } .join button { width: 100%; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.status { min-height: 24px; margin: 12px 0 0; font-weight: 500; font-size: 15px; }
.status.ok { color: var(--text); }
.status.err { color: var(--danger-text); }
.fine { margin: 6px 0 0; font-size: 13px; color: var(--muted); }

.done .join { display: none; }
.done .status {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent-tint); color: var(--accent-tint-text);
  border-radius: 14px; padding: 14px 16px; margin-top: 0;
  animation: rise 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Folder-tab card, the app's dossier look (SPEC 3.10). */
.folder { position: relative; padding-top: 30px; max-width: 480px; justify-self: center; width: 100%; }
.tab {
  position: absolute; top: 0; left: 20px; height: 34px; padding: 7px 16px 0;
  background: var(--surface); border: 1px solid var(--border); border-bottom: 0;
  border-radius: 12px 12px 0 0;
  font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 22px; box-shadow: var(--shadow);
}
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.card-head p { margin: 0; }
.card-head .mono { font-size: 13px; }
.metric { font-size: 15px; margin-top: 6px !important; color: var(--muted); }
.metric .num { font: 600 26px/1 var(--display); color: var(--text); letter-spacing: -0.02em; margin-right: 2px; }
.pill { font: 600 12px var(--ui); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.pill.warn { background: var(--warn-tint); color: var(--warn-text); }

.rows { list-style: none; margin: 0; padding: 0; }
.rows li {
  display: grid; grid-template-columns: 10px 1fr auto; grid-template-areas: "dot name loc" ". biz loc";
  column-gap: 12px; padding: 11px 0; border-top: 1px solid var(--divider); align-items: center;
}
.dot { grid-area: dot; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.name { grid-area: name; font-weight: 600; font-size: 15px; }
.biz { grid-area: biz; font-size: 13px; color: var(--muted); }
.loc { grid-area: loc; font-size: 12px; color: var(--muted); background: var(--chip); border-radius: 8px; padding: 3px 8px; }
.rows li.flag .name::after {
  content: 'Uses another business\'s email'; display: block; font: 500 12px var(--ui); color: var(--warn-text);
}
.note {
  margin: 12px 0 0; padding: 12px 14px; border-radius: 14px;
  background: var(--warn-tint); color: var(--warn-text); font-size: 13px; line-height: 1.45;
}

.points { display: grid; gap: 28px; border-top: 1px solid var(--border); padding-top: 40px; }
@media (min-width: 720px) { .points { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.points h2 { font: 600 18px/1.3 var(--ui); margin: 0 0 8px; letter-spacing: -0.01em; }
.points p:not(.label) { margin: 0; color: var(--muted); font-size: 15px; }
.points .label { margin-bottom: 10px; color: var(--accent); }

.foot {
  display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; padding-bottom: 40px;
  border-top: 1px solid var(--border); font-size: 14px; color: var(--muted);
}
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }

/* Privacy page */
.doc { max-width: 680px; padding-top: 24px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(34px, 5vw, 44px); }
.doc h2 { font: 600 19px/1.35 var(--ui); margin: 36px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--text); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.rows li.more { display: block; font-size: 13px; color: var(--muted); padding-bottom: 0; }
