/*
 * MobileMem project page styles
 *
 * Rules remain in cascade order. Major page features are separated by
 * section headers so visual overrides stay easy to locate and review.
 */

/* Foundations ------------------------------------------------------------- */

:root {
  color-scheme: light;
  --ink: #17211c;
  --muted: #55625c;
  --line: #d9e1dc;
  --paper: #fbfbf8;
  --wash: #eef6f1;
  --green: #0f7b4f;
  --green-dark: #095335;
  --coral: #c6533f;
  --gold: #b08a2e;
  --blue: #286f9e;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(23, 33, 28, 0.12);
  --nav-h: 72px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(15, 123, 79, 0.55);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 14px;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--nav-h);
  border-bottom: 1px solid rgba(217, 225, 220, 0.82);
  background: rgba(251, 251, 248, 0.9);
  backdrop-filter: blur(16px);
}

.nav-inner {
  width: min(1180px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: min(260px, 32vw);
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  background: var(--wash);
  color: var(--green-dark);
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.language-toggle button {
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.language-toggle button[aria-pressed="true"] {
  background: var(--green);
  color: var(--white);
}

.lang-en [data-lang="zh"],
.lang-zh [data-lang="en"] {
  display: none;
}

main {
  overflow: hidden;
}

.section {
  min-height: calc(100vh - var(--nav-h));
  scroll-margin-top: calc(var(--nav-h) + 14px);
  display: flex;
  align-items: center;
  padding: 42px 0;
  border-bottom: 1px solid rgba(217, 225, 220, 0.72);
}

.section.compact {
  min-height: auto;
  padding: 74px 0;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Hero -------------------------------------------------------------------- */

.hero .wrap {
  width: min(1450px, calc(100% - 40px));
}

.hero {
  position: relative;
  background: linear-gradient(
    120deg,
    rgba(238, 246, 241, 0.85),
    rgba(251, 251, 248, 0.92) 48%,
    rgba(247, 239, 230, 0.95)
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(580px, 0.92fr) minmax(760px, 1.08fr);
  gap: 26px;
  align-items: center;
}

.eyebrow {
  display: none;
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: 0;
}

.quote {
  margin-bottom: 24px;
  color: #243129;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.42;
  font-weight: 580;
}

.quote.small {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 520;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 1px 0 rgba(23, 33, 28, 0.04);
}

.btn.primary {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(23, 33, 28, 0.1);
}

.arrow {
  font-size: 18px;
  line-height: 0;
}

.media-stack {
  display: grid;
  gap: 14px;
}

.image-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(23, 33, 28, 0.08);
}

.hero .image-frame {
  position: relative;
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.hero .image-frame img {
  max-height: 390px;
  object-fit: contain;
  object-position: center;
}

/* OPPO application video modal ------------------------------------------- */

.video-modal {
  width: min(520px, calc(100% - 32px));
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #0a0f0d;
  box-shadow: 0 28px 90px rgba(7, 13, 10, 0.46);
}

.video-modal::backdrop {
  background: rgba(23, 33, 28, 0.55);
  backdrop-filter: blur(4px);
}

.video-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.video-modal-head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.video-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.oppo-video {
  display: block;
  width: min(100%, 430px);
  max-height: min(78vh, 820px);
  aspect-ratio: 720 / 1582;
  margin: 0 auto;
  background: #050806;
  object-fit: contain;
}

.video-player-shell {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 16px;
  background: radial-gradient(circle at 50% 0%, rgba(15, 123, 79, 0.2), transparent 42%), #0a0f0d;
}

.section-head {
  width: min(860px, 100%);
  margin-bottom: 30px;
}

.center-head {
  width: min(980px, 100%);
  margin: 0 auto 28px;
  text-align: center;
}

.center-head h2 {
  display: inline;
  padding: 0;
  background: transparent;
}

/* Highlight framework ---------------------------------------------------- */

#features {
  position: relative;
  isolation: isolate;
  align-items: flex-start;
  min-height: auto;
  padding: 54px 0 64px;
  background:
    linear-gradient(90deg, rgba(15, 123, 79, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(40, 111, 158, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 14% 18%, rgba(23, 132, 84, 0.11), transparent 28%),
    radial-gradient(circle at 84% 76%, rgba(40, 111, 158, 0.1), transparent 30%), #fbfcf9;
  background-size:
    42px 42px,
    42px 42px,
    auto,
    auto,
    auto;
}

#features .wrap {
  width: min(1320px, calc(100% - 48px));
}

.framework-figure {
  position: relative;
  height: clamp(520px, calc(100vh - var(--nav-h) - 230px), 620px);
  min-height: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(15, 83, 53, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(234, 246, 239, 0.9)), var(--white);
  box-shadow: 0 34px 90px rgba(23, 33, 28, 0.16);
  display: grid;
  place-items: center;
}

.framework-figure::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 0;
  border: 1px solid rgba(15, 123, 79, 0.12);
  border-radius: 8px;
  pointer-events: none;
}

.framework-figure[data-visual-kind="paper"] {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.framework-figure[data-visual-kind="paper"]::before {
  display: none;
}

@media (min-width: 981px) {
  .framework-figure[data-visual-kind="paper"] {
    height: clamp(420px, calc(100vh - var(--nav-h) - 370px), 480px);
  }
}

.framework-figure img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  background: transparent;
  margin: 0;
  padding: clamp(18px, 2.6vw, 34px);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    filter 220ms ease;
}

.framework-figure[data-visual-kind="paper"] img {
  padding: 0;
}

.framework-figure img.is-swapping {
  opacity: 0.16;
  transform: scale(0.985);
  filter: blur(2px);
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  gap: 28px;
  align-items: center;
}

.feature-accordion {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}

.feature-accordion details {
  overflow: hidden;
  border: 1px solid rgba(15, 83, 53, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 28px rgba(23, 33, 28, 0.06);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.feature-accordion details[open] {
  border-color: rgba(15, 123, 79, 0.4);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 249, 244, 0.95));
  box-shadow: 0 18px 46px rgba(15, 123, 79, 0.13);
}

.feature-accordion details:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 123, 79, 0.3);
}

.feature-accordion summary {
  min-height: 70px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 900;
}

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

.feature-accordion summary::after {
  content: "+";
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(15, 123, 79, 0.08);
  color: var(--green);
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}

.feature-accordion details[open] summary::after {
  content: "-";
}

.feature-accordion .step-number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid rgba(15, 123, 79, 0.18);
  border-radius: 999px;
  background: #eef7f2;
  color: var(--green-dark);
  font-size: 12px;
  letter-spacing: 0;
}

.feature-summary-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.feature-summary-copy strong {
  color: #12231b;
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.1;
  font-weight: 950;
}

.feature-summary-copy small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 820;
}

