/* Loaded only by the Polish and English homepages. */
:root {
  --paper: #f7f8f5;
  --ink: #112026;
  --muted: #4d5e65;
  --line: #d1dcda;
  --night: #071419;
  --mint: #a7f1d9;
}
html { scroll-padding-top: 24px; }
.wrap { width: min(1280px, calc(100% - clamp(36px, 8vw, 120px))); }
.home-masthead, .home-hero { color: #f1f7f5; background: var(--night); }
.home-masthead { position: relative; z-index: 8; }
.site-header { height: 75px; border-bottom: 1px solid #ffffff23; }
.site-header .site-nav a:hover { color: var(--mint); }
.site-header .nav-store { border-color: #587074; }
.site-header .language { color: #a8b8b8; }
.site-header .language .active { color: #fff; }
.site-header .language a { display: inline-grid; min-height: 44px; align-items: center; }
.site-header .menu-toggle span { background: #eef7f3; }
.home-masthead .skip { color: var(--ink); }
.home-masthead :focus-visible, .home-hero :focus-visible, .password-manager :focus-visible { outline-color: #b6ffe2; }
.home-hero { overflow: hidden; }
.home-hero-inner { position: relative; display: grid; align-items: center; min-height: clamp(398px, 34vw, 510px); }
.home-hero-copy { position: relative; z-index: 1; width: 56%; padding: clamp(54px, 6vw, 92px) 0; }
.home-hero h1 {
  color: #f2f8f5; font-size: clamp(39px, 4.24vw, 66px); letter-spacing: -.057em;
  font-weight: 630; line-height: 1.12;
}
.home-hero h1 span { color: var(--mint); }
.home-hero-copy p { color: #c4d3d3; max-width: 37ch; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.55; margin: 22px 0 25px; }
.home-art {
  display: block; position: absolute; z-index: 0; right: -4%; top: 0; width: 57%; height: 100%;
  object-fit: cover; object-position: center; pointer-events: none;
  mask-image: linear-gradient(to right, transparent, #000 17%, #000 87%, transparent),
              linear-gradient(to bottom, transparent, #000 13%, #000 81%, transparent);
  mask-composite: intersect;
}
.home-hero-actions, .home-section-head { display: flex; align-items: center; gap: 22px; }
.home-primary, .home-quiet, .home-downloads { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 650; }
.home-primary { padding: 0 19px; border: 1px solid transparent; border-radius: 9px; background: var(--mint); color: #0d3029; }
.home-primary:hover { background: #cefce9; }
.home-quiet { color: #e3efeb; }
.home-quiet:hover, .home-downloads:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-hero-actions svg, .home-downloads svg { width: 17px; height: 17px; }
.home-location { display: none; }
.home-catalog { padding-block: clamp(34px, 4vw, 64px) 0; overflow-anchor: none; }
.home-section-head { justify-content: space-between; margin-bottom: 20px; }
.home-section-head h2, .ecosystem > h2, .company h2 {
  font-size: clamp(32px, 3.35vw, 49px); font-weight: 620; line-height: 1.14; letter-spacing: -.052em;
}
.home-downloads { color: #28574e; }
.home-app-index {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line);
  margin-bottom: 24px;
}
.home-app-index a {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 18px clamp(10px, 1.4vw, 23px); color: var(--ink); min-width: 0;
}
.home-app-index a + a { border-inline-start: 1px solid var(--line); }
.home-app-index a:hover { background: #eaf1ee; }
.home-app-index a:focus-visible { position: relative; z-index: 1; outline-offset: -3px; }
.home-app-index img { object-fit: contain; width: 40px; height: 40px; }
.home-shortcut-copy { display: grid; gap: 4px; }
.home-shortcut-name, .home-shortcut-mobile { font: 650 clamp(13px, 1.1vw, 16px)/1.28 Manrope, sans-serif; letter-spacing: -.025em; }
.home-shortcut-mobile { display: none; }
.home-shortcut-copy small { font-size: 12px; color: var(--muted); line-height: 1.35; }
.home-app-index svg { width: 14px; height: 14px; color: #57706a; transform: rotate(45deg); }
.product-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.product-feature {
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto;
  align-items: stretch; min-width: 0; min-height: 0; border-radius: 23px; border: 1px solid #cfdbd8;
}
.product-feature.lettera, .product-feature.password-manager {
  grid-column: 1 / -1; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-rows: auto;
}
.product-feature.lettera { background: linear-gradient(114deg, #fafcfb 12%, #e1f4f2 64%, #c9e8ed); }
.product-feature.eraser { background: #edf0f2; }
.product-feature.safe { background: #e9f2ea; }
.product-feature .product-copy { padding: clamp(26px, 3.1vw, 48px); min-width: 0; }
.home-product-identity { display: flex; align-items: center; gap: 13px; margin-bottom: 15px; }
.product-feature .product-logo { display: block; width: 44px; height: 44px; object-fit: contain; margin: 0; }
.product-feature .status { display: inline-flex; margin: 0; border-radius: 6px; color: #2a4842; background: #ffffffa6; border-color: #b6cac4; }
.product-brand h3 { font-size: clamp(27px, 2.6vw, 40px); line-height: 1.15; font-weight: 650; letter-spacing: -.05em; }
.product-copy p { max-width: 40ch; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5; color: var(--muted); margin-top: 13px; letter-spacing: -.01em; }
.product-feature .platforms { font-size: 12px; line-height: 1.45; color: #465a60; margin-top: 16px; }
.product-feature .button { min-height: 44px; border-radius: 8px; margin-top: 22px; padding: 11px 16px; gap: 10px; line-height: 1.4; }
.product-feature .product-actions { margin-top: 22px; gap: 6px 16px; align-items: center; }
.product-feature .product-actions .button { margin: 0; }
.product-feature .product-learn { min-height: 44px; font-size: 13px; }
.product-feature .scene {
  display: grid; place-items: center; align-self: stretch; width: 100%; min-height: 0; height: auto;
  padding: 0 clamp(24px, 3vw, 44px) clamp(24px, 3vw, 42px);
}
.lettera .scene { padding: clamp(24px, 3.1vw, 48px) clamp(24px, 3vw, 46px) clamp(24px, 3.1vw, 48px) 0; }
.product-feature .real-screen, .product-feature .eraser-window {
  position: static; width: 100%; height: auto; border-radius: 9px; transform: none;
  border: 1px solid #23353422; box-shadow: 0 12px 24px -10px #223c4833;
}
.product-feature .real-screen:hover, .product-feature .eraser-window:hover { transform: none; }
.product-feature .real-screen:focus-visible { outline-offset: 3px; }
.product-feature.password-manager { color: #f7f6fc; background: #252237; border-color: #393447; }
.password-manager .product-copy p, .password-manager .platforms { color: #d5d1e4; }
.password-manager .status { color: #e8e4fa; border-color: #6a6580; background: #373347; }
.password-manager .product-copy .button { background: #efecff; border-color: #efecff; color: #2a2140; }
.password-manager .product-copy .button:hover { background: #fff; }
.password-manager .scene {
  padding: 25px;
  background: radial-gradient(circle at center, transparent 81px, #d6caff38 82px, transparent 83px, transparent 110px, #d6caff29 111px, transparent 112px, transparent 144px, #d6caff1c 145px, transparent 146px),
              radial-gradient(ellipse at center, #514166, transparent 68%);
}
.home-key { width: clamp(90px, 9vw, 130px); height: auto; filter: drop-shadow(0 10px 18px #14101f55); }
.gallery-note { color: var(--muted); font-size: 12px; text-align: end; line-height: 1.55; margin: 12px 0 0; }
.ecosystem {
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); column-gap: clamp(32px, 6vw, 95px);
  margin-top: clamp(48px, 6vw, 88px); padding: clamp(34px, 4vw, 64px) 0 0; border-top: 1px solid var(--line);
}
.ecosystem > h2 { margin: 0; max-width: 14ch; overflow-wrap: break-word; }
.ecosystem-copy { margin: 0; gap: 13px; max-width: 72ch; }
.ecosystem-copy p { font-size: 16px; line-height: 1.65; color: var(--muted); }
.ecosystem-copy p:first-child { color: var(--ink); }
.ecosystem > :is(h3, h3 + p, .ecosystem-examples, .ecosystem-note, .ecosystem-nexus) { grid-column: 1 / -1; }
.ecosystem > h3 { font-size: clamp(24px, 2vw, 31px); letter-spacing: -.04em; margin-top: 38px; }
.ecosystem-examples { margin-top: 16px; gap: 20px; }
.ecosystem-examples article { border-color: var(--line); padding: clamp(20px, 2.3vw, 33px); border-radius: 16px; }
.ecosystem-examples h4 { color: #2c6056; font-size: 13px; }
.ecosystem-examples p { margin-top: 12px; line-height: 1.65; }
.ecosystem-examples strong { font-size: clamp(20px, 1.7vw, 26px); }
.ecosystem-note { border-color: #6d9e8d; margin-top: 18px; }
.ecosystem-nexus { max-width: none; background: #eaf0eb; border-color: #cfdbd1; border-radius: 16px; margin-top: 26px; }
.ecosystem .ecosystem-nexus p { max-width: 88ch; line-height: 1.6; }
.home-read-more { justify-self: start; min-height: 44px; color: #21564a; font: 650 14px 'DM Sans', sans-serif; background: transparent; padding: 0 2px; border: 0; text-decoration: underline; text-underline-offset: 4px; }
.company { margin-top: clamp(46px, 6vw, 84px); padding: clamp(32px, 4.7vw, 69px) 0; border-top: 1px solid var(--line); }
.company .section-label { color: #52675f; }
.company p { font-size: 17px; line-height: 1.65; }
.site-footer .footer-bottom { color: #56655e; }
@media (min-width: 701px) and (max-width: 1050px) {
  .home-app-index a { grid-template-columns: 31px minmax(0, 1fr); gap: 9px; }
  .home-app-index img { width: 31px; height: 31px; }
  .home-app-index svg { display: none; }
  .home-hero-copy { width: 60%; }
  .home-hero h1 { font-size: clamp(30px, 4.2vw, 45px); }
}
@media (max-width: 760px) {
  .site-header { height: 58px; gap: 7px; }
  .site-header .brand { width: 135px; }
  .site-header .site-nav { top: 56px; color: var(--ink); background: #f8faf7; border-color: var(--line); }
  .site-header .site-nav a:hover { color: #23594d; }
  .site-header .language { margin-inline-start: 4px; gap: 6px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 56px; scroll-behavior: auto; }
  body { overflow-anchor: none; }
  .wrap { width: calc(100% - 36px); }
  .home-hero-inner { min-height: 0; }
  .home-hero-copy { width: 100%; padding: 29px 0 26px; }
  .home-hero h1 { font-size: clamp(25px, 6.65vw, 44px); }
  .home-hero-copy p { max-width: min(32ch, 76%); margin: 13px 0 14px; font-size: 15px; line-height: 1.42; }
  .home-hero-actions { gap: 14px; }
  .home-primary, .home-quiet { font-size: 13px; gap: 6px; }
  .home-primary { padding-inline: 12px; }
  .home-art { width: 61%; height: 100%; right: -7%; opacity: .4; object-fit: cover; object-position: 46% center; mask-image: linear-gradient(90deg, transparent, #000 75%); }
  .home-location {
    display: block; position: sticky; top: 0; z-index: 5; background: #f7f8f5; border-block: 1px solid var(--line);
  }
  .home-location > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-location a { min-height: 44px; display: grid; place-items: center; font: 600 13px 'DM Sans', sans-serif; color: #45605b; }
  .home-location a[aria-current] { color: #103b31; box-shadow: inset 0 -3px #25745e; }
  .home-location a:focus-visible { outline-offset: -4px; }
  .home-catalog { padding-top: 16px; }
  .home-section-head { margin-bottom: 6px; gap: 12px; }
  .home-section-head h2 { font-size: clamp(25px, 6vw, 32px); }
  .home-downloads { font-size: 13px; gap: 5px; }
  .home-app-index {
    position: sticky; top: 45px; z-index: 4; background: var(--paper);
    gap: 4px; border: 0; margin-bottom: 10px; padding-block: 4px; scroll-margin-top: 51px;
  }
  .home-app-index a {
    display: flex; flex-direction: column; justify-content: center; gap: 5px; min-height: 71px;
    border: 1px solid #ced9d4; border-radius: 8px; padding: 5px 2px; text-align: center; background: #fbfcfa;
  }
  .home-app-index a[aria-selected=true] { background: #ddf0e7; border-color: #347462; box-shadow: inset 0 0 0 1px #347462; }
  .home-app-index img { width: 25px; height: 25px; }
  .home-shortcut-name, .home-shortcut-copy small, .home-app-index svg { display: none; }
  .home-shortcut-mobile { display: block; font-size: 12px; line-height: 1.12; }
  .product-stack { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .product-feature, .product-feature.lettera, .product-feature.password-manager { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; border-radius: 15px; scroll-margin: 0; }
  .product-feature .product-copy { padding: 18px; }
  .home-product-identity { gap: 10px; margin-bottom: 9px; }
  .product-feature .product-logo { width: 30px; height: 30px; }
  .product-feature .status { font-size: 11px; padding: 3px 7px; }
  .product-brand h3 { font-size: clamp(23px, 5.8vw, 32px); }
  .product-copy p { font-size: 15px; line-height: 1.45; margin-top: 8px; }
  .product-feature .platforms { margin-top: 10px; font-size: 11.5px; gap: 4px 12px; }
  .product-feature .product-actions, .product-feature .button { margin-top: 11px; }
  .product-feature .button { font-size: 13px; }
  .product-feature .product-actions { gap: 2px 13px; }
  .product-feature .scene { padding: 0 18px 16px; }
  .product-feature .scene img { max-height: 210px; object-fit: contain; }
  .product-feature .real-screen, .product-feature .eraser-window { width: min(100%, 335px); }
  .password-manager .scene { display: none; }
  .gallery-note { font-size: 11px; text-align: start; margin-top: 8px; }
  .ecosystem { display: block; margin-top: 30px; padding-top: 24px; }
  .ecosystem > h2 { font-size: 30px; max-width: 18ch; }
  .ecosystem-copy { margin-top: 14px; gap: 10px; }
  .ecosystem-copy p, .ecosystem-examples p, .ecosystem .ecosystem-nexus p { font-size: 15px; line-height: 1.55; }
  .ecosystem > h3 { margin-top: 22px; }
  .ecosystem-examples { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ecosystem-examples article, .ecosystem-nexus { padding: 18px; }
  .company { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 30px; padding: 24px 0; }
  .company .section-label { margin-bottom: 7px; }
  .company h2 { font-size: 30px; }
  .company p { font-size: 15px; margin: 0 0 7px; }
}
@media (max-width: 350px) {
  .wrap { width: calc(100% - 24px); }
  .home-hero-actions { gap: 10px; }
  .home-quiet svg { display: none; }
  .home-shortcut-mobile { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-main *, .home-masthead * { transition: none !important; }
  .home-main .button:hover { transform: none; }
}

/* Match the Downloads benefit-led product descriptions. */
.home-main .product-copy .home-product-lead {
  display: block; margin-bottom: 9px; color: var(--ink); font-weight: 650; line-height: 1.4;
}
.home-main .password-manager .home-product-lead { color: #f7f6fc; }
