/* Parolix — sito vetrina (GitHub Pages). Tema "quotidiano d'epoca" come il gioco. */
:root {
  --bg: #F4E9D8;
  --bg-alt: #EDE0C8;
  --ink: #2B2420;
  --accent: #B23A2E;
  --gold: #C9971F;
  --green: #2E6B40;
  --border: #D0C3B1;
  --radius: 6px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(var(--border) 0.5px, transparent 0.5px),
    radial-gradient(var(--border) 0.5px, var(--bg) 0.5px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  line-height: 1.6;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 28px 18px 60px; }

/* Masthead */
.masthead { text-align: center; margin-bottom: 26px; }
.kicker {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  opacity: 0.6; font-family: Georgia, serif;
}
.masthead h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900; font-size: clamp(38px, 12vw, 76px);
  letter-spacing: 1px; margin: 6px 0 4px; text-transform: uppercase;
  border-top: 4px double var(--ink); border-bottom: 4px double var(--ink);
  padding: 8px 0; line-height: 1;
}
.tagline { font-style: italic; opacity: 0.85; margin: 8px 0 0; font-size: clamp(14px, 3.5vw, 18px); }

/* Nav */
nav { text-align: center; margin: 18px 0 30px; font-family: Georgia, serif; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
nav a { color: var(--ink); text-decoration: none; margin: 0 10px; border-bottom: 1px dashed var(--border); padding-bottom: 2px; }
nav a:hover { color: var(--accent); }

/* Hero logo */
.hero { text-align: center; margin: 10px 0 24px; }
.hero img {
  width: clamp(120px, 34vw, 180px); height: auto; border-radius: 22%;
  border: 3px solid var(--ink); box-shadow: 5px 6px 0 var(--ink);
}

/* Download buttons */
.stores { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 26px 0 10px; }
.btn-store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--bg); text-decoration: none;
  border-radius: var(--radius); padding: 12px 20px; min-width: 210px;
  box-shadow: 3px 4px 0 var(--gold); transition: transform .1s ease, box-shadow .1s ease;
}
.btn-store:hover { transform: translate(-1px,-1px); box-shadow: 4px 5px 0 var(--gold); }
.btn-store svg { flex-shrink: 0; }
.btn-store .st-top { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; font-family: Georgia, serif; }
.btn-store .st-main { font-family: 'Playfair Display', Georgia, serif; font-weight: 900; font-size: 17px; line-height: 1.1; }
.stores-note { text-align: center; font-size: 12px; opacity: 0.6; font-style: italic; margin-top: 6px; }

/* Feature strip */
/* Griglia SEMPRE simmetrica: 3×2 su desktop, 2×3 su tablet, 1 colonna su
   telefono — mai righe sbilenche né 6 card schiacciate su una riga. */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 34px 0; }
@media (max-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 430px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--bg-alt); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.feature h3 { font-family: 'Playfair Display', Georgia, serif; margin: 0 0 4px; font-size: 16px; }
.feature p { margin: 0; font-size: 13px; opacity: 0.85; }

/* Ornament + rules */
.rule { border: none; border-top: 3px double var(--border); margin: 30px 0; }
.orn { text-align: center; opacity: 0.4; letter-spacing: 6px; margin: 20px 0; }

/* Legal / article pages */
article h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(26px, 7vw, 40px); text-transform: uppercase; text-align: center; border-bottom: 3px double var(--ink); padding-bottom: 10px; }
article h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 20px; margin-top: 26px; }
article p, article li { font-size: 15px; }
article a { color: var(--accent); }
.updated { text-align: center; font-style: italic; opacity: 0.6; font-size: 13px; margin-top: -6px; }

/* Footer */
footer { text-align: center; margin-top: 44px; padding-top: 18px; border-top: 3px double var(--border); font-size: 12px; opacity: 0.75; font-family: Georgia, serif; }
footer a { color: var(--ink); }
.back { display: inline-block; margin-bottom: 20px; font-family: Georgia, serif; font-size: 13px; color: var(--accent); text-decoration: none; }
