/* Reactor website. Static, no build step; the design system of the aFinder site.
   One accent (Reactor's blue), Geist + Geist Mono, light or dark with the system.
   Radius system: buttons and chips 10px, panels and media 16px. */

:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-2: #eaeef4;
  --text: #121620;
  --muted: #586174;
  --line: #d9dee7;
  --accent: #0a66d6;
  --accent-ink: #ffffff;
  --accent-soft: #e2eefc;
  --shadow: 0 1px 2px rgb(18 30 60 / 0.06), 0 18px 48px -18px rgb(18 30 60 / 0.28);
  --r-btn: 10px;
  --r-panel: 16px;
  --sans: 'Geist Variable', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono Variable', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 64px;
  /* z-index scale: nav above content, skip link above nav. */
  --z-nav: 10;
  --z-skip: 20;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1016;
    --surface: #151a23;
    --surface-2: #1c2330;
    --text: #e9edf4;
    --muted: #9aa4b6;
    --line: #283142;
    --accent: #4b9dff;
    --accent-ink: #06101f;
    --accent-soft: #14243b;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 24px 60px -20px rgb(0 0 0 / 0.7);
    color-scheme: dark;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 19px;
  line-height: 1.3;
}

p {
  margin: 0;
}

kbd {
  display: inline-block;
  min-width: 1.6em;
  padding: 0 0.4em;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--surface);
  font: 500 0.85em/1.6 var(--mono);
  text-align: center;
  color: var(--text);
}

kbd + kbd {
  margin-left: 3px;
}

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

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .wrap {
    padding: 0 32px;
  }
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: var(--z-skip);
  padding: 8px 14px;
  border-radius: var(--r-btn);
  background: var(--accent);
  color: var(--accent-ink);
}

.skip:focus {
  top: 12px;
}

.section-lead {
  max-width: 62ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font: 600 13px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  font: 600 16px/1 var(--sans);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.btn i {
  font-size: 19px;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 8px 20px -10px var(--accent);
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--accent) 88%, var(--text));
}

.btn-ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

.btn-small {
  height: 38px;
  padding: 0 14px;
  font-size: 15px;
}

.btn-large {
  height: 54px;
  padding: 0 26px;
  font-size: 17px;
}

/* ---- navigation ------------------------------------------------------------------------------ */

.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: border-color 0.3s var(--ease);
}

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

@media (prefers-reduced-transparency: reduce) {
  .nav {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav nav {
  margin-left: auto;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--r-btn);
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface-2);
}

/* Pushed right like the section links; on the home page the links already take the free space. */
.nav-github {
  display: inline-flex;
  margin: 0 -12px 0 auto;
  padding: 8px;
  border-radius: var(--r-btn);
  color: var(--muted);
  font-size: 22px;
  text-decoration: none;
}

.nav nav + .nav-github {
  margin-left: 0;
}

.nav-github:hover {
  color: var(--text);
  background: var(--surface-2);
}

@media (max-width: 860px) {
  .nav nav {
    display: none;
  }
  .nav .btn {
    margin-left: auto;
  }
  .nav nav + .nav-github {
    margin-left: auto;
  }
  .nav .nav-github + .btn {
    margin-left: 0;
  }
}

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

