/* One family for everything. Its width axis does the work a second typeface would:
   titles are set wide and light, the interface at normal width. */
@font-face {
  font-family: "Anek Latin";
  src: url("fonts/anek-latin-latin-standard-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #05070c;
  --text: #f3f5f9;
  --text-2: #b4bac7;
  --text-3: #868e9f;
  --accent: #6cb2ff;

  --font: "Anek Latin", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(24px, 4.4vw, 64px);
  /* Phones on their side keep text clear of the notch */
  --pad-l: max(var(--pad), env(safe-area-inset-left, 0px));
  --pad-r: max(var(--pad), env(safe-area-inset-right, 0px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

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

::selection {
  background: rgb(108 178 255 / 0.3);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.title:focus {
  outline: none;
}

.i {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 20;
  height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 20px;
  background: var(--text);
  color: var(--bg);
  font-size: 15px;
  font-weight: 500;
  transform: translate3d(0, -72px, 0);
}

.skip:focus-visible {
  transform: none;
}

/* ------------------------------------------------------------------
   Liquid glass. A surface blurs and saturates what is behind it,
   catches light along its rim, and carries a soft highlight that
   follows the pointer. In Chromium, script adds refraction at the rim.
   ------------------------------------------------------------------ */

/* Nearly clear: a touch of blur, a lot of saturation. The rim does the work. Light pools just
   inside the top edge and bounces faintly off the bottom one, the way it does in a thick pane */
.glass {
  position: relative;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.02));
  -webkit-backdrop-filter: blur(2px) saturate(170%) brightness(1.08);
  backdrop-filter: blur(2px) saturate(170%) brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.34),
    inset 0 -1px 0 rgb(255 255 255 / 0.1),
    inset 0 18px 24px -22px rgb(255 255 255 / 0.34),
    inset 0 -16px 22px -22px rgb(255 255 255 / 0.18),
    0 18px 40px -20px rgb(0 0 0 / 0.8);
}

/* The rim: brightest where light enters at the top left, again where it leaves at the bottom right */
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(155deg, rgb(255 255 255 / 0.72), rgb(255 255 255 / 0.14) 22%, rgb(255 255 255 / 0.02) 50%, rgb(255 255 255 / 0.1) 78%, rgb(255 255 255 / 0.42));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(180px circle at var(--mx, 30%) var(--my, -40%), rgb(255 255 255 / 0.12), rgb(255 255 255 / 0) 70%);
  opacity: 0;
  transition: opacity 240ms var(--ease);
}

.glass:hover::after {
  opacity: 1;
}

/* ------------------------------------------------------------------
   Scene
   ------------------------------------------------------------------ */

#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* The note a blocked save shows, in the same glass as the island it sits under */
.toast {
  position: fixed;
  top: 76px;
  left: 50%;
  z-index: 10;
  height: 40px;
  margin: 0;
  padding: 0 18px;
  display: flex;
  align-items: center;
  border-radius: 20px;
  font-size: 14px;
  line-height: 1;
  color: var(--text);
  white-space: nowrap;
  translate: -50% 0;
  animation: rise 320ms var(--ease) both;
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}

.toast[hidden] {
  display: none;
}

.toast.is-out {
  opacity: 0;
  transform: translate3d(0, -6px, 0);
}

/* What a copy opened away from nullroute.llc shows */
.elsewhere {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  font-size: 18px;
  color: var(--text-2);
}

.elsewhere a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Light from the real sun, placed by script on the side of the planet it lights */
.sunlight {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--lx, 30%) var(--ly, 20%), rgb(255 238 220 / 0.12) 0, rgb(150 180 240 / 0.05) 30vmax, rgb(150 180 240 / 0) 90vmax);
}

/* Keeps the type on calm space: the left for the title, the bottom for the dock, the top for the bar */
.shade {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(5 7 12 / 0.86) 0%, rgb(5 7 12 / 0.55) 26%, rgb(5 7 12 / 0) 56%),
    linear-gradient(0deg, rgb(5 7 12 / 0.55) 0%, rgb(5 7 12 / 0) 26%),
    linear-gradient(180deg, rgb(5 7 12 / 0.6) 0%, rgb(5 7 12 / 0) 16%);
}

