/* Día Uno — static site styles. Local only: no remote fonts, no CDN, no
   trackers. Light/dark follow the system preference and mirror the app's
   "dawn on night" palette. */

:root {
  --bg-top: #faf8f5;
  --bg-bottom: #e9e4da;
  --text: #12141c;
  --text-soft: #565e70;
  --text-faint: #6b7488;
  --accent: #c2724e;
  --card: rgba(18, 20, 28, 0.03);
  --hairline: rgba(18, 20, 28, 0.12);
  --max: 44rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-top: #0b1020;
    --bg-bottom: #080b14;
    --text: #f4f6fb;
    --text-soft: #9aa3b7;
    --text-faint: #6b7488;
    --accent: #e8b29a;
    --card: rgba(255, 255, 255, 0.04);
    --hairline: rgba(255, 255, 255, 0.1);
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  font-size: 17px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

header.masthead {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}

header.masthead img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

header.masthead h1 {
  font-size: 1.5rem;
  margin: 0;
}

header.masthead p {
  margin: 0.15rem 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

nav.primary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.98rem;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  opacity: 0.8;
}

h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.6rem;
}

h3 {
  font-size: 1.02rem;
  margin: 1.4rem 0 0.4rem;
}

p,
li {
  color: var(--text);
}

.lead {
  font-size: 1.05rem;
  color: var(--text-soft);
}

.summary {
  border: 1px solid var(--hairline);
  background: var(--card);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.summary ul {
  margin: 0;
  padding-left: 1.1rem;
}

.note {
  color: var(--text-faint);
  font-size: 0.9rem;
}

.pending {
  border-left: 3px solid var(--accent);
  padding: 0.5rem 0.9rem;
  margin: 1rem 0;
  color: var(--text-soft);
  background: var(--card);
  border-radius: 0 8px 8px 0;
}

footer.site {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
  color: var(--text-faint);
  font-size: 0.85rem;
}

footer.site a {
  color: var(--text-soft);
}