.hero {
  padding: 56px 0 40px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 40px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero h1 span {
  display: block;
  color: var(--muted);
}

.lede {
  max-width: 44ch;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-shot {
  margin: 0;
}

.hero-shot img {
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow);
}

@media (min-width: 1024px) {
  .hero {
    padding: 72px 0 56px;
  }
  /* Headline across the top, then the pitch beside the app. */
  .hero-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 40px 56px;
  }
  .hero h1 {
    grid-column: 1 / -1;
  }
  .hero-copy {
    padding-top: 8px;
  }
  /* The app bleeds past the right edge of the grid, like a window left half open. */
  .hero-shot {
    width: calc(100% + 18vw);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1,
  .hero-copy > * {
    animation: rise 0.9s var(--ease) both;
  }
  .hero-copy > :nth-child(1) {
    animation-delay: 0.08s;
  }
  .hero-copy > :nth-child(2) {
    animation-delay: 0.16s;
  }
  .hero-shot {
    animation: rise-shot 1.2s var(--ease) 0.12s both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes rise-shot {
  from {
    opacity: 0;
    transform: translate(40px, 24px) scale(0.98);
  }
}

/* ---- facts ---------------------------------------------------------------------------------- */

.facts {
  padding: 8px 0 24px;
}

.facts-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 16px;
}

.facts-row div {
  display: grid;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.facts strong {
  font: 600 34px/1 var(--mono);
  letter-spacing: -0.04em;
}

.facts span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

@media (min-width: 900px) {
  .facts-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
  }
}

/* ---- themes --------------------------------------------------------------------------------- */

.themes {
  padding: 96px 0 40px;
}

.theme-picker {
  display: flex;
  gap: 8px;
  margin: 30px -16px 24px;
  padding: 2px 16px 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.theme-picker::-webkit-scrollbar {
  display: none;
}

.theme-picker button {
  position: relative;
  flex: none;
  height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  background: var(--surface);
  color: var(--muted);
  font: 500 15px/1 var(--sans);
  cursor: pointer;
  overflow: hidden;
  scroll-snap-align: start;
  transition:
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.theme-picker button:hover {
  color: var(--text);
}

.theme-picker button[aria-selected='true'] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}

/* Autoplay progress on the selected chip. */
.theme-picker button::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.themes.autoplay .theme-picker button[aria-selected='true']::after {
  animation: progress 5s linear forwards;
}

@keyframes progress {
  to {
    transform: scaleX(1);
  }
}

@media (min-width: 768px) {
  .theme-picker {
    flex-wrap: wrap;
    margin: 30px 0 24px;
    padding: 2px 0;
    overflow: visible;
  }
}

.theme-stage {
  margin: 0;
}

.theme-stage img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow);
  background: var(--surface-2);
  transition: opacity 0.35s var(--ease);
}

.theme-stage img.swapping {
  opacity: 0.35;
}

.theme-stage figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

/* ---- features: bento ------------------------------------------------------------------------ */

.features {
  padding: 72px 0 96px;
}

.bento {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.cell {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--surface);
  overflow: hidden;
}

.cell-text {
  padding: 24px 24px 18px;
}

.cell p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
}

/* Screenshots sit in the lower part of a cell, cropped like a window peeking out. */
.cell > img {
  width: calc(100% - 24px);
  margin: auto 0 0 24px;
  border: 1px solid var(--line);
  border-right: 0;
  border-bottom: 0;
  border-radius: 12px 0 0 0;
  object-fit: cover;
  object-position: left top;
  aspect-ratio: 16 / 9;
}

@media (min-width: 768px) {
  .bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .cell-split {
    grid-column: span 4;
  }
  .cell-palette,
  .cell-third {
    grid-column: span 2;
  }
  .cell-split > img {
    aspect-ratio: 16 / 8.5;
  }
  /* The palette sits in the middle of its screenshot. */
  .cell-palette > img {
    aspect-ratio: 4 / 5;
    object-position: 52% top;
  }
  .cell-third > img {
    aspect-ratio: 4 / 3;
  }
}

/* Dialogs sit in the middle of their screenshots. */
.cell-third:nth-of-type(4) > img,
.cell-third:nth-of-type(5) > img {
  object-position: 45% 30%;
}

/* ---- developers: sticky story --------------------------------------------------------------- */

.dev {
  padding: 96px 0;
  background: linear-gradient(var(--bg), var(--surface-2) 30%, var(--surface-2) 70%, var(--bg));
}

.story {
  margin-top: 36px;
}

.steps {
  display: grid;
  gap: 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step p {
  margin-top: 10px;
  color: var(--muted);
}

.step-shot {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow);
}

.story-stage {
  display: none;
}

