/* Zakupomat landing - one stylesheet for index (3 languages), privacy and terms.
   Source of truth: tools/landing/site.css; tools/build_landing.py copies it to landing/.
   Tokens mirror the app (ui/theme/Color.kt, handoff README): cream ground, forest ink,
   one mandarin accent. Display: Bricolage Grotesque ExtraBold. Text: Instrument Sans. */

/* ---------- fonts (self-hosted; the page promises no tracking, so no font CDN) ---------- */
@font-face { font-family: "Bricolage"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/fonts/bricolage-grotesque-latin.woff2") format("woff2"); }
@font-face { font-family: "Bricolage"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/fonts/bricolage-grotesque-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/instrument-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/fonts/instrument-sans-500.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/fonts/instrument-sans-600.woff2") format("woff2"); }

/* ---------- tokens ---------- */
:root {
  --ground: #F7F2E9; --ground-2: #F0E9DC; --card: #FFFFFF;
  --ink: #1E1A12; --head: #123F30; --sec: #6B6456; --hint: #8A8474;
  --line: rgba(18,63,48,.14); --line-strong: rgba(18,63,48,.4);
  --accent: #E8703A; --accent-ink: #B34E1E; --accent-soft: rgba(232,112,58,.14);
  --forest-soft: rgba(18,63,48,.08);
  --mon-bezel: #2A312C;
  --primary: #123F30; --primary-hover: #1E5A43; --on-primary: #F7F2E9;
  --band: #123F30; --band-ink: #F2EBDC; --band-sec: #B8C4B4; --band-chip: rgba(247,242,233,.09); --band-line: rgba(247,242,233,.16);
  --halo: rgba(232,112,58,.22);
  --shadow-card: 0 1px 2px rgba(18,63,48,.07);
  --shadow-lift: 0 24px 48px -24px rgba(18,63,48,.35);
  --shadow-phone: drop-shadow(0 40px 60px rgba(18,63,48,.30));
  --mark-square: #123F30; --mark-sheet: #F7F2E9; --mark-box: #123F30; --mark-line: #D8D2C6;
  --font-display: "Bricolage", "Bricolage Grotesque", system-ui, sans-serif;
  --font-text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-card: 22px; --radius-band: 36px;
  --header-h: 72px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #111B15; --ground-2: #0C1410; --card: #1B2A21;
    --ink: #EDE7D8; --head: #F2EBDC; --sec: #A3A08F; --hint: #8A8778;
    --line: #2C3E32; --line-strong: #3A4D3F;
    --mon-bezel: #35443A;
    --accent: #F08350; --accent-ink: #F0A37C; --accent-soft: rgba(240,131,80,.16);
    --forest-soft: rgba(127,185,154,.12);
    --primary: #F2EBDC; --primary-hover: #FFFFFF; --on-primary: #123F30;
    --halo: rgba(240,131,80,.16);
    --shadow-card: 0 1px 2px rgba(0,0,0,.3);
    --shadow-lift: 0 24px 48px -24px rgba(0,0,0,.7);
    --shadow-phone: drop-shadow(0 40px 60px rgba(0,0,0,.6));
    --mark-square: #F2EBDC; --mark-sheet: #123F30; --mark-box: #F2EBDC; --mark-line: #3A5A48;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #111B15; --ground-2: #0C1410; --card: #1B2A21;
  --ink: #EDE7D8; --head: #F2EBDC; --sec: #A3A08F; --hint: #8A8778;
  --line: #2C3E32; --line-strong: #3A4D3F;
  --mon-bezel: #35443A;
  --accent: #F08350; --accent-ink: #F0A37C; --accent-soft: rgba(240,131,80,.16);
  --forest-soft: rgba(127,185,154,.12);
  --primary: #F2EBDC; --primary-hover: #FFFFFF; --on-primary: #123F30;
  --halo: rgba(240,131,80,.16);
  --shadow-card: 0 1px 2px rgba(0,0,0,.3);
  --shadow-lift: 0 24px 48px -24px rgba(0,0,0,.7);
  --shadow-phone: drop-shadow(0 40px 60px rgba(0,0,0,.6));
  --mark-square: #F2EBDC; --mark-sheet: #123F30; --mark-box: #F2EBDC; --mark-line: #3A5A48;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--font-text); font-size: 1.0625rem; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--head); text-decoration-thickness: 1px; text-underline-offset: .15em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; color: var(--head); letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(1180px, 100% - 2 * clamp(20px, 5vw, 48px)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--primary); color: var(--on-primary); padding: .6rem 1rem; border-radius: 100px; font-weight: 600; text-decoration: none; }
.skip:focus-visible { top: 1rem; }

/* type scale */
.eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 1.1rem; display: flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 1.4rem; height: 2px; background: var(--accent); border-radius: 2px; }
.h-display { font-size: clamp(2.5rem, 5.1vw, 4.75rem); line-height: .96; letter-spacing: -.035em; }
.h-section { font-size: clamp(2rem, 4.4vw, 3.375rem); line-height: 1.02; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.5; color: var(--sec); }
.section-head { max-width: 40ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
section { padding-block: clamp(4rem, 9vw, 7.5rem); }

/* ---------- mark ---------- */
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--head); font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; }
.mark { width: 34px; height: 34px; flex: none; }
.mark .sq { fill: var(--mark-square); } .mark .sh { fill: var(--mark-sheet); }
.mark .bx { fill: var(--mark-box); } .mark .b1 { fill: #E8703A; }
.mark .tk { stroke: var(--mark-sheet); } .mark .ln { fill: var(--mark-line); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--ground) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled, html:not(.js) .top { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.top nav.primary { display: flex; gap: 1.75rem; }
.top nav.primary a { color: var(--sec); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.top nav.primary a:hover { color: var(--head); }
.top .tools { display: flex; align-items: center; gap: .6rem; }
@media (max-width: 860px) { .top nav.primary { display: none; } }
@media (max-width: 560px) { .top .tools .store { display: none; } }

.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 100px; background: color-mix(in srgb, var(--card) 50%, transparent); }
.lang a { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-decoration: none; color: var(--sec); padding: .3rem .6rem; border-radius: 100px; line-height: 1.3; }
.lang a[aria-current="page"] { background: var(--primary); color: var(--on-primary); }
.lang a:not([aria-current]):hover { color: var(--head); }

.theme { width: 38px; height: 38px; border-radius: 100px; border: 1px solid var(--line); background: transparent; color: var(--head); display: inline-grid; place-items: center; cursor: pointer; padding: 0; }
.theme:hover { background: var(--forest-soft); }
.theme svg { width: 18px; height: 18px; }
/* Ikona zapowiada CEL, nie opisuje stanu: w jasnym motywie ksiezyc ("wlacz
   ciemny"), w ciemnym slonce. Przycisk jest akcja, wiec ma mowic, co zrobi -
   stan uzytkownik i tak widzi. Tak samo dziala przelacznik w PWA. */
.theme .sun { display: none; }
:root[data-theme="dark"] .theme .sun { display: block; } :root[data-theme="dark"] .theme .moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme .sun { display: block; } :root:not([data-theme="light"]) .theme .moon { display: none; } }
html:not(.js) .theme { display: none; }

/* ---------- store buttons ---------- */
.stores { display: flex; flex-wrap: wrap; gap: .75rem; }
.store { display: inline-flex; align-items: center; gap: .65rem; padding: .7rem 1.25rem .7rem 1rem; border-radius: 100px; text-decoration: none; border: 1.5px solid transparent; line-height: 1.1; transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s, background-color .2s; }
.store svg { width: 22px; height: 22px; flex: none; }
.store small { display: block; font-size: .6875rem; font-weight: 500; letter-spacing: .02em; opacity: .8; }
.store b { font-weight: 600; font-size: 1rem; letter-spacing: -.01em; }
.store.primary { background: var(--primary); color: var(--on-primary); }
.store.primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.store.secondary { color: var(--head); border-color: var(--line-strong); }
.store.secondary:hover { background: var(--forest-soft); transform: translateY(-2px); }
.store.compact { padding: .5rem 1rem .5rem .8rem; } .store.compact small { display: none; } .store.compact b { font-size: .9rem; } .store.compact svg { width: 18px; height: 18px; }

/* ---------- phone wells ---------- */
.well { position: relative; overflow: hidden; }
.well .phone { width: min(380px, 80%); margin-inline: auto; filter: var(--shadow-phone); }
.well .halo { position: absolute; left: 50%; top: 42%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, var(--halo), transparent 72%); pointer-events: none; }
.well .ring { position: absolute; left: 50%; top: 46%; width: 92%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid var(--line); pointer-events: none; }
.well.fade { -webkit-mask-image: linear-gradient(#000 72%, transparent 100%); mask-image: linear-gradient(#000 72%, transparent 100%); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: 0; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 6vw, 5rem); align-items: end; }
.hero .copy { padding-bottom: clamp(3rem, 7vw, 6rem); }
.hero h1 .line { display: block; }
.hero h1 .l2 { color: var(--accent); }
.hero .lede { margin: 1.6rem 0 2rem; max-width: 34ch; }
.hero .badges { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .875rem; font-weight: 500; color: var(--sec); }
.hero .badges li { display: inline-flex; align-items: center; gap: .5rem; }
.hero .badges li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero .well { height: clamp(440px, 46vw, 660px); }
.hero .well .phone { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .copy { padding-bottom: 1rem; }
  .hero .well { height: clamp(360px, 90vw, 520px); }
  .hero .well .phone { width: min(320px, 78%); }
}

/* hero orchestration: one sequence, once, only with JS and only if motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  /* The clip box keeps .25em below the baseline so descenders survive once the text has risen. */
  html.js .hero .line { overflow: hidden; padding-bottom: .25em; margin-bottom: -.25em; }
  html.js .hero .line > span { display: inline-block; transform: translateY(130%); animation: rise .9s cubic-bezier(.2,.75,.2,1) forwards; }
  html.js .hero .eyebrow, html.js .hero .lede, html.js .hero .stores, html.js .hero .badges { opacity: 0; transform: translateY(14px); animation: fade-up .8s cubic-bezier(.2,.75,.2,1) forwards; }
  html.js .hero .l1 > span { animation-delay: .08s; } html.js .hero .l2 > span { animation-delay: .18s; }
  html.js .hero .lede { animation-delay: .34s; } html.js .hero .stores { animation-delay: .44s; } html.js .hero .badges { animation-delay: .54s; }
  html.js .hero .well .phone { opacity: 0; transform: translateY(90px) rotate(2deg); animation: settle 1.2s cubic-bezier(.2,.75,.2,1) .25s forwards; }
  html.js .hero .well .halo { opacity: 0; transform: translate(-50%, -50%) scale(.6); animation: bloom 1.6s cubic-bezier(.2,.75,.2,1) .4s forwards; }
  html.js .hero .well .ring { opacity: 0; transform: translate(-50%, -50%) scale(.85); animation: bloom 1.8s cubic-bezier(.2,.75,.2,1) .6s forwards; }
}
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }
@keyframes settle { to { opacity: 1; transform: translateY(0) rotate(0); } }
@keyframes bloom { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

/* ---------- scroll reveals (JS adds .in once; no JS = everything simply visible) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.75,.2,1), transform .8s cubic-bezier(.2,.75,.2,1); }
  html.js .reveal.in { opacity: 1; transform: none; }
  html.js .reveal[data-delay="1"] { transition-delay: .1s; } html.js .reveal[data-delay="2"] { transition-delay: .2s; }
  html.js .reveal[data-delay="3"] { transition-delay: .3s; } html.js .reveal[data-delay="4"] { transition-delay: .4s; } html.js .reveal[data-delay="5"] { transition-delay: .5s; }
}

/* ---------- why: copy on the left, a sticky phone that swaps screens as you read ---------- */
.why { border-top: 1px solid var(--line); }
.why .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.why .copy { max-width: 54ch; }
.why .copy p { font-size: 1.125rem; margin-top: 1.25rem; color: var(--ink); }
.why .copy p.pull { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.125rem); line-height: 1.15; letter-spacing: -.025em; color: var(--head); border-left: 4px solid var(--accent); padding-left: 1.25rem; margin-block: 2.25rem; text-wrap: balance; }
.why .stage { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.why .stage .well { height: clamp(420px, 44vw, 620px); }
.why .stage .phone { position: absolute; left: 50%; top: 0; transform: translateX(-50%); transition: opacity .7s ease; }
.why .stage .phone.alt { opacity: 0; }
.why .stage.swap .phone.alt { opacity: 1; } .why .stage.swap .phone.base { opacity: 0; }
@media (max-width: 900px) {
  .why .wrap { grid-template-columns: 1fr; }
  .why .stage { position: static; order: -1; }
  .why .stage .well { height: clamp(320px, 80vw, 460px); }
  .why .stage .phone { width: min(300px, 75%); }
}

/* ---------- features ---------- */
.features .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .features .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features .grid { grid-template-columns: 1fr; } }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.75rem 1.6rem 1.9rem; box-shadow: var(--shadow-card); transition: transform .25s cubic-bezier(.2,.75,.2,1), box-shadow .25s; }
@media (hover: hover) { .feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); } }
.feat .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--forest-soft); color: var(--head); margin-bottom: 1.2rem; }
.feat:nth-child(3n+1) .ico { background: var(--accent-soft); color: var(--accent-ink); }
.feat .ico svg { width: 22px; height: 22px; }
.feat h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.feat p { margin-top: .5rem; color: var(--sec); font-size: .9875rem; }

