/* SILO content mapped onto Pigsty Landing v3's typography, layout, and sections. */

.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 1000;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--bg-elev);
  color: var(--ink) !important;
  box-shadow: var(--shadow-md);
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

.skip-link:focus { transform: none; }

.dropdown-col a > span {
  flex: none;
  width: 18px;
  color: var(--silk);
  text-align: center;
}

.mobile-menu-link--btn { width: 100%; }

.nav-count {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.silo-hero-title {
  font-size: clamp(3rem, 5.15vw, 4.55rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.silo-hero-title .hero-title-line + .hero-title-line { margin-top: 0.12em; }
.silo-hero-title .ini { display: inline-block; font-size: 1.07em; line-height: 0.9; vertical-align: -0.02em; }

.hero-sub a {
  color: var(--ink) !important;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--copper-dim);
  text-underline-offset: 0.18em;
}

.hero-sub a:hover { text-decoration-color: var(--copper); }

/* Hero storage board */
.silo-board-stage { padding: 8px 12px; }

.silo-board {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(248px, 1fr) auto;
  min-height: 336px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 38%, rgba(65, 158, 219, 0.14), transparent 30%),
    linear-gradient(145deg, var(--bg-elev-2), var(--bg-elev));
  box-shadow: var(--shadow-lg);
}

.silo-board::before,
.silo-board::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  border-color: var(--copper-dim);
  border-style: solid;
  pointer-events: none;
}

.silo-board::before {
  top: 8px;
  left: 8px;
  border-width: 1px 0 0 1px;
}

.silo-board::after {
  right: 8px;
  bottom: 8px;
  border-width: 0 1px 1px 0;
}

.silo-board-top,
.silo-board-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 16px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--silk);
}

.silo-board-top { border-bottom: 1px solid var(--line); }
.silo-board-foot { border-top: 1px solid var(--line); }
.silo-board-top span,
.silo-board-foot span:last-child { display: inline-flex; align-items: center; gap: 8px; }
.silo-board-top i,
.silo-board-foot i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(85, 201, 138, 0.13);
}

.silo-board-top b { color: var(--copper); font-weight: 500; }

/* 画布分两行：上行是「端口 — 芯片 — 端口」，下行是磁盘条 */
.silo-board-canvas {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(14px, 2.4vw, 22px);
  padding: clamp(20px, 2.8vw, 28px) clamp(18px, 2.6vw, 26px);
  overflow: hidden;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 24px 24px;
}

.silo-board-canvas::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed var(--line);
  border-radius: 10px;
}

.silo-board-core {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}

.silo-port {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 120px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--pill-bg);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-mono);
}

/* 两侧端口向中间芯片靠拢 */
.silo-port--api { justify-self: end; }
.silo-port--console { justify-self: start; text-align: right; }
.silo-port small { font-size: 0.6rem; letter-spacing: 0.14em; color: var(--copper); }
.silo-port strong { font-size: 1.25rem; line-height: 1.25; color: var(--ink); }
.silo-port span { font-size: 0.5rem; letter-spacing: 0.08em; color: var(--ink-mute); }

.silo-chip {
  position: relative;
  z-index: 3;
  display: flex;
  width: 176px;
  min-height: 126px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--copper-dim);
  border-radius: 12px;
  background: linear-gradient(145deg, var(--bg-elev-2), var(--bg-elev));
  box-shadow: 0 18px 40px rgba(2, 8, 18, 0.36), inset 0 0 0 5px var(--bg-elev);
  font-family: var(--font-mono);
}

.silo-chip small { font-size: 0.58rem; letter-spacing: 0.14em; color: var(--silk); }
.silo-chip strong { font-family: var(--font-display); font-size: 2.4rem; line-height: 1.12; letter-spacing: 0.12em; color: var(--pg-strong); }
.silo-chip span { font-size: 0.58rem; letter-spacing: 0.12em; color: var(--copper); }

.silo-disks {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
}

.silo-disks p { margin: 0 0 7px; font-size: 0.55rem; letter-spacing: 0.12em; color: var(--silk); }
.silo-disks > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.silo-disks > div > span {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0 7px;
  align-items: center;
  padding: 8px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--pill-bg);
}

.silo-disks i { grid-row: 1 / 3; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px rgba(85, 201, 138, 0.12); }
.silo-disks b { font-size: 0.72rem; line-height: 1; color: var(--ink); }
.silo-disks small { font-size: 0.47rem; letter-spacing: 0.08em; color: var(--ink-mute); }

