/* Landing pages (site/landing, pages/landing.html): a feature, a comparison, the features hub, the press kit.
   Built on site.css (its colours, cards, table and FAQ); only what these pages add. */

.lp-hero { padding-bottom: clamp(24px, 4vw, 48px); }
.lp-hero .wrap { gap: 22px; }
.lp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--text-3); }
.lp-crumbs a { color: var(--text-2); }
.lp-crumbs a:hover { color: var(--text); }
.lp-hero-copy { display: grid; gap: 18px; max-width: 900px; }
.lp-hero-copy .lead { max-width: 46em; }
.lp-cta { justify-content: flex-start; margin-top: 6px; }
.lp-fine { margin-top: -4px; }
.lp-badges { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; list-style: none; font-size: 15px; color: var(--text-2); }
.lp-badges li { display: inline-flex; align-items: center; gap: 7px; }
.lp-badges .i { width: 16px; height: 16px; color: var(--ok); }
.lp-hero-shot { margin: clamp(14px, 3vw, 30px) 0 0; }
.lp-hero-shot img, .lp-shot img, .lp-gal img { display: block; width: 100%; height: auto; border-radius: 14px; }
.lp-hero-shot .shot, .lp-shot .shot, .lp-gal .shot { display: block; }

.lp-head { display: grid; gap: 14px; max-width: 820px; margin: 0 0 clamp(24px, 4vw, 40px); }
.lp-head .h2 { margin: 0; }

/* The short answer, first (what search engines and assistants quote). */
.lp-tldr { padding: clamp(22px, 3vw, 32px); display: grid; gap: 10px; }
.lp-tldr-t { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.lp-tldr p { font-size: clamp(1.02rem, .96rem + .3vw, 1.15rem); line-height: 1.6; color: var(--text); }

/* Comparison table: the first column (Folia Files) is the site's highlighted one. */
.lp-table { overflow-x: auto; }
.lp-cmp { min-width: 560px; }
.lp-cmp thead th:first-child { width: 34%; }
.lp-cols-3 thead th:first-child { width: 40%; }
.lp-cmp td { vertical-align: top; }
.lp-cmp tbody th { font-weight: 550; }
.lp-note { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--text-3); }
.lp-cmp td .yes + .lp-note, .lp-cmp td .no + .lp-note, .lp-cmp td .lp-part + .lp-note, .lp-cmp td .lp-unk + .lp-note { margin-top: 2px; }
.lp-part, .lp-unk { display: inline-block; font-size: 13px; font-weight: 600; padding: 1px 8px; border-radius: 999px; }
.lp-part { color: #fbbf24; background: rgba(251, 191, 36, .12); }
.lp-unk { color: var(--text-3); background: var(--surface-2); }
.lp-after { margin-top: 18px; }

/* Sections: text, and a picture beside it (alternating sides). */
.lp-sec + .lp-sec { padding-top: 0; }
.lp-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.lp-alt .lp-split .lp-copy { order: 2; }
.lp-text { max-width: 820px; }
.lp-copy { gap: 14px; }
.lp-copy .h2 { margin-bottom: 4px; }
.lp-p { font-size: 17px; line-height: 1.65; color: var(--text-2); }
.lp-p strong { color: var(--text); font-weight: 650; }
.lp-p a, .lp-list a, .lp-more a, .lp-app a:not(.link-arrow), .lp-tldr a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.lp-list { display: grid; gap: 10px; padding: 0; margin: 4px 0 0; list-style: none; }
.lp-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.lp-list .i { width: 16px; height: 16px; margin-top: 4px; color: var(--ok); }
.lp-keys { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 15px; color: var(--text-2); }
.lp-keys span { display: inline-flex; align-items: center; gap: 8px; }
.lp-edition { margin: 0; }
.lp-shot { margin: 0; }
.lp-shot figcaption { margin-top: 12px; font-size: 14px; color: var(--text-3); }

/* Cards (features hub, related pages). */
.lp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.lp-card { display: grid; gap: 8px; align-content: start; padding: 22px 22px 46px; color: inherit; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.lp-card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-card); }
.lp-card h3 { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.lp-card p { font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.lp-card-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); color: var(--accent-text); }
.lp-card-ic .i { width: 21px; height: 21px; }
.lp-card-go { position: absolute; right: 18px; bottom: 16px; color: var(--text-3); }
.lp-card-go .i { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.lp-card:hover .lp-card-go .i { transform: translateX(3px); color: var(--text); }
.lp-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px 28px; margin: 26px 0 0; padding: 0; list-style: none; }
.lp-more li { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.lp-more strong { color: var(--text); font-weight: 650; }

/* The list of file managers (best Finder alternatives). */
.lp-apps { display: grid; gap: 18px; padding: 0; margin: 0; list-style: none; counter-reset: app; }
.lp-app { display: grid; gap: 12px; padding: clamp(20px, 3vw, 30px); counter-increment: app; }
.lp-app.is-ours { box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .45), var(--shadow-card); }
.lp-app-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.lp-app-head h3::before { content: counter(app) ". "; color: var(--text-3); }
.lp-app-price { font-size: 15px; font-weight: 600; color: var(--text-2); }
.lp-app-best { font-size: 15px; color: var(--accent-text); font-weight: 550; }
.lp-app > p { font-size: 16px; line-height: 1.6; color: var(--text-2); }
.lp-pc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lp-pc h4 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.lp-pc ul { display: grid; gap: 5px; padding-left: 1.1em; margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-2); }

