/* Public pages: the 2026-10-09 redesign (design/landing-2026-10-09/) on design system v3. Each page is
   one responsive template: the desktop boards at 1440 px, the phone boards from 720 px down. The
   page root is .app.touch.pub; the components (static/css/components.css: .sec, .sec-head, .kicker,
   .h1, .h2, .h3, .lead, .btn, .ico-tile, .tick, .tag, .seg, .qa, .price-card, .legend ...) carry the
   look, and this file only lays the pages out with the Occlify tokens (static/brand/tokens.css). The offer
   page has its own css/home.css (and pages/demo.css for its program window), "O programie" its about.css. */

[hidden]{display:none !important}
html{scroll-behavior:smooth}
html,body{margin:0}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none !important}}

.pub{min-height:100vh;display:flex;flex-direction:column}
.pub img,.pub video{max-width:100%}
.pub > main{flex:1 0 auto;display:flex;flex-direction:column}
.pub > main:focus{outline:none}
.pub a:not(.btn):hover{color:var(--oc-text)}
.pub .wrap{width:100%;max-width:var(--content-max);margin:0 auto;padding:0 var(--gutter)}
.small{font-size:14px;line-height:1.5}
.nowrap{white-space:nowrap}
/* The icon sprite (pages/_icons.html) takes no room. */
.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}

/* skip link */
.skip{position:absolute;left:16px;top:-64px;z-index:50;min-height:var(--oc-size-control-lg);display:inline-flex;align-items:center;background:var(--oc-surface);color:var(--oc-text);border:1px solid var(--oc-border-strong);border-radius:var(--oc-radius-md);padding:8px 12px;font-weight:600;text-decoration:none}
.skip:focus{top:12px}

/* ---------------------------------------------------------------- type */
/* A word in a heading marked in the callout colour, as the demo's time sticker. */
.price-logo{margin:0}
.price-logo img{display:block;width:auto;height:36px}
.pub mark.hl{background:var(--oc-callout);color:var(--oc-on-callout);padding:0 .12em;border-radius:var(--oc-radius-sm);box-decoration-break:clone;-webkit-box-decoration-break:clone}

/* ---------------------------------------------------------------- sections */
.sec.dark a:not(.btn):hover{color:var(--oc-text)}
.sec-head.wide{max-width:800px}
.sec-head.center{margin:0 auto;text-align:center;align-items:center}
.stack{display:flex;flex-direction:column;gap:48px}
.stack.s32{gap:32px}
.stack.s64{gap:64px}
/* Two grey sections in a row (the proof between them is hidden): a hairline keeps them apart. */
.sec.grey + .sec.grey{border-top:1px solid var(--oc-border)}
@media (max-width:720px){
  .stack,.stack.s32,.stack.s64{gap:24px}
}

.tick .i{stroke-width:3}

/* Rows you swipe on a phone: each card 80 % of the width, so the next one's edge shows. On wider
   screens the same element keeps its grid. */
@media (max-width:720px){
  .swipe{display:flex !important;flex-wrap:nowrap !important;gap:12px !important;overflow-x:auto;scroll-snap-type:x mandatory;margin-left:calc(-1 * var(--gutter)) !important;margin-right:calc(-1 * var(--gutter)) !important;padding:0 var(--gutter) 4px !important;scroll-padding:0 var(--gutter);scrollbar-width:none;-webkit-overflow-scrolling:touch;list-style:none}
  .swipe::-webkit-scrollbar{display:none}
  .swipe > *{flex:0 0 80% !important;min-width:0;scroll-snap-align:start}
  .swipe::after{content:"";flex:0 0 8px}
}

/* The phone's bottom bar: the last child of .sticky-zone, it sticks to the screen while those
   sections are in view. The closing call repeats its offer, so that section rises over the bar and
   the bar rests hidden behind it. */
