/* ISB Suite site */
:root {
  --bg-deep: #0e0e14;
  --bg: #18181f;
  --bg-lift: #232333;
  --bg-lift-2: #2d2d42;
  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.78);
  --ink-mute: rgba(255, 255, 255, 0.5);
  --accent: #5865f2;
  --accent-hot: #6a76ff;
  --signal: #5b9dff;
  --success: #43b581;
  --warn: #faa61a;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --sidebar-w: 16.5rem;
  --top-h: 3.65rem;
  /* Clear sticky top bar + a little air (bar can paint taller than --top-h) */
  --anchor-offset: 6.5rem;
  --radius: 0.35rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --content: 58rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/*
  TOC targets use id on .section. Pad the top of the section so the h2 sits below
  the sticky banner when the browser scrolls the section to the top of the viewport.
  Negative margin keeps the visual gap between sections at ~2.25rem.
*/
.section[id] {
  padding-top: var(--anchor-offset);
  margin-top: calc(2.25rem - var(--anchor-offset));
}

.wiki-main h2[id],
.wiki-main h3[id] {
  scroll-margin-top: var(--anchor-offset);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.6;
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--signal);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent-hot);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

code,
.cmd {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.88em;
  background: rgba(91, 157, 255, 0.12);
  color: #cfe2ff;
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
}

/* Layout shell */
.wiki {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  grid-template-rows: var(--top-h) 1fr;
  min-height: 100vh;
}

