:root {
  color-scheme: dark;
  --brand-primary: #0b3c5d;
  --brand-hero-start: #001a43;
  --brand-hero-end: #002968;
  --brand-accent: #f97316;
  --text-primary: #ffffff;
  --text-secondary: #dbeafe;
  --surface-subtle: rgb(255 255 255 / 0.08);
  --border-subtle: rgb(255 255 255 / 0.24);
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
}

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

html {
  min-width: 20rem;
  min-height: 100%;
  background: var(--brand-hero-start);
}

body {
  min-height: 100%;
  margin: 0;
  background: linear-gradient(112deg, var(--brand-hero-start), var(--brand-hero-end));
  color: var(--text-primary);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--brand-accent);
  border-radius: 0.65rem;
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(calc(-100% - 1rem));
}

.skip-link:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  transform: translateY(0);
}

.page-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.page-shell::before {
  position: absolute;
  z-index: -1;
  inset: 0 -24rem 0 20%;
  background-image: url("/assets/home-hero-wave.svg");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  opacity: 0.62;
  pointer-events: none;
}

.site-container {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.site-header {
  padding-block: clamp(1.25rem, 4vw, 2rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(2rem, 7vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
}

.brand img {
  width: clamp(2.75rem, 9vw, 3.5rem);
  height: auto;
  border-radius: 25%;
  box-shadow: 0 0.9rem 2rem rgb(0 0 0 / 0.2);
}

.site-main {
  display: flex;
  align-items: center;
  min-width: 0;
}

.hero {
  width: 100%;
  padding-block: clamp(2.5rem, 9vw, 7rem);
}

.hero-layout {
  display: grid;
  align-items: center;
  gap: clamp(3rem, 10vw, 7rem);
}

.hero-copy {
  max-width: 47rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--surface-subtle);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand-accent);
  box-shadow: 0 0 0 0.25rem rgb(249 115 22 / 0.18);
}

h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(2.75rem, 14vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.96;
  text-wrap: balance;
}

h1 span {
  display: block;
}

.hero-intro {
  max-width: 35rem;
  margin: clamp(1.5rem, 4vw, 2rem) 0 0;
  color: var(--text-secondary);
  font-size: clamp(1.1rem, 4.8vw, 1.4rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-mark {
  display: grid;
  width: min(52vw, 12rem);
  place-self: center;
  border: 1px solid var(--border-subtle);
  border-radius: 30%;
  background: var(--surface-subtle);
  box-shadow: 0 2.5rem 6rem rgb(0 0 0 / 0.24);
  padding: clamp(0.75rem, 3vw, 1.25rem);
  backdrop-filter: blur(0.4rem);
}

.hero-mark img {
  width: 100%;
  height: auto;
}

@media (min-width: 48rem) {
  .site-container {
    width: min(100% - 4rem, 72rem);
  }

  .hero-mark {
    width: min(28vw, 14rem);
  }

  h1 {
    font-size: clamp(4.5rem, 8vw, 6.75rem);
  }
}

@media (min-width: 60rem) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(14rem, 0.7fr);
  }

  .hero-mark {
    width: min(28vw, 19rem);
    place-self: center end;
  }
}

@media (min-width: 40rem) and (max-width: 47.999rem) and (max-height: 42rem) {
  .site-header {
    padding-block: 1rem;
  }

  .hero {
    padding-block: 1.5rem 2.5rem;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(6rem, 8rem);
    gap: 1.5rem;
  }

  .hero-mark {
    width: 100%;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .eyebrow,
  .hero-mark {
    background: var(--brand-primary);
    backdrop-filter: none;
  }
}

@media (forced-colors: active) {
  .page-shell::before,
  .hero-mark {
    display: none;
  }

  .status-dot {
    background: Highlight;
    box-shadow: none;
    forced-color-adjust: none;
  }
}