.sticky-zone{position:relative}
.bottom-bar{display:none}
@media (max-width:720px){
  .bottom-bar{position:sticky;bottom:0;z-index:30;margin-top:-76px;height:76px;display:flex;align-items:center;gap:12px;padding:0 16px 0 20px;background:color-mix(in srgb,var(--oc-surface) 94%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 -1px 0 var(--oc-border)}
  .bottom-bar p{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;line-height:1.3}
  .bottom-bar b{font:var(--oc-type-body);font-weight:600}
  .bottom-bar span{font:var(--oc-type-body-small);color:var(--oc-text-subtle);white-space:nowrap}
  .pub .bottom-bar .btn{flex:none;padding:0 20px}
  .sticky-zone > .sec.blue{position:relative;z-index:31}
  .bottom-bar:focus-within{z-index:32}
  /* The bar's -76px top margin would let it rise above the zone, over the hero, before the zone is
     on screen. Clipping (not a scroll container, so the bar still sticks) keeps it inside. */
  .sticky-zone{overflow-y:clip}
}

/* ---------------------------------------------------------------- header */
.pub-hdr{position:relative;z-index:40}
.pub a.brand{min-height:var(--oc-size-control-lg)}
.menu-btn{flex:none;width:var(--oc-size-control-lg);height:var(--oc-size-control-lg);margin-right:-4px;border-radius:var(--oc-radius-md);border:0;background:transparent;color:var(--oc-text);display:grid;place-items:center;cursor:pointer}
.menu-btn .i{--icon:var(--oc-size-icon-md)}
.menu-btn:hover,.menu-on .menu-btn{background:var(--oc-surface-sunken)}
.menu-btn .menu-close,.menu-on .menu-btn .menu-open{display:none}
.menu-on .menu-btn .menu-close{display:block}
.nav-menu{position:absolute;left:0;right:0;top:100%;background:var(--oc-surface);padding:8px var(--gutter) 24px;display:flex;flex-direction:column;box-shadow:0 1px 0 var(--oc-border),var(--oc-shadow-3)}
.pub .nav-menu > a{padding:12px 0;color:var(--oc-text);text-decoration:none;font-size:18px;font-weight:600;border-bottom:1px solid var(--oc-surface-sunken);display:flex;justify-content:space-between;align-items:center}
.pub .nav-menu > a:nth-last-of-type(1){border-bottom:0}
.pub .nav-menu > a[aria-current="page"]{color:var(--oc-accent-hover)}
.nav-menu > a[aria-current="page"]::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--oc-accent)}
.menu-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px}
@media (min-width:1081px){.menu-btn,.nav-menu{display:none !important}}
@media (max-width:1080px){.pub-hdr .nav-l{display:none}}
@media (max-width:720px){
  .pub .pub-hdr > .wrap{height:64px;gap:12px;padding:0 12px 0 20px}
  .pub .brand{gap:8px}
  .brand .logo{width:112px;height:auto}
  .hdr-login{display:none}
  /* With the menu: the row's actions are in the menu, except the language picker, which shows
     beside the close button while the menu is open. */
  .pub-hdr.menu-js:not(.menu-on) .hdr-actions,.pub-hdr.menu-js .hdr-actions > :not(.hdr-lang){display:none}
  .pub .hdr-actions .btn{padding:0 12px;font:var(--oc-type-body-small)}
}
/* The language picker in the row shows the active language's code (the menu and the footer name
   it in full), so it fits the row at every width that has the actions. From 1240 px, where the
   wrap has its full width (the design system's bp-app-m), the spacer gives up its two gaps for the
   actions' auto margin, which keeps one. */
@media (min-width:1240px){.pub-hdr .hdr-sp{display:none}.pub-hdr .hdr-actions{margin-left:auto}}

