:root {
  --bg: #07070b;
  --bg-soft: #0d0d14;
  --fg: #eef0f7;
  --fg-dim: #9aa0b4;
  --fg-dimmer: #686f85;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --accent-a: #5eead4;
  --accent-b: #818cf8;
  --accent-c: #c084fc;
  --gradient: linear-gradient(120deg, var(--accent-a), var(--accent-b) 55%, var(--accent-c));
  --radius: 16px;
  --mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* background fx */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
}

.bg-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  width: 1200px;
  height: 800px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(94, 234, 212, 0.16), rgba(129, 140, 248, 0.12) 45%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 7, 11, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.logo__mark {
  font-family: var(--mono);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.nav { display: flex; gap: 32px; }

.nav__link {
  font-size: 14.5px;
  color: var(--fg-dim);
  transition: color 0.15s ease;
}

.nav__link:hover, .nav__link.is-active { color: var(--fg); }

.nav__cta { display: inline-flex; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  cursor: pointer;
}

.btn--small { padding: 9px 18px; font-size: 13.5px; }

.btn--primary {
  background: var(--gradient);
  color: #07070b;
}

.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(129, 140, 248, 0.35); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--fg);
}

.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* hero */
.hero {
  padding: 120px 0 88px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent-a);
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  font-weight: 800;
}

.hero h1 .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 19px;
  color: var(--fg-dim);
}

.hero__cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* tech strip */
.tech-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tech-strip__label {
  text-align: center;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--fg-dimmer);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pill {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg-dim);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  padding: 7px 14px;
  border-radius: 8px;
}

/* sections */
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }

.section__head { max-width: 620px; margin: 0 0 56px; }
.section__head.center { margin: 0 auto 56px; text-align: center; }

.section__kicker {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent-b);
  margin-bottom: 14px;
  display: block;
}

.section__head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  font-weight: 750;
}

.section__head p { color: var(--fg-dim); font-size: 17px; margin: 0; }

/* cards grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
}

.card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  color: #07070b;
  margin-bottom: 20px;
  font-size: 15px;
}

.card h3 { font-size: 18px; margin: 0 0 10px; font-weight: 650; }
.card p { color: var(--fg-dim); font-size: 15px; margin: 0; }

.card ul {
  margin: 14px 0 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card ul li {
  font-size: 14px;
  color: var(--fg-dim);
  padding-left: 18px;
  position: relative;
}

.card ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--accent-a);
  font-family: var(--mono);
}

/* work / case studies */
.work-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.work-card__status {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-a);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.work-card h3 { margin: 14px 0 10px; font-size: 20px; }
.work-card p { color: var(--fg-dim); margin: 0; }

/* CTA banner */
.cta-banner {
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(94, 234, 212, 0.08), rgba(192, 132, 252, 0.08));
  padding: 64px 48px;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  margin: 0 0 16px;
  font-weight: 750;
}

.cta-banner p { color: var(--fg-dim); margin: 0 0 32px; }

/* prose pages (about/contact) */
.prose { max-width: 720px; margin: 0 auto; padding: 96px 24px; }
.prose h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 28px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.prose h2 { font-size: 22px; margin: 40px 0 14px; font-weight: 700; }
.prose p { color: var(--fg-dim); font-size: 16.5px; margin: 0 0 18px; }
.prose ul { color: var(--fg-dim); padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--fg); }
.prose a { color: var(--accent-a); border-bottom: 1px solid rgba(94, 234, 212, 0.35); }

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
}

.contact-row .label { font-family: var(--mono); font-size: 12.5px; color: var(--fg-dimmer); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-row .value { font-size: 16px; font-weight: 600; }
.contact-row a.value:hover { color: var(--accent-a); }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding-top: 56px; margin-top: 80px; }

.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
}

.footer__brand { font-weight: 700; max-width: 260px; }
.footer__brand p { color: var(--fg-dimmer); font-size: 14px; font-weight: 400; margin: 10px 0 0; }

.footer__links, .footer__social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  color: var(--fg-dim);
}

.footer__links a:hover, .footer__social a:hover { color: var(--fg); }

.footer__legal {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  font-size: 13px;
  color: var(--fg-dimmer);
}

@media (max-width: 720px) {
  .nav { display: none; }
  .hero { padding: 88px 0 64px; }
  .cta-banner { padding: 48px 28px; }
}
