:root {
  color-scheme: light;
  --ink: #0b0b0a;
  --paper: #f6f5f0;
  --line: rgba(11, 11, 10, 0.14);
  --line-on-ink: rgba(246, 245, 240, 0.18);
  --muted: #6d6d66;
  --reef: #92c9bb;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.home-page {
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
}

.mono-landing {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 2rem;
  background: var(--ink);
  color: var(--paper);
}

.mono-landing::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(146, 201, 187, 0.13), transparent 26rem),
    rgba(11, 11, 10, 0.58);
  pointer-events: none;
}

.reef-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.28;
  pointer-events: none;
}

.reef-canvas-subtle {
  opacity: 0.22;
}

.mono-title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--paper);
  font-size: 6rem;
  font-weight: 790;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  overflow-wrap: break-word;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.1rem 2rem;
  color: var(--paper);
}

.site-header-solid {
  background: var(--ink);
  border-bottom: 1px solid var(--line-on-ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  font-size: 0.98rem;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 2.05rem;
  height: 2.05rem;
  place-items: center;
}

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

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
}

.site-nav a {
  min-height: 2.25rem;
  padding: 0.58rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(246, 245, 240, 0.76);
  font-size: 0.92rem;
  line-height: 1;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  border-color: var(--line-on-ink);
  color: var(--paper);
  outline: none;
}

.page-hero {
  position: relative;
  display: flex;
  min-height: calc(100svh - 73px);
  align-items: center;
  overflow: hidden;
  padding: 5rem 2rem;
  background: var(--ink);
  color: var(--paper);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--reef);
  font-size: 0.88rem;
  font-weight: 820;
  line-height: 1.35;
}

.page-hero h1 {
  margin: 0;
  color: var(--paper);
  font-size: 4rem;
  font-weight: 790;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.placeholder-stack {
  display: grid;
  gap: 0.85rem;
  max-width: 42rem;
  margin-top: 2rem;
}

.placeholder-stack span {
  display: block;
  height: 0.9rem;
  border-radius: 8px;
  background: rgba(246, 245, 240, 0.17);
}

.placeholder-stack .short {
  width: 54%;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 880px) {
  .mono-title {
    font-size: 4.5rem;
  }

  .page-hero h1 {
    font-size: 2.7rem;
  }
}

@media (max-width: 620px) {
  .mono-landing {
    padding: 1rem;
  }

  .mono-title {
    font-size: 3.25rem;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1rem;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .page-hero {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .site-footer {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

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