/* EagLeoX LLC site. Layout: one narrow reading column, a quiet header, app cards side by side on wide screens. */
:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --fg: #17211c;
  --muted: #56625b;
  --line: #dde2dc;
  --accent: #b5741c;
  --accent-ink: #8a560f;
  --deep: #1d3a2f;
  --note: #fbf3e4;
  --font-head: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111814; --surface: #18221d; --fg: #e8ede9; --muted: #a3b0a8;
    --line: #2b3832; --accent: #e3a24a; --accent-ink: #f0b866; --deep: #cfe3d8; --note: #2a2417;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111814; --surface: #18221d; --fg: #e8ede9; --muted: #a3b0a8;
  --line: #2b3832; --accent: #e3a24a; --accent-ink: #f0b866; --deep: #cfe3d8; --note: #2a2417;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; text-wrap: balance; color: var(--deep); }
h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 600; margin: 0 0 12px; letter-spacing: -0.01em; }
h2 { font-size: 1.35rem; font-weight: 600; margin: 40px 0 10px; }
h3 { font-size: 1.05rem; font-weight: 600; margin: 24px 0 6px; }
p, li { max-width: 65ch; }
ul { padding-left: 1.2em; }
li { margin: 4px 0; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; }
.brand { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--deep); text-decoration: none; letter-spacing: 0.01em; }
.brand span { color: var(--accent); }
.nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 0.95rem; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--fg); }

/* Home */
.hero { padding-block: 56px 24px; }
.hero p { font-size: 1.1rem; color: var(--muted); margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; font-weight: 600; color: var(--accent-ink); margin: 0 0 10px; }
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 12px; }
.app { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.app h3 { margin: 0; font-size: 1.25rem; }
.app .tag { margin: 0; font-weight: 600; color: var(--fg); }
.app p { margin: 0; color: var(--muted); }
.app .links { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.95rem; }
.status { display: inline-block; font-size: 0.78rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); align-self: flex-start; }
.contact { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: grid; gap: 4px; }
.contact p { margin: 0; }

/* Legal pages */
.doc { padding-block: 40px 24px; }
.meta { color: var(--muted); font-size: 0.95rem; margin: 0 0 24px; }
.callout { background: var(--note); border-left: 4px solid var(--accent); border-radius: 6px; padding: 16px 18px; margin: 24px 0; }
.callout h2, .callout h3 { margin-top: 0; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 36px; margin: 10px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--deep); color: var(--bg); font-size: 0.8rem; font-weight: 700; display: grid; place-items: center; }
.email { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.95em; user-select: all; }
.toc { font-size: 0.95rem; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); margin-top: 56px; }
.site-foot .wrap { padding-block: 24px; color: var(--muted); font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.site-foot a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
html { scroll-behavior: smooth; }
