/* ============================================================
   PMS PACK — style.css
   Dark theme · Cyan/Purple/Green accents
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:       #0A0A0F;
  --bg-2:     #10101a;
  --bg-3:     #1a1a28;
  --text:     #f0f0f8;
  --text-2:   #aaaabf;
  --text-3:   #60607a;
  --border:   rgba(255,255,255,0.07);
  --purple:   #a855f7;
  --purple-2: #7c3aed;
  --cyan:     #06b6d4;
  --green:    #22c55e;
  --red:      #ef4444;
  --yellow:   #eab308;
  --tier-api: #6366f1;
  --tier-6:   #0891b2;
  --tier-8:   #0284c7;
  --tier-12:  #7c3aed;
  --tier-16:  #db2777;
  --tier-24:  #ea580c;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --radius:   12px;
  --radius-sm: 8px;
  --transition: 0.2s ease;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.8; }
img { max-width: 100%; }
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: 0.35rem; }

/* ── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { color: var(--text-2); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}
.section-title  { margin-bottom: 0.75rem; }
.section-desc   { color: var(--text-2); max-width: 640px; }
.page-title-block {
  padding: 4rem 0 2.5rem;
  text-align: center;
}
.page-title-block h1 { margin-bottom: 0.75rem; }
.page-title-block p  { font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ── Layout ─────────────────────────────────────────────────── */
.container        { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.container--narrow{ max-width: 760px;  margin: 0 auto; padding: 0 1.25rem; }
main { min-height: 60vh; }
section { padding: 4rem 0; }

/* ── Nav / Header ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,7,14,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 60px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.nav__logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 900; color: #fff;
  letter-spacing: 0.05em;
}
.nav__logo-text {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}
.nav__logo-text span {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--text-3);
}
.nav__links {
  list-style: none;
  display: flex;
  gap: 0.2rem;
  margin-left: 1rem;
  padding: 0;
}
.nav__links li { margin: 0; }
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav__links a:hover,
.nav__links a.active {
  color: var(--text);
  background: var(--bg-3);
}
.nav__patreon {
  margin-left: auto;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff !important;
  white-space: nowrap;
  transition: opacity var(--transition);
  flex-shrink: 0;
}
.nav__patreon:hover { opacity: 0.85; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-body);
}
.btn--primary {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
}
.btn--primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
}
.btn--outline:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(6,182,212,0.06); }
.btn--sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
.btn--lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn--green { background: var(--green); color: #000; }
.btn--green:hover { opacity: 0.88; transform: translateY(-1px); }
.btn--copy {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-3);
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn--copy:hover { color: var(--cyan); border-color: var(--cyan); }
.btn--copy.copied { color: var(--green); border-color: var(--green); }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card--glow {
  background: var(--bg-2);
  border: 1px solid rgba(6,182,212,0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 0 30px rgba(6,182,212,0.06);
}
.card h3 { margin-bottom: 0.5rem; }
.card p  { color: var(--text-2); font-size: 0.9rem; }

/* ── Alerts ──────────────────────────────────────────────────── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid;
  font-size: 0.9rem;
  margin: 1rem 0;
}
.alert--info  { background: rgba(6,182,212,0.08); border-color: rgba(6,182,212,0.3); color: var(--text-2); }
.alert--warn  { background: rgba(234,179,8,0.08); border-color: rgba(234,179,8,0.3); color: var(--text-2); }
.alert--ok    { background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.3); color: var(--text-2); }
.alert--error { background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.3); color: var(--text-2); }
.alert__icon  { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

/* ── Badges ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--bg-3);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.badge--tier-api { background: rgba(99,102,241,0.15); color: #818cf8; border-color: rgba(99,102,241,0.3); }
.badge--tier-6   { background: rgba(8,145,178,0.15); color: #22d3ee; border-color: rgba(8,145,178,0.3); }
.badge--tier-8   { background: rgba(2,132,199,0.15); color: #38bdf8; border-color: rgba(2,132,199,0.3); }
.badge--tier-12  { background: rgba(124,58,237,0.15); color: #c084fc; border-color: rgba(124,58,237,0.3); }
.badge--tier-16  { background: rgba(219,39,119,0.15); color: #f472b6; border-color: rgba(219,39,119,0.3); }
.badge--tier-24  { background: rgba(234,88,12,0.15); color: #fb923c; border-color: rgba(234,88,12,0.3); }
.badge--imagen   { background: rgba(6,182,212,0.12); color: var(--cyan); border-color: rgba(6,182,212,0.25); }
.badge--video    { background: rgba(168,85,247,0.12); color: var(--purple); border-color: rgba(168,85,247,0.25); }
.badge--audio    { background: rgba(34,197,94,0.12); color: var(--green); border-color: rgba(34,197,94,0.25); }
.badge--3d       { background: rgba(234,179,8,0.12); color: var(--yellow); border-color: rgba(234,179,8,0.25); }

/* ── Accordion ───────────────────────────────────────────────── */
.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 0.5rem;
  background: var(--bg-2);
}
.accordion__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: var(--font-body);
  transition: background var(--transition);
}
.accordion__header:hover { background: var(--bg-3); }
.accordion__header h3 { font-size: 0.95rem; font-weight: 600; margin: 0; }
.accordion__icon {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.accordion.open .accordion__icon { transform: rotate(45deg); }
.accordion__body {
  display: none;
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
}
.accordion.open .accordion__body { display: block; }
.accordion__body p, .accordion__body li { font-size: 0.9rem; color: var(--text-2); }
.accordion__body h4 { margin: 0.75rem 0 0.35rem; font-size: 0.9rem; color: var(--text); }
.accordion__body ol, .accordion__body ul { margin: 0.5rem 0; }

/* ── cmd-block ───────────────────────────────────────────────── */
.cmd-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin: 0.75rem 0;
  overflow-x: auto;
}
.cmd-block code {
  flex: 1;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.82rem;
  color: var(--cyan);
  white-space: pre;
  min-width: 0;
}

