/* Alcaparra Studio · landing. Colores y tipografía del design system (tema Papel). */
:root {
  color-scheme: light;
  --surface: #faf8f3;
  --line: #e7e4db;
  --ink: #1f1e1a;
  --ink-muted: #57554d;
  --accent: #5e7021;
  --accent-hover: #4c5b1a;
  --accent-soft: #ecf0d9;
  --badge-bg: #f2efe7;
  --icon-tile: var(--surface); /* mismo color que la página: sin fondo a la vista, pero tapa el fondo animado */
  --icon-borde: #d6d2c6;
  --font-sans: Gabarito, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 20px 48px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Fondo animado (assets/fondo.js): detrás de todo y sin recibir clics */
.fondo { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* Selector de idioma */
.lang { position: absolute; top: 20px; right: 24px; }
.lang a { display: inline-block; padding: 12px 4px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.lang a:hover { color: var(--accent); }

.page, main { display: flex; flex-direction: column; gap: 40px; }
.page { width: 100%; max-width: 560px; }

/* Logo formal: "studio" alineado con el inicio de la palabra */
.brand { margin: 0; width: min(380px, 100%); display: flex; flex-direction: column; gap: 6px; }
.brand img { width: 100%; height: auto; display: block; }
.brand span { padding-left: 18.02%; font-size: 16px; line-height: 20px; font-weight: 500; letter-spacing: 0.42em; color: var(--ink-muted); }

.lead { margin: 0; font-size: 20px; line-height: 31px; color: var(--ink-muted); }
.lead mark { background: var(--accent-soft); color: var(--ink); padding: 0 4px; border-radius: 4px; }

.products { margin: 0; padding: 0; list-style: none; border-bottom: 1.5px solid var(--line); }
/* Ícono · nombre y descripción · estado. Las marcas de cada app van sin su mosaico; el mosaico lo pone --icon-tile. */
.products li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; column-gap: 18px; padding: 20px 0; border-top: 1.5px solid var(--line); }
.products .icon { width: 56px; height: 56px; display: block; border-radius: 18px; background: var(--icon-tile); border: 2px solid var(--icon-borde); }
.products .info { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.products .name { font-size: 26px; line-height: 30px; font-weight: 800; letter-spacing: -0.02em; }
.products .desc { font-size: 16px; color: var(--ink-muted); }
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; background: var(--badge-bg); color: var(--ink-muted); font-size: 13px; font-weight: 600; white-space: nowrap; }

.foot { margin: 0; font-size: 15px; line-height: 24px; color: var(--ink-muted); }
/* Área de toque más alta para el correo, sin mover el texto */
.foot a { display: inline-block; padding: 10px 0; margin: -10px 0; }

/* En teléfonos, el estado baja debajo del nombre para que el texto tenga todo el ancho */
@media (max-width: 480px) {
  .products li { grid-template-columns: 56px minmax(0, 1fr); row-gap: 10px; }
  .products .badge { grid-column: 2; justify-self: start; }
}
