* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #0d1012;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #f1c95f;
  outline-offset: 3px;
}

::selection {
  background: rgba(227, 179, 65, 0.28);
  color: #fff;
}

#tl ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

#tl ::-webkit-scrollbar-thumb {
  background: #262d31;
  border-radius: 8px;
}

#tl ::-webkit-scrollbar-track {
  background: transparent;
}

@keyframes tlblink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

#tl [data-view] {
  opacity: 1;
}

.wiki-kicker {
  margin-bottom: 6px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

#tl [data-article-body] > h1,
.wiki-empty h1 {
  margin: 0 0 14px;
  color: var(--cream);
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 700;
}

.wiki-prose,
.wiki-empty p {
  max-width: 660px;
  color: var(--mute);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.7;
}

.wiki-prose > :first-child {
  margin-top: 0;
  font-size: 16px;
}

.wiki-prose p,
.wiki-prose ul,
.wiki-prose ol {
  margin: 0 0 16px;
}

.wiki-prose ul,
.wiki-prose ol {
  padding-left: 22px;
}

.wiki-prose h2,
.wiki-prose h3 {
  scroll-margin-top: 64px;
  margin: 28px 0 10px;
  color: var(--cream);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.wiki-prose a {
  color: var(--cyan);
  text-decoration: none;
}

.wiki-prose a:hover {
  text-decoration: underline;
}

.wiki-prose :not(pre) > code {
  color: var(--cream);
  font-family: var(--mono);
  font-size: 0.92em;
}

.wiki-prose pre {
  position: relative;
  max-width: 660px;
  margin: 0 0 20px;
  padding: 14px 68px 14px 14px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.65;
}

.wiki-prose pre code {
  color: inherit;
  font: inherit;
}

.wiki-copy {
  position: absolute;
  top: 9px;
  right: 9px;
  padding: 5px 10px;
  border: 1px solid var(--gline);
  border-radius: 6px;
  background: var(--ink);
  color: var(--gold);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wiki-prose blockquote {
  max-width: 660px;
  margin: 0 0 20px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  background: var(--panelink);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 13.5px;
}

.wiki-prose blockquote p:last-child {
  margin-bottom: 0;
}

.wiki-prose img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 640px;
  height: auto;
  margin: 22px auto 28px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.wiki-prose video {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #070a0b;
}

.wiki-prose table {
  display: block;
  max-width: 660px;
  margin: 0 0 20px;
  overflow-x: auto;
  border-collapse: collapse;
}

.wiki-prose th,
.wiki-prose td {
  padding: 9px 12px;
  border: 1px solid var(--line);
  color: var(--mute);
  text-align: left;
}

.wiki-prose th {
  background: var(--panelink);
  color: var(--gold);
  font-family: var(--mono);
}

.wiki-prose td strong {
  color: var(--text);
}

@media (max-width: 1080px) {
  .wiki-layout {
    grid-template-columns: 220px minmax(0, 1fr) !important;
    gap: 30px !important;
  }

  .wiki-toc {
    display: none;
  }

  .showcase-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  .top-widgets {
    display: none !important;
  }

  .wiki-layout,
  .api-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
  }

  .wiki-sidebar,
  .api-sidebar {
    position: static !important;
  }

  .wiki-sidebar nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px !important;
  }

  .api-sidebar [data-eplist] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 16px !important;
  }

  .feature-grid,
  .download-grid,
  .install-notes-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

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

@media (max-width: 560px) {
  .import-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 620px) {
  #tl > nav > div {
    gap: 7px !important;
    padding-inline: 10px !important;
  }

  #tl > nav [data-nav] {
    padding-inline: 8px !important;
  }

  .wiki-layout,
  .api-layout {
    padding-inline: 18px !important;
  }

  .wiki-sidebar nav,
  .api-sidebar [data-eplist],
  .command-grid,
  .showcase-feature-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  [data-cmd] {
    max-width: calc(100vw - 36px);
  }

  [data-cmd-text] {
    overflow-wrap: anywhere;
  }
}

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

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

/* ---- nav brand + search (sleek tmux styling) ---- */
.brand-logo {
  flex: none;
}