/* ── Steps ───────────────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 2rem; }
.step  { display: flex; gap: 1.25rem; align-items: flex-start; }
.step__num {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
}
.step__content { flex: 1; padding-top: 0.4rem; }
.step__content h4 { margin-bottom: 0.4rem; font-size: 1rem; }
.step__content p  { font-size: 0.9rem; color: var(--text-2); }

/* ── img-placeholder ─────────────────────────────────────────── */
.img-placeholder {
  background: var(--bg-3);
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 2rem;
  text-align: center;
  color: var(--text-3);
  font-size: 0.82rem;
  margin: 0.75rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* ── Tables ──────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.tier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.tier-table th {
  background: var(--bg-3);
  color: var(--text-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.tier-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}
.tier-table tr:last-child td { border-bottom: none; }
.tier-table tr:hover td { background: var(--bg-2); }
.tier-table td:first-child { font-weight: 600; color: var(--text); }

/* ── Search / Filters ─────────────────────────────────────────── */
.search-box {
  width: 100%;
  max-width: 540px;
  padding: 0.75rem 1.1rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition);
  margin-bottom: 1.5rem;
}
.search-box:focus { border-color: var(--cyan); }
.search-box::placeholder { color: var(--text-3); }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.filter-btn {
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--text-3);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(6,182,212,0.08);
}

