/* Cívica en Breve — landing page.
   Palette and type follow the Instagram cards (reports/templates/instagram/) so the
   site and the posts read as one brand. No web fonts are loaded: Inter is used when
   the visitor has it, otherwise the system UI face, so the page makes no third-party
   requests. */

:root {
  --bg: #1a1a2e;
  --bg-alt: #20203a;
  --surface: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --accent: #4a9fd4;
  --accent-strong: #1a6fb5;
  --radius: 14px;
  --gutter: 20px;
  --max: 1040px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
}

a { color: var(--accent); }
a:hover { color: #7cc0ea; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent-strong); color: #fff; padding: 8px 14px; z-index: 10;
}
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap;
}
.brand {
  font-weight: 900; font-size: 1.35rem; letter-spacing: -0.02em;
  color: var(--text); text-decoration: none;
}
.brand em { font-style: normal; color: var(--accent); }
.brand.small { font-size: 1.05rem; margin: 0 0 6px; }
nav { display: flex; gap: 20px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 88px 0 72px; }
.eyebrow {
  display: inline-block; margin: 0 0 20px; padding: 6px 16px;
  background: var(--accent-strong); border-radius: 99px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
h1 {
  margin: 0; font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: 1.05;
  font-weight: 900; letter-spacing: -0.035em; max-width: 14ch;
}
h1 span { color: var(--accent); }
.lede { margin: 28px 0 0; max-width: 60ch; font-size: 1.2rem; color: var(--muted); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.button {
  display: inline-block; padding: 13px 24px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
.button.primary { background: var(--accent-strong); color: #fff; }
.button.primary:hover { background: #2380cc; color: #fff; }
.button.ghost { border: 1px solid var(--border); color: var(--text); }
.button.ghost:hover { border-color: var(--accent); color: var(--text); }
.coverage { margin: 28px 0 0; color: var(--muted); font-size: 0.95rem; }

/* Sections */
.band { padding: 64px 0; border-top: 1px solid var(--border); }
.band.alt { background: var(--bg-alt); }
h2 { margin: 0 0 28px; font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; }
.band p { max-width: 65ch; }

.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.card h3 { margin: 0 0 10px; font-size: 1.2rem; color: var(--accent); }
.card p { margin: 0; color: var(--muted); }

.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; max-width: 70ch; }
.principles li { padding-left: 18px; border-left: 3px solid var(--accent-strong); color: var(--muted); }
.principles strong { color: var(--text); display: block; }

.soon p { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0 48px; color: var(--muted); font-size: 0.9rem; }
.site-footer p { margin: 0; }

@media (max-width: 560px) {
  .hero { padding: 56px 0 48px; }
  .band { padding: 48px 0; }
  nav { gap: 14px; }
}
