:root {
  --bg: #071018;
  --bg-soft: #101c28;
  --text: #eef3f7;
  --muted: #a8b6c4;
  --line: #24374b;
  --accent: #00d1b0;
  --accent-2: #f4a259;
  --max: 980px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 20% 0%, #172738 0%, var(--bg) 55%);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, sans-serif;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 95%);
  pointer-events: none;
  z-index: 0;
}

main,
header,
footer {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.hero {
  padding: 5rem 0 3rem;
  position: relative;
}

.hero__glow {
  position: absolute;
  width: min(460px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 209, 176, 0.24), transparent 70%);
  top: 0;
  right: -6rem;
  filter: blur(6px);
  pointer-events: none;
}

.eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.4rem;
  font-size: 0.84rem;
}

h1,
h2 {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.04em;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.94;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
  margin-bottom: 0.9rem;
}

.hero__tagline {
  max-width: 52ch;
  margin: 1rem 0 1.5rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  font-weight: 600;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #05231e;
  background: linear-gradient(90deg, var(--accent), #7fffd4);
}

.button--ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.panel {
  background: linear-gradient(180deg, rgba(16, 28, 40, 0.8), rgba(10, 20, 30, 0.92));
  border: 1px solid var(--line);
  border-radius: 16px;
  margin: 1rem 0;
  padding: 1.2rem 1.1rem;
}

.panel p {
  margin: 0;
  color: #d1dce7;
  line-height: 1.62;
}

.panel--project {
  border-color: #2f4f66;
}

.project-meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.project-meta span {
  font-size: 0.85rem;
  border: 1px solid #31516b;
  color: #b7d2e8;
  border-radius: 999px;
  padding: 0.3rem 0.68rem;
  background: rgba(25, 41, 56, 0.65);
}

.panel--contact a {
  color: var(--accent-2);
  text-decoration: none;
}

.contact-line {
  margin-top: 0.5rem;
}

footer {
  padding: 1.25rem 0 2.1rem;
  color: #8ea1b5;
  font-size: 0.92rem;
}

@media (min-width: 760px) {
  .panel {
    padding: 1.45rem 1.5rem;
  }
}
