/* ===== Shared legal/press page layout ===== */
.terms-page { padding: 140px 32px 100px; max-width: var(--container); margin: 0 auto; }
.terms-header { margin-bottom: 56px; max-width: 760px; }
.terms-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 12px;
}
.terms-updated { color: var(--text-dim); font-size: 14px; font-family: var(--font-mono); }

.terms-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }

.terms-toc {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.terms-toc nav { display: flex; flex-direction: column; gap: 10px; }
.terms-toc a {
  font-size: 13.5px;
  color: var(--text-dim);
  transition: color 0.2s;
}
.terms-toc a:hover { color: var(--accent); }

.terms-content { max-width: 720px; }
.terms-section { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--panel-border); }
.terms-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.section-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--signal);
  display: block;
  margin-bottom: 10px;
}
.terms-section h2 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 14px;
}
.terms-section p { color: var(--text); font-size: 15px; margin-bottom: 14px; }
.terms-section p:last-child { margin-bottom: 0; }
.terms-section ul { margin-bottom: 14px; }
.terms-section li {
  color: var(--text);
  font-size: 15px;
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
}
.terms-section li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-dim);
}
.terms-section a { color: var(--accent); }
.terms-section a:hover { color: var(--accent-soft); }
.tldr {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 20px !important;
}

@media (max-width: 900px) {
  .terms-layout { grid-template-columns: 1fr; }
  .terms-toc { position: static; }
}

/* ===== Boilerplate copy blocks ===== */
.boiler-block {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 16px;
}
.boiler-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.boiler-block p { font-size: 14.5px; color: var(--text-dim); margin-bottom: 0; }
.copy-btn {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--panel-border);
  border-radius: 100px;
  padding: 4px 12px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.copy-btn:hover { border-color: var(--accent); }
.copy-btn.copied { color: var(--signal); border-color: var(--signal); }

/* ===== Logo asset grid ===== */
.asset-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.asset-wide { grid-column: 1 / -1; }
.asset-card {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.asset-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 140px;
  padding: 20px;
  box-sizing: border-box;
  object-fit: contain;
}
.asset-preview-mark { height: 140px; width: auto; margin: 0 auto; display: block; }
.asset-preview-wordmark { height: 100px; }
.asset-dark { background: var(--bg); }
.asset-light { background: #F4F6FA; }
.asset-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-top: 1px solid var(--panel-border);
  background: var(--panel);
  font-size: 13.5px;
}
.asset-download {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--panel-border);
  padding: 6px 12px;
  border-radius: 100px;
  transition: border-color 0.2s;
}
.asset-download:hover { border-color: var(--accent); }

/* ===== Color swatches ===== */
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.swatch { display: flex; flex-direction: column; gap: 6px; }
.swatch-color {
  width: 100%;
  height: 64px;
  border-radius: 8px;
  border: 1px solid var(--panel-border);
}
.swatch-name { font-size: 13px; color: var(--text); }
.swatch-hex { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }

/* ===== Typography samples ===== */
.type-list { display: flex; flex-direction: column; gap: 16px; }
.type-row {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: var(--panel);
}
.type-sample { display: block; font-size: 22px; color: var(--text); margin-bottom: 8px; }
.type-label { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }

/* ===== Fact table ===== */
.fact-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 4px;
}
.fact-table th, .fact-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--panel-border);
}
.fact-table th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fact-table td:first-child { font-family: var(--font-display); font-weight: 600; }
.fact-table td { color: var(--text); font-family: var(--font-mono); font-size: 13px; }

@media (max-width: 560px) {
  .asset-grid { grid-template-columns: 1fr; }
  .asset-wide { grid-column: auto; }
  .swatch-grid { grid-template-columns: repeat(2, 1fr); }
}
