/* Geth Hub brand tokens (Design Library v1.0.0). Corporate palette on light, dark palette on dark. */
:root {
  --gh-navy: #0B1A3D;
  --gh-blue: #1E5BC6;
  --gh-green: #23935A;
  --gh-red: #C8313A;
  --gh-slate: #5B6578;
  --gh-surface: #F6F7F9;
  --gh-line: #E1E5EC;
  --gh-bg: #FFFFFF;
  --gh-font: Inter, "Helvetica Neue", Arial, sans-serif;
  --gh-radius: 14px;
  --gh-button-radius: 8px;
  --gh-space: 8px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --gh-navy: #E8EEF9;
    --gh-blue: #3D8BFF;
    --gh-green: #34D058;
    --gh-red: #FF4D55;
    --gh-slate: #9AA6BF;
    --gh-surface: #0E1730;
    --gh-line: #1E2A44;
    --gh-bg: #070D1F;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --gh-navy: #E8EEF9;
  --gh-blue: #3D8BFF;
  --gh-green: #34D058;
  --gh-red: #FF4D55;
  --gh-slate: #9AA6BF;
  --gh-surface: #0E1730;
  --gh-line: #1E2A44;
  --gh-bg: #070D1F;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--gh-bg);
  color: var(--gh-navy);
  font-family: var(--gh-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--gh-blue);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--gh-button-radius);
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--gh-line);
}
.brand {
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--gh-navy);
  text-decoration: none;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
nav a {
  color: var(--gh-slate);
  text-decoration: none;
  font-weight: 500;
}
nav a[aria-current="page"],
nav a:hover,
nav a:focus-visible {
  color: var(--gh-blue);
}

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

section {
  padding: 32px 0;
  border-bottom: 1px solid var(--gh-line);
}
section:last-child { border-bottom: 0; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gh-blue);
  margin: 0 0 8px;
}

h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--gh-navy);
}
h2 {
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 16px;
  color: var(--gh-navy);
}
h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--gh-navy);
}

.hero p {
  color: var(--gh-slate);
  max-width: 65ch;
}

.button {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 18px;
  background: var(--gh-blue);
  color: #fff;
  border-radius: var(--gh-button-radius);
  text-decoration: none;
  font-weight: 600;
}
.button:hover { filter: brightness(1.08); }
.button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gh-blue);
  outline-offset: 2px;
}

a { color: var(--gh-blue); }

.cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.cards li,
.role {
  background: var(--gh-surface);
  border: 1px solid var(--gh-line);
  border-radius: var(--gh-radius);
  padding: 16px;
}
.cards p,
.role p {
  margin: 0;
  color: var(--gh-slate);
}
.role p + p { margin-top: 12px; }

.site-footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px;
  color: var(--gh-slate);
  font-size: 14px;
  border-top: 1px solid var(--gh-line);
}
