:root {
  --bg: #0d0c14;
  --bg-alt: #14121f;
  --surface: rgba(38, 33, 64, 0.45);
  --text: #efedf7;
  --muted: #9893ad;
  --border: rgba(239, 237, 247, 0.1);
  --accent: #a594ff;
  --accent-dark: #bcb0ff;
  --on-accent: #0d0c14;
  --radius: 14px;
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--bg); --scroll: 0; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: transparent;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 750; max-width: 16ch; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 12, 20, 0.78);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { color: var(--muted); font-size: 0.95rem; }
.nav__links a:not(.btn):hover { color: var(--text); }

.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.1rem; }
.logo:hover { color: var(--text); }
.logo__img { height: 22px; width: auto; display: block; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  border: 1px solid var(--accent);
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--accent-dark); color: var(--on-accent); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { background: var(--bg-alt); color: var(--text); }
.btn--small { padding: 8px 16px; font-size: 0.9rem; }
.btn--large { padding: 16px 30px; font-size: 1.15rem; }

.hero { padding: 110px 0 90px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }
.accent { color: var(--muted); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 58ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 40px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: 0.95rem; }
.hero__facts li::before { content: "✓"; color: var(--accent); margin-right: 8px; font-weight: 700; }

.section { padding: 90px 0; }
.section--alt { background: rgba(20, 18, 31, 0.6); }
.section__lead { color: var(--muted); max-width: 60ch; margin-bottom: 40px; }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.card--project { border-style: dashed; }
.tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: #c4b9ff; background: rgba(165, 148, 255, 0.14);
  padding: 3px 10px; border-radius: 999px; margin-bottom: 14px;
}
.meta { font-size: 0.85rem; font-weight: 600; color: var(--text) !important; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps__num { display: block; font-weight: 700; color: var(--accent); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.steps p { color: var(--muted); font-size: 0.97rem; }

.person { text-align: left; }
.person__avatar {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: #2a2350; color: var(--text); border: 1px solid var(--border);
  font-weight: 700; font-size: 1.2rem; margin-bottom: 16px;
}
.person h3 { margin-bottom: 2px; }
.person__role { color: var(--accent); font-size: 0.92rem; font-weight: 600; margin-bottom: 10px; }
.person p:not(.person__role) { color: var(--muted); }
.placeholder { font-style: italic; }

.faq { max-width: 760px; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-dark); }
.faq details p { color: var(--muted); margin: 0 0 22px; max-width: 64ch; }

.contact { text-align: center; }
.contact__inner { display: flex; flex-direction: column; align-items: center; }
.contact .section__lead { margin-bottom: 32px; }

.footer { border-top: 1px solid var(--border); padding: 28px 0; font-size: 0.9rem; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__logo { height: 34px; width: auto; display: block; }

/* Background: soft blurred blobs that drift slowly and move at different speeds on scroll. */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.5;
  translate: 0 calc(var(--scroll) * var(--speed) * 1px);
  animation: drift 22s ease-in-out infinite alternate;
  will-change: transform, translate;
}
.blob--1 { --speed: -0.12; width: 460px; height: 460px; top: -120px; right: -80px; background: #6d4cff; }
.blob--2 { --speed: -0.28; width: 340px; height: 340px; top: 55vh; left: -120px; background: #3b2a8f; animation-duration: 26s; }
.blob--3 { --speed: -0.45; width: 280px; height: 280px; top: 120vh; right: 8vw; background: #4a5cff; animation-duration: 30s; }
.blob--4 { --speed: -0.6; width: 380px; height: 380px; top: 190vh; left: 20vw; background: #5a3bd6; animation-duration: 34s; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 25px) scale(0.95); }
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob { animation: none; translate: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 860px) {
  .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav__links a:not(.btn) { display: none; }
  .hero { padding: 72px 0 60px; }
  .section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}