@media (min-width: 1024px) {
  .story {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 56px;
  }
  .steps {
    gap: 0;
  }
  .step {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 62vh;
    padding-left: 20px;
    border-left: 2px solid var(--line);
    /* Dimmed, not hidden: the text of a waiting step must stay readable. */
    opacity: 0.85;
    transition:
      opacity 0.4s var(--ease),
      border-color 0.4s var(--ease);
  }
  .step.active {
    border-left-color: var(--accent);
    opacity: 1;
  }
  .step-shot {
    display: none;
  }
  .story-stage {
    position: sticky;
    top: calc(var(--nav-h) + 8vh);
    display: grid;
    align-self: start;
  }
  .story-stage img {
    grid-area: 1 / 1;
    border: 1px solid var(--line);
    border-radius: var(--r-panel);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(12px) scale(0.985);
    transition:
      opacity 0.5s var(--ease),
      transform 0.6s var(--ease);
  }
  .story-stage img.active {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  .story-stage img {
    transform: none;
    transition: none;
  }
}

/* ---- privacy -------------------------------------------------------------------------------- */

.privacy {
  padding: 96px 0;
}

.privacy-grid {
  display: grid;
  gap: 36px;
}

.privacy-list {
  display: grid;
  gap: 28px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.privacy-list i {
  font-size: 26px;
  color: var(--accent);
}

.privacy-list h3 {
  margin-top: 12px;
}

.privacy-list p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 16px;
}

@media (min-width: 768px) {
  .privacy-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .privacy-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 56px;
  }
  .privacy h2 {
    position: sticky;
    top: calc(var(--nav-h) + 32px);
    align-self: start;
    font-size: clamp(40px, 4.4vw, 58px);
  }
}

/* ---- keyboard marquee ----------------------------------------------------------------------- */

.keys {
  padding: 72px 0 96px;
}

.marquee {
  margin-top: 36px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  margin: 0;
  padding: 4px 0;
  list-style: none;
}

.marquee-track li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  background: var(--surface);
  white-space: nowrap;
}

.marquee-track span {
  color: var(--muted);
  font-size: 15px;
}

@media (prefers-reduced-motion: no-preference) {
  .marquee-track {
    animation: slide 60s linear infinite;
  }
  .marquee:hover .marquee-track,
  .marquee:focus-within .marquee-track {
    animation-play-state: paused;
  }
}

/* Without motion the shortcuts wrap into a block instead of scrolling. */
@media (prefers-reduced-motion: reduce) {
  .marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .marquee-track {
    flex-wrap: wrap;
    width: auto;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
  }
  .marquee-track [aria-hidden='true'] {
    display: none;
  }
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* ---- download ------------------------------------------------------------------------------- */

.download {
  padding: 40px 0 112px;
}

.download-panel {
  display: grid;
  gap: 28px;
  padding: 32px 24px;
  border-radius: var(--r-panel);
  background:
    radial-gradient(80% 120% at 0% 0%, var(--accent-soft), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.download-icon {
  width: 96px;
  height: 96px;
}

.download-main .btn {
  margin-top: 26px;
}

.download-meta {
  margin-top: 12px;
  color: var(--muted);
  font: 500 14px/1.5 var(--mono);
}

@media (min-width: 768px) {
  .download-panel {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    padding: 48px;
  }
  .download-icon {
    width: 128px;
    height: 128px;
  }
}

.builds {
  margin-top: 40px;
}

.builds h3 {
  font-size: 17px;
}

.build-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .build-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.build a {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s var(--ease);
}

.build a:hover {
  border-color: var(--accent);
}

.build.current a {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.build i {
  font-size: 26px;
}

.build-name {
  font-weight: 600;
}

.build-detail {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.build-size {
  margin-left: auto;
  color: var(--muted);
  font: 500 14px/1 var(--mono);
}

.build.skeleton {
  height: 64px;
  border-radius: var(--r-btn);
  background: linear-gradient(90deg, var(--surface-2), var(--surface), var(--surface-2));
  background-size: 200% 100%;
}

@media (prefers-reduced-motion: no-preference) {
  .build.skeleton {
    animation: shimmer 1.4s linear infinite;
  }
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.build-empty {
  grid-column: 1 / -1;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: var(--r-btn);
  color: var(--muted);
}

.build-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

/* ---- footer --------------------------------------------------------------------------------- */

.footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.footer-links {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-note {
  width: 100%;
  color: var(--muted);
  font-size: 13px;
}

@media (min-width: 768px) {
  .footer-note {
    width: auto;
    margin-left: auto;
  }
}

/* ---- scroll reveal -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 0.8s var(--ease),
      transform 0.8s var(--ease);
  }
  .js .reveal.in {
    opacity: 1;
    transform: none;
  }
}

/* ---- shared section pieces ---------------------------------------------------------------------- */

.framed {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow);
}

.note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

/* ---- preview: wide screenshot, three columns -------------------------------------------------- */

.preview {
  padding: 96px 0;
}

.wide-shot {
  margin: 36px 0 0;
}

.wide-shot img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow);
}

.columns {
  display: grid;
  gap: 28px;
  margin-top: 40px;
}

.columns i,
.tile i {
  font-size: 26px;
  color: var(--accent);
}

.columns h3,
.tile h3 {
  margin-top: 10px;
}

.columns p,
.tile p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 16px;
}

@media (min-width: 768px) {
  .columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }
}

/* ---- split sections: servers and automations ------------------------------------------------ */

.split-section {
  padding: 96px 0;
}

.split-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

@media (min-width: 1024px) {
  .split-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
  }
  .split-section.flip .split-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.protocols {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.protocols li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--muted);
}

.protocols i {
  flex: none;
  margin-top: 2px;
  font-size: 22px;
  color: var(--accent);
}

.protocols b {
  color: var(--text);
  font-weight: 600;
}

.addresses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

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

.addresses code {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  background: var(--surface);
  overflow-wrap: anywhere;
}

.verbs {
  display: grid;
  gap: 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.verbs li {
  padding-left: 18px;
  border-left: 2px solid var(--accent);
}

.verbs p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 16px;
}

/* ---- AI: two screenshots under one message --------------------------------------------------- */

.ai {
  padding: 96px 0;
}

.duo {
  display: grid;
  gap: 28px;
  margin-top: 36px;
}

.duo figure {
  margin: 0;
}

.duo img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow);
}

