:root {
  color-scheme: dark;

  /* Theme tokens */
  --bg: #07090d;
  --bg-elev: #0f131a;
  --bg-soft: #141a23;
  --text: #eef3fb;
  --text-muted: #a7b1c2;
  --text-dim: #7a8598;
  --line: #202838;
  --accent: #78a8ff;
  --accent-strong: #a6c4ff;
  --accent-soft: rgba(120, 168, 255, 0.16);

  --radius-sm: 0.5rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.4rem;

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.25rem;
  --space-6: 3.5rem;
  --space-7: 5.5rem;

  --container: 72rem;

  --fz-sm: 0.95rem;
  --fz-base: 1rem;
  --fz-lg: 1.2rem;
  --fz-xl: clamp(2.5rem, 7vw, 5.8rem);

  --lh-tight: 1.06;
  --lh-base: 1.65;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  --transition: 180ms ease;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f6f8fc;
    --bg-elev: #ffffff;
    --bg-soft: #edf2fb;
    --text: #0f1728;
    --text-muted: #46526a;
    --text-dim: #63708b;
    --line: #d9e1ef;
    --accent: #2c6df6;
    --accent-strong: #1f58d4;
    --accent-soft: rgba(44, 109, 246, 0.14);
    --shadow: 0 10px 24px rgba(16, 30, 56, 0.1);
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: var(--lh-base);
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

.background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(50rem 28rem at 12% -8%, rgba(120, 168, 255, 0.2), transparent 60%),
    radial-gradient(44rem 24rem at 100% 0%, rgba(143, 225, 208, 0.14), transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, #080b11 56%, var(--bg) 100%);
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 4.25rem;
}

.brand {
  font-size: var(--fz-sm);
  font-weight: 600;
  color: var(--text);
}

.role {
  font-size: var(--fz-sm);
  color: var(--text-dim);
}

.hero {
  min-height: calc(100svh - 4.25rem);
  display: grid;
  align-items: center;
  padding-block: var(--space-7);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr minmax(16rem, 0.9fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.hero-content {
  min-width: 0;
}

.eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--fz-xl);
  line-height: var(--lh-tight);
  font-weight: 700;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.hero-subtitle {
  margin-top: var(--space-3);
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  color: var(--accent-strong);
  font-weight: 500;
}

.hero-copy {
  margin-top: var(--space-5);
  max-width: 56ch;
  color: var(--text-muted);
  font-size: var(--fz-lg);
}

.hero-points {
  margin-top: var(--space-4);
  padding-left: 1.15rem;
  max-width: 64ch;
  display: grid;
  gap: 0.55rem;
}

.hero-points li {
  color: var(--text-muted);
  font-size: 1.02rem;
}

.hero-points li::marker {
  color: var(--accent);
}

.hero-actions {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero-photo-wrap {
  position: relative;
  display: grid;
  justify-items: end;
}

.hero-photo-wrap::before {
  content: "";
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  filter: blur(20px);
  top: 10%;
  right: 6%;
  z-index: -1;
}

.hero-photo {
  width: min(100%, 27rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.26));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 500;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    color var(--transition);
}

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

.btn-primary {
  color: #071021;
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  filter: brightness(1.02);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: color-mix(in srgb, var(--bg-elev) 92%, transparent);
}

.btn-ghost:hover {
  border-color: var(--accent-soft);
  background: color-mix(in srgb, var(--bg-soft) 88%, transparent);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: var(--space-4);
}

.footer-inner p {
  color: var(--text-dim);
  font-size: 0.85rem;
}

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

@media (max-width: 52rem) {
  .container {
    width: min(100% - 1.75rem, var(--container));
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-photo-wrap {
    justify-items: center;
    margin-top: var(--space-2);
  }

  .hero-photo {
    width: min(68vw, 19rem);
  }

  .hero {
    padding-block: 2.6rem 2.2rem;
  }

  .hero-copy {
    margin-top: var(--space-4);
    font-size: 1rem;
  }

  .hero-points {
    margin-top: var(--space-3);
    gap: 0.45rem;
  }

  .hero-actions {
    margin-top: var(--space-5);
  }
}

@media (max-width: 36rem) {
  .container {
    width: min(100% - 1.35rem, var(--container));
  }

  .header-inner {
    min-height: 3.6rem;
  }

  .role {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: 2.1rem 2rem;
  }

  .hero-content {
    display: contents;
  }

  .eyebrow {
    order: 1;
  }

  h1 {
    order: 2;
  }

  .hero-subtitle {
    margin-top: 0;
    order: 3;
  }

  .hero-photo-wrap {
    order: 4;
    justify-items: center;
    margin-block: 0.9rem 0.5rem;
  }

  .hero-copy {
    order: 5;
    font-size: 0.98rem;
    line-height: 1.56;
  }

  .hero-points {
    order: 6;
    margin-top: 0.75rem;
    padding-left: 1rem;
  }

  .hero-points li {
    font-size: 0.95rem;
  }

  .hero-actions {
    order: 7;
    margin-top: 1rem;
  }

  .hero-photo {
    width: min(72vw, 16rem);
  }
}

@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;
  }
}