@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/bebas-neue-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/instrument-sans-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --color-primary: #0066ff;
  --color-primary-dark: #0052cc;
  --color-secondary: #00d9a3;
  --color-accent: #ff3d71;
  --color-background: #0a0b0f;
  --color-text: #ffffff;
  --color-text-secondary: #a0a3b1;
  --color-text-muted: #6b6e7f;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", sans-serif;
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.3);
  --orb-opacity: 0.4;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --color-background: #ffffff;
    --color-text: #0a0b0f;
    --color-text-secondary: #4a4f60;
    --color-text-muted: #6b6e7f;
    --shadow-md: 0 4px 16px rgba(10, 11, 15, 0.08);
    --shadow-glow: 0 10px 40px rgba(0, 102, 255, 0.14);
    --orb-opacity: 0.16;
  }
}

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

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

body {
  font-family: var(--font-body);
  background: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  padding: 4.5rem 1.25rem;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 40rem);
  text-align: center;
}

.logo {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 6vw, 1.85rem);
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1;
  word-spacing: 0.42em;
}

.logo span {
  color: var(--color-primary);
  margin-left: 0;
}

h1 {
  margin: 1.75rem 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 12vw, 5.1rem);
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 0.96;
}

.highlight {
  color: transparent;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  max-width: 26rem;
  margin: 0 auto 2rem;
  color: var(--color-text-secondary);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.55;
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 18rem);
  min-height: 3rem;
  padding: 0.95rem 1.6rem;
  border-radius: 12px;
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

@media (hover: hover) {
  .btn:hover {
    background: var(--color-primary-dark);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
  }
}

.btn[aria-disabled="true"] {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid color-mix(in srgb, var(--color-text) 18%, transparent);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.note {
  max-width: 24rem;
  margin: 1rem auto 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.note[hidden] {
  display: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: var(--orb-opacity);
  pointer-events: none;
}

.orb-blue {
  top: -18%;
  right: -18%;
  width: min(78vw, 620px);
  height: min(78vw, 620px);
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
}

.orb-teal {
  bottom: -22%;
  left: -18%;
  width: min(68vw, 520px);
  height: min(68vw, 520px);
  background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
}

.orb-pink {
  top: 42%;
  left: 50%;
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
  transform: translate(-50%, -50%);
}

@media (max-width: 390px) {
  .hero {
    padding: 3.25rem 1.15rem;
  }

  h1 {
    margin-top: 1.4rem;
  }

  .lead {
    font-size: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}
