:root {
  --ink: #10242c;
  --muted: #4e6670;
  --sky: #e8f8fb;
  --go: #00add8;
  --sea: #0f6f7d;
  --pine: #2f6b52;
  --sun: #f3b64b;
  --coral: #d86445;
  --paper: #fffdf7;
  --snow: #f6fbfa;
  --line: #cfe0de;
  --shadow: 0 18px 45px rgba(16, 36, 44, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
  color: #ffffff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  object-position: 12% 50%;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.menu-button {
  display: none;
  place-items: center;
  width: 2.75rem;
  height: 2.45rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(3, 31, 40, 0.22);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 150ms ease, opacity 150ms ease;
}

.menu-button span + span {
  margin-top: 0.24rem;
}

.menu-button:hover,
.menu-button:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.menu-button.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-links a {
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.46);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.lang-switcher {
  display: inline-flex;
  gap: 0.18rem;
  padding: 0.24rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(3, 31, 40, 0.22);
  backdrop-filter: blur(8px);
}

.lang-button {
  width: 2.35rem;
  min-height: 2.15rem;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.lang-button:hover,
.lang-button:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.lang-button.is-active {
  color: #0a2630;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  color: #ffffff;
  background-color: #062b34;
  background-image:
    linear-gradient(90deg, rgba(3, 31, 40, 0.95), rgba(3, 31, 40, 0.8) 36%, rgba(3, 31, 40, 0.22) 68%, rgba(3, 31, 40, 0.04)),
    linear-gradient(0deg, rgba(6, 28, 36, 0.84), rgba(6, 28, 36, 0) 42%),
    url("../pictures/gosherpa-hero-bg-v2.png");
  background-position: center, center, center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7rem;
  background: linear-gradient(0deg, var(--snow), rgba(246, 251, 250, 0));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 11rem 0 6rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #dcf8ff;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.38);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: 5.4rem;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.56);
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 1.6rem;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.48);
}

.hero-actions,
.mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  color: #0a2630;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 760px;
  margin-top: 1.4rem;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding: 0.42rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(3, 31, 40, 0.34);
  backdrop-filter: blur(8px);
  font-size: 0.9rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.42);
}

main {
  overflow: hidden;
}

section {
  padding: 5.5rem 0;
}

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

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.section-kicker {
  margin-bottom: 0.7rem;
  color: var(--sea);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-title {
  max-width: 780px;
  margin-bottom: 1rem;
  font-size: 2.7rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
}

.ask-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ask-list li {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.ask-list strong {
  color: var(--ink);
}

.ask-list span {
  color: var(--muted);
}

.quickstart-section {
  padding-top: 4.5rem;
}

.quickstart-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.quickstart-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.2rem;
}

.quickstart-panel {
  overflow: hidden;
  border: 1px solid #24434b;
  border-radius: 8px;
  background: #10242c;
  color: #eafffb;
  box-shadow: var(--shadow);
}

.quickstart-panel pre {
  margin: 0;
  overflow-x: auto;
  padding: 1.2rem;
  color: #eafffb;
  font-size: 0.94rem;
  line-height: 1.75;
  white-space: pre;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.trust-strip span {
  display: flex;
  align-items: center;
  min-height: 3.35rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.25;
}

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

.usecase-card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  min-height: 100%;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(16, 36, 44, 0.06);
}

.usecase-card strong {
  font-size: 1.08rem;
  line-height: 1.25;
}

.usecase-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.usecase-card pre {
  align-self: end;
  min-height: 9.5rem;
  margin: 0;
  overflow-x: auto;
  padding: 0.85rem;
  border: 1px solid #24434b;
  border-radius: 8px;
  background: #10242c;
  color: #eafffb;
  font-size: 0.75rem;
  line-height: 1.6;
  white-space: pre;
}

.band {
  background: #ffffff;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-head .section-title {
  margin-bottom: 0;
}

.agentic-head {
  margin-bottom: 0;
}

.agentic-head .section-title {
  margin-bottom: 1rem;
}

.demo-section {
  background: #ffffff;
}

.demo-head {
  align-items: start;
}

.command-demo {
  display: grid;
  grid-template-columns: minmax(270px, 0.82fr) minmax(0, 1.18fr);
  gap: 1rem;
  align-items: stretch;
}

.demo-tabs {
  display: grid;
  gap: 0.75rem;
}

.demo-tab {
  display: grid;
  gap: 0.38rem;
  width: 100%;
  min-height: 9.8rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease, background-color 150ms ease;
}

.demo-tab:hover,
.demo-tab:focus-visible {
  border-color: rgba(15, 111, 125, 0.55);
  box-shadow: 0 12px 28px rgba(16, 36, 44, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.demo-tab.is-active {
  border-color: rgba(15, 111, 125, 0.72);
  background: #ffffff;
  box-shadow: inset 4px 0 0 var(--sea), 0 14px 32px rgba(16, 36, 44, 0.12);
}

.demo-tab strong {
  font-size: 1.05rem;
  line-height: 1.22;
}

.demo-tab span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.demo-tab code {
  max-width: 100%;
  overflow-x: auto;
  padding-top: 0.2rem;
  color: #16414a;
  font-size: 0.82rem;
  white-space: nowrap;
}

.demo-terminal {
  display: flex;
  min-width: 0;
  min-height: 40rem;
  overflow: hidden;
  border: 1px solid #24434b;
  border-radius: 8px;
  background: #10242c;
  color: #eafffb;
  box-shadow: var(--shadow);
  flex-direction: column;
}

.demo-terminal-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #17333d;
}

.demo-terminal-bar {
  padding: 0.8rem 1rem 0.45rem;
  border-bottom: 0;
  background: transparent;
}

.demo-command-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 1rem 0.85rem;
}

.demo-command-row code {
  min-width: 0;
  overflow-x: auto;
  color: #8ee7ff;
  font-size: 0.86rem;
  white-space: nowrap;
}

.copy-command,
.copy-block-button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1;
}

