/* Jevcast site. The page is the top of a MacBook: an aluminium deck, black
   keycaps, and the launcher panel at its real size. The only colour is the blue
   from the app icon. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}

:root {
  --deck: #dadde2;
  --deck-raised: #e8eaed;
  --deck-sunk: #cdd1d7;
  --hairline: #b5bac2;
  --ink: #131518;
  --graphite: #454a52;
  --key: #1c1d20;
  --key-face: #2a2c30;
  --key-legend: #eceef1;
  --key-muted: #a9afb8;
  --signal: #1666d4;
  --signal-hover: #0f56b8;
  --signal-text: #0e52ae;
  --screen: #202020;

  --font-display:
    "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", sans-serif;
  --font-body:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
  --font-mono:
    ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --panel-radius: 22px;
  --key-up:
    inset 0 1px 0 rgb(255 255 255 / 0.13), inset 0 -2px 0 rgb(0 0 0 / 0.35),
    0 1px 0 #0a0b0d, 0 10px 18px -8px rgb(19 21 24 / 0.55);
  --key-down:
    inset 0 1px 0 rgb(255 255 255 / 0.07), inset 0 -1px 0 rgb(0 0 0 / 0.35),
    0 0 0 #0a0b0d, 0 4px 8px -6px rgb(19 21 24 / 0.5);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--deck);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--signal-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: 6px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

h1,
h2 {
  font-family: var(--font-display);
  text-wrap: balance;
}

h2 {
  margin: 0 0 var(--space-lg);
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  font-weight: 780;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

h3 {
  margin: 0 0 var(--space-xs);
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.3;
}

p {
  margin: 0 0 var(--space-md);
}

/* A small keycap for keys named in running text. */
kbd {
  display: inline-block;
  min-width: 1.75em;
  margin: 0 0.1em;
  padding: 0.12em 0.45em 0.16em;
  border-radius: 5px;
  background: var(--key);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.12),
    0 2px 0 #0a0b0d;
  color: var(--key-legend);
  font: 500 0.8em/1.35 var(--font-body);
  text-align: center;
  vertical-align: 0.12em;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  top: -100px;
  left: var(--space-md);
  z-index: 10;
  padding: var(--space-sm) var(--space-md);
  border-radius: 8px;
  background: var(--key);
  color: var(--key-legend);
}

.skip:focus {
  top: var(--space-md);
}