.nav-search {
  position: relative;
}
.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  color: var(--mute);
  background: transparent;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: color 0.15s;
}
.search-btn:hover {
  color: var(--gold);
}
.search-field {
  display: none;
  align-items: center;
  gap: 7px;
  width: 210px;
  padding: 5px 11px;
  background: var(--panel);
  border: 1px solid var(--gline);
  border-radius: 8px;
}
.nav-search.open .search-btn {
  display: none;
}
.nav-search.open .search-field {
  display: flex;
}
.search-input {
  flex: 1;
  min-width: 0;
  color: var(--cream);
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--mono);
  font-size: 13px;
}
.search-input::placeholder {
  color: var(--dim);
}

.search-results {
  position: fixed;
  top: 52px;
  right: 16px;
  z-index: 70;
  width: min(380px, calc(100vw - 32px));
  max-height: min(70vh, 460px);
  overflow-y: auto;
  padding: 6px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
}
.search-results[hidden] {
  display: none;
}
.search-result {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.search-result:hover,
.search-result.active {
  background: var(--gold-soft);
}
.search-result .sr-title {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--cream);
}
.search-result .sr-tag {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.search-result .sr-snippet {
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--mute);
}
.search-empty {
  padding: 14px 12px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--dim);
}

@media (max-width: 620px) {
  .search-field {
    width: 150px;
  }
  .search-results {
    top: 50px;
  }
}

/* ---- Product surface ---- */
body {
  background: #081012;
  font-size: 0;
  line-height: 0;
}

#tl {
  --bg: #080b0d !important;
  --bg2: #0b1012 !important;
  --panel: #0f1518 !important;
  --panelink: #090d0f !important;
  --line: #20292d !important;
  --line2: #151c1f !important;
  --blue: #72d8cd !important;
  --blue-b: #a5eee7 !important;
  --blue-soft: rgba(114, 216, 205, 0.09) !important;
  --bline: rgba(114, 216, 205, 0.34) !important;
  --gold: var(--blue) !important;
  --gold-b: var(--blue-b) !important;
  --gold-soft: var(--blue-soft) !important;
  --gline: var(--bline) !important;
  background:
    radial-gradient(900px 700px at 82% 4%, rgba(58, 127, 119, 0.18), transparent 62%),
    radial-gradient(800px 720px at 12% 34%, rgba(83, 57, 120, 0.1), transparent 68%),
    linear-gradient(180deg, #081214 0%, #080c0e 34%, #091012 100%) !important;
  font-size: 16px;
  line-height: 1.5;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

::selection {
  background: rgba(114, 216, 205, 0.24);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 16, 18, 0.88);
  backdrop-filter: blur(16px);
}

.site-nav-inner {
  display: flex;
  align-items: center;
  max-width: 1280px;
  height: 64px;
  margin: 0 auto;
  padding: 0 22px;
  gap: 18px;
}

.brand-button {
  display: flex;
  flex: none;
  align-items: center;
  gap: 11px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.brand-button img {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 4px;
}

.brand-button span {
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-tabs {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 3px;
}

.nav-tabs button {
  padding: 8px 13px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--mute);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
}

.nav-tabs button:hover {
  color: var(--blue-b) !important;
}

.nav-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
}

.nav-actions > a {
  color: var(--mute);
  font-family: var(--mono);
  font-size: 13px;
  text-decoration: none;
}

.download-button,
.primary-button {
  border: 0;
  border-radius: 4px;
  background: var(--blue);
  color: #08131f;
  cursor: pointer;
  font-family: var(--mono);
  font-weight: 600;
  text-decoration: none;
}

.download-button {
  padding: 9px 16px;
  font-size: 13px;
}

.download-button:hover,
.primary-button:hover {
  background: var(--blue-b);
  color: #08131f;
}

.hero-section {
  max-width: 1280px;
  margin: 0 auto;
  min-height: calc(100svh - 64px);
  padding: 70px 22px 64px;
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
}

