/* PreShip Scan site: no external fonts, scripts or trackers. Light/dark via prefers-color-scheme. */
:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --surface-2: #efefea;
  --text: #1b1d1f;
  --muted: #55595e;
  --border: #d9d9d2;
  --accent: #1f5f3f;
  --accent-text: #ffffff;
  --link: #1d5a8c;
  --crit: #a3241b;
  --high: #8a4b00;
  --med: #5b4a00;
  --ok: #1f6b3a;
  --warn-bg: #fff4d6;
  --warn-border: #c89b1e;
  --code-bg: #15181b;
  --code-text: #e6e8e3;
  --code-dim: #9aa29a;
  --focus: #2b6cb0;
  --radius: 10px;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111315;
    --surface: #181b1e;
    --surface-2: #22272b;
    --text: #e8e9e6;
    --muted: #a6aba6;
    --border: #2e3338;
    --accent: #6fcf97;
    --accent-text: #0d1a12;
    --link: #8cc4f0;
    --crit: #ff8a80;
    --high: #ffb86b;
    --med: #e8d36a;
    --ok: #7fdc9f;
    --warn-bg: #2b2412;
    --warn-border: #a8841f;
    --code-bg: #0b0d0e;
    --code-text: #e6e8e3;
    --code-dim: #8d958d;
    --focus: #8cc4f0;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
}
a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 1px solid var(--border); background: var(--surface); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
nav.site ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover { color: var(--text); text-decoration: underline; }
main { display: block; }
section { padding: 56px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: 0; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 0 16px; max-width: 18ch; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 16px; }
h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 60ch; margin: 0 0 24px; }
.hero { padding-top: 64px; }
.eyebrow { font: 600 0.8rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin: 0 0 14px; }
.cmd {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  background: var(--code-bg); color: var(--code-text); border-radius: var(--radius);
  padding: 14px 16px; font-family: var(--mono); max-width: 640px;
}
.cmd code { font-size: 1rem; overflow-wrap: anywhere; }
.cmd code::before { content: "$ "; color: var(--code-dim); }
.badge {
  display: inline-block; font: 600 0.75rem/1 var(--sans); padding: 5px 8px; border-radius: 999px;
  border: 1px solid var(--warn-border); background: var(--warn-bg); color: var(--text);
}
.cmd .badge { margin-left: auto; }
.soon { margin: 0; }
.soon .badge { font-size: 0.9rem; padding: 8px 12px; }
.note { color: var(--muted); font-size: 0.95rem; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 0; margin: 32px 0 0; list-style: none; }
.points li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.points strong { display: block; margin-bottom: 4px; }
pre.report {
  background: var(--code-bg); color: var(--code-text); border-radius: var(--radius);
  padding: 18px; overflow-x: auto; font: 0.85rem/1.55 var(--mono); margin: 0;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
pre.report .c { color: #ff8a80; font-weight: 700; }
pre.report .h { color: #ffb86b; font-weight: 700; }
pre.report .m { color: #e8d36a; font-weight: 700; }
pre.report .d { color: var(--code-dim); }
pre.report .e { color: #7fdc9f; }
figure { margin: 0; }
figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 10px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
thead th { background: var(--surface-2); font-size: 0.9rem; }
td code, p code, li code { font-family: var(--mono); font-size: 0.9em; background: var(--surface-2); padding: 1px 5px; border-radius: 5px; }
.sev { font: 700 0.75rem/1 var(--mono); text-transform: uppercase; }
.sev.critical { color: var(--crit); }
.sev.high { color: var(--high); }
.sev.medium { color: var(--med); }
.yes { color: var(--ok); font-weight: 700; }
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 24px; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); }
.plan h3 { margin-top: 0; }
.price { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.02em; margin: 4px 0; }
.price small { font-size: 1rem; font-weight: 400; color: var(--muted); }
.plan ul { padding-left: 20px; margin: 12px 0 20px; }
.plan .spacer { flex: 1; }
.button {
  display: inline-block; text-align: center; background: var(--accent); color: var(--accent-text);
  font-weight: 700; text-decoration: none; padding: 12px 20px; border-radius: 8px; border: 0; cursor: pointer; font-size: 1rem;
}
.button.secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.button[aria-disabled="true"] { opacity: 0.85; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 16px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; }
details > :not(summary) { margin-top: 0; }
details[open] { padding-bottom: 14px; }
.callout { background: var(--warn-bg); border: 1px solid var(--warn-border); border-radius: var(--radius); padding: 14px 16px; margin: 0 0 24px; }
.draft { background: var(--warn-bg); border-bottom: 1px solid var(--warn-border); }
.draft .wrap { padding-top: 10px; padding-bottom: 10px; font-weight: 600; }
.legal { max-width: 760px; padding-top: 40px; padding-bottom: 56px; }
.legal h2 { font-size: 1.35rem; margin-top: 36px; }
footer.site { border-top: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: 0.9rem; }
footer.site .wrap { padding-top: 24px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.keybox { width: 100%; min-height: 6.5em; font: 0.9rem/1.5 var(--mono); padding: 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); resize: vertical; overflow-wrap: anywhere; }
.status { font-weight: 600; }
.hidden { display: none; }
form.inline { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
form.inline label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
form.inline input { font: inherit; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); min-width: 16rem; max-width: 100%; }
@media (max-width: 560px) {
  section { padding: 40px 0; }
  .cmd .badge { margin-left: 0; }
  form.inline input { min-width: 0; width: 100%; }
  form.inline label { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
/* Founder inputs still missing (release gate B1): visible until replaced, see founder-inputs.json. */
.founder-input { background: var(--warn-bg); color: inherit; border: 1px dashed var(--warn-border); border-radius: 3px; padding: 0 3px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; }
footer.site .tm { flex-basis: 100%; margin: 0; font-size: 0.85rem; }

/* 0.3.0: screenshots and the beginner guide */
.shot { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 16px 0 8px; align-items: start; }
.guide { max-width: 860px; padding-top: 40px; padding-bottom: 56px; }
.guide > section { padding: 36px 0; }
.guide h1 { max-width: none; }
.guide-toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; }
.guide-toc ol { margin: 6px 0 0; padding-left: 22px; columns: 2 220px; }
.stepnum { display: inline-grid; place-items: center; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-size: 0.85em; margin-right: 8px; vertical-align: 0.1em; }
pre.cmdblock { background: var(--code-bg); color: var(--code-text); border-radius: var(--radius); padding: 12px 16px; font: 0.9rem/1.55 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0 16px; }
.os { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 12px 0; }
.os > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; }
.os h3 { margin-top: 0; }
ol.callouts { padding-left: 22px; }
ol.callouts li { margin: 6px 0; }
.tip { border-left: 4px solid var(--accent); background: var(--surface); padding: 10px 14px; border-radius: 0 var(--radius) var(--radius) 0; margin: 14px 0; }