/* Header */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-block: var(--space-lg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font: 720 1.125rem/1 var(--font-display);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.top-nav {
  display: flex;
  gap: var(--space-lg);
  font-size: 0.9375rem;
}

.top-nav a,
.foot-nav a {
  padding-block: 10px;
  color: var(--ink);
  text-decoration: none;
}

.top-nav a:hover,
.foot-nav a:hover {
  text-decoration: underline;
}

/* Hero */

.hero {
  padding-top: clamp(16px, 4vw, 48px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero h1 {
  max-width: 24ch;
  margin: var(--space-xl) 0 var(--space-lg);
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 38rem;
  color: var(--graphite);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
}

.get {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  max-width: 100%;
  margin-top: var(--space-md);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 14px;
  background: var(--signal);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.22),
    0 10px 22px -10px rgb(22 102 212 / 0.6);
  color: #fff;
  font: 650 1.0625rem/1 var(--font-body);
  text-decoration: none;
  transition:
    background-color 120ms ease-out,
    transform 160ms var(--ease-out);
}

.button:hover {
  background: var(--signal-hover);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(1px);
}

.button .icon {
  width: 20px;
  height: 20px;
}

.top-github {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-github .icon {
  width: 18px;
  height: 18px;
}

.specs {
  margin-top: var(--space-md);
  color: var(--graphite);
  font-size: 0.875rem;
}

/* The keycaps: option and space, sitting in a well in the deck. */

.keys {
  --u: 1;
  display: flex;
  gap: calc(10px * var(--u));
  margin: 0;
  padding: calc(7px * var(--u));
  border: 0;
  border-radius: calc(15px * var(--u));
  background: var(--deck-sunk);
  box-shadow:
    inset 0 1px 3px rgb(0 0 0 / 0.16),
    0 1px 0 rgb(255 255 255 / 0.5);
  cursor: pointer;
  font: inherit;
}

.key {
  position: relative;
  display: block;
  height: calc(62px * var(--u));
  border-radius: calc(9px * var(--u));
  background: linear-gradient(180deg, var(--key-face), var(--key));
  box-shadow: var(--key-up);
  color: var(--key-legend);
  transition:
    transform 90ms ease-out,
    box-shadow 90ms ease-out;
}

.key-option {
  width: calc(96px * var(--u));
}

.key-space {
  width: calc(340px * var(--u));
}

.key .sym {
  position: absolute;
  top: calc(8px * var(--u));
  right: calc(11px * var(--u));
  font-size: calc(15px * var(--u));
  line-height: 1;
}


.key .word {
  position: absolute;
  bottom: calc(9px * var(--u));
  left: calc(11px * var(--u));
  font-size: calc(12px * var(--u));
  line-height: 1;
  letter-spacing: 0.01em;
}

.key.is-down,
.keys:active .key {
  transform: translateY(2px);
  box-shadow: var(--key-down);
}

/* Demo: query tabs beside the launcher panel. */

.demo {
  display: grid;
  grid-template-columns: 196px 680px;
  justify-content: center;
  align-items: start;
  gap: var(--space-xl);
  margin-top: clamp(40px, 6vw, 72px);
}

.demo-nav {
  padding-top: var(--space-sm);
}

.demo-label {
  margin: 0 0 var(--space-sm) 12px;
  color: var(--graphite);
  font-size: 0.8125rem;
  font-weight: 600;
}

.demo-tabs {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.demo-tabs [role="tab"] {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-height: 44px;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.demo-tabs [role="tab"]:hover {
  background: var(--deck-sunk);
}

.demo-tabs [role="tab"] code {
  font-size: 0.9375rem;
}

.demo-tabs [role="tab"] span {
  color: var(--graphite);
  font-size: 0.8125rem;
}

.demo-tabs [role="tab"][aria-selected="true"] {
  background: var(--key);
  color: var(--key-legend);
}

.demo-tabs [role="tab"][aria-selected="true"] span {
  color: var(--key-muted);
}

/* Room for the tallest state, so the page below never moves. The panel keeps
   its top edge still and changes height downwards, as the app does. */
.stage {
  position: relative;
  min-height: 438px;
}

.launcher-frame {
  position: relative;
  width: 680px;
  overflow: hidden;
  border-radius: var(--panel-radius);
  background: var(--screen);
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.3),
    0 32px 64px -28px rgb(19 21 24 / 0.6),
    0 14px 28px -14px rgb(19 21 24 / 0.35);
}

/* The app's hairline border, drawn above the screenshot. */
.launcher-frame::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
  content: "";
  pointer-events: none;
}

/* Opening sequence: the three keys go down, the launcher opens, the keys come up. */
@media (prefers-reduced-motion: no-preference) {
  .intro .key-option {
    animation: press 520ms var(--ease-out) 320ms both;
  }

  .intro .key-space {
    animation: press 440ms var(--ease-out) 400ms both;
  }

  .intro .launcher-frame {
    animation: open 160ms ease-out 520ms both;
  }
}

@keyframes press {
  0%,
  100% {
    transform: none;
    box-shadow: var(--key-up);
  }

  14%,
  78% {
    transform: translateY(2px);
    box-shadow: var(--key-down);
  }
}

@keyframes open {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Sections */

.section {
  padding-block: clamp(72px, 10vw, 128px);
}

.type-grid,
.windows-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(32px, 6vw, 88px);
}

.type-intro {
  position: sticky;
  top: var(--space-xl);
}

.type-intro p,
.windows-copy p {
  max-width: 30rem;
  color: var(--graphite);
}

.keys-line {
  line-height: 2.1;
}

/* Examples: one tile per kind of query. Each query looks like the launcher's search field. */
.examples {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
}

.ex {
  padding: 20px;
  border-radius: 20px;
  background: var(--deck-raised);
  box-shadow:
    0 0 0 1px rgb(19 21 24 / 0.08),
    0 1px 2px rgb(19 21 24 / 0.06);
}

.ex h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 0.9375rem;
}

.ex-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: none;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--key-face), var(--key));
  box-shadow: var(--key-up);
  color: var(--key-legend);
}

