:root {
  --bg: hsl(30 6% 5%);
  --text: hsl(36 14% 92%);
  --muted: hsl(30 6% 64%);
  --rule: hsl(30 6% 18%);
  --accent: hsl(233 70% 72%);
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: hsl(30 8% 96%);
    --text: hsl(30 8% 8%);
    --muted: hsl(30 6% 36%);
    --rule: hsl(30 6% 84%);
    --accent: hsl(233 56% 49%);
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
main { max-width: 680px; margin: 0 auto; padding: 56px 20px 72px; }
nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 40px; font-size: 0.95rem; }
nav a[aria-current="page"] { color: var(--text); text-decoration: none; font-weight: 600; }
h1 { font-size: 2rem; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 8px; }
h2 { font-size: 1.15rem; margin: 40px 0 8px; }
h3 { font-size: 1rem; margin: 24px 0 4px; }
.meta, .muted { color: var(--muted); }
.meta { margin: 0 0 32px; font-size: 0.95rem; }
.lead { font-size: 1.1rem; }
ul { padding-left: 1.2em; }
li { margin: 6px 0; }
a { color: var(--accent); }
footer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 0.9rem; }

/* Keep long contact addresses and headings readable on narrow screens. */
a { overflow-wrap: anywhere; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1 { font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif; font-weight: 500; }

/* Cabecera: el anillo del plazo y las agujas del icono, en el verde de marca (ios/Limite/Design/LimiteTheme.swift).
   La pista tenue es lo que queda de la ventana. Sin JS: el SVG ya está en su estado final. */
:root { --lm-brand: #6FD3A8; }
@media (prefers-color-scheme: light) { :root { --lm-brand: #1F7A5A; } }
.hero { display: flex; align-items: center; gap: 20px; margin: 0 0 16px; }
.hero h1 { margin: 0; }
.lm-art { width: 88px; height: 88px; flex: none; }
.lm-track, .lm-ring, .lm-hands { fill: none; stroke-linecap: round; }
.lm-track { stroke: var(--text); stroke-opacity: .1; stroke-width: 10; }
.lm-ring { stroke: var(--lm-brand); stroke-width: 10; stroke-dasharray: 100 200; }
.lm-hands { stroke: var(--lm-brand); stroke-width: 8; stroke-linejoin: round; transform-origin: 60px 60px; }

@media (prefers-reduced-motion: no-preference) {
  .lm-ring { animation: lm-draw 1.1s cubic-bezier(.2, .9, .25, 1) both; }
  .lm-hands { animation: lm-turn 1s cubic-bezier(.2, .9, .25, 1.05) .2s both; }
}
@keyframes lm-draw { from { stroke-dashoffset: 100; } }
@keyframes lm-turn { from { transform: rotate(-90deg); opacity: 0; } }

@media (min-width: 560px) {
  .lm-art { width: 112px; height: 112px; }
  .hero h1 { font-size: 2.4rem; }
}