.duo figcaption {
  max-width: 52ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

@media (min-width: 900px) {
  .duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* Offset the second shot, so the pair reads as a sequence rather than a grid. */
  .duo figure:last-child {
    margin-top: 64px;
  }
}

/* ---- MCP: command, tools and the settings --------------------------------------------------- */

.mcp {
  padding: 96px 0;
  background: linear-gradient(var(--bg), var(--surface-2) 25%, var(--surface-2) 75%, var(--bg));
}

.mcp-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

@media (min-width: 1024px) {
  .mcp-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: 56px;
  }
}

.code {
  margin: 28px 0 0;
  padding: 18px 20px;
  border-radius: var(--r-panel);
  background: #121722;
  color: #dbe3f0;
  font: 400 14px/1.7 var(--mono);
  overflow-x: auto;
}

.c-mute {
  color: #7d889c;
}

.c-accent {
  color: #8fb1ff;
}

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

.tools li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  background: var(--surface);
  font: 500 13px/1.4 var(--mono);
}

/* ---- settings: screenshot and two tiles ------------------------------------------------------ */

.settings {
  padding: 96px 0;
}

.settings-grid {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.tile {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--surface);
}

.tile-accent {
  border-color: transparent;
  background: linear-gradient(160deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #0b1530));
  color: #fff;
}

.tile-accent i,
.tile-accent p {
  color: rgb(255 255 255 / 0.86);
}

@media (min-width: 900px) {
  .settings-grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    grid-template-rows: auto auto;
  }
  .settings-shot {
    grid-row: span 2;
  }
}

/* ---- Text pages (privacy.html, support.html) ---------------------------------------------------- */
.prose { max-width: 760px; padding-top: 56px; padding-bottom: 80px; line-height: 1.65; }
.prose h1 { margin-bottom: 8px; }
.prose h2 { margin-top: 40px; font-size: 1.35rem; }
.prose h3 { margin-top: 24px; font-size: 1.05rem; }
.prose-meta { color: var(--muted); }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; }
.prose a { color: var(--accent); }

/* Reactor: the start panel holds commands instead of a download button; they scroll inside it, never the page. */
.download-main {
  min-width: 0;
}

.download-main .code {
  max-width: 100%;
  margin: 18px 0 22px;
  text-align: left;
}