.accordion-body {
  padding: 0 18px 18px 70px;
  color: var(--muted);
}

.accordion-body .quote.small {
  margin-bottom: 0;
  color: #243129;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.58;
  font-weight: 650;
}

/* Quick start ------------------------------------------------------------- */

.quick {
  min-height: auto;
  scroll-margin-top: calc(var(--nav-h) + 46px);
  background: linear-gradient(180deg, rgba(251, 251, 248, 1), rgba(239, 243, 238, 1));
  padding: 16px 0 24px;
}

.quick .wrap {
  display: grid;
  gap: 12px;
}

.quick-head {
  text-align: center;
}

.quick-head h2 {
  margin-bottom: 0;
}

.quick-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
  gap: 18px;
  align-items: stretch;
}

.quick h2 {
  margin-bottom: 6px;
  font-size: clamp(30px, 2.9vw, 42px);
}

.quick h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.quick .quote.small {
  font-size: 14px;
  line-height: 1.42;
}

.quick .actions {
  margin-top: 18px;
}

.quick-note {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.quick-note p:last-child {
  margin-bottom: 0;
}

.command-block {
  margin: 8px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(18, 35, 27, 0.12);
  border-radius: 8px;
  background: #12231b;
  color: #f8fbf4;
  font-size: 12px;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre-wrap;
}

.command-block code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.terminal-demo {
  overflow: hidden;
  border: 1px solid rgba(18, 35, 27, 0.18);
  border-radius: 8px;
  background: #102018;
  box-shadow: 0 16px 34px rgba(23, 33, 28, 0.14);
}

.terminal-head {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #182b21;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.terminal-dots {
  display: inline-flex;
  gap: 6px;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6b57;
}

.terminal-dots span:nth-child(2) {
  background: #f6bd4f;
}

.terminal-dots span:nth-child(3) {
  background: #35c46a;
}

.terminal-body {
  min-height: 126px;
  padding: 12px 15px;
  color: #f8fbf4;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.5;
}

.terminal-content {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  min-height: 152px;
}

.terminal-content .quick-options {
  align-content: start;
  padding: 10px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
}

.terminal-line {
  margin: 0;
  white-space: pre-wrap;
}

.terminal-line.prompt::before {
  content: "$ ";
  color: #7ce3a0;
  font-weight: 900;
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 1.15em;
  margin-left: 3px;
  vertical-align: -0.18em;
  background: #f8fbf4;
  animation: cursorBlink 0.9s steps(2, start) infinite;
}

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

.github-cta {
  position: relative;
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 176px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: linear-gradient(135deg, #102018 0%, #172b21 58%, #0f7b4f 140%);
  box-shadow: 0 16px 34px rgba(23, 33, 28, 0.16);
  color: var(--white);
}

.github-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.github-card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.github-repo-name {
  display: block;
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

.github-repo-path {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 800;
}

.github-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.github-links {
  display: flex;
  width: min(250px, 100%);
  margin-top: 0;
}

.quick-options {
  display: grid;
  gap: 6px;
}

.quick-option {
  position: relative;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 10px 0 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.quick-option::before {
  content: attr(data-step);
  width: 24px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
  font-weight: 900;
}

.quick-option::after {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 999px;
  background: transparent;
}

.quick-option:hover {
  background: rgba(255, 255, 255, 0.075);
  color: rgba(255, 255, 255, 0.92);
}

.quick-option:focus {
  outline: none;
}

.quick-option:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(124, 227, 160, 0.58);
}

.quick-option[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.quick-option[aria-pressed="true"]::before {
  background: #7ce3a0;
  color: #0b2417;
}

.quick-option[aria-pressed="true"]::after {
  background: #7ce3a0;
}

.github-cta .quote.small {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 650;
}

.github-cta .btn {
  min-height: 46px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
}

.github-cta .btn.primary {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.github-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.steps {
  display: grid;
  gap: 10px;
  counter-reset: step;
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.step::before {
  content: counter(step);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wash);
  color: var(--green-dark);
  font-weight: 900;
}

.step p {
  margin-bottom: 0;
}

.step p + .command-block,
.step .command-block + p {
  margin-top: 8px;
}

.institutions {
  background: var(--white);
  color: var(--ink);
}

.institutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  text-align: center;
}

.institutions .quote,
.institutions .quote.small {
  color: var(--muted);
}

.institution-logo-panel {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 28px 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(23, 33, 28, 0.08);
}

.institution-logo-panel img {
  display: block;
  width: 100%;
  height: auto;
}

.institution-counter {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(217, 225, 220, 0.82);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.institution-counter .counter-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.institution-counter strong {
  color: var(--green-dark);
  font-variant-numeric: tabular-nums;
  font-weight: 950;
}

@media (max-width: 980px) {
  :root {
    --nav-h: 66px;
  }

  .nav-inner {
    width: min(100% - 28px, 760px);
  }

  .brand-logo {
    width: min(190px, 38vw);
    max-height: 42px;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding: 0 9px;
    font-size: 13px;
  }

  .section {
    min-height: auto;
    padding: 38px 0;
  }

  .wrap {
    width: min(100% - 28px, 760px);
  }

  .hero-grid,
  .two-col,
  .feature-layout,
  .quick-grid,
  .institutions-grid {
    grid-template-columns: 1fr;
  }

  .quote-panel {
    min-height: auto;
  }

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

  .framework-figure {
    height: auto;
    min-height: auto;
  }

  .framework-figure[data-visual-kind="paper"] {
    aspect-ratio: 16 / 10;
  }

  .framework-figure img {
    height: auto;
    max-height: none;
  }

  .framework-figure[data-visual-kind="paper"] img {
    height: 100%;
  }

  .pipeline-card::after {
    content: "";
  }

  .media-stack {
    order: -1;
  }
}

@media (max-width: 700px) {
  :root {
    --nav-h: 124px;
  }

  .site-nav {
    height: auto;
  }

  .nav-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand lang"
      "links links";
    min-height: var(--nav-h);
    align-items: center;
    gap: 6px;
    padding: 8px 0;
  }

  .brand {
    grid-area: brand;
  }

  .nav-links {
    grid-area: links;
    grid-column: 1 / -1;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .language-toggle {
    grid-area: lang;
    justify-self: end;
  }

  .nav-links a {
    flex: 0 0 auto;
  }

  .quick {
    padding-top: 14px;
  }

  .terminal-content {
    grid-template-columns: 1fr;
  }

  .terminal-content .quick-options {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  h1 {
    margin-bottom: 14px;
    font-size: 38px;
  }

  .quote {
    font-size: 17px;
  }

  .hero .quote.small {
    font-size: 14px;
    line-height: 1.45;
  }

  .hero .actions {
    margin-top: 16px;
  }

  .hero .image-frame img {
    max-height: 230px;
  }

  .feature-grid,
  .pipeline-grid {
    grid-template-columns: 1fr;
  }

  .image-frame .video-play {
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
  }
}
