/* Lintel brand tokens and shared components for the apex site.
   Palette is a single indigo accent rendered at two tints: a deep shade for
   light mode (contrast on white) and a lighter, less saturated shade for dark
   mode (contrast on near-black). Both meet WCAG AA for text. Neutrals are a
   cool slate biased slightly toward the accent so greys read as intentional. */

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --fg: #0f172a;
  --muted: #64748b;
  --accent: #4f46e5;
  --accent-strong: #4338ca;
  --border: #e2e8f0;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1220;
    --surface: #111b2e;
    --fg: #e5e9f0;
    --muted: #94a3b8;
    --accent: #818cf8;
    --accent-strong: #a5b4fc;
    --border: #1e293b;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1220;
  --surface: #111b2e;
  --fg: #e5e9f0;
  --muted: #94a3b8;
  --accent: #818cf8;
  --accent-strong: #a5b4fc;
  --border: #1e293b;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font:
    16px/1.65 "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--accent);
}

/* The monogram: a real Sora capital L knocked out of a rounded accent tile.
   The letter is painted in the page background so it adapts to either mode. */
.mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--bg);
  font-family:
    "Sora",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-weight: 700;
  line-height: 1;
  border-radius: 28%;
  flex: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--fg);
}
.brand .word {
  font-family:
    "Sora",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-weight: 650;
  letter-spacing: -0.02em;
}

footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
footer a {
  color: var(--muted);
  text-decoration: none;
}
footer a:hover {
  color: var(--fg);
  text-decoration: underline;
}
