/* Señora website. Peltre theme, the same tokens as src/lib/themes.ts. */
@font-face { font-family: 'Familjen Grotesk'; src: url('/fonts/familjen-400.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Familjen Grotesk'; src: url('/fonts/familjen-600.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Familjen Grotesk'; src: url('/fonts/familjen-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light dark;
  --ground: #F6F3EA; --surface: #FFFFFF; --rim: #17358F; --on-rim: #F6F3EA; --on-rim-soft: #CFD8F3;
  --ink: #14224F; --ink-soft: #4A5478; --line: #DDD8C8; --selected: #DCE3F8;
  --action: #C93A24; --on-action: #FFFFFF; --bar: #E2A21B; --note: #FFF8DC; --today: #C93A24;
  --shadow: 0 10px 28px rgba(20, 34, 79, .14);
  --measure: 68ch;
  --gutter: clamp(16px, 5vw, 80px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0E1430; --surface: #182148; --rim: #1B3587; --on-rim: #F6F3EA; --on-rim-soft: #C6D0F0;
    --ink: #EEF0F8; --ink-soft: #AEB6D3; --line: #2C3663; --selected: #2A3C85;
    --action: #C93A24; --bar: #E8B23C; --note: #24305E; --today: #F0694F;
    --shadow: 0 10px 28px rgba(0, 0, 0, .4);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 1.0625rem/1.6 'Familjen Grotesk', system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
::selection { background: var(--bar); color: #14224F; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--bar); outline-offset: 3px; border-radius: 4px; }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }

.saltar { position: absolute; left: 16px; top: -80px; background: var(--action); color: var(--on-action); padding: 12px 16px; border-radius: 10px; z-index: 10; }
.saltar:focus { top: 16px; }

/* Header: the cobalt rim of the app, rounded at the bottom. */
.cabecera {
  background: var(--rim); color: var(--on-rim); border-radius: 0 0 28px 28px;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.marca { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.375rem; text-decoration: none; }
.marca svg { width: 36px; height: 36px; flex: none; }
.cabecera nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; font-weight: 600; }
.cabecera nav a { display: inline-block; padding: 10px 0; text-decoration: none; color: var(--on-rim-soft); }
.cabecera nav a:hover, .cabecera nav a[aria-current="page"] { color: var(--on-rim); text-decoration: underline; }

/* Reading pages: one white plate on the cream ground. */
.lectura { padding: clamp(32px, 6vw, 72px) var(--gutter) 64px; }
.hoja {
  max-width: calc(var(--measure) + 2 * clamp(20px, 5vw, 64px)); margin: 0 auto;
  background: var(--surface); border-radius: 16px; box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 64px);
}
.hoja > * { max-width: var(--measure); }
.hoja h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); margin: 0 0 12px; }
.hoja h2 { font-size: 1.5rem; margin: 2.4em 0 .5em; scroll-margin-top: 24px; }
.hoja h3 { font-size: 1.1875rem; margin: 1.8em 0 .4em; }
.hoja p, .hoja li { color: var(--ink); }
.hoja ul, .hoja ol { padding-left: 1.3em; }
.hoja li + li { margin-top: .35em; }
.fecha { color: var(--ink-soft); margin: 0; }
.resumen { margin: 28px 0 8px; padding: 20px 24px; background: var(--note); border-radius: 12px; }
.resumen p { margin: 0; }
.resumen p + p { margin-top: .6em; }
.indice { margin: 28px 0 0; padding: 0; list-style: none; columns: 2 240px; column-gap: 32px; }
.indice li { break-inside: avoid; margin: 0 0 6px; }
.indice a { color: var(--ink-soft); }
.tabla { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 1rem; }
.tabla th, .tabla td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.tabla th { font-weight: 600; color: var(--ink-soft); }
.envoltura-tabla { overflow-x: auto; }
.correo { font-weight: 700; }

.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  background: var(--action); color: var(--on-action); font-weight: 700; font-size: 1.125rem;
  padding: 14px 24px; border-radius: 14px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .16);
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), box-shadow .18s;
}
.boton:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, .2); text-decoration: none; }
.boton:active { transform: translateY(0); }
.boton[aria-disabled="true"] { cursor: default; }
.boton-claro {
  background: transparent; color: var(--ink); box-shadow: none; border: 2px solid var(--line);
}
.boton-claro:hover { box-shadow: none; border-color: var(--ink-soft); }

.pie {
  padding: 40px var(--gutter) 48px; color: var(--ink-soft); font-size: .9375rem;
  display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; border-top: 1px solid var(--line);
}
.pie ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; }
.pie p { margin: 0; }

.senora path, .senora circle, .senora ellipse, .senora rect { vector-effect: non-scaling-stroke; }
.senora [fill="#FFFFFF"] { fill: var(--surface); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
