/* TinyStatus — tinystatus.lanrenwen.com
   Obsidian Dark + Ice-Cyan Liquid Glass macOS Hardware Aesthetic */

:root {
  --bg: #06090f;
  --bg-elevated: #0c121c;
  --bg-card: rgba(14, 21, 33, 0.72);
  --bg-card-hover: rgba(19, 28, 44, 0.86);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(125, 211, 252, 0.24);

  --text: #f3f7fc;
  --text-secondary: #9fb0c6;
  --text-muted: #6c7f99;

  --cyan: #67e8f9;
  --cyan-deep: #0ea5e9;
  --cyan-glow: rgba(103, 232, 249, 0.16);
  --green: #34d399;
  --amber: #fbbf24;

  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 9999px;

  --shell: min(1120px, calc(100vw - 40px));
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 50% -80px, rgba(56, 189, 248, 0.15), transparent 65%),
    radial-gradient(640px 420px at 85% 24%, rgba(103, 232, 249, 0.07), transparent 60%),
    var(--bg);
  color: var(--text);
  overflow-x: clip;
}

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

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

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
pre[tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 1000;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--cyan);
  color: #041019;
  font-weight: 700;
  font-size: 14px;
}

.skip-link:focus {
  top: 16px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

/* ── Navigation ─────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: rgba(6, 9, 15, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: var(--shell);
  margin-inline: auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow: 0 2px 10px rgba(103, 232, 249, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.16s ease;
}

.nav-links a:hover {
  color: var(--text);
}

/* ── Buttons ────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-block-size: 40px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s var(--ease-out), background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, #e0f7ff 0%, #67e8f9 100%);
  color: #04131c;
  box-shadow: 0 6px 24px rgba(103, 232, 249, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(103, 232, 249, 0.34);
  transform: translateY(-1px);
}

.btn-lg {
  min-block-size: 48px;
  padding: 0 26px;
  font-size: 15px;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
  color: var(--text);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

/* ── Hero ───────────────────────────────────────────────────────────── */

.hero {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(103, 232, 249, 0.08);
  border: 1px solid rgba(103, 232, 249, 0.22);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.hero-title {
  margin: 0 auto 20px;
  max-width: 18ch;
  font-size: clamp(2.5rem, 5.4vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #ffffff 30%, #a5c4d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  margin: 0 auto 32px;
  max-width: 58ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-secondary);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-brew-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-block-size: 48px;
  padding: 6px 8px 6px 18px;
  border-radius: var(--radius-pill);
  background: rgba(14, 21, 33, 0.88);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 13px;
  max-width: 100%;
}

.hero-brew-pill code {
  font-family: var(--font-mono);
  color: var(--text);
  overflow-x: auto;
  white-space: nowrap;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

/* ── Interactive macOS Desktop Stage ────────────────────────────────── */

.mac-stage {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(620px 340px at 72% 18%, rgba(56, 189, 248, 0.22), transparent 65%),
    radial-gradient(500px 300px at 22% 85%, rgba(14, 165, 233, 0.14), transparent 65%),
    linear-gradient(160deg, #0d1624 0%, #080d16 55%, #0a101b 100%);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  text-align: left;
}

.mac-menubar {
  height: 36px;
  padding: 0 18px;
  background: rgba(12, 17, 26, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-variant-numeric: tabular-nums;
}

.mac-menubar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.mac-menubar-left strong {
  color: #ffffff;
  font-weight: 600;
}

.mac-menubar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
}

.mac-metric-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 2px 10px;
  border-radius: 6px;
  background: rgba(103, 232, 249, 0.12);
  border: 1px solid rgba(103, 232, 249, 0.25);
}

.mac-metric {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 34px;
}

.mac-metric-k {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(226, 242, 255, 0.62);
}

.mac-metric-v {
  font-size: 11.5px;
  font-weight: 600;
  color: #ffffff;
}

.mac-net {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
  min-width: 64px;
  font-size: 9.5px;
  color: #ffffff;
}

.mac-net-up {
  color: rgba(226, 242, 255, 0.6);
}

.mac-clock {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  white-space: nowrap;
}

.mac-stage-body {
  padding: clamp(24px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.stage-pitch {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stage-app-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stage-app-row img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 28px rgba(103, 232, 249, 0.2);
}

.stage-app-row h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stage-app-row p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.stage-live-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stage-stat {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.stage-stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

.stage-stat-value {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.stage-hint {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-secondary);
}

/* Liquid Glass Popover */
.glass-popover {
  border-radius: 18px;
  padding: 16px;
  background: rgba(20, 28, 42, 0.78);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-variant-numeric: tabular-nums;
}

.popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.popover-id {
  display: flex;
  align-items: center;
  gap: 10px;
}

.popover-id img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.popover-chip {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
}

.popover-ver {
  font-size: 11.5px;
  color: var(--text-muted);
}

.status-pill {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.status-pill:hover {
  background: rgba(255, 255, 255, 0.14);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.7);
}

.status-pill[data-paused="true"] .status-dot {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.7);
}

.toggle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.metric-chip {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.metric-chip:hover {
  background: rgba(255, 255, 255, 0.09);
}

.metric-chip[aria-pressed="true"] {
  background: rgba(103, 232, 249, 0.16);
  border-color: rgba(103, 232, 249, 0.45);
  color: #ffffff;
}

.fan-card {
  border-radius: 12px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fan-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
}

.fan-card-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.fan-icon {
  width: 16px;
  height: 16px;
  color: var(--cyan);
}

@media (prefers-reduced-motion: no-preference) {
  .fan-icon.is-spinning {
    animation: fan-spin var(--fan-speed, 2.2s) linear infinite;
  }
}

@keyframes fan-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.fan-rpm-readout {
  color: var(--cyan);
  font-weight: 600;
}

.fan-segment {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 3px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
}

.fan-mode-btn {
  appearance: none;
  border: 0;
  border-radius: 6px;
  padding: 6px 4px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.fan-mode-btn[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.fan-note {
  margin: 0;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ── Section Layout ─────────────────────────────────────────────────── */

.section {
  padding-block: clamp(64px, 7vw, 108px);
}

.section-header {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-lead {
  margin: 0;
  font-size: 16px;
  color: var(--text-secondary);
}

/* ── Bento Feature Grid ─────────────────────────────────────────────── */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.bento-card {
  grid-column: span 6;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.bento-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.bento-card.is-wide {
  grid-column: span 7;
}

.bento-card.is-narrow {
  grid-column: span 5;
}

.bento-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.bento-card p {
  margin: 0;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bento-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--text);
}

.spec-pill.is-accent {
  background: rgba(103, 232, 249, 0.1);
  border-color: rgba(103, 232, 249, 0.28);
  color: var(--cyan);
}

.spec-pill.is-muted {
  color: var(--text-muted);
  text-decoration: line-through;
}

.safety-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.safety-list li {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  color: var(--text-secondary);
}

.safety-list strong {
  color: var(--text);
}

/* ── Install Section (Two Channels Only) ────────────────────────────── */

.install-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.channel-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.channel-card.is-featured {
  border-color: rgba(103, 232, 249, 0.28);
  background:
    radial-gradient(400px 220px at 90% 0%, rgba(103, 232, 249, 0.09), transparent 70%),
    var(--bg-card);
}

.channel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.channel-head h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
}

.channel-tag {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  background: rgba(103, 232, 249, 0.14);
  color: var(--cyan);
}

.channel-desc {
  margin: 8px 0 0;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(4, 7, 12, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.code-box pre {
  margin: 0;
  min-width: 0;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text);
}

.code-box code {
  font-family: var(--font-mono);
}

.dmg-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.dmg-preview img {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  flex: none;
}

.dmg-title {
  font-size: 15px;
  font-weight: 600;
}

.dmg-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.channel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.uninstall-bar {
  margin-top: 20px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: rgba(14, 21, 33, 0.56);
  border: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.uninstall-bar p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.uninstall-bar strong {
  color: var(--text);
}

/* ── Copy Button (Invoker Commands + live status region) ────────────── */

.copy {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: none;
}

.copy-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 56px;
  min-block-size: 34px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.copy-button:hover {
  background: rgba(103, 232, 249, 0.16);
  border-color: rgba(103, 232, 249, 0.4);
  color: var(--cyan);
}

.copy-button[data-copied] {
  background: rgba(52, 211, 153, 0.18);
  border-color: rgba(52, 211, 153, 0.45);
  color: var(--green);
}

.copy-button[data-failed] {
  background: rgba(248, 113, 113, 0.18);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fca5a5;
}

.copy-button .icon-check {
  display: none;
}

.copy-button[data-copied] .icon-copy {
  display: none;
}

.copy-button[data-copied] .icon-check {
  display: inline;
}

.copy .tip {
  position: absolute;
  inset-block-end: calc(100% + 8px);
  inset-inline-end: 0;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: #101927;
  border: 1px solid var(--border-strong);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.16s ease;
}

.copy-button[data-copied] + .tip,
.copy-button[data-failed] + .tip {
  opacity: 1;
}

/* ── FAQ Accordion ──────────────────────────────────────────────────── */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--border-strong);
  background: rgba(17, 26, 40, 0.9);
}

.faq-item > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 600;
  cursor: pointer;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--cyan);
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: currentColor;
  border-radius: 2px;
}

.faq-plus::before {
  width: 14px;
  height: 2px;
}

.faq-plus::after {
  width: 2px;
  height: 14px;
  transform: rotate(0deg);
}

.faq-item[open] .faq-plus::after {
  transform: rotate(90deg);
}

@media (prefers-reduced-motion: no-preference) {
  .faq-plus::after {
    transition: transform 0.2s var(--ease-out);
  }
}

.faq-item::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.faq-item:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-item::details-content {
    transition: block-size, content-visibility, display;
    transition-duration: 0.26s;
    transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}

.faq-body {
  padding: 0 24px 22px;
  max-width: 68ch;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.68;
}

.faq-body p {
  margin: 0;
}

.faq-body code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.1);
  padding: 2px 6px;
  border-radius: 5px;
}

/* ── Footer ─────────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 48px;
  margin-top: 40px;
}

.footer-inner {
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--cyan);
}

/* ── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 920px) {
  .mac-stage-body {
    grid-template-columns: 1fr;
  }

  .bento-card,
  .bento-card.is-wide,
  .bento-card.is-narrow {
    grid-column: span 12;
  }

  .install-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .stage-live-stats {
    grid-template-columns: 1fr;
  }

  .mac-menubar-left span {
    display: none;
  }

  .hero-brew-pill {
    width: 100%;
    justify-content: space-between;
  }
}
