@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/literata-700-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-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/literata-700-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 {
  --paper: #f4efe4;
  --paper-2: #ebe3d2;
  --paper-3: #e1d7c2;
  --card: #fffdf8;
  --ink: #161a2b;
  --ink-2: #3d4257;
  --muted: #565a6e;
  --line: #d9cfba;
  --brand: #5563e6;
  --brand-ink: #3a46c2;
  --brand-soft: #dfe3ff;
  --night: #12141c;
  --night-2: #1d2130;
  --night-muted: #b8bed9;
  --night-subtle: #9da4c4;
  --ok: #1f8a5b;
  --stop: #b23a3a;

  --a-you: #161a2b;
  --a-gemini: #2f6fe4;
  --a-codex: #0f7a5f;
  --a-claude: #b64e2d;
  --a-grok: #4a4a52;

  --sans:
    -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei',
    'Segoe UI', 'Helvetica Neue', sans-serif;
  --display:
    'Literata', 'Songti SC', 'Noto Serif SC', 'Source Han Serif SC', 'STZhongsong', 'STSong', serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gut: clamp(20px, 4vw, 40px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 1px 2px rgb(22 26 43 / 0.06), 0 12px 32px -12px rgb(22 26 43 / 0.18);
  --shadow-lg: 0 2px 4px rgb(22 26 43 / 0.05), 0 30px 60px -24px rgb(22 26 43 / 0.32);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  caret-color: var(--brand);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--brand);
  color: #fff;
}

html {
  scrollbar-color: var(--paper-3) var(--paper);
}

a {
  color: var(--brand-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

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

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

code {
  font: 500 0.86em/1 var(--mono);
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 0.18em 0.42em;
  border-radius: 6px;
  white-space: nowrap;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}

.skip:focus {
  left: 8px;
}

.skip:hover {
  color: #fff;
}

.nw {
  white-space: nowrap;
}

.i {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: none;
}

.i--sm {
  width: 15px;
  height: 15px;
}

.display {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.1vw, 3.65rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.display--md {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.24;
}

:lang(en) .display {
  font-size: clamp(2.5rem, 4.8vw, 4.2rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
}

:lang(en) .display--md {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  line-height: 1.12;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  transition:
    transform 0.25s var(--ease-out),
    background-color 0.2s,
    box-shadow 0.25s var(--ease-out);
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn--small {
  min-height: 36px;
  padding: 0 16px;
  font-size: 14px;
  background: var(--ink);
  color: #fff;
}

.btn--small:hover {
  background: var(--brand-ink);
  color: #fff;
}

.btn--primary {
  min-height: 56px;
  padding: 0 28px 0 24px;
  font-size: 17px;
  background: var(--ink);
  color: #fff;
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.12) inset,
    0 10px 24px -10px rgb(22 26 43 / 0.55);
}

.btn--primary:hover {
  background: var(--brand-ink);
  color: #fff;
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.16) inset,
    0 14px 28px -12px rgb(22 26 43 / 0.45);
}

.btn--light {
  min-height: 56px;
  padding: 0 28px 0 24px;
  font-size: 17px;
  background: #fff;
  color: var(--night);
}

.btn--light:hover {
  background: var(--brand-soft);
  color: var(--night);
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(244 239 228 / 0.88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.nav[data-scrolled] {
  border-bottom-color: var(--line);
}

.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.brand img {
  width: 32px;
  height: 32px;
}

.nav__links {
  display: flex;
  gap: 28px;
  font-size: 15px;
}

.nav__links a {
  color: var(--ink-2);
  text-decoration: none;
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang,
.iconlink {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: 600 13px/1 var(--sans);
  letter-spacing: 0.02em;
  cursor: pointer;
}

.lang:hover,
.iconlink:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.iconlink svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ---------- hero ---------- */

.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 88px) var(--gut) clamp(64px, 9vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__lede {
  margin-top: 28px;
  max-width: 34em;
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--ink-2);
}

.dl {
  margin-top: 40px;
}

.dl__meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.dl__trust {
  margin-top: 22px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.dl__trust .i {
  color: var(--ok);
}

.dl__ver {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--paper-2);
  font: 500 12px/1.6 var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}

/* ---------- chat demo ---------- */

.chat {
  position: relative;
  margin: 0;
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  height: clamp(490px, 58vh, 560px);
  overflow: hidden;
}

.chat__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 0;
}

.chat__title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.chat__name {
  font-weight: 650;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag {
  flex: none;
  font-size: 12px;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 6px;
  background: #f7ecd3;
  color: #7a5713;
  font-weight: 600;
}

.chat__mode {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-ink);
  background: var(--brand-soft);
  padding: 6px 10px;
  border-radius: 999px;
}

.chat__seats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #efe8da;
}

.seats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  min-width: 0;
}

.avatar svg {
  width: 19px;
  height: 19px;
  display: block;
}

.avatar--sm svg {
  width: 15px;
  height: 15px;
}

.seat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  transition: color 0.3s;
}

.avatar {
  --c: var(--ink);
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  font: 700 13px/1 var(--sans);
  letter-spacing: -0.02em;
  flex: none;
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

.avatar--sm {
  width: 30px;
  height: 30px;
  font-size: 11px;
}

.seat[data-state='typing'] {
  color: var(--ink);
}

.seat[data-state='typing'] .avatar {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 3px var(--card),
    0 0 0 5px var(--c),
    0 8px 18px -8px rgb(22 26 43 / 0.32);
}

.seat[data-state='done'] .avatar::after {
  content: '';
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--card);
  background: var(--ok)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 9px no-repeat;
}

.chat__log {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 16px 20px;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
  mask-image: linear-gradient(to bottom, transparent 0, #000 32px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 32px);
}

.msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  animation: msg-in 0.5s var(--ease-out) both;
}

.msg__body {
  min-width: 0;
  max-width: 86%;
}

.msg__who {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-2);
  margin-bottom: 4px;
}

