/* Estilo de las guías (y del 404). Desde el 18 sep 2026 es el MISMO look que la
   portada de go-picks.app (web_site/index.html), que a su vez es espejo de la
   bienvenida de la app (lib/features/marketing/landing_screen.dart): fondo
   oscuro, tarjetas, naranja de acento. Si cambia la paleta de una, cambia aquí.
   Un solo archivo externo para que las páginas no se separen entre sí. */

:root {
  --bg: #0B1020;
  --bg-alt: #10182A;
  --card: #161E2E;
  --border: #25324A;
  --muted: #9AA6B8;
  --ink: #E8ECF3;
  --white: #fff;
  --accent: #EB5E28;
  --link: #F4885A;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  font-size: 17px;
}

.wrap { max-width: 800px; margin: 0 auto; padding: 0 22px 72px; }

/* Barra: la misma de la portada. */
.site-nav { display: flex; align-items: center; gap: 6px; padding: 16px 0; }
.site-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; color: var(--white); }
.site-brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-brand span { font-size: 20px; font-weight: 900; }
.site-nav .nl { color: var(--muted); font-weight: 700; text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: 15px; }
.site-nav .nl.w { color: var(--white); }
.site-nav .nl:hover { background: rgba(255,255,255,.06); }
.btn-cta { background: var(--accent); color: var(--white); text-decoration: none; font-weight: 800;
           padding: 11px 18px; border-radius: 999px; font-size: 14px; white-space: nowrap; }
.btn-cta:hover { filter: brightness(1.08); }

/* Secciones de las guías, debajo de la barra: una página sin salida es de lo
   que se ve como un sitio "hecho para anuncios". */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 0 18px; border-bottom: 1px solid var(--border); }
.subnav a { font-size: 13px; font-weight: 700; color: var(--muted); border: 1px solid var(--border);
            border-radius: 999px; padding: 5px 12px; text-decoration: none; }
.subnav a:hover { color: var(--white); }
.subnav a[aria-current="page"] { color: var(--white); border-color: var(--accent); background: rgba(235,94,40,.14); }

h1, h2, h3 { color: var(--white); }
h2 { font-size: 24px; font-weight: 900; margin: 42px 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 18px; font-weight: 800; margin: 26px 0 6px; }
p, li { color: var(--ink); }
p { margin: 12px 0; }
ul, ol { margin: 10px 0; padding-left: 24px; }
li { margin: 7px 0; }
li::marker { color: var(--accent); }
a { color: var(--link); }
strong { font-weight: 700; color: var(--white); }

.pagetitle { font-size: 38px; line-height: 1.12; font-weight: 900; margin: 34px 0 10px; letter-spacing: -0.02em; }
.lead { font-size: 18.5px; color: var(--muted); margin-top: 8px; }
.byline { color: var(--muted); font-size: 14px; margin: 0; }

.box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 18px 20px; margin: 22px 0;
}
.box h3 { margin-top: 0; }
.note {
  background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--accent);
  border-radius: 12px; padding: 16px 20px; margin: 22px 0; font-size: 16px; color: var(--muted);
}
.note p, .note li { color: var(--muted); }

.table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15.5px;
         background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.table th, .table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.table tr:last-child td { border-bottom: 0; }
.table th { color: var(--muted); font-weight: 700; background: var(--bg-alt); }
.table caption { caption-side: bottom; color: var(--muted); font-size: 14px; padding-top: 8px; text-align: left; }
/* Una tabla ancha se desplaza dentro de su caja, nunca empuja la página. */
.table-scroll { overflow-x: auto; }

/* Tarjetas del índice y el "sigue leyendo" al pie de cada guía. */
.cards { display: grid; gap: 16px; margin: 22px 0; }
@media (min-width: 620px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 18px 20px;
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card h3 a { text-decoration: none; color: var(--white); }
.card h3 a:hover { color: var(--link); }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

.cta {
  display: inline-block; margin-top: 6px; background: var(--accent); color: var(--white);
  text-decoration: none; font-weight: 800; padding: 16px 28px; border-radius: 999px;
}
.cta:hover { filter: brightness(1.08); }

/* Pie: el mismo de la portada. */
.site-footer { background: var(--bg-alt); padding: 32px 22px; text-align: center; }
.site-footer .site-brand { justify-content: center; margin: 0 0 10px; }
.site-footer .site-brand img { width: 26px; height: 26px; border-radius: 7px; }
.site-footer .site-brand span { font-size: 17px; }
.site-footer p { color: var(--muted); font-size: 13px; margin: 6px 0; }
.site-footer a { color: var(--muted); }

@media (max-width: 620px) {
  .site-nav .opt { display: none; }
  body { font-size: 16px; }
  .pagetitle { font-size: 30px; }
  .table { font-size: 14px; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px 56px; }
  .site-nav .nl { padding: 8px 6px; font-size: 14px; }
  .btn-cta { padding: 10px 14px; }
}
