@font-face {
  font-family: "Noto Sans";
  src: url("assets/noto-sans-latin-variable.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Noto Sans";
  src: url("assets/noto-sans-cyrillic-variable.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* NЭН · система 2026, applied to the web page around the native screens. */
:root {
  --nen-ink: #1e1838;
  --nen-muted: #534b69;
  --nen-primary: #7457ff;
  --nen-link: #5533ce;
  --nen-lime: #d4f55a;
  --nen-lilac: #9483e2;
  --nen-soft: #ece7ff;
  --nen-surface: #faf8ff;
  --nen-pink: #ff9bcb;
  --nen-window: #edebf7;
  --nen-line: #1e183831;
  --nen-shadow: 0 8px 28px #321c6b24;

  --ink: var(--nen-ink);
  --body: var(--nen-muted);
  --paper: var(--nen-surface);
  --white: #fff;
  --sea: var(--nen-link);
  --line: var(--nen-line);
  --font-display: "Noto Sans", system-ui, sans-serif;
  --font-body: var(--font-display);
}

body {
  font-family: var(--font-body);
  background-color: var(--nen-surface);
}

#top { background: var(--nen-surface); }

h1, h2, h3 { font-weight: 800; }
h1, h2 { letter-spacing: -.03em; }

::selection {
  color: var(--nen-ink);
  background: var(--nen-lime);
}

:where(a, button, summary):focus-visible { outline-color: var(--nen-link); }

.hero .hero-highlight {
  display: inline-block;
  padding: 0 .13em .09em;
  border-radius: .15em;
  background: var(--nen-lime);
  color: var(--nen-ink);
  line-height: .97;
  white-space: nowrap;
}

.footer-brand img { filter: brightness(0) invert(1); }

.chapter-track {
  --chapter-surface: var(--nen-soft);
  --chapter-muted: var(--nen-muted);
}

.chapter-stage { background: var(--chapter-surface); }

.chapter-stage::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at var(--chapter-glow-position), #d9cdff, transparent 63%);
  content: "";
  pointer-events: none;
}

.chapter-title { font-weight: 800; }

.chapter-install {
  width: fit-content;
  padding-inline: 16px;
  border-radius: 999px;
  background: var(--nen-ink);
  color: var(--nen-surface);
  font-weight: 700;
  text-decoration: none;
}

.chapter-install:hover {
  background: var(--nen-lime);
  color: var(--nen-ink);
}
