:root {
  --bg: #f7f2ef;
  --surface: #ffffff;
  --surface-hover: #fdf8f5;
  --text: #2a1c1f;
  --text-muted: #7d6c6e;
  --border: #ece1dd;
  --accent: #7c2030;
  --accent-2: #c99a3f;
  --accent-soft: rgba(124, 32, 48, 0.08);
  --shadow: 0 1px 2px rgba(42, 28, 31, 0.06), 0 8px 20px -8px rgba(42, 28, 31, 0.16);
  --shadow-hover: 0 2px 4px rgba(42, 28, 31, 0.08), 0 16px 28px -10px rgba(42, 28, 31, 0.22);

  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  font: 16px/1.5 var(--sans);
  color-scheme: light dark;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #181214;
    --surface: #231b1e;
    --surface-hover: #2a2124;
    --text: #f1e8e6;
    --text-muted: #b09fa1;
    --border: #392c2f;
    --accent: #e08a9a;
    --accent-2: #dcb469;
    --accent-soft: rgba(224, 138, 154, 0.12);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 20px -8px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.35), 0 16px 28px -10px rgba(0, 0, 0, 0.6);
  }
}

:root[data-theme='dark'] {
  --bg: #181214;
  --surface: #231b1e;
  --surface-hover: #2a2124;
  --text: #f1e8e6;
  --text-muted: #b09fa1;
  --border: #392c2f;
  --accent: #e08a9a;
  --accent-2: #dcb469;
  --accent-soft: rgba(224, 138, 154, 0.12);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 20px -8px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.35), 0 16px 28px -10px rgba(0, 0, 0, 0.6);
}

:root[data-theme='light'] {
  --bg: #f7f2ef;
  --surface: #ffffff;
  --surface-hover: #fdf8f5;
  --text: #2a1c1f;
  --text-muted: #7d6c6e;
  --border: #ece1dd;
  --accent: #7c2030;
  --accent-2: #c99a3f;
  --accent-soft: rgba(124, 32, 48, 0.08);
  --shadow: 0 1px 2px rgba(42, 28, 31, 0.06), 0 8px 20px -8px rgba(42, 28, 31, 0.16);
  --shadow-hover: 0 2px 4px rgba(42, 28, 31, 0.08), 0 16px 28px -10px rgba(42, 28, 31, 0.22);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.page-header {
  text-align: center;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-header h1 {
  margin: 6px 0 20px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.rule {
  width: 96px;
  height: 3px;
  margin: 0 auto;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.volver {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 32px;
}

.volver:hover {
  color: var(--accent);
}

.modulo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

.modulo-icon svg {
  width: 26px;
  height: 26px;
}

@media (max-width: 520px) {
  .page {
    padding: 40px 16px 56px;
  }
}
