/* Clear to Ship, the placeholder site. rebaze's tokens (docs/rebaze-context.md). */
:root {
  color-scheme: light dark;
  --bg: #F4F1EA;
  --ink: #182432;
  --muted: #4A5460;
  --accent: #884826;
  --accent-hover: #724128;
  --on-accent: #F4F1EA;
  --line: #d9d4c8;
  --field: #ffffff;
  --focus: #182432;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #182432;
    --ink: #F4F1EA;
    --muted: #BDBEBC;
    --accent: #DCA16B;
    --accent-hover: #E1B184;
    --on-accent: #182432;
    --line: #364653;
    --field: #263746;
    --focus: #DCA16B;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
}
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 16px 32px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
header { display: flex; align-items: center; gap: 10px; margin-bottom: 72px; }
header a { text-decoration: none; display: flex; align-items: center; gap: 10px; }
header svg { width: 28px; height: 28px; }
.wordmark { font-weight: 650; letter-spacing: .01em; }
.by { color: var(--muted); font-size: 15px; }
main { flex: 1; }

h1 {
  font-size: clamp(28px, 5.2vw, 40px);
  line-height: 1.22;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
}
.lede { font-size: 20px; color: var(--ink); margin: 0 0 40px; max-width: 34em; }
h2 { font-size: 24px; line-height: 1.3; margin: 0 0 16px; }

.checks { list-style: none; padding: 0; margin: 0 0 48px; display: grid; gap: 14px; }
.checks li { display: flex; align-items: center; gap: 14px; }
.checks svg { width: 34px; height: 34px; flex: none; color: var(--accent); }

form.join { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
form.join input[type=email] {
  flex: 1 1 260px;
  min-width: 0;
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--field);
  color: var(--ink);
}
form.join input[type=email]::placeholder { color: var(--muted); }
button {
  font: inherit;
  font-weight: 600;
  padding: 12px 20px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
  cursor: pointer;
}
button:hover { background: var(--accent-hover); }
.note { font-size: 15px; color: var(--muted); margin: 0; }

/* The honeypot: out of sight and out of the tab order. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.prose h1 { font-size: 32px; }
.prose h2 { font-size: 20px; margin-top: 36px; }
.prose p, .prose li { color: var(--ink); }
.prose address { font-style: normal; }

footer {
  margin-top: 72px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

/* --- makeover preview --- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 88px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { width: 30px; height: 30px; color: var(--accent); display: inline-flex; }
.brand .mark svg { width: 100%; height: 100%; }
.wordmark { font-weight: 680; font-size: 19px; letter-spacing: -0.005em; }
.endorse { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; text-decoration: none; }
.endorse img { height: 19px; width: auto; display: block; }
.hero h1 { font-size: clamp(36px, 7vw, 60px); line-height: 1.06; letter-spacing: -0.025em; margin-bottom: 28px; }
.hero h1 span { color: var(--accent); }
.hero .lede { font-size: 20px; max-width: 36em; margin-bottom: 32px; }
.gate { margin: 72px 0 0; border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 20px 20px 16px; box-shadow: 0 1px 0 rgba(24,36,50,.04), 0 12px 32px -18px rgba(24,36,50,.25); }
.gate-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.rel { font-weight: 650; }
.sha { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; color: var(--muted); }
.count { margin-left: auto; font-size: 14px; color: var(--muted); }
.gate ol { list-style: none; margin: 0; padding: 0; }
.gate li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); position: relative; font-size: 16px; }
.gate li:last-child { border-bottom: 0; }
.gate li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ok); }
.gate li.ok::before { background: var(--ok); box-shadow: inset 0 0 0 3px var(--card); }
.gate li.wait::before { border-color: var(--accent); border-style: dashed; }
.who { color: var(--muted); font-size: 15px; }
.who b { font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); background: var(--chip); border-radius: 6px; padding: 2px 7px; margin-right: 6px; }
.wait .who { color: var(--accent); }
.gate figcaption { font-size: 13px; color: var(--muted); padding-top: 10px; }
.beliefs { display: grid; gap: 36px; margin: 88px 0; }
.beliefs h2 { font-size: 24px; margin: 0 0 8px; letter-spacing: -0.01em; }
.beliefs p { margin: 0; color: var(--muted); max-width: 34em; }
.closing { padding: 40px 0 8px; border-top: 1px solid var(--line); }
.closing h2 { font-size: 28px; margin-bottom: 20px; }
@media (min-width: 760px) { .beliefs { grid-template-columns: 1fr 1fr 1fr; gap: 28px; } .page { max-width: 880px; } .hero .lede, .hero form, .hero .note { max-width: 640px; } }
:root { --card: #ffffff; --chip: #E8EDF0; --ok: #2f6b4f; }
@media (prefers-color-scheme: dark) { :root { --card: #263746; --chip: #364653; --ok: #7cc39d; } }