/* Labels the globe hangs on its places. Positioned by script every frame */
.tags {
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.tag {
  position: absolute;
  left: 0;
  top: 0;
  height: 28px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  will-change: transform, opacity;
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  backdrop-filter: blur(10px) saturate(180%);
  box-shadow:
    inset 0 1px 1px rgb(255 255 255 / 0.2),
    0 8px 20px -8px rgb(0 0 0 / 0.7);
}

.tag[hidden] {
  display: none;
}

.tag b {
  font-weight: 500;
  color: var(--text);
}

.tag span {
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

.tag[data-side="right"] {
  translate: 14px -50%;
}

.tag[data-side="left"] {
  translate: calc(-100% - 14px) -50%;
}

.tag[data-side="top"] {
  translate: -50% calc(-100% - 14px);
}

.tag[data-side="bottom"] {
  translate: -50% 14px;
}

/* ------------------------------------------------------------------
   Console: a quiet bar, one screen of content, the dock at the bottom
   ------------------------------------------------------------------ */

.console {
  position: relative;
  z-index: 3;
}

.js body {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
}

.js .console {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "bar bar bar"
    "stage stage stage"
    "keys dock .";
  align-items: center;
  pointer-events: none;
}

.js .bar a,
.js .dock,
.js .lead,
.js .panel {
  pointer-events: auto;
}

/* Brand, the hint island in the middle, the clock */
.bar {
  grid-area: bar;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 20px var(--pad-r) 0 var(--pad-l);
}

.brand {
  justify-self: start;
  font-size: 15px;
  line-height: 24px;
  white-space: nowrap;
}

.clock {
  justify-self: end;
}

.brand-host {
  color: var(--text-3);
  transition: color 160ms var(--ease);
}

.brand-path {
  color: var(--text);
  font-weight: 500;
}

.brand:hover .brand-host {
  color: var(--text-2);
}

.clock {
  font-size: 20px;
  line-height: 24px;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  white-space: nowrap;
}

/* The dock. The selected item sits in a drop of brighter glass that stretches on its way to the next one */
.dock {
  grid-area: dock;
  justify-self: center;
  display: flex;
  gap: 2px;
  padding: 6px;
  margin: 0 0 max(24px, env(safe-area-inset-bottom, 0px));
  border-radius: 30px;
}

.dock a {
  position: relative;
  z-index: 1;
  height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-2);
  transition: color 200ms var(--ease);
}

.dock a:hover,
.dock a[aria-current] {
  color: var(--text);
}

.dock a:active {
  transform: scale(0.97);
}

.dock a:focus-visible {
  outline-offset: -2px;
}

.dock .i {
  display: none;
  width: 22px;
  height: 22px;
}

.dock-lens {
  position: absolute;
  top: 6px;
  left: 0;
  width: 0;
  height: 48px;
  border-radius: 24px;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.2), rgb(255 255 255 / 0.1));
  box-shadow:
    inset 0 1px 1px rgb(255 255 255 / 0.42),
    inset 0 -1px 1px rgb(255 255 255 / 0.08),
    0 6px 16px -6px rgb(0 0 0 / 0.55);
  -webkit-backdrop-filter: saturate(220%) brightness(1.2);
  backdrop-filter: saturate(220%) brightness(1.2);
  will-change: transform, width;
}

.keys {
  grid-area: keys;
  justify-self: start;
  display: none;
  align-items: center;
  gap: 4px;
  margin: 0 0 24px var(--pad-l);
  font-size: 13px;
  line-height: 24px;
  color: var(--text-3);
  white-space: nowrap;
}

.keys span {
  margin-left: 6px;
}

kbd {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: rgb(255 255 255 / 0.08);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), inset 0 1px 0 rgb(255 255 255 / 0.08);
  color: var(--text-2);
}

