/* Unfold — public information site for the "OrbitUnfold Uploader" Google OAuth app.
   Static, no JavaScript, no external fonts or requests, no cookies. */
:root {
  --bg: #07111f;
  --bg-2: #0b1a2e;
  --panel: #0f2238;
  --line: #1f3a5c;
  --text: #e6eef8;
  --muted: #a9bbd1;
  --accent: #5cc8ff;
  --accent-2: #8fe3ff;
  --warn-bg: #3a2a07;
  --warn-line: #d9a527;
  --warn-text: #ffe7a8;
  --radius: 10px;
  --max: 920px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 80% -10%, #12345a 0%, transparent 60%), var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
a:focus-visible, .skip:focus { outline: 3px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }

.skip {
  position: absolute; left: -999px; top: 8px; background: var(--panel); color: var(--text);
  padding: 8px 12px; border-radius: 6px; z-index: 10;
}
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

header.site {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.85);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.brand img { width: 28px; height: 28px; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
nav a[aria-current="page"] { border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

main { padding: 40px 0 56px; }

.hero { padding: 24px 0 8px; }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; margin: 0 0 8px; }
h1 { font-size: clamp(28px, 5vw, 42px); line-height: 1.2; margin: 0 0 16px; }
h2 { font-size: 22px; margin: 40px 0 12px; }
h3 { font-size: 17px; margin: 24px 0 8px; }
p.lead { font-size: 18px; color: var(--muted); max-width: 46em; }
.muted { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
.card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
}
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 16px 0; }
.panel p:first-child { margin-top: 0; }
.panel p:last-child { margin-bottom: 0; }

ul.check { padding-left: 20px; }
ul.check li { margin: 6px 0; }

table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 700; background: var(--bg-2); }
td code { word-break: break-all; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .92em; background: #0a1729; padding: 1px 5px; border-radius: 4px; color: var(--accent-2); }

/* Owner placeholders: must be completed before publication (check_site.py --release refuses them). */
mark.todo {
  background: var(--warn-bg); color: var(--warn-text); border: 1px dashed var(--warn-line);
  border-radius: 4px; padding: 0 4px;
}

.updated { color: var(--muted); font-size: 14px; }
.toc { columns: 2; column-gap: 32px; padding-left: 20px; }
.toc li { margin: 4px 0; break-inside: avoid; }

footer.site { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }

@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
  .toc { columns: 1; }
  main { padding-top: 24px; }
}
