/* Interim comunidad.pr page (decision 0011). Tokens copied from the app's
   design system (source/frontend/src/app/[locale]/globals.css, DESIGN.md):
   blue and white, light only. Color values live only in :root. */
:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-muted: #edf1f7;
  --fg: #1b2433;
  --fg-muted: #535f73;
  --border: #e0e6ef;
  --primary: #1e4fd8;
  --primary-hover: #173fae;
  --primary-fg: #ffffff;
  --primary-soft: #ebf1fd;
  --accent: #1e3a8a;
  --ring: #1e4fd8;
  --font-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--primary-hover);
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
}

.wordmark {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.wordmark span {
  color: var(--primary);
}

.lang-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 0.5rem;
  font-weight: 600;
}

/* Sections stack with gap, not margins (main.container: the class's side padding stays) */
main.container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 42rem;
}

.badge {
  align-self: flex-start;
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  background: var(--primary-soft);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
}

h1 {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0;
  font-size: 1.375rem;
  line-height: 1.3;
}

h3 {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.4;
}

p {
  margin: 0;
}

.lead {
  font-size: 1.125rem;
  color: var(--fg-muted);
}

.section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.points {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 48rem) {
  .points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.points li,
.card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.points li p,
.card p {
  color: var(--fg-muted);
}

.cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 48rem) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--primary-soft);
  border-radius: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 6px;
  background: var(--primary);
  color: var(--primary-fg);
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: var(--primary-hover);
  color: var(--primary-fg);
}

.about p {
  max-width: 42rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg-muted);
  font-size: 0.875rem;
}

.site-footer .container {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