.ex-icon .icon {
  width: 16px;
  height: 16px;
}

.ex dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.ex dd {
  margin: 6px 0 0 2px;
  color: var(--graphite);
  font-size: 0.875rem;
  line-height: 1.45;
}

.query {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--screen);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
  transition: transform 160ms var(--ease-out);
}

.ex-row:hover .query {
  transform: translateX(3px);
}

.query .icon {
  width: 14px;
  height: 14px;
  flex: none;
  color: rgb(255 255 255 / 0.45);
}

.query code {
  overflow: hidden;
  color: #f1f2f4;
  font-size: 0.875rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* A text caret after the query on hover, as if it was just typed. */
.ex-row:hover .query code::after {
  display: inline-block;
  width: 1.5px;
  height: 1em;
  margin-left: 2px;
  background: var(--signal);
  vertical-align: -0.15em;
  content: "";
  animation: caret 1s steps(1) infinite;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

/* Windows: a two-display diagram driven by the shortcut keys. */

.note {
  font-size: 0.9375rem;
}

.layouts {
  margin: 0;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 22px;
  background: var(--deck-raised);
  box-shadow: 0 0 0 1px var(--hairline);
}

.displays {
  --x: 0;
  --y: 0;
  --w: 0.5;
  --h: 1;
  display: grid;
  grid-template-columns: 1fr 0.56fr;
  align-items: end;
  gap: 18px;
}

.displays[data-layout="left-half"] {
  --x: 0;
  --y: 0;
  --w: 0.5;
  --h: 1;
}
.displays[data-layout="right-half"] {
  --x: 0.5;
  --y: 0;
  --w: 0.5;
  --h: 1;
}
.displays[data-layout="top-half"] {
  --x: 0;
  --y: 0;
  --w: 1;
  --h: 0.5;
}
.displays[data-layout="bottom-half"] {
  --x: 0;
  --y: 0.5;
  --w: 1;
  --h: 0.5;
}
.displays[data-layout="top-left"] {
  --x: 0;
  --y: 0;
  --w: 0.5;
  --h: 0.5;
}
.displays[data-layout="top-right"] {
  --x: 0.5;
  --y: 0;
  --w: 0.5;
  --h: 0.5;
}
.displays[data-layout="bottom-left"] {
  --x: 0;
  --y: 0.5;
  --w: 0.5;
  --h: 0.5;
}
.displays[data-layout="bottom-right"] {
  --x: 0.5;
  --y: 0.5;
  --w: 0.5;
  --h: 0.5;
}
.displays[data-layout="left-third"] {
  --x: 0;
  --y: 0;
  --w: 0.3333;
  --h: 1;
}
.displays[data-layout="centre-third"] {
  --x: 0.3333;
  --y: 0;
  --w: 0.3333;
  --h: 1;
}
.displays[data-layout="right-third"] {
  --x: 0.6667;
  --y: 0;
  --w: 0.3333;
  --h: 1;
}
.displays[data-layout="maximise"] {
  --x: 0;
  --y: 0;
  --w: 1;
  --h: 1;
}
.displays[data-layout="restore"] {
  --x: 0.2;
  --y: 0.14;
  --w: 0.46;
  --h: 0.62;
}
.displays[data-layout="other-display"] {
  --x: 0.06;
  --y: 0.06;
  --w: 0.88;
  --h: 0.88;
}

.display {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  background: var(--screen);
  box-shadow:
    0 0 0 4px #0e0f11,
    0 10px 20px -12px rgb(0 0 0 / 0.55);
}

.menubar {
  position: absolute;
  inset: 0 0 auto;
  height: 7%;
  background: rgb(255 255 255 / 0.09);
}

/* The usable area starts below the menu bar; a small gap keeps windows apart. */
.win {
  position: absolute;
  top: calc(10% + var(--y) * 87% + 0.8%);
  left: calc(3% + var(--x) * 94% + 0.8%);
  width: calc(var(--w) * 94% - 1.6%);
  height: calc(var(--h) * 87% - 1.6%);
  border-radius: 5px;
  background: linear-gradient(180deg, #d0d4da 0 10%, #eceef1 10%);
  box-shadow:
    0 0 0 1.5px var(--signal),
    0 6px 14px -6px rgb(0 0 0 / 0.6);
  transition:
    top 180ms var(--ease-out),
    left 180ms var(--ease-out),
    width 180ms var(--ease-out),
    height 180ms var(--ease-out),
    opacity 120ms ease-out;
}

.displays[data-screen="main"] .display-side .win,
.displays[data-screen="side"] .display-main .win {
  opacity: 0;
}

.layouts-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  color: var(--graphite);
  font-size: 0.9375rem;
}

.layout-name {
  color: var(--ink);
  font-size: 1.0625rem;
}

.pad {
  display: grid;
  gap: 10px;
  margin-top: var(--space-md);
}

.pad-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pad-label {
  width: 7.5rem;
  color: var(--graphite);
  font-size: 0.875rem;
}

.kc {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--key-face), var(--key));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.12),
    0 2px 0 #0a0b0d,
    0 6px 10px -6px rgb(0 0 0 / 0.5);
  color: var(--key-legend);
  font: 500 1rem/1 var(--font-body);
  cursor: pointer;
  transition:
    transform 90ms ease-out,
    box-shadow 90ms ease-out;
}

