/* RecoverOS brand tokens. Navy = trust & ledger; emerald = money recovered; amber = attention. */
:root {
  --navy-950: #060E1A;
  --navy-900: #0B1A2E;
  --navy-850: #0F2139;
  --navy-800: #142A46;
  --navy-700: #1E3A5C;
  --ink-100: #E8EEF5;
  --ink-300: #B6C4D3;
  --ink-500: #7F93A8;
  --emerald-300: #7FE0BE;
  --emerald-400: #34C79A;
  --emerald-500: #1FA87E;
  --emerald-700: #0F6E53;
  --amber-400: #E6B14F;
  --red-400: #E07A6B;
  --sky-400: #6CA8E8;

  --bg: #F4F6F9;
  --surface: #FFFFFF;
  --surface-2: #F8FAFC;
  --text: #0B1A2E;
  --text-2: #4A5D73;
  --text-3: #5D6F84;
  --border: #E2E8EF;
  --accent: #0E7656;
  --accent-soft: #E3F6EF;
  --warn: #855300;
  --warn-soft: #FCF3E1;
  --danger: #A0371F;
  --danger-soft: #FBEAE6;
  --info: #255C97;
  --info-soft: #E7F0FA;

  --font-display: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(11, 26, 46, .06), 0 4px 16px rgba(11, 26, 46, .06);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08121F; --surface: #0E1C30; --surface-2: #112238; --text: #E8EEF5; --text-2: #B6C4D3; --text-3: #7F93A8;
    --border: #1E3350; --accent: #34C79A; --accent-soft: rgba(52, 199, 154, .12); --warn: #E6B14F; --warn-soft: rgba(230, 177, 79, .12);
    --danger: #E9907F; --danger-soft: rgba(224, 122, 107, .12); --info: #8BBCF0; --info-soft: rgba(108, 168, 232, .12);
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  }
}
:root[data-theme="dark"] {
  --bg: #08121F; --surface: #0E1C30; --surface-2: #112238; --text: #E8EEF5; --text-2: #B6C4D3; --text-3: #7F93A8;
  --border: #1E3350; --accent: #34C79A; --accent-soft: rgba(52, 199, 154, .12); --warn: #E6B14F; --warn-soft: rgba(230, 177, 79, .12);
  --danger: #E9907F; --danger-soft: rgba(224, 122, 107, .12); --info: #8BBCF0; --info-soft: rgba(108, 168, 232, .12);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-sans); color: var(--text); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
.num, .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--emerald-400); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -.02em; font-size: 18px; }
.brand img { width: 28px; height: 28px; }
.brand .os { color: var(--emerald-400); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 11px 20px; font-weight: 600; font-size: 15px; border: 1px solid transparent; text-decoration: none; transition: transform .15s var(--ease), background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--emerald-400); color: #04261B; }
.btn-primary:hover { background: var(--emerald-300); }
.btn-ghost { border-color: rgba(232, 238, 245, .22); color: var(--ink-100); background: transparent; }
.btn-ghost:hover { border-color: rgba(232, 238, 245, .5); }
.btn-sm { padding: 7px 14px; font-size: 13.5px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

.pilot-badge { display: inline-block; margin-left: 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(230, 177, 79, .55); color: var(--amber-400); vertical-align: middle; }