/* Which one to choose. */
.lp-verdict { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lp-v { display: grid; gap: 12px; align-content: start; padding: clamp(20px, 3vw, 30px); }
.lp-v ul { display: grid; gap: 8px; padding-left: 1.1em; margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.lp-v-us { box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .45), var(--shadow-card); }

/* Press kit. */
.lp-facts { display: grid; margin: 0; padding: 6px 24px; }
.lp-facts div { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lp-facts div:last-child { border-bottom: 0; }
.lp-facts dt { font-weight: 600; }
.lp-facts dd { margin: 0; color: var(--text-2); }
.lp-boiler { padding: 22px 24px; display: grid; gap: 8px; margin-bottom: 14px; }
.lp-boiler p { font-size: 15.5px; line-height: 1.6; color: var(--text-2); user-select: all; -webkit-user-select: all; }
.lp-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.lp-gal { margin: 0; padding: 10px; display: grid; gap: 10px; }
.lp-gal figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 0 6px 4px; font-size: 13.5px; color: var(--text-2); }
.lp-gal figcaption a { color: var(--accent-text); white-space: nowrap; }
.lp-logos { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.lp-logo { display: grid; justify-items: center; gap: 8px; padding: 16px 18px; font-size: 13.5px; color: var(--text-2); }
.lp-logo img { width: 96px; height: 96px; }

/* The last call to action, with the sources of a comparison. */
.lp-final-card { display: grid; justify-items: center; gap: 14px; padding: clamp(28px, 5vw, 52px) clamp(20px, 4vw, 44px); }
.lp-final-card .h2 { margin: 0; }
.lp-sources { margin-top: 18px; display: grid; gap: 8px; justify-items: center; }
.lp-sources ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; padding: 0; margin: 0; list-style: none; font-size: 13px; }
.lp-sources a { color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .lp-split { grid-template-columns: minmax(0, 1fr); }
  .lp-alt .lp-split .lp-copy { order: 0; }
  .lp-verdict, .lp-pc { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .lp-cta { justify-content: stretch; }
  .lp-facts div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
:lang(ja) .lp-p, :lang(zh) .lp-p, :lang(ja) .lp-tldr p, :lang(zh) .lp-tldr p { line-height: 1.8; }

/* ---------- The film page: the player (loaded on play), its chapters ---------- */
.lp-video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #05060a; box-shadow: var(--shadow-lg, 0 30px 80px rgba(0, 0, 0, .45)); }
.lp-video-frame picture, .lp-video-frame img, .lp-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; object-fit: cover; }
.lp-video-play { position: absolute; left: 5.5%; bottom: 9%; display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px 14px 16px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(8, 10, 18, .62); color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform .2s var(--ease), background .2s; }
.lp-video-play:hover { background: rgba(8, 10, 18, .78); transform: scale(1.03); }
.lp-video-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent, #3b82f6); }
.lp-video-ic .i { width: 18px; height: 18px; margin-left: 2px; }
.lp-video figcaption { margin-top: 10px; text-align: center; }
.lp-video figcaption a { color: var(--accent-text); }
.lp-chapters { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; }
.lp-chapters li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-2); scroll-margin-top: 90px; }
.lp-chapters h3 { margin: 0; font-size: 17px; }
.lp-chapters p { margin: 6px 0 0; color: var(--text-2); }
.lp-chapters .lp-ch-said { color: var(--text); font-style: italic; }
.lp-ch-time { align-self: start; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--accent-text); font: inherit; font-variant-numeric: tabular-nums; font-weight: 600; cursor: pointer; }
.lp-ch-time:hover { border-color: var(--accent-text); }
@media (max-width: 560px) { .lp-chapters li { grid-template-columns: minmax(0, 1fr); gap: 8px; } .lp-ch-time { justify-self: start; } .lp-video-play { padding: 10px 16px 10px 10px; font-size: 14px; } }

/* ---------- The tutorials page: its themes, and each tutorial's chapters (partials/video-card.html) ---------- */
.lp-tut-intro { display: grid; gap: 12px; margin-top: 10px; }
.lp-tut-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-tut-nav .pill { color: var(--text); font-size: 14px; transition: background-color .2s, box-shadow .2s; }
.lp-tut-nav .pill:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--accent-text); }
.lp-tut-nav .pill .i { width: 16px; height: 16px; color: var(--accent-text); }
.lp-tut-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; }
/* One theme after another: no space doubled between them (the first one shown keeps its own under the header). */
.lp-tut:not([hidden]) ~ .lp-tut { padding-top: 0; }
.lp-tut-head { display: flex; align-items: flex-start; gap: 16px; scroll-margin-top: 16px; }
.lp-tut-head .lp-card-ic { flex: none; margin-top: 2px; }
.lp-tut-head .h2 { margin-bottom: 10px; }
.vchapters { display: grid; gap: 1px; margin: 2px 0 0; padding: 0; list-style: none; }
.vch { display: flex; align-items: baseline; gap: 10px; width: calc(100% + 16px); margin: 0 -8px; padding: 5px 8px; border: 0; border-radius: 8px; background: none; color: var(--text-2); font: inherit; font-size: .88rem; line-height: 1.35; text-align: left; cursor: pointer; transition: background-color .2s, color .2s; }
.vch:hover, .vch:focus-visible { background: var(--surface-2); color: var(--text); }
.vch time { flex: none; min-width: 2.7em; color: var(--accent-text); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (pointer: coarse) { .vch { padding-block: 9px; } }
@media (max-width: 560px) { .lp-tut-head .lp-card-ic { display: none; } }
@media (prefers-reduced-motion: reduce) { .lp-tut-nav .pill, .vch { transition: none; } }
