:root {
  color-scheme: dark;
  --bg: #0b1220;
  --panel: #111a2e;
  --panel-strong: #0e1628;
  --text: #eaf0ff;
  --muted: #b6c2e2;
  --accent: #7aa2ff;
  --accent-strong: #a7c0ff;
  --border: rgba(122, 162, 255, 0.3);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  background: radial-gradient(1400px 700px at 20% 0%, #1a2b57 0%, var(--bg) 55%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-strong);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 14px;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  z-index: 10;
}

.skip-link:focus-visible {
  left: 12px;
}

.parallax-layers {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.parallax-item {
  position: absolute;
  display: block;
  will-change: transform;
  --tx: 0px;
  --ty: 0px;
  --rotate: 0deg;
  transform: translate3d(var(--tx), var(--ty), 0) rotate(var(--rotate));
  transition: opacity 240ms ease;
}

.orb {
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0.85;
  mix-blend-mode: screen;
  background: radial-gradient(
    circle at 32% 32%,
    rgba(122, 162, 255, 0.5) 0%,
    rgba(167, 192, 255, 0.35) 28%,
    rgba(11, 18, 32, 0) 60%
  );
}

.orb-a {
  width: 520px;
  height: 520px;
  top: -140px;
  left: -140px;
}

.orb-b {
  width: 420px;
  height: 420px;
  top: 260px;
  right: -100px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(122, 255, 229, 0.35) 0%,
    rgba(122, 162, 255, 0.35) 32%,
    rgba(11, 18, 32, 0) 60%
  );
}

.orb-c {
  width: 440px;
  height: 440px;
  bottom: -120px;
  left: 10%;
}

.orb-d {
  width: 360px;
  height: 360px;
  bottom: 140px;
  right: 12%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 198, 122, 0.18) 0%,
    rgba(167, 192, 255, 0.3) 34%,
    rgba(11, 18, 32, 0) 58%
  );
}

.beam {
  height: 240px;
  width: 78%;
  border-radius: 38px;
  filter: blur(10px);
  opacity: 0.55;
  mix-blend-mode: screen;
  background: linear-gradient(
    110deg,
    rgba(122, 162, 255, 0),
    rgba(122, 162, 255, 0.16),
    rgba(167, 192, 255, 0.08),
    rgba(122, 162, 255, 0)
  );
}

.beam-a {
  top: 18%;
  left: -12%;
  --rotate: -9deg;
}

.beam-b {
  bottom: -4%;
  right: -18%;
  height: 260px;
  --rotate: 7deg;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  border-bottom: 1px solid rgba(122, 162, 255, 0.12);
}

.hero {
  padding: 64px 0 48px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 10px;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 44px);
}

.tagline {
  margin: 0 0 20px;
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(122, 162, 255, 0.08);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 120ms ease,
    border-color 120ms ease,
    background 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  background: rgba(122, 162, 255, 0.14);
}

.button.ghost {
  background: transparent;
}

.section {
  padding: 56px 0;
  border-bottom: 1px solid rgba(122, 162, 255, 0.08);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
}

.section-header h2 {
  margin: 0;
  font-size: 24px;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

.lead {
  margin: 0;
  max-width: 760px;
  font-size: 18px;
  color: var(--text);
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.7;
}

.list li + li {
  margin-top: 6px;
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-list li {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(122, 162, 255, 0.12);
  color: var(--text);
  font-size: 14px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-strong) 100%);
  border: 1px solid rgba(122, 162, 255, 0.2);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.card-points {
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--text);
}

.card-points li + li {
  margin-top: 4px;
}

.tags {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(122, 162, 255, 0.14);
  border: 1px solid rgba(122, 162, 255, 0.3);
  font-size: 13px;
  color: var(--text);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition:
    color 150ms ease,
    gap 150ms ease;
}

.project-link:hover {
  color: var(--accent-strong);
  gap: 10px;
}

.project-link .arrow {
  transition: transform 150ms ease;
}

.project-link:hover .arrow {
  transform: translateX(2px);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-list a {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(122, 162, 255, 0.1);
  color: var(--text);
}

.contact-list a:hover {
  border-color: var(--accent);
}

.site-footer {
  padding: 28px 0 36px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
}

.footer-link {
  color: var(--text);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--accent-strong);
}

@media (max-width: 720px) {
  .actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 44px 0;
  }
}
