/*
 * MirrorOrbit Edge — infrastructure notes site
 * Minimal static stylesheet. No frameworks, no JavaScript.
 * Same design system as the main site, teal accent.
 */

:root {
  --bg: #fafafa;
  --fg: #1c1e21;
  --muted: #5c616b;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --rule: #e5e5e9;
  --max: 44rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131316;
    --fg: #e7e8ea;
    --muted: #9aa0ab;
    --accent: #2dd4bf;
    --accent-strong: #5eead4;
    --rule: #26272c;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.brand {
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--fg);
  white-space: nowrap;
}

.brand:hover {
  color: var(--fg);
  text-decoration: none;
}

.brand-sub {
  color: var(--accent);
  font-weight: 450;
}

.site-header nav {
  display: flex;
  gap: 1.25rem;
}

.site-header nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-header nav a:hover {
  color: var(--fg);
  text-decoration: none;
}

/* Main */

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

main > section + section {
  border-top: 1px solid var(--rule);
}

.hero {
  padding: 2.5rem 0;
}

.eyebrow {
  margin: 0 0 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0;
  max-width: 38rem;
  font-size: 1.1rem;
  color: var(--muted);
}

section {
  padding: 1.75rem 0;
}

h2 {
  margin: 0 0 0.9rem;
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

section p {
  margin: 0 0 0.9rem;
}

section p:last-child {
  margin-bottom: 0;
}

/* Topic list */

.topic-list {
  margin: 0;
  padding-left: 1.1rem;
}

.topic-list li {
  margin-bottom: 0.45rem;
}

/* Footer */

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--muted);
}