/* ---------------------------------------------------------------- footer */
.pub-ftr{background:var(--oc-surface);border-top:1px solid var(--oc-surface-sunken);font-size:14px;line-height:1.5;color:var(--oc-text-muted)}
.pub .pub-ftr a{color:var(--oc-text-muted);text-decoration:none}
.pub .pub-ftr a:hover{color:var(--oc-text);text-decoration:underline}
.pub .ftr-grid{display:flex;flex-wrap:wrap;gap:32px 64px;padding-top:48px;padding-bottom:48px}
.ftr-brand{flex:1.4 1 260px;display:flex;flex-direction:column;gap:12px}
.ftr-name{display:flex;align-items:center;gap:12px}
.ftr-name .logo{display:block;width:128px;height:auto}
.ftr-tag{color:var(--oc-text-subtle);max-width:30ch}
/* The Instagram profile: a plain icon in a box, the name and the handle beside it. */
.pub .pub-ftr .ftr-social{align-self:flex-start;display:inline-flex;align-items:center;gap:12px;min-height:var(--oc-size-control-lg);text-decoration:none}
.ftr-social-ico{width:20px;flex:none;display:grid;place-items:center;color:var(--oc-text-subtle);transition:color var(--oc-duration-fast) var(--oc-ease-standard)}
.ftr-social-txt{display:flex;flex-direction:column;line-height:1.3}
.ftr-social-txt b{color:var(--oc-text-muted);font-weight:600}
.ftr-social-txt span{font-size:12px;color:var(--oc-text-subtle)}
.pub .pub-ftr .ftr-social:hover{text-decoration:none}
.ftr-social:hover .ftr-social-ico,.ftr-social:hover .ftr-social-txt b{color:var(--oc-text)}
.ftr-social:hover .ftr-social-txt b{text-decoration:underline}
.ftr-col{flex:1 1 160px}
.ftr-help{flex-basis:200px}
.pub .ftr-h{margin:0 0 16px;font:var(--oc-type-overline);letter-spacing:var(--oc-tracking-overline);color:var(--oc-text-subtle)}
.ftr-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.pub .ftr-bar{display:flex;flex-direction:column;gap:4px;padding-top:24px;padding-bottom:32px;font-size:12px;color:var(--oc-text-subtle);background:linear-gradient(var(--oc-surface-sunken),var(--oc-surface-sunken)) var(--gutter) 0/calc(100% - 2 * var(--gutter)) 1px no-repeat}
.pub .ftr-bar a{text-decoration:underline;color:inherit}
/* The language picker (partials/language_picker.html) above the legal line, its text in line with it. */
.pub .ftr-bar .ftr-lang{align-self:flex-start;margin:0 0 var(--oc-space-2) calc(-1 * var(--oc-space-2))}
/* The page's language versions as plain links (templates/pages/_footer.html), in the picker's place. */
.ftr-langs ul{list-style:none;margin:0 0 var(--oc-space-2);padding:0;display:flex;flex-wrap:wrap;gap:var(--oc-space-1) var(--oc-space-4)}
.pub .ftr-bar .ftr-langs a{text-decoration:none}
.pub .ftr-bar .ftr-langs a:hover{text-decoration:underline}
.pub .ftr-bar .ftr-langs a[aria-current]{color:var(--oc-text-muted);font-weight:600}
@media (max-width:720px){
  .pub .ftr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"brand brand" "product account" "help account";gap:0 16px;padding-top:32px;padding-bottom:16px}
  .ftr-brand{grid-area:brand;margin-bottom:16px}
  .ftr-tag,.ftr-anchor{display:none}
  .ftr-product{grid-area:product}.ftr-account{grid-area:account}.ftr-help{grid-area:help}
  .ftr-h{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .ftr-col ul{gap:0;line-height:1.3}
  .pub .ftr-col a{min-height:var(--oc-size-control-lg);display:flex;align-items:center;padding:8px 0}
  .pub .ftr-bar{gap:4px;padding-top:16px;padding-bottom:32px;line-height:1.5}
  .pub .ftr-bar .ftr-langs a{min-height:var(--oc-size-control-lg);display:flex;align-items:center}
}

/* ---------------------------------------------------------------- the closing call (pages/_final_cta.html)
   The offer page and "O programie" end with it: on-accent text on cobalt over a faint grid. */
.pub .hm-btn{height:var(--oc-size-control-xl);padding:0 var(--oc-space-6)}
.sec.blue.hm-final{padding:104px 0}
.hm-final{position:relative;isolation:isolate;overflow:hidden}
.hm-final::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.7;background-image:linear-gradient(var(--oc-blue-600) 1px,transparent 1px),linear-gradient(90deg,var(--oc-blue-600) 1px,transparent 1px);background-size:40px 40px;background-position:center;-webkit-mask-image:radial-gradient(ellipse 60% 75% at 50% 50%,var(--oc-text) 10%,transparent 75%);mask-image:radial-gradient(ellipse 60% 75% at 50% 50%,var(--oc-text) 10%,transparent 75%)}
.hm-final-in{max-width:808px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:20px}
.pub .hm-final-h{margin:0;font:700 44px/50px var(--oc-font-display);letter-spacing:var(--oc-tracking-display);color:var(--oc-on-accent)}
.pub .hm-final .btn{margin-top:8px}
.sec.blue.hm-final p{margin:0;font:var(--oc-type-body-small);color:var(--oc-blue-100)}
@media (max-width:720px){
  .sec.blue.hm-final{padding:64px 0}
  .pub .hm-final-h{font:var(--oc-type-heading-2)}
  .pub .hm-final .btn{width:100%}
}