/* ---------- steps ---------- */
.steps { background: var(--ground-2); }
.steps .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 760px) { .steps .grid { grid-template-columns: 1fr; } }
.step { border-top: 1px solid var(--line-strong); padding-top: 1.25rem; }
.step .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.04em; color: var(--accent); }
.step h3 { font-size: 1.375rem; margin-top: .9rem; letter-spacing: -.02em; }
.step p { margin-top: .5rem; color: var(--sec); }

/* ---------- privacy band ---------- */
.privacy { padding-inline: clamp(0px, 2vw, 24px); }
.privacy .band { background: var(--band); color: var(--band-ink); border-radius: var(--radius-band); padding: clamp(3rem, 6vw, 5.5rem) 0; overflow: hidden; }
.privacy .band .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.privacy .eyebrow { color: #F0A37C; } .privacy .eyebrow::before { background: #F08350; }
.privacy h2 { color: var(--band-ink); }
.privacy p { color: var(--band-sec); font-size: 1.125rem; margin-top: 1.25rem; max-width: 48ch; }
.privacy .chips { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.privacy .chips li { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 500; border: 1px solid var(--band-line); background: var(--band-chip); padding: .45rem .9rem .45rem .7rem; border-radius: 100px; }
.privacy .chips li::before { content: ""; width: 16px; height: 16px; border-radius: 5px; background: #F2EBDC; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.6L12 5.6' fill='none' stroke='%23123F30' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); flex: none; }
/* The invite dialog sits at 26-76% of the phone's height; the window shows that band. */
.privacy .window { position: relative; aspect-ratio: 4 / 5.2; border-radius: 28px; overflow: hidden; background: #0C1410; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.privacy .window img { position: absolute; left: 50%; top: 50%; width: 112%; max-width: none; transform: translate(-50%, -51%); }
@media (max-width: 900px) { .privacy .band .wrap { grid-template-columns: 1fr; } .privacy .window { max-width: 420px; } }

/* ---------- closing: headline, buttons, and a fan of three real screens ---------- */
.closing { text-align: center; padding-bottom: 0; overflow: hidden; }
.closing .lede { margin: 1.25rem auto 2rem; max-width: 40ch; }
.closing .stores { justify-content: center; }
.fan { position: relative; height: clamp(280px, 38vw, 480px); margin-top: clamp(2.5rem, 5vw, 4rem); -webkit-mask-image: linear-gradient(#000 70%, transparent 100%); mask-image: linear-gradient(#000 70%, transparent 100%); }
.fan .phone { position: absolute; left: 50%; top: 0; width: min(300px, 46vw); filter: var(--shadow-phone); transform-origin: 50% 120%; }
.fan .phone.a { transform: translateX(-50%) translateX(-72%) rotate(-9deg); z-index: 1; }
.fan .phone.b { transform: translateX(-50%); z-index: 2; }
.fan .phone.c { transform: translateX(-50%) translateX(72%) rotate(9deg); z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  html.js .fan .phone { transition: transform 1.1s cubic-bezier(.2,.75,.2,1), opacity .8s; opacity: 0; }
  html.js .fan .phone.a, html.js .fan .phone.b, html.js .fan .phone.c { transform: translateX(-50%) translateY(120px); }
  html.js .fan.in .phone { opacity: 1; }
  html.js .fan.in .phone.a { transform: translateX(-50%) translateX(-72%) rotate(-9deg); transition-delay: .05s; }
  html.js .fan.in .phone.b { transform: translateX(-50%); }
  html.js .fan.in .phone.c { transform: translateX(-50%) translateX(72%) rotate(9deg); transition-delay: .1s; }
}

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; color: var(--sec); font-size: .9375rem; }
.foot .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2.5rem; align-items: center; }
.foot .links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.foot a { color: var(--sec); text-decoration: none; } .foot a:hover { color: var(--head); }
.foot .langs { display: flex; flex-wrap: wrap; gap: 1rem; font-weight: 500; }
.foot .langs a[aria-current="page"] { color: var(--head); text-decoration: underline; text-underline-offset: .2em; }
.foot .rights { grid-column: 1 / -1; font-size: .8125rem; color: var(--hint); }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr; } }

/* ---------- documents (privacy, terms) ---------- */
.doc { width: min(720px, 100% - 2 * clamp(20px, 5vw, 48px)); margin-inline: auto; padding: clamp(2.5rem, 6vw, 4rem) 0 5rem; }
.doc h1 { font-size: clamp(2.125rem, 5vw, 3rem); line-height: 1.05; }
.doc .updated { font-size: .875rem; color: var(--hint); margin: .75rem 0 2rem; }
.doc h2 { font-size: 1.375rem; letter-spacing: -.02em; margin: 2.4rem 0 .6rem; }
.doc p { margin-top: .6rem; } .doc .lead { font-size: 1.125rem; color: var(--sec); }
.doc ul { padding-left: 1.2rem; margin: .6rem 0; } .doc li { margin: .4rem 0; }
.doc .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.5rem 1.75rem; margin-top: 1.5rem; box-shadow: var(--shadow-card); }
.doc .card h2 { margin-top: 0; }
/* Only the translated documents carry this: the Polish text is the binding one.
   A rule rather than a card - it qualifies the document, it is not part of it. */
.doc .note { margin-top: 1.5rem; padding-left: 1rem; border-left: 2px solid var(--accent);
  font-size: .875rem; color: var(--sec); }
.doc footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--hint); font-size: .8125rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* --- Wersja przegladarkowa ------------------------------------------------ */
/* Zrzut siedzi w ramce z paskiem adresu, bo sama kolumna aplikacji nie mowi
   "to dziala w przegladarce" - a to jest cala teza tej sekcji. */
