:root {
  --bg: #09090b;
  --fg: #fafafa;
  --muted: #a1a1aa;
  --accent: #22c8ff;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Syne", "Manrope", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 4rem;
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--fg);
  background: var(--bg);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius);
  background: #fff;
  color: #09090b;
  font-weight: 600;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 1rem;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 72% 42%, rgba(34, 200, 255, 0.07), transparent 70%),
    radial-gradient(ellipse 40% 35% at 12% 80%, rgba(255, 255, 255, 0.03), transparent 65%);
}

.atmosphere__glow {
  display: none;
}

/* Header — Attio/Vercel quiet chrome */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  background: rgba(9, 9, 11, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.brand__mark {
  width: 1.75rem;
  height: 1.75rem;
  overflow: hidden;
  flex-shrink: 0;
}

.brand__mark img {
  width: 100%;
  height: auto;
  transform: scale(1.55);
  transform-origin: 50% 18%;
}

.brand__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.brand__name span {
  color: var(--accent);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.site-nav a {
  transition: color 150ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--fg);
}

.site-nav a[aria-disabled="true"] {
  opacity: 0.4;
  pointer-events: none;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding:
    calc(var(--header-h) + 2rem)
    clamp(1.25rem, 4vw, 2.5rem)
    3rem;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.92;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.4rem, 11vw, 6.5rem);
  letter-spacing: -0.03em;
  line-height: 0.92;
}

.hero__title span {
  color: var(--accent);
}

.hero__headline {
  margin: 0.15rem 0 0;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.hero__lede {
  margin: 0;
  max-width: 30rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

/* Buttons — Vercel-clean, not pill candy */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 0.95rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 550;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.btn--primary {
  color: #09090b;
  background: #fafafa;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #e4e4e7;
}

.btn--secondary {
  color: var(--fg);
  background: transparent;
  border-color: var(--line-strong);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero__shape {
  position: absolute;
  right: clamp(1.25rem, 4vw, 2.5rem);
  bottom: 1.5rem;
  z-index: 2;
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.7;
}

@media (min-width: 768px) {
  .site-nav {
    display: inline-flex;
  }

  .hero__canvas {
    mask-image: linear-gradient(90deg, transparent 0%, transparent 34%, rgba(0, 0, 0, 0.35) 52%, black 72%);
    opacity: 0.85;
  }

  .hero__content {
    max-width: 28rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: minmax(280px, 0.85fr) 1.25fr;
  }

  .hero__canvas {
    mask-image: linear-gradient(90deg, transparent 0%, transparent 28%, rgba(0, 0, 0, 0.4) 46%, black 64%);
    opacity: 0.92;
  }

  .hero__content {
    max-width: 34rem;
  }

  .hero__title {
    font-size: clamp(4.5rem, 7.5vw, 6.75rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
