/* SFI Prov's page (/sfi, /en/sfi, /ar/sfi). Builds on /verktyg/tools.css: same header, footer, colours and fonts. */
.app-hero { padding-top: 36px; }
.app-id { display: flex; align-items: center; gap: 14px; }
.app-icon { width: 72px; height: 72px; border-radius: 18px; box-shadow: var(--shadow-md); }
.app-hero h1 { max-width: 22ch; }
.app-hero p { max-width: 64ch; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px; border-radius: 14px;
  background: var(--blue-deep); color: #fff; text-decoration: none; box-shadow: var(--shadow-sm); }
.store:hover { background: var(--blue-dark); }
.store i { font-size: 28px; }
.store small { display: block; font-size: .72rem; opacity: .85; line-height: 1.2; }
.store b { display: block; font: 800 1.08rem "Manrope", sans-serif; line-height: 1.2; }
.app-hero .note { margin-top: 12px; font-size: .88rem; color: var(--faint); }
main > section { margin-top: 40px; }
main > section > h2 { font-size: 1.45rem; color: var(--blue-deep); margin-bottom: 14px; }
main > section.panel > h2 { font-size: 1.2rem; margin-bottom: 6px; }
main > section.panel p { margin: 0; }
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-md); }
.shots figcaption { margin-top: 10px; text-align: center; font-size: .9rem; font-weight: 600; color: var(--muted); }
.tiles.features { padding-top: 0; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tiles.features .tile { min-height: 0; }
.tiles.features .tile h3 { font-size: 1.02rem; }
.courses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.courses li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-sm); }
.courses b { display: block; font: 800 1.02rem "Manrope", sans-serif; color: var(--blue-deep); }
.courses span { font-size: .92rem; color: var(--muted); }
.guides { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.guides a { display: flex; align-items: center; gap: 10px; height: 100%; padding: 12px 14px; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; text-decoration: none; font-weight: 600; box-shadow: var(--shadow-sm); }
.guides i { font-size: 20px; color: var(--blue); }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.faq details + details { margin-top: 8px; }
.faq summary { cursor: pointer; font: 700 1rem "Manrope", sans-serif; color: var(--ink); }
.faq details p { margin: 8px 0 2px; color: var(--muted); }
.sources .disclaimer { margin-bottom: 10px; }
@media (max-width: 760px) {
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .guides { grid-template-columns: minmax(0, 1fr); }
}
:lang(ar) .store b, :lang(ar) .courses b, :lang(ar) .faq summary { font-family: "IBM Plex Sans Arabic", "Manrope", sans-serif; letter-spacing: 0; }

/* The app film (2026-10-17): a vertical film behind our own poster; the
   page's inline script swaps in YouTube's player on a click. Poster and
   player share one 9:16 box, so nothing moves when the film starts. */
.film-row { display: flex; gap: 28px; align-items: center; }
.film { margin: 0; flex: 0 0 260px; }
.film-play, .film-frame { display: block; width: 100%; aspect-ratio: 9 / 16; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #0b1220; box-shadow: var(--shadow-md); }
.film-play { position: relative; padding: 0; cursor: pointer; }
.film-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-play:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.film-icon { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(11, 18, 32, .78); }
.film-icon::after { content: ""; position: absolute; top: 20px; left: 25px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent #fff; }
.film-play:hover .film-icon { background: var(--blue); }
.film-len { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(11, 18, 32, .82); color: #fff; font-size: .82rem; font-weight: 600; }
.film-text { flex: 1 1 auto; min-width: 0; }
.film-text .film-title { font-weight: 700; }
@media (max-width: 640px) {
  .film-row { flex-direction: column; align-items: stretch; }
  .film { flex-basis: auto; width: min(100%, 300px); margin: 0 auto; }
}