.hero-copy {
  min-width: 0;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.hero-kicker::before {
  width: 28px;
  height: 1px;
  background: var(--blue);
  content: "";
}

.hero-copy h1 {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  max-width: 720px;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero-copy h1 span {
  color: var(--blue);
}

.hero-copy > p {
  max-width: 600px;
  margin: 26px 0 0;
  color: var(--mute);
  font-family: var(--sans);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
}

.hero-actions {
  gap: 12px;
  margin-top: 34px;
}

.hero-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.secondary-button {
  border: 1px solid var(--bline);
  background: transparent;
  color: var(--blue);
}

.secondary-button:hover {
  border-color: var(--blue);
  color: var(--blue-b);
}

.hero-note {
  margin-top: 18px !important;
  color: var(--dim) !important;
  font-family: var(--mono) !important;
  font-size: 12px !important;
  letter-spacing: 0.02em;
}

.hero-note span {
  padding-inline: 7px;
  color: var(--line);
}

.hero-media {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 42px 58px 24px;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(132, 174, 168, 0.28);
  border-radius: 14px;
  background: rgba(19, 38, 40, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.phone-frame {
  padding: 8px;
  border: 2px solid #789693;
  border-radius: 36px;
  background: #263235;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.24),
    0 30px 70px -36px rgba(3, 16, 18, 0.78);
}

.phone-frame video {
  display: block;
  width: min(326px, 31vw);
  height: auto;
  max-width: calc(100vw - 72px);
  aspect-ratio: 1080 / 2412;
  border-radius: 27px;
  background: #05070a;
  object-fit: contain;
}

.hero-media > figcaption {
  color: #829b98;
  font-family: var(--mono);
  font-size: 12px;
  text-align: center;
}

.project-facts,
.stories-section {
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: 22px;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-block: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-facts > * {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 28px 30px;
  color: inherit;
  text-decoration: none;
}

.project-facts > * + * {
  border-left: 1px solid var(--line);
}

.project-facts > a:hover strong {
  color: var(--blue-b);
}

.project-facts strong {
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.project-facts span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stories-section {
  padding-top: 140px;
  padding-bottom: 70px;
}

.section-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.section-rule span {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.stories-intro {
  max-width: 920px;
}

.stories-intro h2 {
  max-width: 720px;
  margin: 0;
  color: var(--text);
  font-family: var(--sans) !important;
  font-size: clamp(54px, 7vw, 90px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.stories-intro > p {
  max-width: 620px;
  margin: 30px 0 0;
  color: var(--mute);
  font-size: 19px;
  line-height: 1.6;
}

.story-list {
  margin-top: 90px;
}

.story-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(420px, 1.22fr);
  align-items: center;
  gap: clamp(54px, 8vw, 120px);
  min-height: 760px;
  padding: 78px 0;
  border-top: 1px solid var(--line);
}

.story-row:last-child {
  border-bottom: 1px solid var(--line);
}

.story-row-reverse .story-copy {
  order: 2;
}

.story-row-reverse .story-visual {
  order: 1;
}

.story-copy {
  max-width: 440px;
}

.story-number {
  margin-bottom: 34px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.story-copy h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--sans) !important;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.story-copy p {
  margin: 24px 0 0;
  color: var(--mute);
  font-size: 17px;
  line-height: 1.7;
}

.story-copy code {
  color: var(--text);
  font-family: var(--mono);
}

.story-copy ul {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.story-copy li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
}

.story-copy li::before {
  position: absolute;
  left: 0;
  color: var(--blue);
  content: "↳";
}

.story-visual {
  display: flex;
  min-height: 660px;
  margin: 0;
  padding: 42px 42px 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panelink);
}

.story-visual img {
  display: block;
  width: min(370px, 72%);
  max-height: 580px;
  border: 5px solid #05070a;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.story-visual figcaption {
  width: 100%;
  padding: 14px 0 16px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  text-align: center;
}

.install-lead {
  max-width: 760px;
  margin-bottom: 40px;
}

.install-lead h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--sans) !important;
  font-size: clamp(44px, 6vw, 72px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.install-lead > p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--mute);
  font-size: 18px;
  line-height: 1.65;
}

#tl-install {
  max-width: 1080px !important;
  padding-top: 130px !important;
}

#setup-downloads > .download-grid > div,
#setup-downloads + div,
.install-notes-grid {
  border-radius: 5px !important;
}

#setup-downloads > .download-grid > div {
  background: var(--panelink) !important;
}

#setup-downloads > .download-grid > div a,
#tl-install [style*="border-radius:9px"] {
  border-radius: 3px !important;
}

#tl [data-view="setup"] h2,
#tl [data-view="setup"] h3 {
  font-family: var(--sans) !important;
}

.wiki-layout {
  grid-template-columns: 240px minmax(0, 1fr) !important;
  max-width: 1200px !important;
  gap: 44px !important;
  padding: 44px 22px 110px !important;
}

.wiki-toc {
  display: none;
}

.wiki-nav-item {
  width: 100%;
  padding: 9px 13px;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 0 5px 5px 0;
  background: transparent;
  color: var(--mute);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
}

.wiki-nav-item:hover {
  color: var(--blue-b) !important;
}

.wiki-kicker {
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 0.14em;
}

#tl [data-article-body] > h1,
.wiki-empty h1 {
  color: var(--text);
  font-family: var(--sans);
}

.wiki-prose,
.wiki-empty p,
.wiki-prose table,
.wiki-prose pre,
.wiki-prose blockquote {
  max-width: 680px;
}

.wiki-prose h2,
.wiki-prose h3 {
  color: var(--text);
  font-family: var(--sans);
}

.wiki-prose a,
.wiki-prose th {
  color: var(--blue);
}

.wiki-prose blockquote {
  border-left-color: var(--blue);
  background: var(--panel);
}

.wiki-copy {
  border-color: var(--bline);
  color: var(--blue);
}

#tl [data-view="ai"] > div:first-child h1,
#tl [data-view="ai"] h2,
#tl [data-view="ai"] h3 {
  font-family: var(--sans) !important;
  letter-spacing: -0.01em !important;
}

