:root {
  color-scheme: dark;
  --ink: #f1f2f4;
  --muted: #a6a9b1;
  --ground: #0b0c0e;
  --accent: #91a7ff;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-width: 280px; }
::selection { background: var(--accent); color: var(--ground); }
.wave-field {
  position: fixed;
  inset: 42% 0 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(transparent, #000 24%, #000 78%, transparent);
  mask-image: linear-gradient(transparent, #000 24%, #000 78%, transparent);
}
.wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  fill: none;
  stroke: var(--accent);
  animation: tide 42s linear infinite;
  will-change: transform;
}
.wave path { vector-effect: non-scaling-stroke; stroke-width: 1; }
.wave--1 { opacity: .15; animation-delay: -8s; }
.wave--2 { opacity: .11; animation-duration: 58s; animation-direction: reverse; animation-delay: -23s; }
.wave--3 { opacity: .08; animation-duration: 74s; animation-delay: -39s; }
@keyframes tide { to { transform: translateX(-50%); } }
.wave-swell { animation: swell 20s ease-in-out infinite; }
.wave--2 .wave-swell { animation-duration: 26s; }
.wave--3 .wave-swell { animation-duration: 32s; }
@keyframes swell {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.page {
  position: relative;
  z-index: 1;
  width: min(100% - 96px, 640px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding-block: 54px 49px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.masthead, .brand, .footer, .github { display: flex; align-items: center; }
.masthead, .footer { justify-content: space-between; gap: 24px; }
.brand { gap: 10px; }
.brand img { display: block; width: 26px; height: 26px; }
.brand > span { font-size: 24px; font-weight: 500; letter-spacing: -1px; line-height: 1; }
.period { color: var(--accent); }
.signoff {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: .015em;
  color: var(--muted);
}
.intro { align-self: center; padding-block: 64px 78px; max-width: 570px; }
h1 {
  font-size: clamp(25px, 2.5vw, 32px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -.035em;
  margin: 0 0 27px;
}
.intro p {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: -.018em;
}
.github {
  color: var(--accent);
  gap: 10px;
  font-size: 15px;
  text-decoration: none;
  text-underline-offset: 5px;
  padding-block: 12px;
  margin-block: -12px;
}
.github svg { transition: transform .15s; }
.github:hover { color: var(--ink); text-decoration: underline; }
.github:hover svg { transform: translate(2px, -2px); }
.github:focus-visible { outline: 1px solid var(--accent); outline-offset: 7px; }
@media (max-width: 620px) {
  .wave-field { inset-block-start: 48%; opacity: .75; }
  .page { width: calc(100% - 56px); padding-block: 33px; }
  .brand img { width: 24px; height: 24px; }
  .brand > span { font-size: 23px; }
  .masthead { gap: 12px; }
  .intro { padding-block: 55px 70px; }
  h1 { font-size: 27px; line-height: 1.42; margin-bottom: 23px; }
  .intro p { font-size: 18px; line-height: 1.65; }
  .wide-break { display: none; }
  .signoff { font-size: 9px; }
  .footer { gap: 14px; }
}
@media (max-width: 360px) {
  .page { width: calc(100% - 44px); }
  h1 { font-size: 25px; }
  .signoff { max-width: 125px; text-align: right; line-height: 1.7; }
}
@media (max-height: 540px) {
  .page { padding-block: 25px; }
  .intro { padding-block: 32px; }
}
@media (forced-colors: active) {
  .wave-field, .brand img { display: none; }
  .wave, .wave-swell { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .wave { animation: none; will-change: auto; }
  .wave-swell { animation: none; }
}