.web { padding: clamp(4rem, 9vw, 7rem) 0; }
.web .wrap { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .web .wrap { grid-template-columns: minmax(0, 380px) 1fr; } }
.web .lede { color: var(--sec); font-size: 1.0625rem; margin-top: 1rem; max-width: 46ch; }

.web-points { list-style: none; padding: 0; margin: 2rem 0 2.25rem;
  display: flex; flex-direction: column; gap: 1.1rem; }
.web-points li { display: flex; flex-direction: column; gap: .2rem;
  padding-left: 1rem; border-left: 2px solid var(--line); }
.web-points strong { font-weight: 600; font-size: 1rem; }
.web-points span { color: var(--sec); font-size: .9375rem; line-height: 1.5; }

.web-note { color: var(--hint); font-size: .8125rem; margin-top: 1rem; }

/* Monitor zamiast ramki przegladarki: ksztalt sam mowi "to sie robi przy biurku",
   bez czytania czegokolwiek. Poziomy kadr jest tu efektem ubocznym na plus -
   pionowy zrzut telefonu rozpychal sekcje na wysokosc. */
.monitor { display: flex; flex-direction: column; align-items: center; }
.monitor .panel { width: 100%; background: #0C130F; border: 10px solid var(--mon-bezel);
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-card); }
.monitor .panel img { display: block; width: 100%; height: auto; }
.monitor .neck { width: 74px; height: 22px; background: var(--mon-bezel);
  clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.monitor .stand { width: 180px; height: 9px; border-radius: 5px;
  background: var(--mon-bezel); }
@media (max-width: 560px) {
  .monitor .panel { border-width: 6px; border-radius: 10px; }
  .monitor .neck { width: 56px; height: 16px; }
  .monitor .stand { width: 130px; height: 7px; }
}

/* Podpis w stopce. Serce w barwie akcentu, ostrzem na linii pisma.

   Bez flexa: w zwyklym przeplywie tekstu SVG jest elementem zastapionym, wiec
   jego DOLNA krawedz siada na linii bazowej. Ostrze serca jest jednak na y=21
   w polu 0-24, czyli 3 jednostki nad ta krawedzia - przy wysokosci 1.1em to
   0.1375em. Tyle opuszczamy przez vertical-align, zeby ostrze wypadlo rowno
   z dolem liter bezogonkowych. */
.made-in { white-space: nowrap; }
.made-in .heart { width: 1.1em; height: 1.1em; fill: var(--accent);
  vertical-align: -.1375em; margin-left: .1em; }
