/* Visual language taken from the archived Dali AI Systems concept site
   (globals.css colour tokens, hero-glow, tile-grid, glass/cards, pill buttons).
   No third-party assets. Fonts are system stacks close to Inter Tight / Inter / JetBrains Mono. */

:root {
  --abyss: #04060e;
  --midnight: #0a1024;
  --navy: #111a33;
  --line: #1e2a4a;
  --electric: #2f6bff;
  --electric-soft: #6ea8ff;
  --violet: #7c5cff;
  --violet-soft: #b4a3ff;
  --ink: #eef2ff;
  --ink-2: #a9b3cc;
  --ink-3: #7d88a6;
  --font-display: "Segoe UI", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Segoe UI", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  background: var(--abyss);
}

body {
  margin: 0;
  background: var(--abyss);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(124, 92, 255, 0.45);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--electric-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 60;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  background: var(--electric);
  color: #fff;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

/* Header — 76px, glass bar, wordmark + pill CTA */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(17, 26, 51, 0.86), rgba(10, 16, 36, 0.78));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  width: min(80rem, calc(100% - 2.5rem));
  height: 76px;
  margin-inline: auto;
  padding: 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: auto;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.wordmark-mark {
  display: block;
  flex-shrink: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 30px -12px rgba(124, 92, 255, 0.6);
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border: 1px solid rgba(190, 175, 255, 0.55);
  border-radius: 999px;
  background: linear-gradient(180deg, #6a4dff, #4b2fe0);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.12), 0 10px 30px -10px rgba(124, 92, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: filter 0.25s ease, transform 0.25s ease;
}

.header-link:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(92, 70, 255, 0.38), transparent 70%),
    radial-gradient(ellipse 45% 40% at 50% 62%, rgba(124, 92, 255, 0.3), transparent 70%),
    radial-gradient(ellipse 40% 50% at 8% 40%, rgba(47, 107, 255, 0.18), transparent 70%),
    radial-gradient(ellipse 40% 50% at 92% 40%, rgba(47, 107, 255, 0.18), transparent 70%);
}

.tile-grid {
  position: absolute;
  inset: 0;
  background-image: url("tile-grid.svg");
  background-size: 104px 104px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 20%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 20%, #000 25%, transparent 78%);
}

.hero .wrap,
.extra .wrap,
.waitlist .wrap,
.site-footer .wrap {
  width: min(42rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.hero .wrap {
  position: relative;
  text-align: center;
}

.badge-hero {
  margin-bottom: 1.75rem;
}

h1 {
  margin: 0 auto 0.85rem;
  max-width: 18em;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.headline-2 {
  margin: 0 auto 1.25rem;
  max-width: 36rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.offer,
.extra p,
.waitlist p {
  margin: 0 auto;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.7;
}

.hero-action {
  margin: 2.25rem 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 40px -10px rgba(255, 255, 255, 0.35);
  color: #070a18;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 50px -10px rgba(180, 163, 255, 0.6);
  text-decoration: none;
}

/* Cards */
.extra,
.waitlist {
  position: relative;
  padding: 0 0 3rem;
}

.extra .wrap,
.waitlist .wrap {
  padding: 1.75rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

h2 {
  margin: 0 0 0.8rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.waitlist a,
.site-footer a {
  color: var(--electric-soft);
  text-decoration: none;
  text-underline-offset: 4px;
}

.waitlist a:hover,
.site-footer a:hover,
.wordmark:hover {
  color: var(--ink);
  text-decoration: underline;
}

.wordmark:hover {
  text-decoration: none;
  color: var(--ink);
}

/* Footer */
.site-footer {
  padding: 2.25rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--abyss);
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.7;
}

.site-footer p {
  margin: 0 0 0.35rem;
}

@media (max-width: 40rem) {
  .header-inner {
    height: auto;
    padding: 0.85rem 0;
  }

  .hero {
    padding-top: 2.75rem;
  }

  .header-link {
    padding: 0.5rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .header-link:hover,
  .button:hover {
    transform: none;
  }
}
