/* Páginas legales y 404: mismo aspecto que la portada, en sencillo. */
:root {
  --bg: #F6F1E9; --card: #FFFFFF; --ink: #1F2933; --muted: #5E6773; --line: #E4DBCD;
  --accent: #E8762B; --accent-dark: #C45E17; --accent-soft: #FBE3D1;
  --serif: "Fraunces", Georgia, serif; --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-dark); }
a:focus-visible { outline: 3px solid #3A78C2; outline-offset: 3px; }
.wrap { width: min(820px, 100% - 32px); margin: 0 auto; }
header { border-bottom: 1px solid var(--line); background: var(--bg); }
header .wrap { display: flex; align-items: center; height: 72px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 24px; text-decoration: none; color: var(--ink); letter-spacing: -.03em; }
.logo i { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; }
header .back { margin-left: auto; font-weight: 600; text-decoration: none; font-size: 16px; }
main { padding: 48px 0 80px; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
h1 { font-size: clamp(32px, 5vw, 44px); margin: 0 0 8px; }
h2 { font-size: 24px; margin: 40px 0 10px; }
h3 { font-size: 18px; margin: 26px 0 6px; }
.updated { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.box { background: var(--card); border-radius: 18px; padding: 22px 24px; margin: 18px 0; }
.box.warn { background: var(--accent-soft); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; background: var(--card); border-radius: 14px; overflow: hidden; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #FBF8F3; font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
/* Datos de ejemplo (aún no hay alta como autónomo): subrayados para encontrarlos. Buscar class="ejemplo" y cambiarlos antes de publicar. */
.ejemplo { text-decoration: underline dashed #E8762B; text-underline-offset: 3px; }
footer { background: var(--ink); color: #AEB6C2; padding: 32px 0; font-size: 15px; }
footer .wrap { display: flex; gap: 14px 28px; flex-wrap: wrap; }
footer a { color: #AEB6C2; text-decoration: none; }
footer a:hover { color: #fff; }