.kc[aria-pressed="true"] {
  transform: translateY(2px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.07),
    0 0 0 2px var(--deck-raised),
    0 0 0 4px var(--signal);
}

/* Privacy */

.privacy {
  background: var(--deck-sunk);
}

.privacy-lead {
  max-width: 34rem;
  margin: 0 0 var(--space-2xl);
  color: var(--graphite);
}

.net {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  margin: 0;
  padding: 0;
  list-style: none;
}

.net li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: var(--space-lg);
  border-radius: 20px;
  background: var(--deck-raised);
  box-shadow:
    0 0 0 1px rgb(19 21 24 / 0.08),
    0 1px 2px rgb(19 21 24 / 0.06);
  transition:
    transform 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}

.net li:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgb(19 21 24 / 0.08),
    0 14px 28px -16px rgb(19 21 24 / 0.35);
}

/* A small keycap holding the card's icon. */
.net-icon {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--key-face), var(--key));
  box-shadow: var(--key-up);
  color: var(--key-legend);
}

.net-icon .icon {
  width: 20px;
  height: 20px;
}

.net h3 {
  margin: 0;
}

.net code {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--deck-sunk);
  color: var(--graphite);
  font-size: 0.8125rem;
}

.net p {
  margin: 0;
  color: var(--graphite);
  font-size: 0.9375rem;
}

.net-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.net-link:hover {
  text-decoration: underline;
}

.net-link .icon {
  width: 14px;
  height: 14px;
  transition: transform 160ms var(--ease-out);
}

.net-link:hover .icon {
  transform: translate(2px, -2px);
}

.privacy-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: var(--space-xl) 0 0;
  font-weight: 600;
}

.privacy-foot .icon {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Install */

.install {
  display: grid;
  justify-items: center;
  text-align: center;
}

.install h2 {
  margin-bottom: var(--space-xl);
}

.term {
  width: min(100%, 580px);
  overflow: hidden;
  border-radius: 16px;
  background: var(--screen);
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.3),
    0 32px 64px -28px rgb(19 21 24 / 0.6),
    0 14px 28px -14px rgb(19 21 24 / 0.35);
  text-align: left;
}

.term-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 6px 6px 6px 14px;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.dots {
  display: flex;
  gap: 7px;
}

.dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.16);
}

.term-title {
  color: rgb(255 255 255 / 0.5);
  font-size: 0.8125rem;
  font-weight: 600;
}

.term pre {
  margin: 0;
  padding: 20px 24px 24px;
  overflow-x: auto;
  color: #f1f2f4;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font: 600 0.875rem/1 var(--font-body);
  cursor: pointer;
  transition: background-color 120ms ease-out;
}

.copy .icon {
  width: 16px;
  height: 16px;
  flex: none;
}

.copy .icon-done,
.copy.is-copied .icon-copy {
  display: none;
}

.copy.is-copied .icon-done {
  display: block;
}