.msg__who small {
  font-weight: 500;
  color: var(--muted);
  margin-left: 6px;
}

.bubble {
  background: #f3efe6;
  padding: 9px 13px;
  border-radius: 4px 14px 14px 14px;
  font-size: 14.5px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.msg--you {
  justify-content: flex-end;
}

.msg--you .bubble {
  background: var(--brand-soft);
  border-radius: 14px 4px 14px 14px;
  color: #1d2366;
}

.mention {
  font-weight: 650;
  color: var(--brand-ink);
}

.msg--you .mention {
  background: #fff;
  padding: 1px 5px;
  border-radius: 5px;
}

.file {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  font: 500 12.5px/1.3 var(--mono);
  color: var(--ink-2);
}

.file svg {
  width: 15px;
  height: 15px;
  fill: var(--brand);
}

.sys {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  animation: msg-in 0.5s var(--ease-out) both;
}

.sys svg {
  width: 14px;
  height: 14px;
  color: var(--brand);
}

.sys b {
  font-weight: 600;
  color: var(--ink-2);
}

.sys .ok {
  color: var(--ok);
  font-weight: 700;
}

.thinking {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 13.5px;
  background: #f5f1e8;
  border: 1px dashed var(--line);
}

.thinking svg {
  width: 14px;
  height: 14px;
  color: var(--brand-ink);
  flex: none;
  animation: spin 1.6s linear infinite;
}

.chat__composer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 16px 16px;
  padding: 10px 10px 10px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.chat__input {
  flex: 1;
  min-height: 24px;
  font-size: 14.5px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat__input:empty::before {
  content: attr(data-placeholder);
  color: #65697b;
}

.chat__input[data-typing]::after {
  content: '';
  display: inline-block;
  width: 1.5px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: -0.18em;
  background: var(--brand);
  animation: caret 1s steps(1) infinite;
}

.chat__send {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}

.chat__send svg {
  width: 16px;
  height: 16px;
}

.chat__replay {
  flex: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-2);
  font: 600 12.5px/1 var(--sans);
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.chat__replay:hover {
  color: var(--ink);
  border-color: var(--ink-2);
}

@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(3px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

/* ---------- sections ---------- */

section:not(.hero) {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) var(--gut);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px 56px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head p {
  color: var(--ink-2);
  max-width: 30em;
}

/* shift */

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

.shift h2 {
  max-width: 18em;
}

.strike {
  position: relative;
  color: var(--muted);
  white-space: nowrap;
}

.strike::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  top: 54%;
  height: 0.09em;
  background: var(--brand);
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(var(--s, 1));
  transition: transform 0.9s var(--ease-out) 0.2s;
}

.shift:not([data-seen]) .strike::after {
  --s: 0;
}

.shift__body {
  margin-top: 32px;
  max-width: 38em;
  font-size: 18px;
  color: var(--ink-2);
}

/* modes */

.modes {
  max-width: none !important;
  background: var(--paper-2);
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.modes > * {
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gut);
  padding-right: var(--gut);
}

.modes__panel {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.modes__tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 96px;
}

.modes__tabs button,
.gallery__tabs button {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: 600 16px/1.3 var(--sans);
  color: var(--ink-2);
  background: transparent;
  text-align: left;
  padding: 14px 18px;
  border-radius: 12px;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.modes__tabs button:hover,
.gallery__tabs button:hover {
  background: rgb(255 255 255 / 0.5);
  color: var(--ink);
}

.modes__tabs button[aria-selected='true'] {
  background: var(--ink);
  color: #fff;
}

.modes__view {
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 32px);
  min-height: 420px;
}

.mv__prompt {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.mv__prompt .bubble {
  font-size: 15.5px;
}

.mv__note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
  padding: 0 0 16px;
  margin-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.mv__note svg {
  width: 15px;
  height: 15px;
  color: var(--brand);
  flex: none;
}

.mv__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mv__row {
  display: grid;
  grid-template-columns: 30px 158px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid #f0eadf;
  animation: msg-in 0.45s var(--ease-out) both;
}

.mv__row:last-child {
  border-bottom: 0;
}

.mv__name {
  font-weight: 650;
  font-size: 14.5px;
  padding-top: 4px;
}

.mv__name small {
  display: block;
  font-weight: 500;
  font-size: 12px;
  color: var(--muted);
}

.mv__say {
  font-size: 14.5px;
  padding-top: 4px;
  color: var(--ink);
}

.mv__row[data-silent] .avatar {
  background: var(--paper-3);
  color: var(--muted);
}

.mv__row[data-silent] .mv__name {
  color: var(--muted);
}

.mv__row[data-silent] .mv__say {
  color: var(--muted);
  font-style: italic;
}

/* relay */

.relay {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.relay__copy > p {
  margin-top: 24px;
  color: var(--ink-2);
}

.relay__flow {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  position: relative;
}

.relay__flow::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: var(--line);
}

.relay__flow li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  font-size: 15.5px;
}

.dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  font: 700 11px/1 var(--sans);
  flex: none;
  box-shadow: 0 0 0 4px var(--paper);
}

.dot svg {
  width: 15px;
  height: 15px;
}

.dot--you {
  background: var(--a-you);
}

.dot--codex {
  background: var(--a-codex);
}

.dot--claude {
  background: var(--a-claude);
}

.dot--file {
  background: var(--brand);
}

.i--ok {
  color: var(--ok);
  width: 18px;
  height: 18px;
}

.window {
  margin: 0;
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.window__bar {
  display: flex;
  gap: 7px;
  padding: 11px 14px;
  background: #f1ece2;
}

.window__bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e0d7c5;
}

.window__bar i:nth-child(1) {
  background: #ee6a5f;
}

.window__bar i:nth-child(2) {
  background: #f5be4f;
}

.window__bar i:nth-child(3) {
  background: #62c554;
}

/* seat map */

.seatmap__rows {
  border-top: 2px solid var(--ink);
}

.seatrow {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr);
  gap: 16px 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.seatrow h3 {
  font: 700 clamp(1.3rem, 2vw, 1.6rem) / 1.2 var(--display);
  letter-spacing: -0.01em;
}

.seatrow p {
  font-size: 15px;
  color: var(--ink-2);
}

.names {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.names li {
  font-size: 14px;
  font-weight: 550;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
}

.names .names__more {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}

/* safety */

.safety {
  max-width: none !important;
  background: var(--night);
  color: #e9eaf2;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.safety > * {
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gut);
  padding-right: var(--gut);
}

.safety .section-head p {
  color: var(--night-muted);
}

.safety code {
  background: transparent;
  border: 0;
  padding: 0;
}

.ladder {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
}

.ladder__step {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px;
  border-radius: 14px;
  background: var(--night-2);
  color: #c9cbdb;
  font-size: 14.5px;
  line-height: 1.5;
}

.ladder__step code {
  font: 600 clamp(1.1rem, 1.8vw, 1.4rem) / 1 var(--mono);
  color: #fff;
}

.ladder__step:nth-child(1) {
  min-height: 140px;
}

.ladder__step:nth-child(2) {
  min-height: 180px;
  background: #232947;
}

.ladder__step:nth-child(3) {
  min-height: 220px;
  background: #2e3680;
}

.ladder__step:nth-child(4) {
  min-height: 260px;
  background: #404dcb;
  color: #f4f6ff;
}

.blocked {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.blocked > p {
  color: var(--night-muted);
  font-size: 15px;
}

.blocked ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.blocked li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  color: var(--night-subtle);
}

.blocked s {
  font: 500 14px/1.4 var(--mono);
  color: #ff8f86;
  text-decoration-color: #ff8f86;
  text-decoration-thickness: 1.5px;
}

/* gallery */

.gallery__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 20px;
}