kbd .i {
  width: 14px;
  height: 14px;
}

/* What the globe on this screen answers to: an island at the top */
.hint {
  justify-self: center;
  display: none;
  align-items: center;
  gap: 8px;
  height: 40px;
  margin: 0;
  padding: 0 16px 0 14px;
  border-radius: 20px;
  font-size: 14px;
  line-height: 1;
  color: var(--text-2);
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}

.hint .i {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--text);
}

.hint [data-hint-text] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hint.is-swapping,
.hint.is-done {
  opacity: 0;
  transform: translate3d(0, -6px, 0) scale(0.96);
}

.js .keys,
.js .hint {
  display: flex;
}

/* ------------------------------------------------------------------
   Content
   ------------------------------------------------------------------ */

.stage {
  grid-area: stage;
}

.hop {
  padding: 72px var(--pad-r) 72px var(--pad-l);
}

.js .stage {
  position: relative;
  align-self: stretch;
  min-height: 0;
}

/* The words at the bottom left, the pane at the bottom right over the globe */
.js .hop {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 48px;
  padding: 16px var(--pad-r) 28px var(--pad-l);
  overflow: hidden auto;
  scrollbar-width: none;
  visibility: hidden;
}

.js .lead {
  grid-area: 2 / 1;
}

.js .panel {
  grid-area: 2 / 2;
}

.js .hop::-webkit-scrollbar {
  display: none;
}

.js .hop.is-active,
.js .hop.is-leaving {
  visibility: visible;
}

.js .hop.is-leaving,
.js .hop.is-leaving * {
  pointer-events: none;
}

.lead {
  width: fit-content;
  max-width: min(100%, 640px);
}

.title {
  margin: 0;
  font-weight: 300;
  font-stretch: 125%;
  font-size: clamp(36px, min(4.7vw, 8.4vh), 68px);
  line-height: 1.04;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.title-name {
  font-size: clamp(48px, min(7.7vw, 15vh, (100vw - 576px) / 6.5), 120px);
  line-height: 0.96;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.about {
  margin: 20px 0 0;
  max-width: 34rem;
  font-size: 18px;
  line-height: 28px;
  color: var(--text-2);
  text-wrap: pretty;
}

.actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn {
  height: 52px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 26px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 160ms var(--ease), transform 120ms var(--ease);
}

.btn:active {
  transform: scale(0.97);
}

/* White glass: nearly opaque, so the dark label always reads, with the same rim as the rest */
.btn-primary {
  background: rgb(246 248 251 / 0.94);
  color: #070a12;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.9),
    inset 0 -1px 1px rgb(7 10 18 / 0.14),
    0 14px 30px -14px rgb(0 0 0 / 0.8);
}

.btn-primary:hover {
  background: #ffffff;
}

.aside {
  margin-left: 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

/* One pane of glass per screen, over the globe. Darker in body than the dock, so its text reads
   over the slats, while the rim still bends them. Radius 28 on 6px padding holds rows of radius 22 */
.panel {
  width: 100%;
  padding: 6px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgb(12 16 26 / 0.3), rgb(8 11 19 / 0.22));
  -webkit-backdrop-filter: blur(4px) saturate(170%) brightness(1.08);
  backdrop-filter: blur(4px) saturate(170%) brightness(1.08);
}

.row {
  min-height: 56px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: baseline;
  column-gap: 16px;
  border-radius: 22px;
}

.rows > li + li {
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.07);
}

.rows > li:has(.row-link) + li {
  box-shadow: none;
}

.row-name {
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  color: var(--text);
}

.row-line {
  font-size: 15px;
  line-height: 22px;
  color: var(--text-2);
  overflow-wrap: anywhere;
}

.row-link {
  width: 100%;
  grid-template-columns: 112px minmax(0, 1fr) 18px;
  align-items: center;
  transition: background-color 180ms var(--ease), transform 140ms var(--ease);
}

.row-link .i {
  color: var(--text-3);
  transition: color 180ms var(--ease), transform 200ms var(--ease);
}

.row-link:hover {
  background-color: rgb(255 255 255 / 0.08);
}

.row-link:hover .i {
  color: var(--text);
  transform: translate3d(2px, 0, 0);
}

.row-link:active {
  transform: scale(0.985);
}

.row-link:focus-visible {
  outline-offset: -2px;
}

/* ------------------------------------------------------------------
   Changing screens: the old content slides a little way out,
   the new one arrives from the other side
   ------------------------------------------------------------------ */

/* Changing screens. The words of the old screen slide out of their own lines the way the
   visitor is paging, then the new title rises word by word, its paragraph line by line,
   and the pane gathers out of the glass with its rows a beat apart. Every delay (--d, in ms)
   is set by app.js from where each word actually wrapped */

.js .split .w {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  /* The clip reaches past the line box, so accents and descenders are never cut */
  padding: 0.12em 0.04em 0.24em;
  margin: -0.12em -0.04em -0.24em;
}

.js .split .w-in {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, calc((100% + 0.4em) * var(--dir, 1)), 0);
}