/* ── Workflows grid ──────────────────────────────────────────── */
.workflows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.workflow-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.workflow-card:hover { border-color: rgba(6,182,212,0.3); transform: translateY(-2px); }
.workflow-card__thumb {
  height: 100px;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.workflow-card__body { padding: 1rem 1.1rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.workflow-card__meta { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.workflow-card__title { font-size: 0.95rem; font-weight: 700; color: var(--text); margin: 0; }
.workflow-card__desc { font-size: 0.82rem; color: var(--text-3); flex: 1; }
.workflow-card__action { margin-top: auto; }

/* ── GPU Selector ────────────────────────────────────────────── */
.gpu-selector {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.gpu-selector__title { font-size: 1.2rem; margin-bottom: 1.5rem; }
.gpu-selector__fields {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.select-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.select-wrap label { font-size: 0.78rem; font-weight: 600; color: var(--text-3); letter-spacing: 0.05em; text-transform: uppercase; }
.select-wrap select {
  width: 100%;
  padding: 0.6rem 0.9rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.875rem;
  font-family: var(--font-body);
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2360607a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}
.select-wrap select:focus { border-color: var(--cyan); }
.gpu-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
}

/* ── Guide hero (nvidia pages) ───────────────────────────────── */
.guide-hero {
  padding: 3rem 0 2rem;
}
.guide-hero h1 { margin-bottom: 0.75rem; }
.guide-hero p  { font-size: 1.05rem; max-width: 600px; }
.guide-hero__gpu-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

/* ── Warning box ─────────────────────────────────────────────── */
.warning-box {
  background: rgba(234,179,8,0.08);
  border: 1px solid rgba(234,179,8,0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.warning-box h3 { color: var(--yellow); margin-bottom: 0.5rem; }
.warning-box p, .warning-box li { color: var(--text-2); font-size: 0.9rem; }

/* ── Download steps ──────────────────────────────────────────── */
.download-step { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.download-step__num {
  width: 32px; height: 32px;
  flex-shrink: 0;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: var(--cyan);
}
.download-step__content { flex: 1; }
.download-step__content h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.download-step__content p  { font-size: 0.88rem; color: var(--text-2); }

/* ── Changelog ───────────────────────────────────────────────── */
.changelog-entry {
  border-left: 2px solid var(--border);
  padding-left: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
}
.changelog-entry::before {
  content: '';
  position: absolute;
  left: -5px; top: 6px;
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
}
.changelog-entry__version {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.changelog-entry__date {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-bottom: 1rem;
}
.changelog-entry__list { padding-left: 1.2rem; }
.changelog-entry__list li { font-size: 0.9rem; color: var(--text-2); margin-bottom: 0.4rem; }

/* ── Path table ──────────────────────────────────────────────── */
.path-table { width: 100%; border-collapse: collapse; font-size: 0.83rem; }
.path-table th {
  background: var(--bg-3);
  color: var(--text-3);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.6rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.path-table td {
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.path-table tr:last-child td { border-bottom: none; }
.path-table tr:hover td { background: rgba(255,255,255,0.02); }
.path-table td:first-child { color: var(--text-2); white-space: nowrap; font-weight: 500; }
.path-table td:last-child { display: flex; align-items: center; gap: 0.5rem; }
.path-code {
  flex: 1;
  font-family: 'Consolas', 'Monaco', monospace;
  color: var(--cyan);
  font-size: 0.8rem;
  word-break: break-all;
}
.path-valid   { color: var(--green); font-size: 0.85rem; font-weight: 600; }
.path-warn    { color: var(--yellow); font-size: 0.85rem; font-weight: 600; }
.path-invalid { color: var(--red); font-size: 0.85rem; font-weight: 600; }

/* ── Index hero ──────────────────────────────────────────────── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}
.hero-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color var(--transition), transform var(--transition);
  cursor: pointer;
}
.hero-card:hover { border-color: rgba(6,182,212,0.4); transform: translateY(-2px); }
.hero-card--primary {
  background: linear-gradient(135deg, rgba(6,182,212,0.1), rgba(168,85,247,0.08));
  border-color: rgba(6,182,212,0.25);
}
.hero-card__emoji { font-size: 2.2rem; }
.hero-card__title { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.hero-card__desc  { font-size: 0.88rem; color: var(--text-2); margin: 0; }
.hero-card__link  { font-size: 0.85rem; font-weight: 700; color: var(--cyan); margin-top: auto; }

.kiosk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.kiosk-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: border-color var(--transition), transform var(--transition);
}
.kiosk-card:hover { border-color: rgba(6,182,212,0.4); transform: translateY(-2px); }
.kiosk-card__icon { font-size: 2.2rem; }
.kiosk-card__text { font-size: 0.9rem; font-weight: 600; color: var(--text); }

/* ── Nube page ───────────────────────────────────────────────── */
.features-list { list-style: none; padding: 0; }
.features-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-2);
}
.features-list li:last-child { border-bottom: none; }
.features-list li::before { content: '✓'; color: var(--green); font-weight: 700; margin-top: 1px; flex-shrink: 0; }

/* ── Folder tree (donde-va) ──────────────────────────────────── */
.folder-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.folder-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  cursor: pointer;
  transition: background var(--transition);
  user-select: none;
}
.folder-card__header:hover { background: var(--bg-3); }
.folder-card__name { font-weight: 700; color: var(--cyan); font-size: 0.9rem; }
.folder-card__type { font-size: 0.8rem; color: var(--text-3); }
.folder-card__body {
  padding: 0.9rem 1.1rem;
  border-top: 1px solid var(--border);
  display: none;
}
.folder-card.open .folder-card__body { display: block; }
.folder-card__desc { font-size: 0.88rem; color: var(--text-2); margin-bottom: 0.75rem; }
.folder-card__example { font-size: 0.8rem; color: var(--text-3); font-family: monospace; margin-bottom: 0.75rem; }

/* ── Tier result box ─────────────────────────────────────────── */
.tier-result {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.tier-result__name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.cap-item {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}
.cap-item__label { color: var(--text-3); font-weight: 600; }
.cap-item__val   { font-weight: 700; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 4rem;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
}
.footer__brand { font-weight: 700; font-size: 0.9rem; }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a { color: var(--text-3); font-size: 0.85rem; }
.footer__links a:hover { color: var(--cyan); }
.footer__disclaimer { font-size: 0.8rem; color: var(--text-3); max-width: 500px; }
.footer__copy { font-size: 0.75rem; color: var(--text-3); }

/* ── Utilities ───────────────────────────────────────────────── */
.text-cyan   { color: var(--cyan)   !important; }
.text-green  { color: var(--green)  !important; }
.text-purple { color: var(--purple) !important; }
.text-yellow { color: var(--yellow) !important; }
.text-red    { color: var(--red)    !important; }
.text-muted  { color: var(--text-3) !important; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: rgba(7,7,14,0.98); border-bottom: 1px solid var(--border); padding: 1rem; gap: 0.25rem; z-index: 99; }
  .nav__links.open { display: flex; }
  .nav__links a { display: block; padding: 0.6rem 1rem; }
  .nav__burger { display: flex; }
  .nav__patreon { margin-left: 0; }
  .hero-split { grid-template-columns: 1fr; }
  .kiosk-grid { grid-template-columns: 1fr 1fr; }
  .gpu-selector__fields { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .workflows-grid { grid-template-columns: 1fr; }
  .path-table td:last-child { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .kiosk-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.75rem; }
  .page-title-block { padding: 2.5rem 0 1.5rem; }
}

/* === PMS Brand Unification === */
h1, h2, h3, h4, h5, h6,
.title, .heading, .hero-title, .section-title {
  font-family: 'Space Grotesk', 'DM Sans', system-ui, sans-serif;
}
