/* Stili condivisi dalle pagine statiche indicizzabili (guide). Stesso aspetto della Home. */
    /* Stessi font e colori della Home: pagina sempre scura, come l'app. */
    @font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/eb-garamond-latin-700.woff2') format('woff2'); }
    @font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/eb-garamond-latin-800.woff2') format('woff2'); }

    :root {
      --bg: #121213;
      --card: #1a1a1c;
      --text-h: #ffffff;
      --text: #d7dadc;
      --muted: #9a9ea1;
      --border: #3a3a3c;
      --accent: #6aaa64;
      --accent-strong: #4f8f4a;
      --serif: 'EB Garamond', Georgia, serif;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      background: var(--bg);
      color: var(--text);
      font: 17px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      -webkit-font-smoothing: antialiased;
    }

    main { max-width: 760px; margin: 0 auto; padding: 36px 20px 56px; }
    a { color: var(--accent); }
    p, li { margin: 8px 0; }

    /* Logo e filetto tricolore, come in Home */
    .masthead { text-align: center; }
    .brand { display: inline-block; font: 800 clamp(3rem, 14vw, 4.2rem)/0.95 var(--serif); letter-spacing: 0.015em; text-decoration: none; }
    .brand .bu { color: #78b871; }
    .brand .on { color: var(--text-h); }
    .brand .di { color: #ee4a43; }
    .tagline { margin: 10px 0 0; color: var(--text); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; }
    .tagline::after { content: ''; display: block; width: 72px; height: 3px; margin: 12px auto 0; border-radius: 2px; background: linear-gradient(90deg, #78b871 0 33.3%, #f6f1e3 33.3% 66.6%, #ee4a43 66.6% 100%); }

    /* Introduzione */
    .hero { margin: 36px 0 8px; text-align: center; }
    .tiles { display: inline-flex; gap: 6px; margin-bottom: 18px; white-space: nowrap; }
    .tile { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 6px; color: #fff; font-weight: 800; font-size: 1.25rem; }
    .tile.g { background: #6aaa64; }
    .tile.y { background: #c9b458; }
    .tile.n { background: #787c7e; }
    h1, h2 { text-wrap: balance; }
    h1 { margin: 0 0 12px; color: var(--text-h); font: 700 clamp(1.9rem, 7vw, 2.5rem)/1.15 var(--serif); }
    .lead { max-width: 600px; margin: 0 auto; }
    .lead strong { color: var(--text-h); }
    .cta { display: inline-block; margin: 14px 0 0; padding: 13px 28px; border-radius: 999px; background: var(--accent-strong); color: #fff; font-weight: 700; text-decoration: none; transition: transform 0.2s, background 0.2s; }
    .cta:hover { background: var(--accent); transform: translateY(-2px); }
    .cta-wrap { margin: 28px 0 0; text-align: center; }

    h2 { margin: 44px 0 14px; color: var(--text-h); font: 700 1.6rem/1.25 var(--serif); }

    /* Punti in comune */
    .points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
    .points li { margin: 0; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); font-size: 0.92rem; line-height: 1.45; }
    .points strong { display: block; margin-bottom: 2px; color: var(--text-h); }

    /* Schede dei giochi: stessa forma delle card della Home */
    .games { display: flex; flex-direction: column; gap: 12px; }
    .game { --c: var(--accent); display: flex; align-items: flex-start; gap: 16px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); transition: transform 0.2s, border-color 0.2s; }
    .game:hover { transform: translateY(-2px); border-color: var(--c); }
    .game svg { flex: none; width: 50px; height: 50px; }
    .game h3 { margin: 0 0 2px; color: var(--text-h); font-size: 1.1rem; }
    .game p { margin: 0; font-size: 0.93rem; line-height: 1.5; }
    .game.secret { --c: #7b83f0; }
    .game.anagram { --c: #a26fbe; }
    .game.sequence { --c: #3f9a92; }
    .game.connections { --c: #8fb0e6; }

    .differences { margin: 0; padding-left: 22px; }
    .differences li::marker { color: var(--accent); }
    .differences strong { color: var(--text-h); }

    /* Domande frequenti */
    .faq { display: flex; flex-direction: column; gap: 10px; }
    .faq div { padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
    .faq h3 { margin: 0 0 4px; color: var(--text-h); font-size: 1rem; }
    .faq p { margin: 0; font-size: 0.95rem; }

    footer { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; text-align: center; row-gap: 6px; }
    footer a { color: var(--muted); }
    footer span { margin: 0 6px; }

    @media (max-width: 600px) {
      main { padding: 28px 18px 48px; }
      .points { grid-template-columns: 1fr; }
      .game { gap: 14px; padding: 14px; }
      .game svg { width: 44px; height: 44px; }
      h2 { margin-top: 36px; font-size: 1.45rem; }
    }
  
    /* Icone dei giochi in cima alle guide */
    .hero-art { display: inline-flex; gap: 12px; margin-bottom: 18px; }
    .hero-art svg { width: 76px; height: 76px; }
    .hero-art.row svg { width: 52px; height: 52px; }
    @media (max-width: 600px) { .hero-art svg { width: 68px; height: 68px; } .hero-art.row { gap: 8px; } .hero-art.row svg { width: 46px; height: 46px; } }

    /* Elementi aggiunti per le guide */
    .lead + .lead { margin-top: 10px; }
    h2 + p { margin-top: 0; }
    .steps { margin: 0; padding-left: 22px; }
    .steps li::marker { color: var(--accent); font-weight: 700; }
    .steps strong { color: var(--text-h); }
    .table-wrap { overflow-x: auto; margin: 12px 0; }
    table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
    th, td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
    th { color: var(--text-h); font-weight: 700; white-space: nowrap; }
    table.compact { max-width: 520px; }
    td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
    .note { margin: 16px 0; padding: 14px 16px; border-left: 4px solid var(--accent); border-radius: 8px; background: var(--card); font-size: 0.93rem; }
    .swatch { display: inline-block; width: 14px; height: 14px; margin-right: 8px; border-radius: 4px; vertical-align: -2px; }
    .related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
    .related li { margin: 0; }
    .related a { display: block; height: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); color: var(--text-h); font-weight: 700; text-decoration: none; line-height: 1.35; }
    .related a span { display: block; margin-top: 4px; color: var(--text); font-size: 0.85rem; font-weight: 400; }
    .related a:hover { border-color: var(--accent); }
    .gloss { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; margin: 0; padding: 0; list-style: none; }
    .gloss li { margin: 0; padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--card); font-size: 0.93rem; }
    .gloss strong { color: var(--text-h); }
    @media (max-width: 600px) { .related, .gloss { grid-template-columns: 1fr; } }
