/* EVA-Fly — fly.eva-org.com. System fonts only (no external assets), WCAG AA contrast, rem sizing, no motion. */
:root {
  --bg: #ffffff; --fg: #15202b; --muted: #4a5663; --accent: #0b5cad; --accent-fg: #ffffff; --line: #d9dee3; --input-line: #5f6b78; --soft: #f2f5f8; --ok: #146c43; --warn: #8a4b00;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1419; --fg: #e8edf2; --muted: #aab4bf; --accent: #6db3ff; --accent-fg: #0f1419; --line: #2a3542; --input-line: #93a0ad; --soft: #171e26; --ok: #58c38a; --warn: #f0b35b; }
}
* { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.6; font-size: 1.0625rem; }
a { color: var(--accent); text-underline-offset: 0.15em; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-fg); padding: .5rem 1rem; }
.skip:focus { left: 1rem; z-index: 10; }
.top, .foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.foot { border-bottom: 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; margin-top: 3rem; }
.brand { font-weight: 700; font-size: 1.25rem; text-decoration: none; color: var(--fg); }
nav { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
nav a { margin: 0; }
th, td { overflow-wrap: anywhere; }
h1 .slogan { display: block; font-size: 1.15rem; font-weight: 400; color: var(--muted); margin-top: .25rem; }
main { max-width: 56rem; margin: 0 auto; padding: 1.5rem 1.25rem; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; margin: .5rem 0 .75rem; }
h2 { font-size: 1.5rem; margin: 2.25rem 0 .75rem; }
h3 { font-size: 1.15rem; margin: 1.25rem 0 .5rem; }
.slogan { font-size: 1.25rem; color: var(--muted); margin: 0 0 1.5rem; }
.lead { font-size: 1.15rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin: 1rem 0; padding: 0; list-style: none; }
.grid li { background: var(--soft); border: 1px solid var(--line); border-radius: .75rem; padding: 1rem; }
.grid li strong { display: block; margin-bottom: .25rem; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-fg); padding: .75rem 1.25rem; border-radius: .6rem; text-decoration: none; font-weight: 600; }
.btn.secondary { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.notice { border-left: 4px solid var(--warn); background: var(--soft); padding: .75rem 1rem; border-radius: .4rem; }
.notice.ok { border-left-color: var(--ok); }
dl.faq dt { font-weight: 700; margin-top: 1rem; }
dl.faq dd { margin: .25rem 0 0; }
table { border-collapse: collapse; width: 100%; margin: 1rem 0; }
th, td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--soft); }
code { background: var(--soft); padding: .1rem .35rem; border-radius: .3rem; font-size: .95em; }
.steps { counter-reset: s; padding-left: 0; list-style: none; }
.steps li { counter-increment: s; margin: .75rem 0; padding-left: 2.5rem; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--accent); color: var(--accent-fg); display: grid; place-items: center; font-weight: 700; }
.invite .code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 2rem; letter-spacing: .15em; background: var(--soft); border: 1px dashed var(--line); padding: .75rem 1rem; border-radius: .6rem; display: inline-block; }
.code-label { color: var(--muted); margin-bottom: .25rem; }
.error { color: var(--warn); font-weight: 600; }
form.auth { max-width: 26rem; }
form.auth label { display: block; font-weight: 600; margin: 1rem 0 .3rem; }
form.auth input { width: 100%; font: inherit; padding: .6rem .7rem; border: 1.5px solid var(--input-line); border-radius: .5rem; background: var(--bg); color: var(--fg); }
form.auth button { margin-top: 1.25rem; font: inherit; }
.btn-row { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1rem 0; }
.muted { color: var(--muted); }
.qr { width: 12rem; height: 12rem; image-rendering: pixelated; border: 8px solid #fff; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
