:root {
  color-scheme: light dark;
  --page: #eef2f6;
  --surface: #ffffff;
  --surface-soft: #f7f9fb;
  --text: #111820;
  --muted: #526170;
  --line: #c8d2dc;
  --accent: #0d67db;
  --accent-soft: #e0ecff;
  --focus: #0057c7;
  --shadow: 0 1.5rem 4rem rgb(17 24 32 / 13%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #080d14;
    --surface: #101923;
    --surface-soft: #131f2b;
    --text: #f3f6f9;
    --muted: #b8c4cf;
    --line: #2f3d4b;
    --accent: #91bbff;
    --accent-soft: #1d3556;
    --focus: #a9caff;
    --shadow: 0 1.5rem 4rem rgb(0 0 0 / 32%);
  }
}

* {
  box-sizing: border-box;
}

html {
  min-width: 18rem;
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 90% 0%, rgb(13 103 219 / 12%), transparent 32rem);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 0.2rem solid var(--focus);
  outline-offset: 0.25rem;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.6rem 0.8rem;
  border-radius: 0.4rem;
  background: var(--surface);
  color: var(--text);
  transform: translateY(-200%);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
}

.identity {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.identity-mark {
  width: 1rem;
  height: 1rem;
  border: 0.2rem solid var(--accent);
  border-radius: 0.25rem;
  box-shadow: 0.28rem 0.28rem 0 var(--accent);
}

.environment-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.indicator-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.25rem var(--accent-soft);
}

main {
  display: grid;
  flex: 1;
  align-content: center;
  gap: clamp(3rem, 9vw, 7rem);
  padding-block: clamp(3.5rem, 11vw, 9rem);
}

.hero {
  position: relative;
  isolation: isolate;
  max-width: 60rem;
  padding: clamp(2rem, 7vw, 6.5rem) clamp(1.5rem, 7vw, 6.5rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem 2rem 0.5rem 2rem;
  background: linear-gradient(135deg, var(--surface), var(--surface-soft));
  box-shadow: var(--shadow);
}

.hero::after {
  position: absolute;
  right: -6rem;
  bottom: -7rem;
  z-index: -1;
  width: 20rem;
  height: 20rem;
  border: 1px solid var(--accent);
  border-radius: 50%;
  content: "";
  opacity: 0.2;
}

.eyebrow,
.section-label {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 0.98;
  text-wrap: balance;
}

h1 {
  max-width: 9ch;
  font-size: clamp(3.5rem, 12vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.085em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.045em;
}

.intro {
  max-width: 34rem;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  line-height: 1.45;
}

.context {
  display: grid;
  grid-template-columns: minmax(10rem, 0.7fr) minmax(0, 1.5fr);
  gap: 2rem;
  max-width: 54rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.context .section-label {
  margin: 0;
}

.context h2 {
  max-width: 14ch;
}

.context p:last-child {
  grid-column: 2;
  max-width: 34rem;
  margin: -1rem 0 0;
  color: var(--muted);
}

.site-footer {
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 38rem) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1.25rem;
  }

  .environment-indicator {
    white-space: normal;
  }

  .hero {
    padding: 2rem 1.5rem 2.5rem;
  }

  .context {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .context h2,
  .context p:last-child {
    grid-column: 1;
  }

  .context p:last-child {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
