@font-face {
  font-family: "WaveMagic Japanese";
  src: url("/fonts/noto-sans-jp.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+3000-30FF, U+3400-9FFF, U+FF00-FFEF;
}

:root {
  color-scheme: dark;
  font-family: "WaveMagic Japanese", system-ui, -apple-system, "Hiragino Sans", sans-serif;
  color: #f5f1ef;
  background: #101016;
  --muted: #c4bcc8;
  --accent: #ffaf8f;
  --border: #34313e;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-underline-offset: 0.2em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.home {
  background: radial-gradient(ellipse at 50% 25%, #2e2235, transparent 65%), #101016;
}

.landing {
  flex: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: clamp(3rem, 9vh, 7rem) 1.25rem;
}

.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.36rem;
  height: 3.5rem;
  margin-bottom: 1.8rem;
}

.waveform span {
  width: 0.3rem;
  height: 34%;
  border-radius: 1rem;
  background: linear-gradient(#ffaf8f, #ed838f);
}

.waveform span:is(:nth-child(2), :nth-child(7)) { height: 57%; }
.waveform span:nth-child(3) { height: 83%; }
.waveform span:nth-child(4) { height: 100%; }
.waveform span:nth-child(5) { height: 48%; }
.waveform span:nth-child(6) { height: 73%; }

.landing h1 {
  margin: 0;
  font-size: clamp(2.9rem, 10vw, 7rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.065em;
}

.tagline {
  margin: 1.4rem 0 0;
  font-size: clamp(1.15rem, 4vw, 1.55rem);
  font-weight: 650;
}

.summary {
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.9;
}

.availability {
  display: inline-block;
  margin: 2rem 0 0;
  padding: 0.55rem 1rem;
  border: 1px solid #72505a;
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.site-header, .site-footer { border-color: var(--border); border-style: solid; }
.site-header { border-width: 0 0 1px; padding: 1rem max(1.25rem, calc((100% - 46rem) / 2)); }
.site-header a { color: inherit; font-weight: 750; text-decoration: none; }

.site-footer {
  border-width: 1px 0 0;
  padding: 1.25rem;
  color: var(--muted);
  text-align: center;
}

.site-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-bottom: 0.8rem; }
.site-footer a { color: inherit; font-size: 0.9rem; }
.site-footer small { font-size: 0.8rem; }

.document {
  flex: 1;
  width: min(100%, 48.5rem);
  margin-inline: auto;
  padding: 2.5rem 1.25rem 4rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.document h1 { margin: 0 0 2rem; font-size: clamp(1.6rem, 6vw, 2.4rem); line-height: 1.3; }
.document h2 { margin: 2rem 0 0.5rem; font-size: 1.16rem; line-height: 1.5; }
.document p { margin: 0 0 0.8rem; }
.document .revision { margin-top: 2.2rem; color: var(--muted); font-size: 0.9rem; }
