:root {
  --bg: #0b1020;
  --card: #1a2240;
  --text: #f5f7ff;
  --muted: #b8c0e6;
  --accent: #67f0ba;
  --accent-dark: #2b8f6c;
  --border: #2d3762;
  --max: 1120px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(circle at top right, #1d2c53, var(--bg));
  color: var(--text);
}
.container { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(6px);
  background: #0b1020cc;
  border-bottom: 1px solid #ffffff1a;
}
.nav-wrap { display: flex; justify-content: space-between; align-items: center; min-height: 68px; gap: 1rem; }
.brand { color: var(--text); text-decoration: none; font-weight: 700; }
.brand span { background: var(--accent); color: #0e1a37; border-radius: 999px; padding: 0.15rem 0.45rem; font-size: 0.72rem; }
.hero { padding: 4rem 0 2.2rem; }
.eyebrow { color: #9df7d7; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; margin: 0 0 .6rem; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.12; margin: 0 0 1rem; max-width: 19ch; }
.lead { color: var(--muted); max-width: 62ch; }
.actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.2rem; }
.section { padding: 1.6rem 0 2.2rem; }
.section-head p { color: var(--muted); margin-top: 0; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card, .result {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  border-radius: .7rem;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
}
.btn.primary { background: linear-gradient(135deg, #39a37d, var(--accent-dark)); border-color: #48bb93; }
.btn.secondary { background: #223062; }
#query {
  width: 100%;
  border-radius: .8rem;
  border: 1px solid var(--border);
  background: #0d1634;
  color: var(--text);
  padding: .85rem .9rem;
}
.results { list-style: none; padding: 0; display: grid; gap: .8rem; }
.result a { color: #aef9de; font-weight: 700; text-decoration: none; }
.result small, .meta { color: var(--muted); }
footer { padding: 2rem 0 3rem; color: var(--muted); font-size: .92rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