.wiki-top {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem 0 1.1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(14, 14, 20, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.brand-text span {
  font-size: 0.68rem;
  color: var(--ink-mute);
  font-weight: 500;
  max-width: 14rem;
}

.search-wrap {
  flex: 1;
  max-width: 32rem;
  position: relative;
}

.search-wrap input {
  width: 100%;
  height: 2.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--bg-lift);
  color: var(--ink);
  padding: 0 0.9rem 0 2.25rem;
  font: inherit;
  font-size: 0.95rem;
}

.search-wrap input::placeholder {
  color: var(--ink-mute);
}

.search-wrap input:focus {
  outline: 2px solid rgba(88, 101, 242, 0.45);
  border-color: var(--accent);
}

.search-wrap .search-icon {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  translate: 0 -50%;
  color: var(--ink-mute);
  display: flex;
  pointer-events: none;
}

.search-wrap .search-icon svg {
  display: block;
}

.search-results {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  background: #1c1c28;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  max-height: min(70vh, 28rem);
  overflow: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.search-results.is-open {
  display: block;
}

.search-results a {
  display: block;
  padding: 0.7rem 0.9rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.search-results a:hover,
.search-results a.is-active {
  background: rgba(88, 101, 242, 0.18);
}

.search-results .sr-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.search-results .sr-blurb {
  font-size: 0.82rem;
  color: var(--ink-mute);
  margin-top: 0.15rem;
}

.search-results .sr-empty {
  padding: 0.9rem;
  color: var(--ink-mute);
  font-size: 0.9rem;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.mt-1 {
  margin-top: 1rem;
}

.price-note {
  margin: -0.35rem 0 0.85rem;
  font-size: 0.85rem;
  color: var(--ink-mute);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hot);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Opaque ghost on busy backgrounds (hero photo, CTA gradient, pricing panels). */
.landing-hero .btn-ghost,
.landing-cta .btn-ghost,
.price-panel .btn-ghost {
  background: rgb(12, 12, 20);
}

.landing-hero .btn-ghost:hover,
.landing-cta .btn-ghost:hover,
.price-panel .btn-ghost:hover {
  background: rgb(18, 18, 28);
}

.nav-toggle {
  display: none;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  margin: 0.25rem auto;
  background: currentColor;
}

/* Sidebar */
.wiki-side {
  border-right: 1px solid var(--line);
  background: #12121a;
  padding: 1rem 0.75rem 2rem;
  overflow-y: auto;
  position: sticky;
  top: var(--top-h);
  height: calc(100vh - var(--top-h));
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.wiki-side::-webkit-scrollbar {
  width: 8px;
}

.wiki-side::-webkit-scrollbar-track {
  background: transparent;
}

.wiki-side::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.wiki-side::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.32);
  background-clip: padding-box;
}

.side-group {
  margin-bottom: 1.25rem;
}

.side-group h2 {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0.5rem 0.45rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.side-group a {
  display: block;
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.side-group a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

.side-group a[aria-current="page"] {
  background: rgba(88, 101, 242, 0.2);
  color: #fff;
}

.side-group a.is-section:not([aria-current="page"]) {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.side-branch {
  margin: 0;
}

.side-parent {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  width: 100%;
  margin: 0;
  padding: 0.4rem 0.55rem;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.side-parent:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

.side-parent.is-section {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.side-branch-label {
  flex: 1;
  min-width: 0;
}

.side-toggle {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mute);
}

.side-toggle::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.15rem;
  transition: transform 0.15s ease;
}

.side-branch.is-collapsed .side-toggle::before {
  transform: rotate(-45deg);
  margin-top: 0;
  margin-left: 0.1rem;
}

.side-parent:hover .side-toggle {
  color: var(--ink);
}

.side-sub {
  display: flex;
  flex-direction: column;
  margin: 0.15rem 0 0.45rem 0.55rem;
  padding: 0.15rem 0 0.15rem 0.55rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.side-sub[hidden] {
  display: none;
}

.side-sub a {
  font-size: 0.84rem;
  font-weight: 500;
  padding: 0.28rem 0.5rem;
  color: var(--ink-mute);
}

.side-sub a:hover {
  color: var(--ink);
}

.side-sub a[aria-current="page"] {
  background: rgba(88, 101, 242, 0.2);
  color: #fff;
}

/* Main */
.wiki-main {
  padding: 1.75rem clamp(1.25rem, 3vw, 2.75rem) 4rem;
  width: 100%;
  max-width: none;
  min-width: 0;
}

/* Page column */
.wiki-main > .page,
.wiki-main > .page.wide {
  max-width: min(52rem, 100%);
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 1400px) {
  .wiki-main > .page.wide {
    max-width: min(56rem, 100%);
  }
}

.crumb {
  font-size: 0.85rem;
  color: var(--ink-mute);
  margin-bottom: 0.85rem;
}

.crumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.crumb a:hover {
  color: var(--ink);
}

.page-title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  margin-bottom: 0.35rem;
}

.page-full-name {
  color: var(--signal);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.lede {
  font-size: 1.08rem;
  max-width: min(70ch, 100%);
  margin-bottom: 1.5rem;
}

/* Visual first */
.visual {
  margin: 0 0 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0a10;
}

.visual img {
  width: 100%;
  height: auto;
}

.visual figcaption {
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  color: var(--ink-mute);
  border-top: 1px solid var(--line);
}

/* Sections */
.section {
  margin: 2.25rem 0 0;
}

.section h2 {
  font-size: 1.35rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.9rem;
  max-width: none;
}

.section h3 {
  font-size: 1.08rem;
  margin-top: 1.35rem;
}

.section ul,
.section ol {
  color: var(--ink-soft);
  padding-left: 1.2rem;
  margin: 0 0 1em;
}

.section li {
  margin-bottom: 0.4rem;
}

.section li::marker {
  color: var(--accent-hot);
}

.callout {
  margin: 1.1rem 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--warn);
  background: rgba(250, 166, 26, 0.08);
}

.callout p {
  margin: 0;
}

.ref-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(35, 35, 51, 0.35);
  padding: 1rem 1.1rem;
  margin: 1rem 0 1.5rem;
}

.ref-panel h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.ref-panel ul {
  margin-bottom: 0;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.65rem;
  margin: 1rem 0 1.75rem;
}

.quick-links a {
  display: block;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  background: rgba(35, 35, 51, 0.4);
  font-weight: 600;
  font-size: 0.92rem;
}

.quick-links a:hover {
  border-color: rgba(91, 157, 255, 0.45);
  background: rgba(45, 45, 66, 0.7);
}

.quick-links a span {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--ink-mute);
  margin-top: 0.2rem;
}

/* Feature cards on hub */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 0.85rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: rgba(24, 24, 31, 0.6);
  transition: border-color 0.2s ease, transform 0.2s var(--ease);
}

.feature-card:hover {
  border-color: rgba(91, 157, 255, 0.45);
  transform: translateY(-2px);
  color: inherit;
}

.feature-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  background: #0a0a10;
}

.feature-card .body {
  padding: 0.85rem 0.95rem 1rem;
}

.feature-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.88rem;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  padding: 0.65rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: rgba(35, 35, 51, 0.55);
}

td {
  color: var(--ink-soft);
}

tr:last-child td {
  border-bottom: none;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
}

.steps li {
  position: relative;
  padding-left: 2.75rem;
  margin-bottom: 1rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-hot);
  font-size: 0.95rem;
}

.muted {
  color: var(--ink-mute);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page-footer {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-mute);
}

.page-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

.page-footer a:hover {
  color: var(--ink);
}

.toc {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(35, 35, 51, 0.3);
}

.toc strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.45rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

.toc a {
  text-decoration: none;
}

.price-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 700px) {
  .price-band {
    grid-template-columns: 1fr;
  }
}

.price-panel {
  padding: 1.25rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(35, 35, 51, 0.35);
}

.price-panel.is-pro {
  border-color: rgba(88, 101, 242, 0.55);
  background: linear-gradient(160deg, rgba(88, 101, 242, 0.16), rgba(35, 35, 51, 0.35));
}

.price-panel h3 {
  margin-bottom: 0.25rem;
}

.price-panel .price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Landing */
body.landing {
  background: #0a0a12;
}

