@font-face {
  font-family: "Press Start 2P";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/press-start-2p-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Press Start 2P";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/press-start-2p-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Press Start 2P";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/press-start-2p-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: "Press Start 2P";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/press-start-2p-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Press Start 2P";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/press-start-2p-latin.woff2") format("woff2");
  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;
}

:root {
  color-scheme: light dark;
  --bg: #fbfbf8;
  --fg: #151515;
  --muted: #656565;
  --line: #dddddd;
  --accent: #0a7cff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111111;
    --fg: #eeeeee;
    --muted: #a3a3a3;
    --line: #303030;
    --accent: #6aa7ff;
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 16px;
  line-height: 1.45;
}

body {
  min-height: 100svh;
  margin: 0;
}

.home-page {
  --bg: #1e1e2e;
  --fg: #cdd6f4;
  --muted: #a6adc8;
  --overlay: #6c7086;
  --line: #6c70864d;
  --accent: #9399b2;
  background: #1e1e2e;
}

a {
  color: inherit;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.noscript {
  display: block;
  width: min(100%, 640px);
  margin: 0 auto clamp(18px, 4vw, 28px);
  color: #f9e2af;
  text-align: center;
}

.dash-row:focus-visible,
.mini-logo:focus-visible,
.footer a:focus-visible,
.not-found-home:focus-visible,
.not-found-nav a:focus-visible {
  outline: 2px solid #cba6f7;
  outline-offset: 4px;
}

.dash-row:focus-visible {
  border-radius: 4px;
}

.page {
  width: min(100%, 920px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(18px, 3.8vw, 42px) clamp(16px, 4vw, 38px);
}

.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(30px, 5.5vw, 58px);
}

.brand {
  font-weight: 700;
  letter-spacing: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: flex-end;
  font-size: 0.875rem;
  color: var(--muted);
}

.hero {
  margin-bottom: clamp(26px, 4.5vw, 46px);
}

h1 {
  max-width: 760px;
  margin: 0 0 12px;
  font-size: clamp(2rem, 7.5vw, 4.65rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.dek {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.25rem);
}

.focus-value {
  display: block;
  max-width: 100%;
  margin-top: 18px;
  overflow-wrap: anywhere;
  color: var(--accent);
  font-size: clamp(1.45rem, 5vw, 3.2rem);
  line-height: 1.08;
}

.readout {
  border-top: 1px solid var(--line);
}

.row {
  display: grid;
  grid-template-columns: minmax(120px, 170px) minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.label {
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.hidden-value {
  display: none;
}

.value {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: thin;
}

.article {
  max-width: 720px;
  margin-top: clamp(34px, 6vw, 60px);
  color: var(--muted);
}

.article p {
  margin: 0 0 16px;
}

.back-hint {
  margin-top: clamp(24px, 4.5vw, 42px);
  color: var(--muted);
  font-size: 0.875rem;
}

.footer {
  width: min(100%, 640px);
  margin: clamp(24px, 4.5vw, 42px) auto 0;
  color: #6c7086;
  font-size: 0.875rem;
  text-align: center;
}

.footer-nowrap {
  white-space: nowrap;
}


.interior-page {
  --bg: #1e1e2e;
  --fg: #cdd6f4;
  --muted: #6c7086;
  --line: #6c70864d;
  --accent: #cba6f7;
  background: #1e1e2e;
}

.interior-page .page {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  width: min(100%, 1080px);
  padding: clamp(22px, 5vw, 54px) clamp(18px, 4vw, 32px);
}

.interior-page:not([data-focus]) .page {
  width: min(100%, 760px);
}

.interior-top {
  margin-bottom: clamp(24px, 5vw, 48px);
}

.mini-logo {
  display: inline-block;
  color: #f9e2af;
  font-family: "Press Start 2P", ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.95rem, 2.4vw, 1.25rem);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.interior-layout,
.interior-copy-block {
  align-self: center;
}

.interior-layout {
  display: grid;
  grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.interior-page .hero {
  margin-bottom: clamp(34px, 6vw, 58px);
}

.interior-layout .hero {
  margin-bottom: 0;
}

.interior-copy-block .hero {
  margin-bottom: clamp(18px, 3vw, 28px);
}

.interior-copy-block .article {
  margin-top: 0;
}

.interior-page h1 {
  max-width: 100%;
  margin-bottom: 18px;
  color: #cdd6f4;
  font-size: clamp(1.65rem, 5.8vw, 3.25rem);
  line-height: 1.08;
}

.interior-page .focus-value {
  margin-top: 20px;
  color: #cba6f7;
  font-size: clamp(1.45rem, 3.2vw, 2.35rem);
  line-height: 1.15;
  overflow-wrap: normal;
  word-break: normal;
}

.interior-page[data-focus="screen-resolution"] .focus-value,
.interior-page[data-focus="timezone"] .focus-value {
  white-space: nowrap;
}

.interior-page[data-focus="ip"] .focus-value {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.interior-page[data-focus="user-agent"] .focus-value {
  font-size: clamp(1.05rem, 1.9vw, 1.45rem);
  line-height: 1.45;
}

.interior-page .dek {
  color: #a6adc8;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
}

.interior-page .article {
  max-width: 100%;
  margin-top: 0;
  color: #cdd6f4;
  line-height: 1.7;
}

.interior-layout .article {
  padding-top: 4px;
}

.interior-page .article p {
  margin-bottom: 18px;
}

.not-found-home {
  color: #f9e2af;
}

.not-found-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  color: #a6adc8;
}

.not-found-page .page {
  height: 100svh;
}

.not-found-page .interior-copy-block {
  align-self: center;
}

.statusline {
  margin-top: clamp(24px, 5vw, 42px);
  color: #6c7086;
  font-size: 0.875rem;
}

.interior-page .statusline,
.interior-page .footer {
  color: #6c7086;
  text-align: center;
}

.interior-page .footer {
  align-self: end;
}

.home-shell {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-page .home-top {
  display: none;
}

.nvim-dashboard {
  width: min(100%, 900px);
  margin: 0 auto;
  text-align: center;
}

.pixel-logo {
  margin: 0 auto clamp(62px, 8vw, 96px);
  color: #f9e2af;
  font-family: "Press Start 2P", ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: clamp(2.45rem, 8vw, 6.25rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
}

.dash-menu {
  display: grid;
  width: min(100%, 800px);
  margin: 0 auto;
  gap: 18px;
}

.dash-row {
  display: grid;
  grid-template-columns: 28px 24px minmax(220px, 1fr) 360px 42px;
  gap: 14px;
  align-items: center;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #cdd6f4;
  font: inherit;
  text-align: left;
  text-decoration: none;
}

button.dash-row {
  width: 100%;
  padding: 0;
  cursor: pointer;
}

.dash-row:hover .dash-label,
.dash-row:focus-visible .dash-label,
.dash-row:hover .dash-title,
.dash-row:focus-visible .dash-title {
  color: #f9e2af;
}

.dash-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #89b4fa;
}

.dash-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.prompt,
kbd {
  color: #cba6f7;
  align-self: center;
}

.dash-label,
.dash-title {
  color: #cdd6f4;
  font-size: 16px;
}

.dash-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.dash-title,
.dash-subtitle {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-subtitle {
  color: #6c7086;
  font-size: 12px;
}

.dash-value {
  min-width: 0;
  max-width: 360px;
  overflow: hidden;
  color: #cba6f7;
  font-size: 14px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 160ms ease, transform 160ms ease;
}

#ip-address {
  line-height: 1.45;
  white-space: pre-line;
}

.dash-value-blank {
  visibility: hidden;
}

.dash-value.is-revealed,
.dash-value .is-revealed,
.quit-row .dash-value {
  opacity: 1;
  transform: translateY(0);
}

kbd {
  font: inherit;
  font-size: 14px;
  text-align: right;
}

.dash-footer {
  margin: clamp(52px, 7vw, 78px) 0 10px;
  color: #6c7086;
  text-align: center;
}


.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  padding: 8px 12px;
  transform: translate(-50%, 8px);
  color: #1e1e2e;
  background: #f9e2af;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (max-width: 700px) {
  .interior-page .page {
    width: min(100%, 640px);
  }

  .interior-layout {
    display: block;
  }

  .interior-layout .hero {
    margin-bottom: clamp(34px, 6vw, 58px);
  }

  .interior-layout .article {
    padding-top: 0;
  }

  .interior-page .focus-value {
    overflow-wrap: anywhere;
  }

  .interior-page[data-focus="ip"] .focus-value,
  .interior-page[data-focus="screen-resolution"] .focus-value,
  .interior-page[data-focus="timezone"] .focus-value {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .top {
    display: block;
  }

  .nav {
    justify-content: flex-start;
    margin-top: 12px;
  }

  .row {
    grid-template-columns: minmax(92px, 32%) minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
  }

  .nvim-dashboard {
    width: 100%;
  }

  .dash-row {
    grid-template-columns: 24px 18px minmax(0, 1fr);
    grid-template-areas:
      "icon prompt copy"
      ". . value";
    gap: 4px 10px;
    min-height: 44px;
    padding: 8px 0;
    align-items: center;
  }

  .dash-menu {
    gap: 14px;
  }

  .dash-icon {
    grid-area: icon;
    width: 24px;
    height: 24px;
    align-self: center;
  }

  .prompt {
    grid-area: prompt;
    display: block;
    align-self: center;
    line-height: 1;
  }

  .dash-copy {
    grid-area: copy;
    gap: 3px;
  }

  .dash-title,
  .dash-subtitle {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .dash-value {
    grid-area: value;
    max-width: none;
    overflow: visible;
    text-align: left;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  kbd {
    display: none;
  }

  .pixel-logo {
    margin-bottom: 36px;
    font-size: clamp(1.65rem, 11vw, 2.7rem);
  }
}

@media (max-width: 420px) {
  html {
    font-size: 14px;
  }

  .top {
    margin-bottom: 24px;
  }

  .hero {
    margin-bottom: 20px;
  }

  .footer {
    margin: 18px auto 0;
  }
}

@media (max-height: 760px) and (min-width: 860px) {
  html {
    font-size: 15px;
  }

  .page {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .top {
    margin-bottom: 24px;
  }

  .hero {
    margin-bottom: 22px;
  }

  .footer {
    margin: 20px auto 0;
  }
}