.copy-command:hover,
.copy-command:focus-visible,
.copy-block-button:hover,
.copy-block-button:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.demo-terminal pre {
  flex: 1;
  margin: 0;
  overflow: auto;
  padding: 1.2rem;
  font-size: 0.86rem;
  line-height: 1.58;
  white-space: pre;
}

.demo-terminal code {
  font-size: inherit;
}

.text-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
  color: var(--sea);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--pine);
  outline: none;
}

.guide-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 3rem;
  align-items: start;
}

.guide-layout .section-title {
  margin-bottom: 1rem;
}

.guide-layout .text-link {
  margin-top: 0.5rem;
}

.guide-steps {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: guide;
}

.guide-steps li {
  position: relative;
  display: grid;
  gap: 0.38rem;
  min-width: 0;
  padding: 1rem 1rem 1rem 3.45rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(16, 36, 44, 0.06);
}

.guide-steps li::before {
  content: counter(guide);
  counter-increment: guide;
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  color: #ffffff;
  background: var(--sea);
  font-size: 0.82rem;
  font-weight: 900;
}

.guide-steps strong {
  font-size: 1.02rem;
}

.guide-steps span {
  color: var(--muted);
}

.guide-steps code {
  max-width: 100%;
  overflow-x: auto;
  padding: 0.55rem 0.65rem;
  border: 1px solid #d7e8e4;
  border-radius: 8px;
  background: #f5fbfa;
  color: #18404a;
  font-size: 0.82rem;
  white-space: nowrap;
}

.agent-kit {
  display: grid;
  gap: 1rem;
  grid-column: 1 / -1;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 25px rgba(16, 36, 44, 0.06);
}

.agent-kit h3 {
  margin-bottom: 0.35rem;
  font-size: 1.28rem;
  line-height: 1.2;
}

.agent-kit p {
  margin-bottom: 0;
  color: var(--muted);
}

.agent-kit pre {
  margin: 0;
  overflow-x: auto;
  padding: 1rem;
  border: 1px solid #24434b;
  border-radius: 8px;
  background: #10242c;
  color: #eafffb;
  font-size: 0.82rem;
  line-height: 1.65;
  white-space: pre;
}

.schema-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.comic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.comic-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 25px rgba(16, 36, 44, 0.07);
}

.comic-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #ffffff;
}

.comic-body {
  padding: 1.1rem;
}

