/* Graphik off the shared CDN, as in palette's themes/fonts.css; the serving origin must be listed
   in platform/gke/cdn_cors.json or the browser silently falls back. */
@font-face {
  font-family: 'Graphik';
  src:
    local('Graphik'),
    url('https://storage.googleapis.com/df-prod-cdn/fonts/Graphik-Regular.woff2') format('woff2'),
    url('https://storage.googleapis.com/df-prod-cdn/fonts/Graphik-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Graphik';
  src:
    local('Graphik Semibold'),
    url('https://storage.googleapis.com/df-prod-cdn/fonts/Graphik-Semibold.woff2') format('woff2'),
    url('https://storage.googleapis.com/df-prod-cdn/fonts/Graphik-Semibold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* The brand ramp from client/src/routes/layout.css. */
:root {
  --color-primary-100: #e1dbf5;
  --color-primary-300: #a290df;
  --color-primary-900: #1b113c;
  --font-sans:
    'Graphik', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  color-scheme: dark;
}

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

body {
  margin: 0;
  background: var(--color-primary-900);
  color: var(--color-primary-100);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: clamp(4rem, 10vw, 6rem);
  padding-inline: 1.5rem;
  background: var(--color-primary-900);
}

@media (min-width: 1024px) {
  .hero {
    padding-inline: 3rem;
  }
}

.hero__content {
  width: fit-content;
  margin-inline: auto;
}

hgroup {
  margin: 0;
}

.hero__eyebrow {
  margin: 0;
  color: var(--color-primary-300);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0.75rem 0 0;
  color: var(--color-primary-100);
  font-size: clamp(2.25rem, 11vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}

.hero__rule {
  width: 100px;
  height: 3px;
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  border: 0;
  background: var(--color-primary-300);
}

.hero__body {
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  color: var(--color-primary-300);
  font-size: clamp(1.25rem, 1rem + 1.8vw, 2.125rem);
  font-weight: 400;
  line-height: 1.4;
  text-wrap: balance;
  max-width: 23em;
}

.hero__body strong {
  font-weight: 600;
}

.hero__highlight {
  color: var(--color-primary-100);
  font-weight: 600;
  white-space: nowrap;
}

.hero__link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: clamp(3rem, 9vw, 6.25rem);
  color: var(--color-primary-100);
  font-size: 1.125rem;
  text-decoration: none;
}

.hero__link:focus-visible {
  outline: 2px solid var(--color-primary-100);
  outline-offset: 4px;
  border-radius: 2px;
}

.hero__chevron {
  width: 1.25em;
  height: 1.25em;
  transition: transform 150ms ease-out;
}

.hero__link:hover .hero__chevron,
.hero__link:focus-visible .hero__chevron {
  transform: translateX(4px);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

@keyframes draw {
  from {
    transform: scaleX(0);
  }
}

.hero__eyebrow,
.hero__title,
.hero__body,
.hero__link {
  animation: rise 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__title {
  animation-delay: 120ms;
}

.hero__rule {
  transform-origin: left;
  animation: draw 700ms cubic-bezier(0.65, 0, 0.35, 1) 360ms both;
}

.hero__body {
  animation-delay: 480ms;
}

.hero__link {
  animation-delay: 680ms;
}

@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow,
  .hero__title,
  .hero__rule,
  .hero__body,
  .hero__link {
    animation: none;
  }

  .hero__chevron {
    transition: none;
  }
}