.term .copy {
  justify-self: end;
  color: rgb(255 255 255 / 0.75);
}

.term .copy:hover {
  background: rgb(255 255 255 / 0.1);
  color: #fff;
}

.term .copy.is-copied {
  color: #7ee2a8;
}

.req {
  margin: var(--space-lg) 0 var(--space-md);
  color: var(--graphite);
  font-size: 0.9375rem;
}

.copy-agent {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--deck-raised);
  box-shadow:
    0 0 0 1px rgb(19 21 24 / 0.1),
    0 1px 2px rgb(19 21 24 / 0.08);
  color: var(--ink);
}

.copy-agent:hover {
  background: #fff;
}

.copy-agent.is-copied {
  color: var(--signal-text);
}

/* What's new */

.news {
  background: var(--deck-sunk);
}

.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(32px, 6vw, 88px);
}

.news-lead {
  color: var(--graphite);
}

.releases {
  display: grid;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
  list-style: none;
}

.release {
  padding: 20px 24px;
  border-radius: 20px;
  background: var(--deck-raised);
  box-shadow:
    0 0 0 1px rgb(19 21 24 / 0.08),
    0 1px 2px rgb(19 21 24 / 0.06);
}

.release-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.release-tag {
  padding: 3px 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--key-face), var(--key));
  box-shadow: var(--key-up);
  color: var(--key-legend);
  font: 600 0.875rem/1.4 var(--font-mono);
}

.release time {
  color: var(--graphite);
  font-size: 0.875rem;
}

.release ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.1em;
  color: var(--graphite);
  font-size: 0.9375rem;
}

.release strong {
  color: var(--ink);
}

/* Questions */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(32px, 6vw, 88px);
}

.faq-list details {
  border-top: 1px solid var(--hairline);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--hairline);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: 44px;
  padding-block: 16px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary .chev {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--graphite);
  transition: transform 200ms var(--ease-out);
}

.faq-list details[open] summary .chev {
  transform: rotate(180deg);
}

.faq-list summary:hover {
  color: var(--signal-text);
}

.faq-list code {
  overflow-wrap: anywhere;
}

.faq-list details p {
  max-width: 38rem;
  padding-bottom: var(--space-md);
  color: var(--graphite);
}

/* Closing */

.closing {
  padding-top: 0;
}

.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.closing h2 {
  margin-bottom: var(--space-xl);
}

.closing h2 kbd {
  font-size: 0.5em;
  vertical-align: 0.3em;
}

/* Footer */

.foot {
  padding-block: var(--space-xl) var(--space-2xl);
  border-top: 1px solid var(--hairline);
  background: var(--deck-sunk);
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-lg);
  font-size: 0.9375rem;
}

.legal {
  margin-top: var(--space-md);
  color: var(--graphite);
  font-size: 0.8125rem;
}

/* Narrower screens */

@media (max-width: 960px) {
  .demo {
    grid-template-columns: minmax(0, 680px);
    gap: var(--space-md);
  }

  .demo-label {
    margin-left: 0;
  }

  .demo-tabs {
    flex-direction: row;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .demo-tabs [role="tab"] {
    flex: none;
    background: var(--deck-raised);
    box-shadow: inset 0 0 0 1px var(--hairline);
  }

  .type-grid,
  .windows-grid,
  .news-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .type-intro {
    position: static;
  }

  .net {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .top-nav a:not(.top-github) {
    display: none;
  }
}

/* Below the panel's own width, show its left part at a readable size and fade
   the right edge. The left part holds the icons, titles, and typed query. */
@media (max-width: 719px) {
  .launcher-frame {
    width: 100%;
    border-start-end-radius: 0;
    border-end-end-radius: 0;
    -webkit-mask-image: linear-gradient(to right, #000 80%, transparent);
    mask-image: linear-gradient(to right, #000 80%, transparent);
  }

  .launcher-frame img {
    width: 560px;
    max-width: none;
  }

  .stage {
    min-height: 361px;
  }
}

@media (max-width: 480px) {
  .keys {
    --u: 0.6;
  }

  .get,
  .get .button {
    width: 100%;
  }

  .get .button {
    justify-content: center;
  }

  .pad-label {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
  }
}