.comic-body h3 {
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

.comic-body p {
  color: var(--muted);
  font-size: 0.98rem;
}

.command-pill {
  display: block;
  width: 100%;
  overflow-x: auto;
  padding: 0.65rem 0.7rem;
  border: 1px solid #d7e8e4;
  border-radius: 8px;
  background: #f5fbfa;
  color: #18404a;
  font-size: 0.86rem;
  white-space: nowrap;
}

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

.capability-row {
  display: grid;
  grid-template-columns: 0.85fr 1.6fr 1.1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.capability-row strong {
  font-size: 1.03rem;
}

.capability-row span {
  color: var(--muted);
}

.capability-row code {
  justify-self: end;
  max-width: 100%;
  overflow-x: auto;
  padding: 0.44rem 0.55rem;
  border-radius: 8px;
  background: #edf8f6;
  color: #16414a;
  font-size: 0.85rem;
  white-space: nowrap;
}

.trust-section {
  background: #ffffff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.trust-card {
  min-height: 100%;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.trust-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
  line-height: 1.25;
}

.trust-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.fit-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.fit-row {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.3fr;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
}

.fit-row:last-child {
  border-bottom: 0;
}

.fit-row span {
  color: var(--muted);
}

.fit-row span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.fit-head {
  background: #edf8f6;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.community-card {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  min-height: 100%;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 25px rgba(16, 36, 44, 0.06);
}

.community-card strong {
  font-size: 1rem;
  line-height: 1.25;
}

.community-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.community-card code {
  max-width: 100%;
  overflow-x: auto;
  align-self: end;
  padding: 0.48rem 0.55rem;
  border: 1px solid #d7e8e4;
  border-radius: 8px;
  background: #f5fbfa;
  color: #18404a;
  font-size: 0.78rem;
  white-space: nowrap;
}

.contribute-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10242c;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.contribute-panel .section-kicker {
  color: #8ee7ff;
}

.contribute-panel h3 {
  margin-bottom: 0.45rem;
  font-size: 1.45rem;
  line-height: 1.2;
}

.contribute-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.contribute-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.contribute-panel .button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.terminal {
  overflow: hidden;
  border: 1px solid #24434b;
  border-radius: 8px;
  background: #10242c;
  color: #eafffb;
  box-shadow: var(--shadow);
}

.terminal-bar {
  display: flex;
  gap: 0.45rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #17333d;
}

.terminal-dots {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.code-block-bar {
  align-items: center;
  justify-content: space-between;
}

.terminal-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--coral);
}

.terminal-dot:nth-child(2) {
  background: var(--sun);
}

.terminal-dot:nth-child(3) {
  background: var(--go);
}

.terminal pre {
  margin: 0;
  overflow-x: auto;
  padding: 1.2rem;
  font-size: 0.92rem;
  line-height: 1.7;
  white-space: pre;
}

.terminal .comment {
  color: #89b8b4;
}

.terminal .accent {
  color: #8ee7ff;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.audience {
  min-height: 100%;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.audience h3 {
  margin-bottom: 0.5rem;
  font-size: 1.12rem;
}

.audience p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta {
  position: relative;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(8, 29, 35, 0.88), rgba(17, 94, 93, 0.82)),
    url("../pictures/gosherpa-comic-agents.webp") center / cover no-repeat;
}

.cta .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.cta h2 {
  margin-bottom: 0.85rem;
  font-size: 2.6rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.cta p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.install-box {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(8, 26, 34, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.install-box .terminal-bar {
  background: rgba(23, 51, 61, 0.72);
}

.install-box pre {
  margin: 0;
  overflow-x: auto;
  padding: 1.2rem;
  color: #eafffb;
  font-size: 0.9rem;
  line-height: 1.65;
  white-space: pre;
}

footer {
  padding: 2rem 0;
  color: #47606b;
  background: #ffffff;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-weight: 800;
  color: var(--sea);
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .header-actions {
    align-items: flex-end;
  }

  .nav-links {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .mobile-menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    display: grid;
    width: min(21rem, calc(100vw - 2rem));
    gap: 0.22rem;
    padding: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 8px;
    background: rgba(3, 31, 40, 0.9);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(12px);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a {
    padding: 0.78rem 0.85rem;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 900;
    line-height: 1.2;
  }

  .mobile-menu a:hover,
  .mobile-menu a:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    outline: none;
  }

  h1 {
    font-size: 4rem;
  }

  .hero-copy {
    font-size: 1.14rem;
  }

  .intro-grid,
  .quickstart-layout,
  .command-demo,
  .guide-layout,
  .split,
  .cta .wrap {
    grid-template-columns: 1fr;
  }

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

  .demo-tab {
    min-height: 10.6rem;
  }

  .comic-grid,
  .community-grid,
  .trust-grid,
  .usecase-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

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

  .section-head {
    display: block;
  }

  .capability-row,
  .fit-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .capability-row code {
    justify-self: start;
  }

  .contribute-panel {
    grid-template-columns: 1fr;
  }

  .contribute-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 86svh;
    background-image:
      linear-gradient(90deg, rgba(3, 31, 40, 0.96), rgba(3, 31, 40, 0.84) 58%, rgba(3, 31, 40, 0.46)),
      linear-gradient(0deg, rgba(6, 28, 36, 0.88), rgba(6, 28, 36, 0) 48%),
      url("../pictures/gosherpa-hero-bg-v2.png");
    background-position: center, center, 58% 50%;
  }

  .hero-content {
    padding: 8.5rem 0 5rem;
  }

  h1 {
    font-size: 3.2rem;
  }

  .section-title,
  .cta h2 {
    font-size: 2.05rem;
  }

  section {
    padding: 4rem 0;
  }

  .ask-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .brand span {
    display: none;
  }

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

  .header-actions {
    gap: 0.5rem;
  }

  .menu-button {
    width: 2.45rem;
    height: 2.25rem;
  }

  .lang-button {
    width: 2rem;
    min-height: 2rem;
  }

  .mobile-menu {
    left: 0;
    width: 100%;
  }

  .demo-tabs {
    grid-template-columns: 1fr;
  }

  .demo-tab {
    min-height: 0;
  }

  .demo-terminal {
    min-height: 34rem;
  }

  .demo-command-row {
    align-items: stretch;
    flex-direction: column;
  }

  .copy-command,
  .copy-block-button {
    width: 100%;
  }

  .demo-terminal pre {
    padding: 0.95rem;
    font-size: 0.78rem;
  }

  .footer-inner {
    display: grid;
  }
}
