:root {
  --bg: #343230;
  --text: #ece8df;
  --muted: #c9c1b7;
  --quiet: #a79e94;
  --line: rgba(236, 232, 223, 0.28);
  --line-strong: rgba(236, 232, 223, 0.56);
  --focus: #d8d0c4;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0) 38%),
    linear-gradient(0deg, rgba(17, 16, 15, 0.16), rgba(17, 16, 15, 0) 48%);
}

a {
  color: inherit;
}

#ripple-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100% - 40px, 860px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 36px 0 56px;
}

.site-header {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.88rem;
}

.nav-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 14px;
}

.header-rule {
  height: 1px;
  background: var(--line);
}

.site-mark,
.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-mark {
  min-width: 0;
  max-width: min(64vw, 420px);
  padding-right: 16px;
  color: var(--muted);
  line-height: 1.35;
}

.site-nav {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  padding: 0 0 8px;
  color: var(--quiet);
  line-height: 1.25;
  transition: color 320ms var(--ease);
}

.site-nav a::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  content: "";
  background: var(--line-strong);
  transform: translateX(-50%);
  transition:
    width 480ms var(--ease),
    background-color 480ms var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a[aria-current="page"]::after {
  width: 66%;
  background: rgba(236, 232, 223, 0.44);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
  background: var(--line-strong);
}

.site-mark:focus-visible,
.site-nav a:focus-visible {
  outline: none;
}

.site-mark:focus-visible {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.page-main {
  display: grid;
  flex: 1;
  align-items: center;
  padding: 96px 0 80px;
}

.intro {
  max-width: 760px;
}

.eyebrow,
.site-nav {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--quiet);
  font-size: 0.92rem;
  line-height: 1.4;
}

h1 {
  max-width: 820px;
  margin: 0 0 30px;
  color: var(--text);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 4.15rem;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

p + p {
  margin-top: 18px;
}

.lead {
  color: var(--text);
  font-size: 1.28rem;
  line-height: 1.65;
}

.copy {
  max-width: 720px;
}

.site-footer {
  padding-top: 28px;
  text-align: center;
  color: rgba(167, 158, 148, 0.72);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  line-height: 1.4;
}

.site-footer small {
  font-size: inherit;
}

@media (max-width: 700px) {
  body {
    font-size: 17px;
  }

  .site-shell {
    width: min(100% - 32px, 860px);
    padding: 24px 0 44px;
  }

  .site-header {
    font-size: 0.80rem;
  }

  .nav-row {
    gap: 14px;
    padding-bottom: 13px;
  }

  .site-mark {
    max-width: 58vw;
    padding-right: 0;
  }

  .site-nav {
    gap: 16px;
  }

  .page-main {
    align-items: start;
    padding: 82px 0 64px;
  }

  h1 {
    margin-bottom: 24px;
    font-size: 3.1rem;
    line-height: 1.08;
  }

  .lead {
    font-size: 1.15rem;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.65rem;
  }
}

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

}