.js .hop.is-active .split .w-in {
  opacity: 1;
  transform: none;
  transition: opacity 420ms var(--ease) calc(var(--d, 0) * 1ms),
    transform 860ms cubic-bezier(0.16, 1, 0.3, 1) calc(var(--d, 0) * 1ms);
}

/* Out fast and fading, so it is gone before the next words reach the same lines */
.js .hop.is-leaving .split .w-in {
  opacity: 0;
  transform: translate3d(0, calc((100% + 0.4em) * var(--dir, 1) * -0.7), 0);
  transition: opacity 180ms linear calc(var(--o, 0) * 1ms),
    transform 240ms cubic-bezier(0.4, 0, 0.7, 0.2) calc(var(--o, 0) * 1ms);
}

.js .reveal {
  opacity: 0;
  transform: translate3d(0, calc(var(--dir, 1) * 18px), 0);
}

.js .panel.reveal {
  transform-origin: 50% 100%;
  transform: translate3d(0, calc(var(--dir, 1) * 28px), 0) scale(0.965);
}

.js .hop.is-active .reveal {
  opacity: 1;
  transform: none;
  transition: opacity 640ms var(--ease) calc(var(--d, 0) * 1ms),
    transform 820ms cubic-bezier(0.16, 1, 0.3, 1) calc(var(--d, 0) * 1ms),
    background-color 200ms var(--ease);
}

.js .hop.is-leaving .reveal {
  opacity: 0;
  transform: translate3d(0, calc(var(--dir, 1) * -14px), 0) scale(0.985);
  transition: opacity 200ms linear, transform 260ms cubic-bezier(0.4, 0, 0.7, 0.2);
}

.js .rows > li {
  opacity: 0;
  transform: translate3d(0, calc(var(--dir, 1) * 12px), 0);
}

.js .hop.is-active .rows > li {
  opacity: 1;
  transform: none;
  transition: opacity 520ms var(--ease) calc(var(--d, 0) * 1ms),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1) calc(var(--d, 0) * 1ms);
}

.js .hop.is-leaving .rows > li {
  opacity: 0;
  transition: opacity 180ms var(--ease);
}

/* The dock rises once on arrival */
.js .dock {
  animation: rise 640ms var(--ease) 240ms both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
}

@media (hover: none) {
  .js .keys {
    display: none;
  }
}

/* A short laptop window: same screen, tighter */
@media (min-width: 860px) and (max-height: 760px) {
  .bar {
    padding-top: 16px;
  }

  .about {
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
  }

  .actions {
    margin-top: 20px;
  }

  .btn {
    height: 48px;
    border-radius: 24px;
  }

  .row {
    min-height: 48px;
    padding: 12px 16px;
  }

  .js .hop {
    padding-bottom: 16px;
  }

  .dock,
  .keys {
    margin-bottom: 16px;
  }
}

