:root {
  color-scheme: dark;
  --bg: #0d1117;
  --panel: #151b23;
  --text: #eef3f8;
  --muted: #9ba8b7;
  --line: #2b3542;
  --accent: #8bd3c7;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--bg); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 15%, rgba(94, 178, 165, .16), transparent 34rem),
    linear-gradient(160deg, #10161e 0%, var(--bg) 55%);
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.shell {
  width: min(1040px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.compact { grid-template-rows: 1fr; align-items: center; }

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
.brand { color: var(--text); font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }

.hero, .page { align-self: center; max-width: 760px; padding: 80px 0; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: .78rem; font-weight: 750; letter-spacing: .18em; }
h1 { max-width: 720px; margin: 0; font-size: clamp(2.5rem, 8vw, 5.5rem); line-height: 1.02; letter-spacing: -.055em; }
.page h1 { font-size: clamp(2.3rem, 6vw, 4.5rem); }
.lead { max-width: 680px; margin: 28px 0 38px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }

.button, .text-link { display: inline-block; text-decoration: none; font-weight: 700; }
.button { padding: 12px 18px; color: #0b1715; background: var(--accent); border-radius: 10px; }
.button:hover { filter: brightness(1.08); }
.text-link { color: var(--accent); }

footer { padding: 28px 0; color: var(--muted); border-top: 1px solid var(--line); font-size: .9rem; }

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1040px); }
  .hero, .page { padding: 64px 0; }
}
