/* FreePics public homepage. Shared by the English and Polish static pages. */
:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --surface: #fff;
  --ink: #192c36;
  --muted: #52616a;
  --blue: #12649c;
  --blue-dark: #104f7a;
  --line: #dce2e3;
  --soft-blue: #e9f2f7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: 17px; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--blue-dark); }
a:focus-visible, summary:focus-visible { outline: 3px solid #976300; outline-offset: 5px; border-radius: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 5.25vw, 4.8rem); line-height: 1.05; }
h1 span { display: block; }
h1 .accent { color: var(--blue); margin-top: .08em; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.14; }
h3 { font-size: 1.42rem; line-height: 1.3; letter-spacing: -.025em; }
p + p { margin-top: 1rem; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: 12px; left: 16px; padding: 12px 18px; color: var(--ink); background: white; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { padding-block: 22px; }
.header-inner, .header-tools, .main-nav, .languages, .brand { display: flex; align-items: center; }
.header-inner { justify-content: space-between; gap: 24px; }
.brand { gap: 10px; color: var(--ink); text-decoration: none; font-size: 1.4rem; font-weight: 700; letter-spacing: -.04em; flex-shrink: 0; }
.brand img { width: 42px; height: 42px; }
.header-tools { gap: 36px; }
.main-nav { gap: 26px; }
.main-nav a { color: var(--muted); text-decoration: none; padding-block: 10px; }
.main-nav a:hover { color: var(--blue); text-decoration: underline; }
.languages { padding: 3px; border: 1px solid var(--line); border-radius: 100px; font-size: .85rem; }
.languages a { padding: 8px 13px; min-height: 44px; text-decoration: none; border-radius: 100px; color: var(--muted); }
.languages a[aria-current="page"] { color: white; background: var(--ink); }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 44px; padding-block: 52px 66px; }
.eyebrow { color: var(--blue); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; margin-bottom: 22px; }
.hero-description { max-width: 490px; color: var(--muted); font-size: 1.1rem; margin-top: 26px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 13px 22px; border-radius: 8px; background: var(--blue); color: white; font-size: 1rem; font-weight: 600; text-decoration: none; line-height: 1.4; text-align: center; }
.button:hover { color: white; background: var(--blue-dark); }
.button svg { width: 19px; height: 22px; flex-shrink: 0; }
.text-link { font-size: .95rem; font-weight: 600; padding-block: 12px; }
.small-note { color: var(--muted); font-size: .8rem; margin-top: 14px; }
.hero-gallery { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 20px; padding: 28px 18px 0; }
.hero-gallery::before { content: ""; position: absolute; z-index: -1; inset: 15% -8% 7%; background: #e8edf0; border-radius: 50%; }
.hero-gallery figure { min-width: 0; }
.hero-gallery figure + figure { padding-top: 58px; }
.phone { display: block; padding: 5px; border: 1px solid #334852; border-radius: 21px; background: #192c36; box-shadow: 0 16px 32px #132c371c; }
.phone img { width: 100%; border-radius: 15px; background: white; aspect-ratio: 9 / 16; }
.phone:hover { outline: 2px solid var(--blue); outline-offset: 3px; }
figcaption { font-size: .75rem; line-height: 1.5; color: var(--muted); text-align: center; margin-top: 12px; }
.sources { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; padding-block: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sources p { font-size: .85rem; color: var(--muted); }
.source-names { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 36px; }
.source-names a { text-decoration: none; color: var(--ink); font-size: 1rem; font-weight: 650; }
.source-names a:hover { color: var(--blue); text-decoration: underline; }
.source-names span { font-family: Georgia, serif; font-size: 1.25rem; font-weight: 400; }
.features { padding-block: 76px 66px; }
.section-heading { max-width: 640px; margin-bottom: 38px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading > p:last-child { color: var(--muted); margin-top: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature { min-width: 0; border-top: 1px solid var(--line); padding-top: 24px; }
.feature-number { display: block; color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .1em; margin-bottom: 10px; }
.feature-copy { min-height: 206px; }
.feature-copy p { font-size: .96rem; color: var(--muted); margin-top: 12px; }
.feature figure { max-width: 214px; margin: 24px auto 0; }
.capture-note { margin-top: 30px; font-size: .75rem; color: var(--muted); text-align: center; }
.search-section { background: var(--soft-blue); border-block: 1px solid #dce8ef; }
.search-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: center; padding-block: 58px; }
.search-inner figure { max-width: 215px; justify-self: center; width: 100%; }
.search-copy { max-width: 515px; }
.search-copy .eyebrow { margin-bottom: 16px; }
.search-copy > p:not(.eyebrow) { color: var(--muted); margin-top: 20px; }
.search-copy ul { padding-left: 20px; color: var(--muted); margin: 22px 0 0; }
.search-copy li { margin-block: 8px; padding-left: 4px; }
.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; padding-block: 76px; }
.faq .section-heading { margin: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding: 19px 0; line-height: 1.45; }
.faq summary::marker { color: var(--blue); }
.faq details p { padding: 0 0 20px; color: var(--muted); font-size: .95rem; }
.download-panel { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 34px 38px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.download-panel h2 { font-size: 2.1rem; }
.download-panel .small-note { margin-top: 8px; }
.download-panel .button { flex-shrink: 0; }
.site-footer { padding-block: 34px 28px; }
.footer-main { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 20px; font-size: .85rem; }
.footer-main p { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.credit { color: var(--muted); font-size: .72rem; margin-top: 12px; }
.credit a { color: inherit; }
@media (min-width: 1400px) { .hero { gap: 60px; } }
@media (max-width: 900px) {
  .hero { gap: 22px; }
  .hero-gallery { gap: 12px; padding-inline: 0; }
  .hero-gallery::before { inset-inline: 0; }
  .header-tools { gap: 20px; }
  .main-nav { gap: 18px; }
  .feature-grid { gap: 24px; }
  .feature-copy { min-height: 250px; }
  .search-inner { gap: 36px; }
  .faq { gap: 36px; }
}
@media (max-width: 700px) {
  .wrap { width: min(540px, calc(100% - 40px)); }
  .site-header { padding-block: 16px; }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .header-tools { display: contents; }
  .languages { margin-left: auto; order: 1; }
  .brand { font-size: 1.25rem; }
  .brand img { width: 36px; height: 36px; }
  .main-nav { order: 2; width: 100%; border-top: 1px solid var(--line); justify-content: space-between; font-size: .9rem; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-block: 28px 36px; }
  h1 { font-size: clamp(2.6rem, 10.6vw, 3.8rem); }
  .eyebrow { margin-bottom: 17px; }
  .hero-description { font-size: 1rem; margin-top: 20px; }
  .actions { margin-top: 24px; gap: 10px 18px; }
  .button { padding-inline: 18px; }
  .hero-gallery { max-width: 405px; width: 100%; justify-self: center; gap: 16px; padding: 4px 5px 0; }
  .hero-gallery figure + figure { padding-top: 36px; }
  .phone { padding: 4px; border-radius: 17px; }
  .phone img { border-radius: 12px; }
  .sources { align-items: flex-start; flex-direction: column; gap: 8px; }
  .source-names { gap: 16px 28px; }
  .features { padding-block: 48px 40px; }
  .section-heading { margin-bottom: 26px; }
  .feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, .85fr); gap: 20px; align-items: start; }
  .feature-copy { min-height: 0; }
  h3 { font-size: 1.28rem; }
  .feature-copy p { font-size: .9rem; }
  .feature figure { margin: 0; }
  .capture-note { text-align: left; }
  .search-inner { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
  .search-copy { grid-row: 1; }
  .search-inner figure { max-width: 190px; }
  .faq { grid-template-columns: 1fr; gap: 26px; padding-block: 48px; }
  .download-panel { flex-direction: column; align-items: flex-start; gap: 22px; padding: 26px; }
  .download-panel h2 { font-size: 1.9rem; }
  .footer-main { gap: 10px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .languages a { padding-inline: 10px; }
  .feature { gap: 16px; }
  .hero-gallery { gap: 12px; padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (forced-colors: active) {
  .button, .languages a[aria-current="page"] { border: 1px solid ButtonText; }
  .phone { border-color: CanvasText; }
}