/* ---------------------------------------------------------------- the live counter of saved models (MDD_LANDING_SHOW_MODEL_COUNT; the offer page's proof) */
.live{flex:1 1 280px;min-width:0;background:var(--oc-accent-subtle);border-radius:var(--oc-radius-lg);padding:32px;display:flex;flex-direction:column;gap:8px;justify-content:center}
.live-badge{display:inline-flex;align-items:center;gap:8px;font:var(--oc-type-overline);letter-spacing:var(--oc-tracking-overline);color:var(--oc-success)}
.live-badge i{width:8px;height:8px;border-radius:50%;background:var(--oc-success);box-shadow:0 0 0 4px var(--oc-success-surface)}
.live-num{display:flex;align-items:baseline;gap:12px}
.live-num b{font:var(--oc-type-heading-1);letter-spacing:var(--oc-tracking-heading-1);font-variant-numeric:tabular-nums;white-space:nowrap;transition:color var(--oc-duration-base) var(--oc-ease-standard)}
.live-plus{font:600 18px/24px var(--oc-font-ui);color:var(--oc-accent-text);opacity:0;transform:translateY(8px);transition:opacity var(--oc-duration-base) var(--oc-ease-standard),transform var(--oc-duration-slow) var(--oc-ease-enter)}
.live.pulse .live-num b{color:var(--oc-accent-text)}
.live.pulse .live-plus{opacity:1;transform:translateY(-8px)}
.live p:last-child{color:var(--oc-text-muted)}
@media (max-width:720px){
  .live{padding:20px;gap:4px;flex-basis:auto}
  .live-num b{font:var(--oc-type-heading-2);letter-spacing:var(--oc-tracking-heading-2)}
}

/* ---------------------------------------------------------------- landing: the pricing period toggle (only with a yearly price; css/home.css lays out the rest) */
.pub .seg.period{align-self:center;width:280px;max-width:100%}

/* ---------------------------------------------------------------- "Zmiany w programie" */
.chg-hero{padding:96px 0 48px;background:var(--oc-surface)}
.chg-top{display:flex;flex-wrap:wrap;gap:32px 64px;align-items:flex-end;justify-content:space-between}
.chg-title{flex:1 1 520px;display:flex;flex-direction:column;gap:16px}
.chg-title .lead{max-width:36em}
.current{flex:0 1 256px;display:grid;grid-template-areas:"label" "version" "date";gap:4px;padding:20px 24px;border-radius:var(--oc-radius-lg);background:var(--oc-bg)}
.current > span{font:var(--oc-type-body-small);color:var(--oc-text-subtle)}
.current-label{grid-area:label}.current-date{grid-area:date}
.current b{grid-area:version;font:var(--oc-type-heading-2);letter-spacing:var(--oc-tracking-heading-2);font-variant-numeric:tabular-nums}
/* The kind filter is the language picker's dropdown (components.css .lang-sel, .lang-list): the
   summary names the chosen kind, each option has a coloured dot and the chosen one a tick. */
.filter-sel{display:block;width:max-content;margin:32px 0 0 calc(-1 * var(--oc-space-2))}
.filter-sel > summary{gap:var(--oc-space-2)}
.filter-sel-name{color:var(--oc-text-subtle);font-weight:400}
.filter-sel .lang-list{right:auto;left:0}
.filter-opt{display:inline-flex;align-items:center;gap:var(--oc-space-2)}
.filter-sel .lang-list > button[aria-pressed="false"] .i{visibility:hidden}
.dot{width:8px;height:8px;border-radius:50%;display:inline-block;background:var(--oc-text)}
.dot.new{background:var(--oc-accent)}.dot.improved{background:var(--oc-success)}.dot.fixed{background:var(--oc-text-subtle)}
.releases{display:flex;flex-direction:column;gap:48px}
.release{display:flex;flex-wrap:wrap;gap:16px 48px}
.release-meta{flex:0 0 200px;display:flex;flex-direction:column;gap:4px;padding-top:24px}
.pub .release-meta .h2{font:var(--oc-type-heading-3);letter-spacing:var(--oc-tracking-heading-3)}
.release-meta > span:not(.tag){font:var(--oc-type-body-small);color:var(--oc-text-subtle)}
.release-meta .tag{align-self:flex-start;margin-top:8px}
.release-card{flex:1 1 560px;min-width:0;border-radius:var(--oc-radius-lg);padding:32px;display:flex;flex-direction:column;gap:24px;background:var(--oc-surface);box-shadow:var(--oc-shadow-1)}
.release.upcoming .release-card{background:transparent;border:2px dashed var(--oc-border-strong);box-shadow:none}
.release-sum{font-size:18px;font-weight:600;line-height:1.3}
.items{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:16px}
.items li{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:baseline}
/* The kind of a change: a tag (tone-info new, tone-ok improved, tone-mu fixed), set as a label. */
.kind{flex:0 0 104px;justify-content:center}
.items .text{flex:1 1 300px;min-width:0;color:var(--oc-text-muted);max-width:65ch;overflow-wrap:anywhere}
.empty-state{padding:64px 24px;text-align:center;background:var(--oc-surface);border-radius:var(--oc-radius-lg);display:flex;flex-direction:column;align-items:center;gap:12px;box-shadow:var(--oc-shadow-1)}
.empty-state .ico-tile{background:var(--oc-surface-sunken);color:var(--oc-text-subtle)}
.empty-state p{color:var(--oc-text-subtle)}
.empty-state p.h3{color:var(--oc-text)}
.empty-state .btn{margin-top:8px}
.chg-foot{display:flex;flex-wrap:wrap;gap:16px 24px;align-items:center;justify-content:space-between;padding-top:32px;border-top:1px solid var(--oc-border)}
.chg-foot p{color:var(--oc-text-subtle)}
@media (max-width:720px){
  .chg-hero{padding:32px 0 24px}
  .chg-top{gap:16px}
  .chg-title{flex-basis:auto}
  .current{flex:1 1 100%;margin-top:8px;padding:12px 16px;grid-template-areas:"label version" "date version";grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 16px}
  .current > span{line-height:1.3}
  .current b{line-height:1}
  .filter-sel{margin-top:24px}
  .releases{gap:48px}
  .release{flex-direction:column;gap:12px}
  .release-meta{flex:none;flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:4px 12px;padding-top:0}
  .release-meta .tag{align-self:center;margin-top:0}
  .release-card{flex-basis:auto;padding:20px;gap:20px}
  .items li{flex-direction:column;align-items:flex-start;gap:8px}
  .kind{flex:none}
  .items .text{flex-basis:auto}
  .empty-state{padding:48px 20px}
  .chg-foot{flex-direction:column;align-items:stretch}
  .pub .chg-foot .btn{width:100%;height:var(--oc-size-control-xl)}
}