.gallery__tabs button {
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 999px;
}

.gallery__tabs button[aria-selected='true'] {
  background: var(--ink);
  color: #fff;
}

.gallery__view img {
  aspect-ratio: 16 / 10;
  width: 100%;
  transition: opacity 0.3s;
}

.gallery__view img[data-loading] {
  opacity: 0.35;
}

.gallery__view figcaption {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid #efe8da;
}

.workbench {
  margin-top: 40px;
  max-width: 40em;
  font-size: 17px;
  color: var(--ink-2);
}

/* faq */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 40px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.faq__list details {
  border-bottom: 1px solid var(--line);
}

.faq__list details:first-child {
  border-top: 1px solid var(--line);
}

.faq__list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  font-size: 17px;
  font-weight: 600;
}

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

.faq__list summary::after {
  content: '';
  width: 12px;
  height: 12px;
  flex: none;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.3s var(--ease-out);
}

.faq__list details[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.faq__list details p {
  padding: 0 4px 22px;
  color: var(--ink-2);
  max-width: 40em;
}

/* close */

.close {
  max-width: none !important;
  background: var(--night);
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.close img {
  width: 96px;
  height: 96px;
}

.close__meta {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--night-subtle);
}

.close__meta a {
  color: #c9ceff;
}

.close__meta a:hover {
  color: #fff;
}

.foot {
  background: var(--night);
  color: var(--night-subtle);
  border-top: 1px solid #262a3a;
  font-size: 13.5px;
}

.foot__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 28px var(--gut);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.foot a {
  color: #c4c9ff;
}

.foot a:hover {
  color: #fff;
}

.foot__inner > a:last-child {
  margin-left: auto;
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero,
  .relay,
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .modes__panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .modes__tabs {
    position: static;
    flex-direction: row;
    overflow-x: auto;
  }

  .modes__tabs button {
    white-space: nowrap;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 15px;
  }

  .seatrow {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

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

  .ladder__step:nth-child(n) {
    min-height: 140px;
  }
}

@media (max-width: 720px) {
  .nav__links {
    display: none;
  }

  body {
    font-size: 16px;
  }

  .chat {
    height: 560px;
  }

  .chat__bar {
    padding: 14px 16px 0;
  }

  .chat__seats-row {
    padding: 12px 16px;
  }

  .seats {
    gap: 12px;
  }

  .chat__log {
    gap: 10px;
    padding: 12px 16px;
  }

  .bubble {
    font-size: 13.5px;
    padding: 8px 11px;
    line-height: 1.5;
  }

  .chat__composer {
    margin: 0 12px 12px;
  }

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

  .mv__say {
    grid-column: 2;
    padding-top: 0;
  }

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

  .foot__inner > a:last-child {
    margin-left: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