html[data-theme="light"] .silo-chip { box-shadow: var(--shadow-md), inset 0 0 0 5px var(--bg-elev); }

/* Above-the-fold proof: metrics, then a Pigsty-style scrolling logo wall. */
.section-head--compact { margin-bottom: clamp(24px, 3.5vw, 38px); }

.key-metrics {
  padding-top: clamp(54px, 6vw, 78px);
  /* The logo wall already ends in whitespace, so it sits closer to what follows. */
  padding-bottom: clamp(26px, 3vw, 40px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--pg) 3%, transparent), transparent);
}

.key-metrics .stats-grid { max-width: 1100px; margin: 0 auto; }
.key-metrics .stat-item {
  position: relative;
  min-height: 132px;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(145deg, var(--bg-elev), var(--bg-elev-2));
  box-shadow: var(--shadow-sm);
}
.key-metrics .stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
  opacity: 0.58;
}
.key-metrics .stat-value { color: var(--pg-strong); }
.key-metrics .stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.adoption-logos { margin: 0 0 clamp(24px, 3vw, 34px); }
/* Marquee sits under the key-metrics stat cards, sharing their width.
   The fade is kept tight so logos enter and leave flush with the card edges. */
.key-metrics .adoption-logos {
  max-width: 1100px;
  margin: clamp(38px, 4.8vw, 64px) auto 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}
/* Three rows travelling against each other — left, right, left. Durations are
   staggered so the rows never lock step into a single moving block. */
.key-metrics .adoption-logos {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.1vw, 28px);
}
.adoption-logos .logos-marquee-content {
  gap: 0;
  /* Duration covers the whole strip, so it scales with the number of logos. */
  animation-duration: 68s;
}
.adoption-logos .logos-marquee-row:nth-of-type(2) .logos-marquee-content { animation-duration: 77s; }
.adoption-logos .logos-marquee-row:nth-of-type(3) .logos-marquee-content { animation-duration: 72s; }
.evidence-logo-set {
  display: flex;
  align-items: center;
  gap: clamp(26px, 3vw, 44px);
  padding-right: clamp(26px, 3vw, 44px);
}
.evidence-logo-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 15px;
  color: inherit !important;
}
.adoption-logos .evidence-logo-item img {
  width: 72px;
  height: 72px;
  flex: none;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
  filter: grayscale(1);
  opacity: 0.82;
}
html[data-theme="dark"] .adoption-logos .evidence-logo-item img {
  filter: grayscale(1);
  opacity: 0.86;
}
.adoption-logos a.evidence-logo-item:hover img,
html[data-theme="dark"] .adoption-logos a.evidence-logo-item:hover img {
  filter: none;
  opacity: 1;
}
.evidence-logo-copy { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.evidence-logo-copy strong {
  font-family: var(--font-head);
  font-size: 1rem;
  line-height: 1.15;
  color: var(--ink);
  white-space: nowrap;
}
.evidence-logo-copy small {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  line-height: 1.35;
  letter-spacing: 0.07em;
  color: var(--ink-mute);
  white-space: nowrap;
}
/* 中文的使用方式说明用正文字体，丝印级字号读不出来 */
:lang(zh) .evidence-logo-copy small {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}
/* SVG 徽标是满幅矢量，裁切会切掉边角 */
.adoption-logos .evidence-logo-item img[src$=".svg"] {
  padding: 9px;
  object-fit: contain;
}
.adoption-logos a.evidence-logo-item:hover .evidence-logo-copy small { color: var(--copper); }

/* Value visuals */
.modules .module-list li {
  font-size: min(0.95rem, 2.55cqw);
  white-space: normal;
}

.silo-figure {
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.silo-figure img { border-radius: 7px; filter: none; }
.silo-figure:hover img { transform: scale(1.01); }

.artifact-plate {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--bg-elev);
  box-shadow: var(--shadow-md);
  color: inherit !important;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.artifact-plate:hover { transform: translateY(-4px); border-color: var(--card-hover-border); box-shadow: var(--shadow-lg); }
.artifact-plate-head,
.artifact-plate-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 14px; font-family: var(--font-mono); }
.artifact-plate-head { border-bottom: 1px solid var(--line); }
.artifact-plate-head b { font-size: 0.7rem; letter-spacing: 0.12em; color: var(--copper); }
.artifact-plate-head small { font-size: 0.55rem; letter-spacing: 0.08em; color: var(--ink-mute); }
.artifact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px; }
.artifact-grid i { display: flex; min-height: 86px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-elev-2); font-style: normal; }
.artifact-grid b { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 0.08em; color: var(--ink); }
.artifact-grid small { font-family: var(--font-mono); font-size: 0.52rem; color: var(--ink-mute); }
.artifact-plate-foot { border-top: 1px solid var(--line); font-size: 0.62rem; letter-spacing: 0.1em; color: var(--silk); }
.artifact-plate-foot i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.artifact-plate-foot b { margin-left: auto; color: var(--copper); }

