/* ============================================================
   Jason Tools 文件工具箱 — GitHub Pages landing
   Style language: corporate navy + indigo accent, generous
   whitespace, restrained typography.
   ============================================================ */

:root {
  --navy: #0f2547;
  --navy-2: #1e3a8a;
  --indigo: #4f46e5;
  --indigo-dark: #3730a3;
  --indigo-light: #eef2ff;
  --blue: #2563eb;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-dark: #0b1d3a;
  --card: #ffffff;
  --text: #0f172a;
  --text-2: #334155;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --border: #e2e8f0;
  --border-soft: #f1f5f9;
  --warn: #dc2626;
  --ok: #16a34a;

  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(15,37,71,0.08);
  --shadow-lg: 0 30px 80px rgba(15,37,71,0.18);

  --font-zh: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC",
             "Microsoft JhengHei", "Helvetica Neue", Arial, "Noto Sans TC",
             sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas,
               "Source Code Pro", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-zh);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--indigo); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--indigo-dark); }
a[href], a[href] * { cursor: pointer; }
button, [role="button"] { cursor: pointer; }
code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--indigo-light);
  color: var(--indigo-dark);
  padding: 1px 6px;
  border-radius: 4px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Top bar ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--indigo), var(--navy-2));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(79,70,229,0.3);
}
.brand-name { font-weight: 700; font-size: 15px; line-height: 1.1; }
.brand-sub  { font-size: 11px; color: var(--muted); font-family: var(--font-mono); }
.topnav {
  display: flex; gap: 28px; align-items: center;
}
.topnav a {
  color: var(--text-2); font-size: 14px; font-weight: 500;
}
.topnav a:hover { color: var(--indigo); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.08s, box-shadow 0.15s, background 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79,70,229,0.35);
}
.btn-primary:hover { background: var(--indigo-dark); color: #fff; }
.btn-outline {
  background: #fff;
  color: var(--text-2);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--indigo); color: var(--indigo); }
