/* Pagine "IPTV player per <dispositivo>" e /faq. Generato da
   scripts/website/build_landing.py nel repo KIPTV (sorgente: landing.css lì):
   non modificare questa copia. Si appoggia a legal.css (colori, header, footer). */
.lp-skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lp-skip:focus { inset-inline-start: 16px; top: 12px; z-index: 200; width: auto; height: auto; clip-path: none; padding: 10px 16px; border-radius: 999px; background: var(--fg); color: var(--bg); }
.lp-nav { display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline-end: -8px; }
.lp-nav::-webkit-scrollbar { display: none; }
.lp-nav a { flex: none; padding: 12px 12px; border-radius: 999px; font-size: 13px; color: var(--fg-dim); text-decoration: none; white-space: nowrap; }
.lp-nav a:hover { color: var(--fg); text-decoration: none; }
.lp-nav a[aria-current="page"] { color: var(--fg); background: rgba(243, 240, 236, 0.09); }
.brand { flex: none; }

.lp { padding: 72px 0 40px; }
.lp h1 { font-size: clamp(38px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; margin: 0 0 22px; }
/* Giapponese: a capo fra una frase e l'altra, non a metà parola */
.lp :lang(ja) h1, .lp :lang(ja) h2, :lang(ja) .lp h1, :lang(ja) .lp h2 { word-break: auto-phrase; }
.lp h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; margin: 0 0 28px; }
.lp h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.005em; margin: 0 0 8px; color: var(--fg); }
.lp a { color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lp a:hover { color: var(--accent); }

.lp-hero { text-align: center; }
.lp-kicker { margin: 0 0 18px; font-size: 14px; color: var(--accent-2); }
.lp-lead { max-width: 62ch; margin: 0 auto; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: var(--fg-dim); text-wrap: pretty; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 34px 0 0; }
.lp-note { max-width: 60ch; margin: 16px auto 0; font-size: 14px; line-height: 1.55; color: var(--fg-dim); }
.lp a.lp-store, .lp a.lp-fire { text-decoration: none; transition: transform 0.4s var(--ease-out); }
.lp a.lp-store:hover, .lp a.lp-fire:hover { transform: scale(1.04); }
.lp-store img { display: block; height: 54px; width: auto; }
.lp-fire { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; height: 54px; padding: 0 20px; background: #000; border-radius: 7px; box-shadow: inset 0 0 0 1.3px #a6a6a6; line-height: 1.05; }
.lp a.lp-fire, .lp a.lp-fire:hover { color: #f7941d; }
.lp-fire__small { font-size: 11.5px; letter-spacing: 0.02em; }
.lp-fire__code { font-size: 25px; font-weight: 700; color: #fff; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }

.lp-shot { margin: 56px auto 0; max-width: 980px; }
.lp-img { display: block; width: 100%; height: auto; }
.lp-shot--phones { display: flex; justify-content: center; gap: clamp(16px, 4vw, 48px); max-width: 640px; }
.lp-shot--phones .lp-img { width: calc(50% - clamp(8px, 2vw, 24px)); max-width: 280px; }
.lp-shot--phones .lp-img:last-child { margin-top: 56px; }

.lp-section { margin-top: clamp(88px, 11vw, 150px); }
.lp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-card { padding: 26px 26px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); }
.lp-card p, .lp-steps p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--fg-dim); }
.lp-player { max-width: 70ch; margin: 28px 0 0; font-size: 14px; line-height: 1.6; color: var(--fg-dim); }

.lp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.lp-shot--side { margin: 0; max-width: none; }
.lp-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.lp-steps li { position: relative; padding: 0 0 26px 52px; counter-increment: step; }
.lp-steps li:last-child { padding-bottom: 0; }
.lp-steps li::before { content: counter(step); position: absolute; left: 0; top: -3px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 15px; color: var(--fg); }
[dir="rtl"] .lp-steps li { padding: 0 52px 26px 0; }
[dir="rtl"] .lp-steps li::before { left: auto; right: 0; }

.lp-narrow { max-width: 860px; }
.lp-q { border-top: 1px solid var(--line); }
.lp-q:last-of-type { border-bottom: 1px solid var(--line); }
.lp-q summary { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 17px; line-height: 1.4; color: var(--fg); }
.lp-q summary::-webkit-details-marker { display: none; }
.lp-q summary::after { content: "+"; flex: none; width: 18px; text-align: center; font-size: 22px; line-height: 1; color: var(--fg-faint); transition: transform 0.3s var(--ease-out); }
.lp-q[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.lp-q summary:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 4px; }
.lp-q p { margin: 0 0 22px; max-width: 66ch; font-size: 15px; line-height: 1.7; color: var(--fg-dim); }
.lp-more { margin: 24px 0 0; font-size: 15px; color: var(--fg-dim); }
.lp-groups { margin-top: 64px; }
.lp-group + .lp-group { margin-top: 64px; }
.lp-group h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 14px; }

.lp-sub { max-width: 60ch; margin: -12px 0 28px; font-size: 16px; line-height: 1.6; color: var(--fg-dim); }
.lp-others { display: flex; flex-wrap: wrap; gap: 12px; }
.lp a.lp-other { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 15px; text-decoration: none; color: var(--fg); transition: background 0.25s, border-color 0.25s; }
.lp a.lp-other:hover { background: rgba(243, 240, 236, 0.07); border-color: var(--fg-dim); color: var(--fg); }
.lp-other span { color: var(--fg-faint); }
[dir="rtl"] .lp-other span { transform: scaleX(-1); }
.lp-final { text-align: center; }
.lp-final .lp-cta { margin: 0; }
.lp-footer-links { flex-wrap: wrap; gap: 10px 24px; }
.lp-langs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; }
.lp-langs a { padding: 10px 12px; font-size: 13px; color: var(--fg-dim); text-decoration: none; border-radius: 999px; }
.lp-langs a:hover { color: var(--fg); text-decoration: none; }
.lp-langs a[aria-current] { color: var(--fg); background: rgba(243, 240, 236, 0.09); }

@media (max-width: 900px) {
  .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-split { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .lp { padding-top: 44px; }
  .lp-grid { grid-template-columns: 1fr; }
  .lp-card { padding: 22px 20px 20px; }
  .lp-shot { margin-top: 40px; }
  .header-inner { gap: 12px; }
}
