/* Identidad compartida de las páginas públicas (plan, invitación, amistad): «Warm Editorial Tactile».
   Marfil, terracota en todo lo tocable, serif (Newsreader) en títulos, sans (Plus Jakarta Sans) en
   cuerpo. Mismos valores que el diseño de Stitch del grupo P. Solo modo claro.
   Las fuentes se piden en cada página con <link> a Google Fonts. */
:root {
  --bg: #FFF8F2;
  --bg-element: #F8F1EA;
  --bg-high: #F2ECE4;
  --bg-selected: #EFE6DA;
  --line: #E6DCCE;
  --text: #1F1B18;
  --text-secondary: #756C64;
  --primary: #D94824;
  --primary-dark: #B22F10;
  --primary-subtle: #FBEAE4;
  --sage: #2D4F3B;
  --ok: #1F7A4F;
  --soon: #B45309;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  /* Nombres que ya usa la invitación. */
  --accent: var(--primary);
  --accent-deep: var(--primary-dark);
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(217, 72, 36, .35);
  outline-offset: 2px;
}

/* La marca: "Mappit" en serif con su punto terracota. */
.brand { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: -.01em; line-height: 1; }
.brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); display: inline-block; margin-top: 3px; }
.brand.sm .brand-name { font-size: 20px; }
.brand.sm .brand-dot { width: 7px; height: 7px; }
.tagline { font-size: 12px; font-weight: 500; color: var(--text-secondary); margin: 6px 0 0; }

/* Botones: píldoras. */
.btn-primary, .btn-secondary {
  display: flex; align-items: center; justify-content: center; width: 100%;
  min-height: 48px; padding: 0 18px; border-radius: 9999px;
  font-family: var(--sans); font-weight: 600; font-size: 15px; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .12s ease, background-color .12s ease;
}
.btn-primary { background: var(--primary); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--bg); color: var(--text); border: 1px solid var(--line); }
.btn-secondary:hover { background: var(--bg-high); }
.btn-primary:active, .btn-secondary:active { transform: scale(.97); }

/* Bloque de cierre: la marca, los botones y la línea de atribución. Nada más. */
.closing { background: var(--bg-element); border: 1px solid var(--line); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.closing .brand-row { display: flex; align-items: center; }
.closing .actions { display: flex; flex-direction: column; gap: 10px; }
.attribution { font-size: 11px; line-height: 1.5; color: var(--text-secondary); text-align: center; margin: 14px 0 0; }
