/* fingod.cz — veřejný web (apps/marketing). Staví na komponentách z fingod.css; tady je jen to,
   co jinde nedává smysl: hero, karty kroků, výhody, FAQ, obsah právních stránek, chybové stránky.
   Žádné inline styly, žádné cizí zdroje. Ilustrace: static/img/*.svg (vlastní). */

/* --- hero na úvodní stránce --- */
.hero { position: relative; overflow: hidden; padding-bottom: 0; }
.hero__grid { display: grid; gap: 2rem; align-items: end; }
.hero__copy { padding-bottom: clamp(1rem, 4vw, 3rem); position: relative; z-index: 2; }
.hero__copy h1 { max-width: 16ch; }
.hero__copy .lead { max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; margin-top: 1.75rem; }
.hero__identity { margin-top: 1.5rem; color: #c9c6e0; max-width: 60ch; }
.hero__identity strong { color: #fff; font-weight: 600; }
.hero__art { position: relative; z-index: 1; justify-self: center; width: min(100%, 26rem); margin-bottom: -0.5rem; }
.hero__art img { display: block; width: 100%; }
.hero__clouds { position: absolute; z-index: 3; left: 0; bottom: -1px; width: 100%; height: clamp(2.5rem, 8vw, 7rem); pointer-events: none; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3rem; }
  .hero__copy { padding-bottom: clamp(5rem, 10vw, 9rem); }
  .hero__art { width: 100%; justify-self: end; }
}

/* --- záhlaví podstránek --- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(4rem, 9vw, 7rem); }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); max-width: 22ch; }
.page-hero .lead { max-width: 60ch; }
.page-hero__halo { position: absolute; right: -2rem; top: -1rem; width: clamp(10rem, 28vw, 20rem); opacity: 0.5; pointer-events: none; }
.page-hero .container { position: relative; z-index: 2; }

/* --- nadpis sekce --- */
.section-head { max-width: 46rem; }
.section-head.text-center { margin-inline: auto; }
.section-head > * + * { margin-top: 0.75rem; }

/* --- kroky „Jak to funguje“ --- */
.step-list { list-style: none; margin: 0; padding: 0; counter-reset: krok; }
.step-card { position: relative; counter-increment: krok; padding-top: 1.75rem; }
.step-card::before {
  content: counter(krok); position: absolute; top: -1.1rem; left: 1.5rem; width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center; border-radius: 50%; background: var(--night); color: var(--halo);
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; box-shadow: 0 0 0 4px var(--cloud);
}
.step-card__icon, .feature__icon { display: block; width: 3.5rem; height: 3.5rem; }
.step-card > * + * { margin-top: 0.75rem; }
.step-list.grid { row-gap: 2.5rem; margin-top: 3rem; }

.step-list.timeline { display: grid; gap: 2.25rem; margin-top: 1rem; }
.how-sources { margin-top: 1rem; }

/* --- výhody a bezpečnost --- */
.feature { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.feature__body > * + * { margin-top: 0.4rem; }
.feature__body h3 { font-size: 1.15rem; }
.feature__body p { color: var(--ink-soft); }
.section--dark .feature__body p { color: #dcd9f0; }
.feature-grid { margin-top: 2.5rem; row-gap: 2rem; }

/* Ikony mají tmavé tahy — na tmavém podkladu dostanou světlou podložku. */
.feature__icon--plate { background: var(--cloud); border-radius: var(--radius); padding: 0.45rem; }
.section-more { margin-top: 2rem; }
.benefits { align-items: center; gap: 2.5rem; }
.benefits__aside { align-self: center; }

/* --- karty dokumentů --- */
.doc-card > * + * { margin-top: 0.75rem; }
.doc-card__why { color: var(--ink-soft); font-size: 0.95rem; }
.doc-card__why strong { color: var(--ink); }

/* --- hlas značky --- */
.quote {
  margin: 0; padding: 1.5rem 1.75rem; border-radius: var(--radius); background: var(--night); color: #fff;
  font-family: var(--font-display); font-size: clamp(1.2rem, 2.4vw, 1.5rem); line-height: 1.35; position: relative;
}
.quote::before { content: ""; position: absolute; left: 1.75rem; top: -0.5rem; width: 3.2rem; height: 0.9rem; border: 3px solid var(--halo); border-radius: 50%; background: var(--night); }
.quote p { max-width: none; }
.quote footer { margin-top: 0.75rem; font-family: var(--font); font-size: 0.9rem; color: #c9c6e0; }

/* --- kdo za tím stojí --- */
.identity-card dl { margin: 0; display: grid; gap: 0.6rem; }
.identity-card dt { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.identity-card dd { margin: 0; }

/* --- FAQ --- */
.faq-group + .faq-group { margin-top: 2.5rem; }
.faq-group > h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-bottom: 1rem; }
.faq-search { margin-bottom: 2rem; }

/* --- závěrečná výzva --- */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band__halo { display: block; margin: 0 auto -0.5rem; width: clamp(9rem, 22vw, 14rem); }
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band p { margin-inline: auto; }
.cta-band .hero__actions { justify-content: center; }

/* --- právní stránky --- */
.legal { padding-block: clamp(2rem, 5vw, 3.5rem); }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal__head > * + * { margin-top: 1rem; }
.legal__head { margin-bottom: 2rem; }
.toc { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); padding: 1rem 1.25rem; }
.toc h2 { font-family: var(--font); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 0.5rem; }
.toc ol { margin: 0; padding-left: 1.3rem; columns: 2 16rem; column-gap: 2rem; font-size: 0.95rem; }
.toc li { break-inside: avoid; padding-block: 0.15rem; }
.placeholder-note { font-size: 0.9rem; }
.legal-ref { font-size: 0.8rem; color: var(--ink-soft); white-space: nowrap; }

/* --- chybové stránky (403, 404 dědí z base.html; 400 a 500 jsou samostatné soubory se stejnými třídami) --- */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: clamp(2.5rem, 8vw, 6rem); }
.error-page__halo { display: block; margin: 0 auto; width: clamp(10rem, 30vw, 16rem); }
.error-page__code { font-family: var(--font-display); font-size: clamp(3.5rem, 12vw, 7rem); font-weight: 700; line-height: 1; color: var(--halo); margin-top: -1.5rem; }
.error-page > div > * + * { margin-top: 1rem; }
.error-page p { margin-inline: auto; }
.error-page .hero__actions { justify-content: center; }
body.error-standalone { background: var(--night); color: #fff; --focus: var(--halo); }
body.error-standalone a:not(.btn) { color: var(--halo); }

@media print {
  .page-hero__halo, .hero__clouds, .hero__art, .toc, .faq-search { display: none !important; }
  .page-hero, .hero { background: none; color: #000; padding-block: 0.5rem; }
  .page-hero .lead, .page-hero .eyebrow { color: #000; }
}
