/* Landing Digits: tema scuro/ambra sopra site.css */
.digits {
    --d-navy: #0f1830;
    --d-navy-2: #1d2b4a;
    --d-amber: #f5a524;
    --d-amber-dark: #d98c0c;
}

.digits .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; }
.digits .brand img { height: 36px; width: 36px; border-radius: 9px; }
.digits .nav__list a:hover { color: var(--d-amber-dark); background: #fff6e6; }
.digits .lang a[aria-current="true"] { background: var(--d-navy); }

.digits .btn--primary { background: var(--d-amber); color: var(--d-navy); }
.digits .btn--primary:hover { background: var(--d-amber-dark); color: var(--d-navy); }
.digits .btn--store { gap: 0.6em; }
.digits .btn--store svg { width: 18px; height: 18px; }

/* Hero */
.dhero { position: relative; isolation: isolate; color: #fff; background: radial-gradient(120% 120% at 80% 0%, #24365f 0%, var(--d-navy-2) 40%, var(--d-navy) 100%); overflow: hidden; }
.dhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 85%); -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 85%); }
.dhero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 72px); align-items: center; padding-block: clamp(64px, 9vw, 110px) clamp(56px, 8vw, 96px); }
@media (max-width: 900px) { .dhero__inner { grid-template-columns: 1fr; } }
.dhero .eyebrow { color: var(--d-amber); }
.dhero h1 { color: #fff; font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
.dhero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, 0.85); max-width: 560px; margin-bottom: 28px; }
.dhero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dhero__note { margin: 22px 0 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.65); }
.dhero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 0.9rem; color: rgba(255, 255, 255, 0.78); }
.dhero__badges li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--d-amber); vertical-align: middle; }

/* Phone mockup */
.phone { position: relative; width: min(300px, 80vw); margin-inline: auto; padding: 12px; border-radius: 44px; background: #0b1228; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 2px rgba(255, 255, 255, 0.08); }
.phone::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; border-radius: 0 0 16px 16px; background: #0b1228; z-index: 2; }
.phone img { border-radius: 32px; width: 100%; height: auto; }
.phone--sm { width: 220px; padding: 9px; border-radius: 34px; }
.phone--sm::before { width: 80px; height: 20px; top: 9px; }
.phone--sm img { border-radius: 26px; }

/* Come si gioca: griglia illustrativa */
.minigrid { display: grid; grid-template-columns: repeat(4, 44px); gap: 8px; margin: 0 0 22px; }
.minigrid span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--d-navy-2); color: rgba(255, 255, 255, 0.7); font-weight: 700; }
.minigrid span.hit { background: var(--d-amber); color: var(--d-navy); }
.step--digits { background: #fff; }
.step--digits .step__num { background: var(--d-navy); color: var(--d-amber); }
.step { position: relative; padding: 28px 26px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.step__num { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; font-weight: 700; }
.step p { margin: 0; color: var(--muted); }
.equation { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.equation span { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 9px; background: var(--d-amber); color: var(--d-navy); }
.equation em { font-style: normal; color: var(--muted); }

.digits .feature__icon { background: #fff4de; color: var(--d-amber-dark); }

/* Schermate */
.shots { display: flex; gap: 22px; overflow-x: auto; padding: 10px 4px 24px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.shots figure { flex: none; margin: 0; scroll-snap-align: center; text-align: center; }
.shots figcaption { margin-top: 12px; font-size: 0.9rem; color: var(--muted); }

/* Fascia finale */
.dcta { background: var(--d-navy); color: #fff; text-align: center; }
.dcta .container { padding-block: clamp(56px, 8vw, 90px); }
.dcta h2 { color: #fff; }
.dcta p { color: rgba(255, 255, 255, 0.78); max-width: 560px; margin-inline: auto; margin-bottom: 26px; }
.dcta .dhero__actions { justify-content: center; }
.dcta .btn--outline { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.dcta .btn--outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff4de; color: var(--d-amber-dark); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--text); }

.digits .section-head .eyebrow { color: var(--d-amber-dark); }
