/* StajPilot support site — shared stylesheet
   System fonts only, no external CDN, no gradients, minimal rounding. */

:root {
  --bg: #0a0b0d;
  --panel: #121317;
  --border: #272b32;
  --ink: #f2f3f5;
  --ink-dim: #9aa1ad;
  --ink-faint: #666c77;
  --accent: #33b1ff;
  --accent-2: #22d3ee;
  --radius: 4px;
  --max-w: 760px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

img { max-width: 100%; }

/* ---------- header ---------- */
header.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark .pilot { color: var(--accent); }

nav.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}

nav.site-nav a {
  color: var(--ink-dim);
  font-size: 15px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius);
  border: 1px solid transparent;
}

nav.site-nav a:hover {
  color: var(--ink);
  text-decoration: none;
}

nav.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--border);
  background: var(--panel);
}

/* ---------- layout ---------- */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 20px 64px;
}

main.wide { max-width: 880px; }

h1 {
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  text-wrap: balance;
}

h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 14px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

h2:first-of-type { border-top: none; padding-top: 0; }

h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 8px;
}

p { margin: 0 0 16px; color: var(--ink); }
.lede { font-size: 19px; color: var(--ink-dim); margin-bottom: 28px; }

ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 8px; }

.meta {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

/* ---------- buttons ---------- */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  background: var(--panel);
}
.btn:hover { border-color: var(--accent); color: var(--ink); text-decoration: none; }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #04121c;
}
.btn-primary:hover { border-color: var(--accent-2); background: var(--accent-2); color: #04121c; }

/* ---------- platform picker (index) ---------- */
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 36px;
}
@media (max-width: 520px) {
  .platform-grid { grid-template-columns: 1fr; }
}

.platform-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--ink);
}
.platform-card:hover { border-color: var(--accent); text-decoration: none; }
.platform-card .plat-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}
.platform-card .plat-title { font-size: 19px; font-weight: 700; }
.platform-card .plat-sub { color: var(--ink-dim); font-size: 14px; margin-top: 4px; }

/* ---------- feature list ---------- */
.feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}
@media (max-width: 560px) {
  .feature-list { grid-template-columns: 1fr; }
}
.feature-list li {
  padding-left: 18px;
  position: relative;
  color: var(--ink-dim);
  font-size: 15px;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

/* ---------- steps ---------- */
ol.steps { padding-left: 0; list-style: none; counter-reset: step; }
ol.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 42px;
  margin-bottom: 14px;
}
ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}

/* ---------- notice / callout blocks ---------- */
.notice {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 16px 18px;
  border-radius: var(--radius);
  margin: 20px 0;
  background: var(--panel);
}
.notice p:last-child { margin-bottom: 0; }

.legal {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 20px;
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 1.7;
}
.legal p { margin-bottom: 10px; color: var(--ink-faint); }

/* ---------- privacy bilingual layout ---------- */
.bilingual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 720px) {
  .bilingual { grid-template-columns: 1fr; gap: 8px; }
}
.bilingual > div { min-width: 0; }
.lang-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
  display: block;
}
.bilingual ol { padding-left: 20px; }
.bilingual li { font-size: 15px; color: var(--ink-dim); margin-bottom: 12px; }

/* ---------- iOS page prologue ---------- */
.prologue {
  border-bottom: 1px solid var(--border);
  padding-bottom: 28px;
  margin-bottom: 36px;
}
.prologue p { font-size: 15px; line-height: 1.75; color: var(--ink-dim); margin-bottom: 10px; }
.prologue p:first-of-type { color: var(--ink); font-weight: 700; }
.prologue figure { margin: 24px 0 0; }
.prologue figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.prologue figcaption { font-size: 13px; line-height: 1.6; color: var(--ink-faint); margin-top: 8px; }

/* ---------- support contact block ---------- */
.contact-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0 32px;
  text-align: center;
}
.contact-block .email-link {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
}

/* ---------- footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 20px 40px;
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-faint);
}
.footer-inner a { color: var(--ink-faint); }
.footer-inner a:hover { color: var(--accent); }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
