/* Pranafy sand / institutional theme. No purple AI defaults. */
:root {
  --sand-bg: #f5f0e8;
  --sand-paper: #faf7f2;
  --sand-ink: #1c1917;
  --sand-muted: #57534e;
  --sand-soft: #78716c;
  --sand-rule: #c4b8a8;
  --sand-fill: #ebe4d8;
  --sand-accent: #6b5a45;
  --sand-callout: #f0ebe3;
}

.reveal-viewport {
  background: var(--sand-bg);
}

.reveal {
  font-family: "Liberation Sans", "DejaVu Sans", "Segoe UI", system-ui, sans-serif;
  color: var(--sand-ink);
  font-size: 32px;
}

.reveal .slides {
  text-align: left;
}

.reveal .slides section {
  padding: 0.4em 0.55em;
}

.reveal h1,
.reveal h2,
.reveal h3 {
  font-family: "Liberation Serif", "DejaVu Serif", Georgia, serif;
  color: var(--sand-ink);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
  margin-bottom: 0.35em;
}

.reveal h1 { font-size: 1.85em; line-height: 1.15; }
.reveal h2 { font-size: 1.35em; line-height: 1.2; border-bottom: 2px solid var(--sand-rule); padding-bottom: 0.2em; }
.reveal h3 { font-size: 0.95em; }

.reveal p,
.reveal li {
  color: var(--sand-ink);
  line-height: 1.35;
}

.reveal ul,
.reveal ol {
  margin-left: 1.1em;
}

.reveal li { margin-bottom: 0.28em; }

.reveal .eyebrow {
  font-size: 0.42em;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand-accent);
  font-weight: 700;
  margin: 0 0 0.35em;
  font-family: "Liberation Sans", "DejaVu Sans", system-ui, sans-serif;
}

.reveal .muted {
  color: var(--sand-muted);
  font-size: 0.72em;
}

.reveal .soft {
  color: var(--sand-soft);
  font-size: 0.58em;
}

.reveal .callout {
  background: var(--sand-callout);
  border-left: 5px solid var(--sand-accent);
  padding: 0.55em 0.7em;
  margin: 0.55em 0;
  font-size: 0.72em;
  line-height: 1.35;
}

.reveal .quote {
  background: var(--sand-paper);
  border: 1px solid var(--sand-rule);
  padding: 0.55em 0.7em;
  margin: 0.45em 0;
  font-size: 0.78em;
  font-style: italic;
  line-height: 1.35;
}

.reveal .quote cite {
  display: block;
  margin-top: 0.35em;
  font-style: normal;
  font-size: 0.75em;
  color: var(--sand-soft);
}

.reveal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.55em;
  margin: 0.4em 0;
}

.reveal th,
.reveal td {
  border: 1px solid var(--sand-rule);
  padding: 0.35em 0.45em;
  vertical-align: top;
  text-align: left;
}

.reveal th {
  background: var(--sand-fill);
  color: var(--sand-ink);
  font-weight: 700;
}

.reveal code,
.reveal pre {
  font-family: "Liberation Mono", "DejaVu Sans Mono", Consolas, monospace;
}

.reveal pre {
  background: var(--sand-callout);
  border-left: 4px solid var(--sand-accent);
  padding: 0.45em 0.55em;
  margin: 0.35em 0;
  font-size: 0.48em;
  line-height: 1.35;
  box-shadow: none;
  width: 100%;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.reveal .grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55em;
}

.reveal .card {
  background: var(--sand-paper);
  border: 1px solid var(--sand-rule);
  padding: 0.5em 0.55em;
  font-size: 0.68em;
}

.reveal .card strong {
  display: block;
  color: var(--sand-accent);
  font-size: 0.85em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.25em;
  font-family: "Liberation Sans", system-ui, sans-serif;
}

.reveal .hero-title {
  border-bottom: none;
  margin-top: 0.2em;
}

.reveal .footer-hint {
  position: absolute;
  left: 18px;
  bottom: 12px;
  font-size: 12px;
  color: var(--sand-soft);
  font-family: "Liberation Sans", system-ui, sans-serif;
  z-index: 30;
  pointer-events: none;
}

.reveal .keys {
  font-size: 0.58em;
}

.reveal .keys kbd {
  display: inline-block;
  background: var(--sand-fill);
  border: 1px solid var(--sand-rule);
  border-radius: 3px;
  padding: 0.05em 0.35em;
  font-family: "Liberation Mono", monospace;
  font-size: 0.95em;
}

.reveal .compact li { font-size: 0.78em; }

.reveal .slide-number {
  color: var(--sand-soft);
  background: transparent;
  font-size: 12px;
}

.reveal .controls {
  color: var(--sand-accent);
}

.reveal .progress {
  color: var(--sand-accent);
  height: 3px;
}

.reveal .hl {
  color: var(--sand-accent);
  font-weight: 700;
}

.reveal a {
  color: var(--sand-accent);
}
