/* Shared skin for the secondary pages (apply, welcome): the landing's tokens,
   light and night, driven by the same html[data-night] switch. */
:root { --ground:#F4F0E8; --card:#FBF9F4; --line:#E0D9CC; --text:#1A1714; --soft:#4A443C; --muted:#8A8276; --accent:#808080; }
html[data-night="on"] { --ground:#12110E; --card:#1C1A16; --line:#34312C; --text:#F4F0E8; --soft:#C9C3B8; --muted:#8A8276; }
* { box-sizing: border-box; margin: 0; }
html { color-scheme: light; } html[data-night="on"] { color-scheme: dark; }
body { background: var(--ground); color: var(--text); font-family: Inter, system-ui, -apple-system, sans-serif; font-size: 16px; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column;
  background-image: linear-gradient(rgba(26,23,20,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(26,23,20,.045) 1px, transparent 1px); background-size: 44px 44px; }
html[data-night="on"] body { background-image: linear-gradient(rgba(244,240,232,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(244,240,232,.035) 1px, transparent 1px); }
a { color: inherit; }
nav { width: min(92%, 1180px); margin: 0 auto; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.wordmark { font-weight: 800; font-size: 21px; letter-spacing: -.03em; color: var(--text); }
.wordmark span { color: var(--accent); }
.powered { font-size: 12.5px; color: var(--muted); } .powered b { font-weight: 600; color: var(--text); }
.links { display: flex; align-items: center; gap: 10px; }
.links a { font-size: 12px; font-weight: 600; color: var(--soft); text-decoration: none; padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; }
.nightbtn { display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--soft); cursor: pointer; }
.nightbtn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nightbtn .ni-sun { display: none; } html[data-night="on"] .nightbtn .ni-moon { display: none; } html[data-night="on"] .nightbtn .ni-sun { display: block; }
main { width: min(92%, 1180px); margin: 0 auto; padding: 28px 0 60px; flex: 1; }
.eyebrow { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
h1 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin-top: 10px; text-wrap: balance; }
.lead { margin-top: 12px; font-size: 17px; color: var(--soft); max-width: 60ch; }
.grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; margin-top: 34px; align-items: start; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px 28px; }
.card h2 { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.card ol, .card ul { margin: 14px 0 0; padding-left: 0; list-style: none; display: grid; gap: 12px; }
.card li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: 14.5px; color: var(--soft); }
.card li b { display: block; color: var(--text); font-weight: 700; }
.num { width: 26px; height: 26px; border-radius: 999px; background: var(--text); color: var(--ground); font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.tick { width: 26px; height: 26px; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; color: var(--text); }
.note { margin-top: 18px; font-size: 13px; color: var(--muted); }
.widget { background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.widget iframe { display: block; width: 100%; height: 820px; border: 0; background: #fff; }
.fallback { padding: 12px 16px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.fallback a { color: var(--text); }
.btn { display: inline-block; background: var(--text); color: var(--ground); font-weight: 600; font-size: 14.5px; padding: 12px 24px; border-radius: 999px; text-decoration: none; }
.steps { margin-top: 26px; display: grid; gap: 14px; }
.steps .card { padding: 20px 24px; }
footer { width: min(92%, 1180px); margin: 0 auto; padding: 22px 0 30px; border-top: 1px solid var(--line); font-family: "Geist Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
footer b { color: var(--text); font-weight: 600; }
footer .fl { display: flex; flex-wrap: wrap; gap: 16px; }
footer .fl a { color: var(--text); text-decoration: none; border-bottom: 1px solid transparent; }
footer .fl a:hover { border-bottom-color: var(--text); }

/* Legal pages: running text inside the same cards, one card per section. */
.legal .card + .card { margin-top: 14px; }
.legal .card p { margin-top: 10px; font-size: 14.5px; color: var(--soft); }
.legal .card p a, .legal .card li a { color: var(--text); }
.legal .card ul { display: block; margin-top: 10px; padding-left: 18px; list-style: disc; }
.legal .card li { display: list-item; font-size: 14.5px; color: var(--soft); margin-top: 6px; }
.legal .card li b { display: inline; }
.legal .lead { margin-bottom: 30px; }

@media (max-width: 600px) {
  nav, main, footer { width: calc(100% - 40px); }
  nav { padding: 12px 0; }
  .powered { display: none; }
  .nightbtn { width: 44px; height: 44px; flex: none; }
  .links a { display: inline-flex; align-items: center; min-height: 44px; }
  main { padding-top: 24px; }
  h1 { overflow-wrap: anywhere; }
  .lead { font-size: 16px; }
  .grid { gap: 20px; margin-top: 26px; }
  .card, .steps .card { padding: 20px 18px; }
  .card li { grid-template-columns: 26px minmax(0, 1fr); }
  footer { font-size: 9px; letter-spacing: .08em; }
}