/* Interface bus */
.interface-grid { grid-template-columns: repeat(6, 1fr); }
.interface-glyph {
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--bg-elev-2);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--pg-strong);
}

/* Console gallery */
.dashboard-gallery-track { animation-duration: 150s; }
.dashboard-gallery-slide {
  height: clamp(220px, 25vw, 340px);
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
}
.dashboard-gallery-slide img { object-fit: cover; object-position: top left; }

/* Adoption evidence note */

/* Noto Sans SC draws U+2018–U+201D at CJK full width, which blows a hole through
   Latin quotes ("I’m" renders as "I’ m"). Borrow just those glyphs from a Latin
   face; if none is installed the stack falls back to the CJK face as before. */
@font-face {
  font-family: 'Latin Quotes';
  src: local('Helvetica Neue'), local('Helvetica'), local('Arial'), local('Segoe UI'), local('Roboto'), local('Liberation Sans'), local('DejaVu Sans');
  unicode-range: U+2018-201F, U+2032-2033, U+2039-203A;
  font-display: swap;
}

/* Public operator reports */
.operator-voices { position: relative; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--pg) 3%, transparent), transparent); }

/* Community testimonial marquee — avatar, person, identity, quote.
   Rides on the shared .testimonials-* marquee from landing-v3.css; the card
   itself is a plain block so it still reads as a card without this file. */
.voice-wall-head {
  display: flex;
  align-items: center;
  gap: 14px;
  /* Sits directly under .section-head, whose margin-bottom sets the gap. */
  margin: 0 0 clamp(16px, 2vw, 22px);
  color: var(--ink-mute);
}
.voice-wall-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}
.voice-wall .testimonials-content { gap: 0; }
.voice-set { display: flex; align-items: stretch; gap: 16px; padding-right: 16px; }
.voice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 26px;
}
.voice-card .testimonial-avatar { background: var(--bg-elev-2); }
.voice-card .testimonial-info { min-width: 0; }
.voice-card .testimonial-name,
.voice-card .testimonial-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.voice-card .testimonial-text:not([lang]) { font-family: 'Latin Quotes', var(--font-body); }
/* Whole card is the link; the source label sits at the bottom edge. */
.voice-source {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0 20px 14px;
  border-radius: var(--radius-md);
  color: inherit !important;
  text-decoration: none;
}
.voice-source span {
  overflow: hidden;
  max-width: 100%;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.03em;
  color: var(--ink-mute);
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 180ms ease;
}
.voice-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.voice-card:hover .voice-source span,
.voice-source:focus-visible span { opacity: 1; }
.voice-card:hover .testimonial-name { color: var(--pg-strong); }

/* Maintenance boundary */
.promise { background: linear-gradient(180deg, transparent, rgba(65, 158, 219, 0.025), transparent); }
.promise-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.promise-card { position: relative; overflow: hidden; padding: clamp(24px, 3.5vw, 38px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-elev); box-shadow: var(--shadow-sm); }
.promise-card::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 3px; background: var(--ok); opacity: 0.72; }
.promise-card--no::before { background: var(--copper); }
.promise-card > p { display: flex; align-items: center; margin: 0 0 14px; color: var(--copper); }
.promise-card--yes > p { color: var(--ok); }
.promise-mark { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 18px; height: 18px; margin-right: 9px; border-radius: 50%; font-size: 0.66rem; font-weight: 700; line-height: 1; background: color-mix(in srgb, currentColor 15%, transparent); }
.promise-card h3 { margin: 0 0 18px; font-family: var(--font-head); font-size: 1.35rem; color: var(--ink); }
.promise-card ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.promise-card li { position: relative; padding-left: 22px; color: var(--ink-soft); }
.promise-card li::before { content: "+"; position: absolute; top: 0; left: 1px; font-family: var(--font-mono); font-weight: 600; color: var(--ok); }
.promise-card--no li::before { content: "–"; color: var(--copper); }
.promise-cta { margin-top: 26px; text-align: center; }