#tl > footer {
  background: transparent !important;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

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

  .project-facts > *:nth-child(3) {
    border-left: 0;
  }

  .project-facts > *:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .stories-section {
    padding-top: 110px;
  }

  .story-row {
    grid-template-columns: minmax(230px, 0.8fr) minmax(330px, 1.2fr);
    gap: 42px;
    min-height: 620px;
    padding-block: 60px;
  }

  .story-visual {
    min-height: 540px;
    padding-inline: 24px;
  }

  .wiki-layout {
    grid-template-columns: 1fr !important;
  }

  .wiki-sidebar {
    position: static !important;
  }
}

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

  .site-nav-inner {
    gap: 10px;
  }
}

@media (max-width: 620px) {
  [data-hide-sm] {
    display: none !important;
  }

  .site-nav-inner {
    gap: 7px;
    padding-inline: 10px;
  }

  .nav-tabs {
    gap: 0;
  }

  .nav-tabs button {
    padding-inline: 8px;
  }

  .download-button {
    padding-inline: 12px;
  }

  .hero-section {
    padding-top: 50px;
  }

  .hero-copy h1 {
    font-size: clamp(45px, 14vw, 66px);
  }

  .hero-media {
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 28px 18px 20px;
  }

  .phone-frame video {
    width: min(286px, calc(100vw - 58px));
  }

  .project-facts {
    margin-inline: 16px;
    padding-inline: 0;
  }

  .project-facts > * {
    padding: 20px 14px;
  }

  .stories-section {
    padding-top: 86px;
    padding-inline: 18px;
  }

  .stories-intro h2 {
    font-size: clamp(48px, 15vw, 66px);
  }

  .stories-intro > p {
    font-size: 17px;
  }

  .story-list {
    margin-top: 60px;
  }

  .story-row {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 52px;
  }

  .story-row-reverse .story-copy,
  .story-row-reverse .story-visual {
    order: initial;
  }

  .story-copy h3 {
    font-size: 38px;
  }

  .story-copy p {
    font-size: 16px;
  }

  .story-visual {
    min-height: 500px;
    padding: 28px 18px 0;
  }

  .story-visual img {
    width: min(300px, 84%);
    max-height: 440px;
  }

  #tl-install {
    padding-top: 96px !important;
  }

  .install-lead > p {
    font-size: 16px;
  }

  .wiki-layout {
    padding-inline: 18px !important;
    gap: 24px !important;
  }

  .wiki-sidebar {
    margin-inline: -18px;
    padding: 0 18px 14px;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
  }

  .wiki-sidebar > div:first-child,
  .wiki-sidebar > div:last-child {
    display: none !important;
  }

  .wiki-sidebar nav {
    display: flex !important;
    width: max-content;
    flex-direction: row !important;
    gap: 8px !important;
  }

  .wiki-sidebar [data-article] {
    width: auto !important;
    flex: none;
    padding: 9px 13px !important;
    border: 1px solid var(--line) !important;
    border-radius: 4px !important;
  }
}

@media (max-width: 430px) {
  .site-nav-inner {
    gap: 4px;
    padding-inline: 8px;
  }

  .brand-button img {
    width: 26px;
    height: 26px;
  }

  .nav-tabs button {
    padding-inline: 6px;
    font-size: 11.5px;
  }

  .download-button {
    padding: 8px 9px;
    font-size: 11.5px;
  }
}
