:root {
  --bg: #0b1020;
  --surface: #121a30;
  --text: #f4f7fb;
  --muted: #a8b2c7;
  --accent: #66d9c3;
  --border: #27324c;
  --max-width: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #18264a 0, var(--bg) 38%);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
.site-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { font-weight: 800; letter-spacing: -0.03em; }
nav { display: flex; gap: 1.25rem; }
nav a { color: var(--muted); }
nav a:hover { color: var(--text); }

main, footer { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.hero { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; max-width: 820px; }
.eyebrow, .section-label { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; }
h1 { margin: 0.3rem 0 1rem; font-size: clamp(3rem, 9vw, 6.5rem); line-height: 0.95; letter-spacing: -0.06em; }
h2 { margin: 0.25rem 0 1rem; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; letter-spacing: -0.04em; }
h3 { margin: 0.7rem 0; }
.intro, .section > p:not(.section-label) { color: var(--muted); font-size: 1.12rem; max-width: 760px; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.button { padding: 0.8rem 1.1rem; border-radius: 0.65rem; font-weight: 700; border: 1px solid var(--border); }
.button.primary { color: #07120f; background: var(--accent); border-color: var(--accent); }
.button.secondary { background: rgba(255,255,255,0.03); }
.section { padding: 5rem 0; border-top: 1px solid var(--border); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.card { padding: 1.4rem; border: 1px solid var(--border); background: rgba(18,26,48,0.75); border-radius: 1rem; }
.card p { color: var(--muted); }
.tag { color: var(--accent); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
footer { color: var(--muted); padding-top: 2rem; padding-bottom: 2rem; border-top: 1px solid var(--border); }

@media (max-width: 760px) {
  .site-header { align-items: flex-start; }
  nav { gap: 0.75rem; font-size: 0.9rem; }
  .project-grid { grid-template-columns: 1fr; }
}
