:root {
  color-scheme: dark;
  --background: #080a0f;
  --text: #f6f3ed;
  --muted: #b9c3ca;
  --line: rgba(255, 255, 255, 0.18);
  --accent: #7ee7c7;
  --accent-strong: #f4c95d;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(126, 231, 199, 0.12), transparent 32%),
    radial-gradient(circle at 82% 74%, rgba(244, 201, 93, 0.12), transparent 34%),
    linear-gradient(140deg, #080a0f 0%, #111821 52%, #090b10 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#signal-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
}

.page-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: clamp(24px, 5vw, 72px);
  place-items: center;
}

.hero {
  width: min(860px, 100%);
  padding-block: clamp(72px, 15vh, 148px);
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(4.4rem, 13vw, 9.5rem);
  font-weight: 700;
  line-height: 0.88;
  overflow-wrap: normal;
}

.lead {
  max-width: 610px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.55;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 44px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
  transform: translateY(-2px);
}

.contact-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 8px;
}

@media (max-width: 640px) {
  body {
    overflow: auto;
  }

  .page-shell {
    align-items: end;
    padding: 28px;
  }

  .hero {
    padding-block: 44px;
  }

  h1 {
    font-size: clamp(3.15rem, 14vw, 3.75rem);
    line-height: 0.94;
  }

  .lead {
    max-width: 21rem;
    font-size: 1.05rem;
  }

  .contact-link {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}
