/* Forjum Cardio — pagine legali statiche (allineate al tema chiaro dell’app) */
@font-face {
  font-family: "Cinzel";
  src: url("fonts/Cinzel-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cinzel";
  src: url("fonts/Cinzel-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cinzel";
  src: url("fonts/Cinzel-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cinzel";
  src: url("fonts/Cinzel-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Da lib/app_theme.dart: seed #0369A1, surface #EEF1F7, brightness light */
  --bg: #eef1f7;
  --surface: #ffffff;
  --text: #1b1f24;
  --muted: #5f6368;
  --accent: #0369a1;
  --accent-soft: #e0f0fa;
  --gold: #c9a962;
  --border: #d5dbe7;
  --link: #0369a1;
  --max: 42rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Cinzel", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

header.site {
  padding: 1.25rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.brand {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.35rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
}

.brand-lockup img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15, 20, 25, 0.06);
}

.brand-lockup .brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.main-site {
  font-size: 0.9rem;
  margin: 0 0 1rem;
  color: var(--muted);
}

.main-site a {
  color: var(--link);
  font-weight: 500;
}

footer.site .main-site {
  margin: 0 0 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

h1 {
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

nav.lang {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

nav.lang a {
  color: var(--muted);
}

nav.lang a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 2rem 0 0.65rem;
  color: var(--text);
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
  color: var(--muted);
}

ul,
ol {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.35rem;
}

strong {
  color: var(--text);
  font-weight: 600;
}

.box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
  box-shadow: 0 1px 2px rgba(15, 20, 25, 0.05);
}

.box p:last-child {
  margin-bottom: 0;
}

footer.site {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

footer.site a {
  color: var(--muted);
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.card-list li {
  margin: 0 0 0.75rem;
}

.card-list a {
  display: block;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 20, 25, 0.05);
}

.card-list a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.card-list small {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1rem 0 0;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-list {
  margin: 0;
  padding-left: 1.25rem;
}

.feature-list li {
  margin-bottom: 0.45rem;
}

.shot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 1rem 0 0;
}

@media (min-width: 720px) {
  .shot-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.shot {
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 0.85rem;
  background: linear-gradient(180deg, rgba(3, 105, 161, 0.06), rgba(238, 241, 247, 0.35));
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.shot strong {
  display: block;
  margin-bottom: 0.25rem;
}

.shot span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

.shot-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  background: var(--surface);
  margin-bottom: 0.65rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.faq details p {
  margin: 0.65rem 0 0;
}