/* FAQ：原生 details 互斥手风琴（name 属性），无 JS */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
  transition: border-color 180ms ease;
  interpolate-size: allow-keywords;
}
.faq-item[open] { border-color: var(--card-hover-border); }
.faq-item summary {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-num { flex: none; width: 26px; color: var(--copper); font-size: 0.68rem; }
.faq-q { flex: 1; min-width: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--ink); transition: color 150ms ease; }
.faq-item summary:hover .faq-q { color: var(--pg-strong); }
.faq-toggle { position: relative; flex: none; width: 14px; height: 14px; align-self: center; }
.faq-toggle::before,
.faq-toggle::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--copper); transition: transform 200ms ease; }
.faq-toggle::before { width: 14px; height: 2px; }
.faq-toggle::after { width: 2px; height: 14px; }
.faq-item[open] .faq-toggle::after { transform: rotate(90deg); }
.faq-a { padding: 0 46px 18px 60px; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.75; }
.faq-a p { margin: 0; }
.faq-a a { color: var(--pg); text-decoration: underline; text-underline-offset: 3px; }
.faq-a a:hover { color: var(--pg-strong); }
.faq-a code { padding: 1px 5px; border-radius: 4px; font-family: var(--font-mono); font-size: 0.85em; color: var(--ink); background: color-mix(in srgb, var(--line) 40%, transparent); }
/* 展开动画：支持 ::details-content 的浏览器渐进增强，其余浏览器直接显隐 */
.faq-item::details-content {
  opacity: 0;
  block-size: 0;
  overflow: clip;
  transition: block-size 260ms ease, opacity 260ms ease, content-visibility 260ms allow-discrete;
}
.faq-item[open]::details-content { opacity: 1; block-size: auto; }
@media (max-width: 640px) { .faq-a { padding: 0 20px 16px; } }

/* Quick start */
.silo-steps { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
.silo-steps .step-card,
.silo-steps .step-card:first-child { max-width: none; }
.silo-steps .step-cmd-text { white-space: normal; overflow-wrap: anywhere; }
.install-option-icon { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.05em; }

.download-entry {
  margin-top: clamp(34px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, color-mix(in srgb, var(--bg-elev) 96%, var(--pg)), var(--bg-elev));
  box-shadow: var(--shadow-sm);
}
.download-entry-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(24px, 3.5vw, 38px);
  border-bottom: 1px solid var(--line);
}
.download-entry-head p { margin: 0 0 9px; color: var(--copper); }
.download-entry-head h3 { margin: 0 0 8px; font-family: var(--font-head); font-size: clamp(1.25rem, 2vw, 1.7rem); color: var(--ink); }
.download-entry-head span { color: var(--ink-mute); font-size: 0.9rem; }
.landing-page .download-entry-link { flex: none; color: var(--pg-strong); font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; }
.landing-page .download-entry-link span { display: inline-block; margin-left: 5px; color: var(--copper); transition: transform 160ms ease; }
.landing-page .download-entry-link:hover span { transform: translate(3px, -3px); }
.download-entry .install-options { margin: 0; padding: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.download-entry .install-option { background: color-mix(in srgb, var(--bg-elev-2) 74%, transparent); }

.footer-logo img { object-fit: contain; }

/* Contributors：用户之声下方的头像墙。合入代码的四位加铜环并排在最前，
   其余压暗去饱和作陪衬；悬停浮出姓名，合入代码的那几位再带上具体改动。 */
.contrib-strip { margin-top: clamp(34px, 4vw, 52px); padding-top: clamp(26px, 3vw, 38px); border-top: 1px solid var(--line); }
.contrib-lead { max-width: 640px; margin: 0 auto 28px; text-align: center; color: var(--ink-mute); font-size: 0.92rem; line-height: 1.6; }
.landing-page .contrib-lead a { color: var(--copper); border-bottom: 1px solid var(--copper-dim); transition: border-color 160ms ease; }
.landing-page .contrib-lead a:hover { border-bottom-color: var(--copper); }
/* 宽度收在 880px：29 个头像排成 15+14 的两行，比撑满 1280 的 22+7 匀称 */
.contrib-wall { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; max-width: 880px; margin: 0 auto; }

.contrib-avatar { position: relative; display: block; width: 44px; height: 44px; border-radius: 50%; transition: transform 180ms ease; }
.contrib-avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--bg-elev-2); object-fit: cover; filter: grayscale(0.45); opacity: 0.86; transition: filter 180ms ease, opacity 180ms ease; }
.contrib-avatar::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line-strong); border-radius: 50%; pointer-events: none; }
.contrib-avatar:hover, .contrib-avatar:focus-visible { z-index: 3; transform: translateY(-3px) scale(1.1); }
.contrib-avatar:hover img, .contrib-avatar:focus-visible img { filter: none; opacity: 1; }