/* legal pages */
.legal{background:var(--oc-surface);flex:1 0 auto;padding:64px 0 96px}
.legal .wrap{max-width:800px;display:flex;flex-direction:column;gap:24px}
.pub .legal .h1{font:var(--oc-type-heading-2);letter-spacing:var(--oc-tracking-heading-2)}
.legal .alert p{line-height:1.5}
/* A phone: the document links, the contents and the way back are 44 px tap targets. */
@media (max-width:720px){
  .legal{padding:48px 0 56px}
  .pub .legal .h1{font:var(--oc-type-heading-3);letter-spacing:var(--oc-tracking-heading-3)}
  .legal-nav{gap:0 20px}
  .legal-nav a,.legal-toc a,.legal-back a{min-height:var(--oc-size-control-lg);display:inline-flex;align-items:center}
  .legal-content .legal-toc li{margin-bottom:0}
}

.legal-nav{display:flex;flex-wrap:wrap;gap:12px 20px;padding-bottom:20px;border-bottom:1px solid var(--oc-border)}
.legal-content{font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.legal-content h2{font:var(--oc-type-heading-3);letter-spacing:var(--oc-tracking-heading-3);margin:32px 0 12px;scroll-margin-top:96px}
.legal-content h3{font:var(--oc-type-ui-title);letter-spacing:var(--oc-tracking-ui-title);margin:24px 0 8px}
.legal-content p,.legal-content ul,.legal-content ol,.legal-content dl{margin:0 0 16px}
.legal-content ul,.legal-content ol{padding-left:24px}
.legal-content li{margin-bottom:8px}
.legal-content dt{font-weight:600;margin-top:12px}
.legal-content dd{margin:4px 0 16px}
.legal-content table{width:100%;border-collapse:collapse;font:var(--oc-type-body-small);overflow-wrap:normal}
.legal-content th,.legal-content td{text-align:left;vertical-align:top;padding:12px;border:1px solid var(--oc-border)}
@media print{.pub-hdr,.pub-ftr,.legal-nav,.skip{display:none}.legal{padding:0}.legal .wrap{max-width:none}.legal-content{font-size:11pt}.legal-content h2{break-after:avoid}}

.legal-table-wrap{max-width:100%;overflow-x:auto}
.legal-content caption{text-align:left;font-weight:600;margin-bottom:8px}
.legal-form{padding:20px;border:1px solid var(--oc-border);border-radius:var(--oc-radius-lg)}

/* "Wkrótce": a pair element the published program does not have yet (MDD_PAIRS_IN_APP off). */
.soon{display:inline-flex;align-items:center;vertical-align:middle;height:var(--oc-size-control-xs);padding:0 8px;margin-left:8px;border-radius:var(--oc-radius-sm);background:var(--oc-callout);color:var(--oc-on-callout);font:500 12px/16px var(--oc-font-ui);white-space:nowrap}
.soon-sm{height:20px;padding:0 8px;margin-left:4px}