@media (max-width: 859px) {
  :root {
    --pad: 20px;
  }

  .shade {
    background:
      linear-gradient(0deg, rgb(5 7 12 / 0.78) 0%, rgb(5 7 12 / 0.48) 46%, rgb(5 7 12 / 0) 70%),
      linear-gradient(180deg, rgb(5 7 12 / 0.7) 0%, rgb(5 7 12 / 0) 18%);
  }

  .js .console {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "bar"
      "stage"
      "dock";
  }

  .bar {
    padding-top: 14px;
  }

  .brand {
    font-size: 14px;
  }

  .clock {
    font-size: 17px;
  }

  /* Icons only: six labels do not fit a phone */
  .dock {
    margin-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    padding: 5px;
    border-radius: 29px;
  }

  .dock a {
    width: 48px;
    padding: 0;
  }

  .dock a > span {
    display: none;
  }

  .dock .i {
    display: block;
  }

  .dock-lens {
    top: 5px;
  }

  .js .keys {
    display: none;
  }

  /* On a phone the island drops below the brand and the clock */
  .bar {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 12px;
  }

  .js .hint {
    grid-row: 2;
    grid-column: 1 / -1;
    min-width: 0;
    max-width: 100%;
    height: 36px;
    padding: 0 14px 0 12px;
    font-size: 13px;
  }

  .js .hop {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto auto;
    padding: 12px var(--pad-r) 16px var(--pad-l);
  }

  .js .panel {
    grid-area: 3 / 1;
    margin-top: 20px;
  }

  /* On a phone the dock already lists the four subjects, so the profile keeps the globe in view */
  .js #profile .panel {
    display: none;
  }

  .tag {
    height: 24px;
    padding: 0 10px;
    gap: 6px;
    border-radius: 12px;
    font-size: 12px;
  }

  .tag[data-side="right"] {
    translate: 10px -50%;
  }

  .tag[data-side="left"] {
    translate: calc(-100% - 10px) -50%;
  }

  .tag[data-side="top"] {
    translate: -50% calc(-100% - 10px);
  }

  .tag[data-side="bottom"] {
    translate: -50% 10px;
  }

  .title {
    font-size: clamp(30px, 8.6vw, 40px);
  }

  .title-name {
    font-size: clamp(44px, 13vw, 60px);
  }

  .about {
    margin-top: 12px;
    font-size: 15px;
    line-height: 22px;
  }

  .actions {
    margin-top: 20px;
    gap: 8px;
  }

  .btn {
    height: 48px;
    padding: 0 22px;
    border-radius: 24px;
    font-size: 15px;
  }

  .aside {
    width: 100%;
    margin: 4px 0 0;
  }

  /* Radius 22 on 4px padding holds rows of radius 18 */
  .panel {
    padding: 4px;
    border-radius: 22px;
  }

  .row {
    min-height: 44px;
    padding: 10px 14px;
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 12px;
    border-radius: 18px;
  }

  .row-link {
    grid-template-columns: 96px minmax(0, 1fr) 18px;
  }

  .row-name,
  .row-line {
    font-size: 14px;
    line-height: 20px;
  }
}

@media (max-width: 859px) and (max-height: 640px) {
  .js .hint {
    display: none;
  }

  .bar {
    row-gap: 0;
  }

  .title {
    font-size: 28px;
  }

  .title-name {
    font-size: 40px;
  }

  .about {
    margin-top: 8px;
    font-size: 14px;
    line-height: 20px;
  }

  .actions {
    margin-top: 16px;
  }

  .btn {
    height: 44px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glass::after,
  .dock a,
  .hint,
  .btn,
  .row-link,
  .row-link .i,
  .js .hop.is-active .reveal,
  .js .hop.is-leaving .reveal,
  .js .hop.is-active .split .w-in,
  .js .hop.is-leaving .split .w-in,
  .js .hop.is-active .rows > li,
  .js .hop.is-leaving .rows > li {
    transition: none;
  }

  .js .dock {
    animation: none;
  }
}