/* 合入代码的一档：更大、满色、铜环 */
.contrib-avatar--code { width: 54px; height: 54px; }
.contrib-avatar--code img { filter: none; opacity: 1; }
.contrib-avatar--code::after { border: 2px solid var(--copper); box-shadow: 0 0 0 3px color-mix(in srgb, var(--copper) 16%, transparent); }

/* 悬停铭牌 */
.contrib-tip { position: absolute; bottom: calc(100% + 10px); left: 50%; z-index: 4; display: flex; flex-direction: column; gap: 2px; width: max-content; max-width: 210px; padding: 7px 11px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg-elev-2); box-shadow: var(--shadow-sm); opacity: 0; text-align: center; transform: translate(-50%, 4px); transition: opacity 160ms ease, transform 160ms ease; pointer-events: none; }
.contrib-tip strong { color: var(--ink); font-size: 0.8rem; font-weight: 600; line-height: 1.3; }
.contrib-tip em { color: var(--copper); font-size: 0.72rem; font-style: normal; line-height: 1.35; }
.contrib-avatar:hover .contrib-tip, .contrib-avatar:focus-visible .contrib-tip { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1120px) {
  .nav-link { padding-right: 9px; padding-left: 9px; }
  .nav-star { display: none; }
  .silo-board { min-height: 330px; }
}

@media (max-width: 980px) {
  .silo-hero-title { font-size: clamp(3.2rem, 9vw, 5rem); }
  .silo-board { min-height: 324px; }
  .silo-chip { width: 164px; }
  .interface-grid { grid-template-columns: repeat(3, 1fr); }
  .silo-steps { grid-template-columns: 1fr; }
  .download-entry .install-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .silo-hero-title { font-size: clamp(2.3rem, 11.5vw, 3.5rem); }
  .operator-voices { overflow-x: clip; }
  .silo-board-stage { padding: 0; }
  .silo-board { grid-template-rows: auto minmax(232px, 1fr) auto; min-height: 318px; }
  .silo-port { min-width: 100px; padding: 8px 9px; }
  .silo-port strong { font-size: 1rem; }
  .silo-chip { width: 148px; min-height: 112px; }
  .silo-chip strong { font-size: 2.05rem; }
  .silo-disks > div { gap: 5px; }
  .silo-disks > div > span { padding: 7px 5px; }
  .artifact-grid { grid-template-columns: repeat(2, 1fr); }
  .interface-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-grid { grid-template-columns: 1fr; }
  .dashboard-gallery-slide { height: 220px; }
  .key-metrics .stat-item { min-height: 112px; }
  .evidence-logo-item { min-width: 0; gap: 12px; }
  .adoption-logos .evidence-logo-item img { width: 58px; height: 58px; border-radius: 13px; }
  .evidence-logo-copy strong { font-size: 0.9rem; }
  .evidence-logo-copy small { font-size: 0.48rem; }
  .voice-card { padding: 15px 16px 24px; }
  .voice-source { padding: 0 16px 12px; }
  .download-entry-head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .silo-hero-title { font-size: clamp(2.1rem, 11vw, 2.9rem); }
  .eyebrow-zh { display: none; }
  /* 窄屏收紧头像墙，避免 29 张头像撑成过多行 */
  .contrib-wall { gap: 7px; }
  .contrib-avatar { width: 38px; height: 38px; }
  .contrib-avatar--code { width: 46px; height: 46px; }
  .contrib-tip { max-width: 170px; }
  .silo-board { grid-template-rows: auto minmax(212px, 1fr) auto; min-height: 296px; }
  .silo-board-top,
  .silo-board-foot { font-size: 0.56rem; }
  /* 窄屏让端口跟随栅格收缩，宁可压扁也不要把画布顶出视口 */
  .silo-port { min-width: 0; padding: 7px; justify-self: stretch; }
  .silo-port strong { font-size: 0.88rem; }
  .silo-port span { display: none; }
  .silo-chip { width: 108px; min-height: 94px; }
  .silo-chip small { font-size: 0.47rem; }
  .silo-chip strong { font-size: 1.65rem; }
  .silo-chip span { font-size: 0.48rem; }
  .silo-disks p { font-size: 0.45rem; }
  .silo-disks > div > span { display: flex; flex-direction: column; gap: 2px; text-align: center; }
  .silo-disks i { width: 5px; height: 5px; }
  .artifact-plate-head small { display: none; }
  .download-entry .install-options { grid-template-columns: 1fr; }
}
