/* TrueCore Hosting — shared stylesheet
   Include this on every page. Page-specific styles go in assets/<page>.css */

:root {
  --bg:#0a0a0a; --bg2:#111; --bg3:#161616;
  --border:#1e1e1e; --text:#e2e2e2; --muted:#777; --dim:#444;
  --accent:#e07b39; --accent-h:#f08d4a; --accentH:#f08d4a;
  --ok:#3dbe5e; --bad:#e04040; --warn:#f0b429;
  --r:8px; --radius:8px;
}
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }

/* ── Nav ────────────────────────────────────────────────────────────── */
nav { position: sticky; top: 0; z-index: 100; background: rgba(10,10,10,0.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); padding: 0 5%; display: flex; align-items: center; height: 54px; }
.nav-brand { font-weight: 900; font-size: 16px; color: var(--accent); letter-spacing: -0.02em; text-decoration: none; flex-shrink: 0; display: flex; align-items: center; gap: 7px; }
.nav-logo { width: 11px; height: 16px; flex-shrink: 0; }
.nav-links { display: flex; gap: 4px; margin-left: 28px; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: none; padding: 5px 11px; border-radius: 5px; transition: color .12s, background .12s; }
.nav-links a:hover { color: var(--text); background: var(--bg3); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-signin { font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 6px 13px; border-radius: 6px; border: 1px solid var(--border); transition: color .12s, border-color .12s, background .12s; }
.nav-signin:hover { color: var(--text); border-color: #444; background: var(--bg3); }
.nav-cta { background: var(--accent); color: #fff; font-weight: 800; font-size: 13px; padding: 7px 16px; border-radius: 6px; text-decoration: none; transition: background .12s; }
.nav-cta:hover { background: var(--accent-h); }
.theme-toggle, .font-toggle { background: none; border: 1px solid var(--border); color: var(--muted); cursor: pointer; font-size: 13px; padding: 5px 9px; border-radius: 6px; line-height: 1; transition: color .12s, border-color .12s; font-family: inherit; }
.theme-toggle:hover, .font-toggle:hover { color: var(--text); border-color: var(--dim); }

/* ── Light theme ────────────────────────────────────────────────────── */
[data-theme="light"] { --bg:#fff; --bg2:#f5f5f5; --bg3:#ebebeb; --border:#d4d4d4; --text:#111; --muted:#555; --dim:#999; }
[data-theme="light"] nav { background: rgba(255,255,255,.92); }

/* ── Font size ──────────────────────────────────────────────────────── */
[data-fontsize="large"] body { zoom: 1.2; }

/* ── Footer ─────────────────────────────────────────────────────────── */
footer { padding: 28px 5%; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.footer-brand { font-size: 13px; font-weight: 900; color: var(--accent); }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 11px; color: var(--dim); width: 100%; }

@media (max-width: 480px) { .nav-links { display: none; } }