.landing-top {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 18, 0.88);
  backdrop-filter: blur(14px);
}

.landing-top .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: 0.5rem;
}

.landing-top .nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.landing-top .nav-links a:hover {
  color: var(--ink);
}

.landing-hero {
  position: relative;
  /* overflow stays visible so the text cloud can fade past the copy box;
     clip the photo on .landing-hero-bg instead (hard edges were overflow clipping top/left). */
  min-height: min(72vh, 40rem);
  display: flex;
  align-items: flex-start;
  padding: 0;
}

.landing-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.landing-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: saturate(0.9) brightness(0.48);
  animation: land-fade 1.1s var(--ease) both;
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 10, 18, 0.72) 0%, rgba(10, 10, 18, 0.45) 42%, rgba(10, 10, 18, 0.92) 100%),
    radial-gradient(ellipse 55% 45% at 12% 28%, rgba(88, 101, 242, 0.2), transparent 70%);
  pointer-events: none;
}

.landing-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 2.75rem 1.5rem 3.5rem;
}

.landing-hero-copy {
  position: relative;
  isolation: isolate;
  max-width: 34rem;
  animation: land-rise 0.85s var(--ease) both;
}

/* Soft dark cloud: solid pad over the full copy, then heavy blur so every edge
   fades evenly (radial % sizing kept going narrow / uneven). */
.landing-hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0.75rem 0;
  background: #000;
  opacity: 0.65;
  border-radius: 2rem;
  filter: blur(52px);
  transform: scale(1.28, 1.22);
  pointer-events: none;
}

.landing-hero-copy .landing-kicker,
.landing-hero-copy h1,
.landing-hero-copy .landing-lead {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(0, 0, 0, 0.75),
    0 0 48px rgba(0, 0, 0, 0.55);
}

.landing-hero-copy .btn-row {
  filter: drop-shadow(0 0 14px rgba(0, 0, 0, 0.7));
}

.landing-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  margin: 0 0 0.75rem;
}

.landing-hero h1 {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0 0 0.9rem;
}

.landing-lead {
  font-size: 1.15rem;
  max-width: 33rem;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.95);
  text-wrap: pretty;
}

@keyframes land-rise {
  from {
    opacity: 0;
    translate: 0 16px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes land-fade {
  from {
    opacity: 0;
    scale: 1.03;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

.landing-section {
  width: min(100% - 3rem, 1120px);
  margin: 0 auto;
  padding: 3.5rem 0;
}

.landing-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  max-width: 28ch;
  margin-bottom: 0.5rem;
  text-wrap: pretty;
}

.landing-section > .lede {
  margin-bottom: 2rem;
  text-wrap: pretty;
}

.showcase-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  align-items: center;
  margin: 2.5rem 0;
}

.showcase-row.reverse {
  grid-template-columns: 1fr 1.15fr;
}

.showcase-row.reverse .showcase-copy {
  order: 2;
}

.showcase-row.reverse .showcase-media {
  order: 1;
}

.showcase-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0a10;
}

.showcase-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.showcase-copy h3 {
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
}

.showcase-copy .more {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--signal);
}

.showcase-copy .more:hover {
  color: var(--accent-hot);
}

.landing-cta {
  margin: 1rem auto 4rem;
  width: min(100% - 3rem, 1120px);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: 0.5rem;
  background: linear-gradient(120deg, rgba(88, 101, 242, 0.2), rgba(24, 24, 31, 0.4));
}

.landing-cta h2 {
  margin-bottom: 0.4rem;
}

.landing-foot {
  border-top: 1px solid var(--line);
  padding: 2rem 1.5rem 3rem;
  color: var(--ink-mute);
  font-size: 0.9rem;
}

.landing-foot .inner {
  width: min(100%, 1120px);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.landing-foot a {
  color: var(--ink-soft);
  text-decoration: none;
  margin-left: 1rem;
}

.landing-foot .yt-brand {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.landing-foot .yt-brand svg {
  display: block;
}

@media (max-width: 900px) {
  .landing-hero {
    min-height: min(64vh, 34rem);
  }

  .landing-hero-inner {
    padding-top: 2rem;
  }

  .showcase-row,
  .showcase-row.reverse {
    grid-template-columns: 1fr;
  }

  .showcase-row.reverse .showcase-copy,
  .showcase-row.reverse .showcase-media {
    order: unset;
  }

  .landing-top .nav-links {
    display: none;
  }
}

@media (max-width: 960px) {
  .wiki {
    grid-template-columns: 1fr;
  }

  .wiki-side {
    display: none;
    position: fixed;
    top: var(--top-h);
    left: 0;
    bottom: 0;
    width: min(20rem, 88vw);
    z-index: 40;
    height: auto;
  }

  body.nav-open .wiki-side {
    display: block;
  }

  .nav-toggle {
    display: block;
  }

  .brand-text span {
    display: none;
  }

  .top-actions .btn-ghost {
    display: none;
  }
}