.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); color: #fff; }
.btn-lg {
  padding: 13px 26px;
  font-size: 15px;
  border-radius: 10px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 100px 0 80px;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(79,70,229,0.45) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(37,99,235,0.35) 0%, transparent 55%),
    linear-gradient(180deg, #0f2547 0%, #0b1d3a 100%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: #93c5fd;
  background: rgba(147, 197, 253, 0.1);
  border: 1px solid rgba(147, 197, 253, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 auto 22px;
  max-width: 920px;
}
.hero-title-accent {
  background: linear-gradient(120deg, #93c5fd 0%, #c4b5fd 60%, #fda4af 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  font-size: 17px;
  line-height: 1.75;
  color: #cbd5e1;
  max-width: 780px;
  margin: 0 auto 36px;
}
.hero-lead b { color: #fff; font-weight: 700; }
.hero-cta {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-shot {
  position: relative;
  margin: 0 auto;
  max-width: 1080px;
  border-radius: 14px;
  overflow: hidden;
  /* macOS-style stacked window shadow: hairline ring + tight + mid + ambient */
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.10),
    0 1px 2px rgba(0,0,0,0.25),
    0 8px 24px rgba(0,0,0,0.35),
    0 40px 80px -10px rgba(0,0,0,0.55);
  background: rgba(255,255,255,0.04);
}
.hero-shot img { width: 100%; display: block; }
.hero-shot::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(147,197,253,0.4), rgba(196,181,253,0.4));
  border-radius: 16px;
  z-index: -1;
  filter: blur(8px);
  opacity: 0.6;
}

/* ===== Section helpers ===== */
.section {
  padding: 90px 0;
}
.section-light { background: var(--bg); }
.section-soft  { background: var(--bg-soft); }
.section-dark {
  background: var(--bg-dark);
  color: #cbd5e1;
}
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--indigo);
  text-transform: uppercase;
  margin-bottom: 12px;
  text-align: center;
}
.eyebrow-light { color: #93c5fd; }
.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 auto 14px;
  text-align: center;
  max-width: 820px;
}
.section-title-light { color: #fff; }
.section-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  text-align: center;
  margin: 0 auto 56px;
  max-width: 720px;
}
.section-lead-light { color: #94a3b8; }

/* ===== Why-self-host (online-tool concern) ===== */
.section-why {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  position: relative;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
.why-col {
  border-radius: 14px;
  padding: 32px 30px;
  position: relative;
}
.why-col-bad {
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.why-col-good {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.why-h {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px;
}
.why-col-bad  .why-h { color: #991b1b; }
.why-col-good .why-h { color: #166534; }
.why-col ul { padding: 0; margin: 0; list-style: none; }
.why-col li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
}
.why-col li::before {
  position: absolute;
  left: 0; top: 9px;
  font-weight: 700;
}
.why-col-bad  li::before { content: '✕'; color: #dc2626; }
.why-col-good li::before { content: '✓'; color: #16a34a; }
@media (max-width: 800px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ===== Upgrade / uninstall command block (in install spec) ===== */
.cmd-block { margin: 8px 0 10px; font-size: 13.5px; line-height: 1.7; }
.cmd-block .cmd-os { color: var(--muted); font-size: 12px; font-weight: 600;
  margin-top: 6px; letter-spacing: 0.04em; }
.cmd-block .cmd-os:first-child { margin-top: 0; }
.cmd-block .cmd-note { color: var(--muted-2); font-weight: 400;
  font-size: 11.5px; margin-left: 4px; }
.cmd-block code { display: inline-block; margin: 1px 0; }

/* ===== Office engine callout ===== */
.ofc-callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #fcd34d;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 18px auto 28px;
  max-width: 920px;
  text-align: left;
  color: #78350f;
  font-size: 14px;
  line-height: 1.65;
}
.ofc-callout-ic {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  background: #f59e0b;
  color: #fff;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ofc-callout-ic svg { width: 20px; height: 20px; }
.ofc-callout-body b { color: #78350f; }

/* Inline tool-name marker for "needs Office engine" */
.ofc-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #fde68a;
  color: #b45309;
  border: 1px solid #fcd34d;
  border-radius: 5px;
  vertical-align: -3px;
  margin-left: 5px;
}
.ofc-mark svg { width: 11px; height: 11px; }

/* ===== Features grid ===== */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.feat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--indigo);
}
.feat-card.feat-card-accent {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--navy-2) 100%);
  color: #fff;
  border-color: transparent;
}
.feat-card.feat-card-accent h3 { color: #fff; }
.feat-card.feat-card-accent .feat-list b { color: #fff; }
.feat-card.feat-card-accent .feat-list { color: #cbd5e1; }
.feat-card.feat-card-accent code {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.feat-ic {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feat-ic-1 { background: #ffedd5; color: #ea580c; }
.feat-ic-2 { background: #fce7f3; color: #db2777; }
.feat-ic-3 { background: #dcfce7; color: #16a34a; }
.feat-ic-4 { background: #dbeafe; color: #2563eb; }
.feat-ic-5 { background: #fee2e2; color: #dc2626; }
.feat-ic-6 { background: rgba(255,255,255,0.18); color: #fff; }
.feat-card h3 {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
}
.feat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-2);
}
.feat-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  border-top: 1px dashed var(--border);
}
.feat-list li:first-child { border-top: 0; padding-top: 0; }
.feat-list .fl-ic {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 2px;
}
.feat-list .fl-ic svg { width: 18px; height: 18px; }
.feat-list .fl-text { flex: 1; min-width: 0; }
.feat-list .fn {
  display: block;
  color: var(--text);
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 2px;
}
.feat-list .fd {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}
.feat-card.feat-card-accent .feat-list li { border-top-color: rgba(255,255,255,0.15); }
.feat-card.feat-card-accent .feat-list .fn { color: #fff; }
.feat-card.feat-card-accent .feat-list .fd { color: #cbd5e1; }
.feat-card.feat-card-accent .feat-list .fl-ic { color: #93c5fd; }
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .feat-grid { grid-template-columns: 1fr; }
}

/* ===== Screenshots showcase (alternating rows on dark bg) ===== */
.ss-grid { display: flex; flex-direction: column; gap: 100px; }
.ss-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
  gap: 60px;
  margin: 0;
}
.ss-row.reverse { grid-template-columns: 7fr 5fr; }
.ss-row.reverse .ss-text { order: 2; }
.ss-row.reverse .ss-img  { order: 1; }
.ss-text { color: #cbd5e1; }
.ss-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #818cf8;
  margin-bottom: 14px;
  font-weight: 700;
}
.ss-text h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
}
.ss-text p {
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.85;
  color: #cbd5e1;
}
.ss-text b { color: #fff; font-weight: 700; }
.ss-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  color: #cbd5e1;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,0.12);
}
.tag-danger {
  background: rgba(239,68,68,0.15);
  color: #fca5a5;
  border-color: rgba(239,68,68,0.3);
}
.ss-img {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  /* macOS window shadow on dark background:
     thin ring → tight → mid → wide ambient (drops down + spreads) */
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 1px 2px rgba(0,0,0,0.25),
    0 8px 20px rgba(0,0,0,0.35),
    0 32px 64px -8px rgba(0,0,0,0.55);
  background: rgba(255,255,255,0.03);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1),
              box-shadow 0.4s cubic-bezier(.2,.8,.2,1);
}
.ss-img:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    0 2px 4px rgba(0,0,0,0.3),
    0 12px 28px rgba(0,0,0,0.4),
    0 48px 96px -10px rgba(0,0,0,0.6);
}
.ss-img img { width: 100%; display: block; }
@media (max-width: 900px) {
  .ss-row, .ss-row.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ss-row.reverse .ss-text { order: 1; }
  .ss-row.reverse .ss-img  { order: 2; }
  .ss-grid { gap: 70px; }
}

/* ===== Enterprise grid ===== */
.ent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ent-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
  transition: transform 0.15s, box-shadow 0.15s;
}
.ent-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.ent-num {
  display: inline-block;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--indigo-light);
  color: var(--indigo-dark);
  font-weight: 800;
  font-size: 16px;
  text-align: center;
  line-height: 36px;
  font-family: var(--font-mono);
  margin-bottom: 14px;
}
.ent-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.ent-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-2);
}
.ent-card b { color: var(--text); font-weight: 700; }
@media (max-width: 1024px) {
  .ent-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ent-grid { grid-template-columns: 1fr; }
}

/* ===== Privacy / trust band ===== */
.section-privacy {
  background: linear-gradient(135deg, #0b1d3a 0%, #1e3a8a 100%);
  color: #cbd5e1;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.section-privacy::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 80% 30%, rgba(79,70,229,0.3), transparent 40%),
    radial-gradient(circle at 20% 70%, rgba(34,197,94,0.18), transparent 40%);
}
.privacy-inner {
  position: relative;
  text-align: center;
  max-width: 920px;
}
.privacy-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 80px; height: 80px;
  border-radius: 20px;
  background: rgba(34,197,94,0.18);
  color: #4ade80;
  margin-bottom: 20px;
  border: 1px solid rgba(34,197,94,0.3);
}
.section-privacy .section-title { color: #fff; margin-bottom: 18px; }
.privacy-lead {
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.85;
  margin: 0 0 40px;
}
.privacy-lead b { color: #fff; }
.privacy-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  text-align: left;
}
.privacy-point {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 18px 22px;
}
.privacy-point strong {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 4px;
}
.privacy-point span {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.65;
}
.privacy-point code {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
@media (max-width: 700px) {
  .privacy-points { grid-template-columns: 1fr; }
}

/* ===== Install ===== */
.install-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.install-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow);
  min-width: 0;       /* allow grid item to shrink so <pre> overflow scrolls */
  overflow: hidden;   /* contain code overflow inside the card */
}
.install-card.install-card-warn {
  border-color: #fde68a;
  background: linear-gradient(180deg, #fffbeb 0%, #fff 60%);
}
.install-warn-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: #fef3c7;
  color: #92400e;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
}
.install-warn-note {
  margin-top: 10px;
  font-size: 12px;
  color: #92400e;
  background: rgba(251, 191, 36, 0.08);
  border-left: 3px solid #f59e0b;
  padding: 8px 10px;
  border-radius: 0 6px 6px 0;
  line-height: 1.5;
}

/* ==== Mode band (單機 / 伺服器 模式說明) ==== */
.mode-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.mode-band-card {
  background: linear-gradient(135deg, #f0f4ff 0%, #fdf2f8 100%);
  border: 1px solid #e0e7ff;
  border-radius: var(--radius-lg);
  padding: 18px 22px;
}
.mode-band-h {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 6px;
}
.mode-band-d {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-2);
}
.mode-band-d b { color: var(--text); font-weight: 700; }
.mode-band-d code {
  background: #fff; color: var(--indigo-dark);
}
@media (max-width: 800px) {
  .mode-band { grid-template-columns: 1fr; }
}

/* ==== Copy button on install commands ==== */
.install-cmd-wrap { position: relative; }
.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.1);
  color: #cbd5e1;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 4px 9px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.copy-btn:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.copy-btn.copied {
  background: rgba(34,197,94,0.2);
  color: #4ade80;
  border-color: rgba(34,197,94,0.5);
}
.install-cmd-wrap pre {
  /* leave room on right for the copy button */
  padding-right: 80px;
}
.install-os {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: var(--text);
  margin-bottom: 14px;
}
.install-os svg { color: var(--indigo); }
.install-os-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-left: auto;
}
.install-card pre {
  background: #0f172a;
  color: #cbd5e1;
  padding: 12px 14px;
  border-radius: 8px;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  overflow-x: auto;
  font-family: var(--font-mono);
}
.install-card pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: inherit;
}
.install-after {
  text-align: center;
  font-size: 14.5px;
  color: var(--text-2);
  margin: 14px 0 40px;
}
.install-after code {
  background: var(--indigo-light);
  color: var(--indigo-dark);
  padding: 2px 8px;
  font-size: 13px;
}
.install-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 30px;
}
.install-meta strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 4px;
}
.install-meta code {
  font-size: 12.5px;
}
@media (max-width: 1024px) {
  .install-grid, .install-meta { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 50px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 40px;
}
.footer-brand {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.footer-tag { font-size: 13px; color: #94a3b8; line-height: 1.7; margin: 0; }
.footer-h {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.footer-col a {
  display: block;
  color: #cbd5e1;
  font-size: 13.5px;
  padding: 4px 0;
}
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 13.5px; color: #cbd5e1; line-height: 1.7; margin: 0; }
.footer-col strong { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  font-size: 12px;
  color: var(--muted-2);
  text-align: center;
}
@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ===== Misc small-screen tweaks ===== */
@media (max-width: 700px) {
  .topbar-inner { height: 56px; }
  .topnav { gap: 14px; }
  .topnav a:not(.btn) { display: none; }
  .brand-sub { display: none; }
  .section { padding: 70px 0; }
  .hero { padding: 70px 0 50px; }
}

/* Disclaimer */
.disclaimer-box {
  max-width: 920px;
  margin: 28px auto 0;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid #ef4444;
  border-radius: 10px;
  padding: 28px 32px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #334155;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}
.disclaimer-box p { margin: 0 0 14px; }
.disclaimer-box ul { margin: 12px 0 16px; padding-left: 22px; }
.disclaimer-box li { margin-bottom: 8px; }
.disclaimer-box b { color: #1e293b; }
.disclaimer-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: #64748b;
}
