/* SCT Kraków – Szybciej landing (/sct, /en/sct). Tokens from the app's DESIGN.md (sct-szybciej repo). */
@font-face { font-family: Barlow; font-weight: 600; font-display: swap; src: url("../fonts/barlowsemicondensed-semibold.woff2") format("woff2"); }
@font-face { font-family: Barlow; font-weight: 700; font-display: swap; src: url("../fonts/barlowsemicondensed-bold.woff2") format("woff2"); }
@font-face { font-family: Plate; font-weight: 500; font-display: swap; src: url("../fonts/barlowcondensed-medium.woff2") format("woff2"); }

:root {
  --road: #1747A6; --road-top: #2A5BC0; --go: #0E7340; --go-top: #12804A;
  --ground: #F4F5F2; --haze: #E4EBF7; --tile: #FFFFFF; --line: #DDE0DA;
  --ink: #15171C; --quiet: #4A4E57; --ghost: #6B707A;
  --coffee: #8A5300;
  --display: Barlow, "SF Pro Display", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font: 17px/1.5 var(--body); color: var(--ink); background: linear-gradient(180deg, var(--haze) 0, var(--ground) 560px) var(--ground); overflow-x: clip; }
::selection { background: var(--road); color: #fff; }
a { color: var(--road); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--road-top); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; }
p { text-wrap: pretty; }
ol, ul { list-style: none; padding: 0; }
section[id] { scroll-margin-top: 16px; }
.wrap { width: min(100% - 2 * var(--gutter), 1180px); margin-inline: auto; }

/* bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { border-radius: 9px; }
.brand b { display: block; font: 700 22px/1 var(--display); }
.brand small { display: block; font: 600 14px/1 var(--display); color: var(--quiet); margin-top: 3px; }
.bar nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.bar nav a { color: var(--quiet); text-decoration: none; padding: 10px 0; }
.bar nav a:hover { color: var(--ink); }
.bar nav .lang { color: var(--road); font-weight: 600; }

/* store pill */
.store { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: #fff;
  font: 600 21px/1 var(--display); text-decoration: none; transition: transform .18s var(--ease); }
.store:active { transform: scale(.97); }
.store svg { width: 18px; height: 18px; }
.store.is-soon { cursor: default; }
.sign .store { background: #fff; color: var(--road); }

/* plate: a physical object, fixed size */
.plate { display: inline-flex; height: 46px; border-radius: 6px; background: #fff; border: 2px solid #111; box-shadow: 0 3px 6px rgba(0,0,0,.18); overflow: hidden; color: #111; }
.plate i { flex-direction: column; gap: 1px; width: 24px; background: #039; color: #fff; font: 600 11px/1 var(--body); font-style: normal; display: flex; align-items: center; justify-content: flex-end; padding-bottom: 5px; }
.plate i svg { width: 18px; height: 19px; }
.plate span { font: 500 34px/42px Plate, var(--display); padding: 0 14px; letter-spacing: .02em; }

/* phone frame */
.phone { position: relative; aspect-ratio: 1320 / 2868; padding: 2.8%; border-radius: 17% / 7.8%; background: #16181d;
  box-shadow: inset 0 0 0 2px #3a3d44, 0 40px 80px -24px rgba(10, 20, 50, .4); }
.phone img { width: 100%; height: 100%; border-radius: 14.5% / 6.7%; object-fit: cover; }
.phone::after { content: ""; position: absolute; top: 2%; left: 50%; width: 27%; height: 2.8%; translate: -50% 0; border-radius: 99px; background: #000; }

/* HERO: the page opens on the app's sign at billboard scale */
.sign { position: relative; color: #fff; border-radius: clamp(30px, 4vw, 48px); background: linear-gradient(180deg, var(--road-top), var(--road));
  box-shadow: 0 24px 48px -16px color-mix(in srgb, var(--road) 55%, transparent); }
.sign::after { content: ""; position: absolute; inset: 8px; border-radius: calc(clamp(30px, 4vw, 48px) - 7px); border: 1.5px solid rgba(255,255,255,.55); pointer-events: none; }
.hero .sign { padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1.3fr .7fr; column-gap: 40px; overflow: hidden; }
.hero h1 { font-size: clamp(50px, 6.6vw, 92px); font-weight: 700; margin: 0 0 20px; }
.hero .sub { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.9); max-width: 36ch; }
.hero .plate { margin-top: 28px; }
.valid { position: relative; height: 4px; border-radius: 2px; background: rgba(255,255,255,.22); margin: 30px 0 52px; max-width: 560px; }
.valid small { position: absolute; top: 14px; left: -4px; font: 500 13px/1 var(--body); color: rgba(255,255,255,.85); }
.valid small + small { left: auto; right: -8px; }
.valid b { position: absolute; inset: 0; background: #fff; border-radius: 2px; transform-origin: left; }
.valid::before, .valid::after { content: ""; position: absolute; top: 50%; translate: 0 -50%; border-radius: 50%; }
.valid::before { left: -4px; width: 12px; height: 12px; background: #fff; }
.valid::after { right: -7px; width: 14px; height: 14px; background: var(--road); border: 3px solid #fff; }
.hero .note { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.85); }
.hero-shot { align-self: end; margin-bottom: calc(-1 * clamp(28px, 5vw, 64px) - 120px); }
.hero .phone { width: min(340px, 100%); margin-inline: auto; rotate: 3deg; }

/* motion: one authored entrance — the validity line draws, its end lands, the phone settles. Content is visible by default. */
@media (prefers-reduced-motion: no-preference) {
  .valid b { animation: draw 1.1s .25s var(--ease) both; }
  .valid::after { animation: land .5s 1.15s var(--ease) both; }
  .hero .phone { animation: rise 1s .1s var(--ease) both; }
  @keyframes draw { from { transform: scaleX(0); } }
  @keyframes land { from { scale: .2; opacity: 0; } }
  @keyframes rise { from { translate: 0 60px; rotate: 6deg; } }
}

/* section headings */
.rail h2, .faq h2 { font-size: clamp(40px, 5.4vw, 72px); max-width: 16ch; }

/* two roads: the portal form vs the same form, remembered */
.roads { margin-top: clamp(150px, 16vw, 210px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 36px); }
.col h3 { font: 600 15px/1.2 var(--body); color: var(--quiet); margin: 0 0 14px 4px; }
.form { background: var(--tile); border-radius: 30px; padding: clamp(20px, 3vw, 34px); display: grid; gap: 12px; height: calc(100% - 32px); align-content: start; }
.field { position: relative; border: 1.5px dashed #C3C7CE; border-radius: 14px; padding: 11px 16px; }
.field small { display: block; font-size: 13px; color: var(--quiet); }
.field span { display: block; font: 600 22px/1.3 var(--display); color: var(--ghost); }
.is-app .field { border: 0; background: #EEF3FB; }
.is-app .field span { color: var(--ink); }
.is-app .field svg { position: absolute; right: 14px; top: 50%; translate: 0 -50%; width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--road); color: #fff; }
.buy { display: flex; justify-content: center; align-items: center; min-height: 56px; border-radius: 999px; margin-top: 6px;
  background: linear-gradient(180deg, var(--road-top), var(--road)); color: #fff; font: 600 21px/1 var(--display); }
.form-note { font-size: 15px; color: var(--quiet); margin-top: 4px; }
.is-app .form-note { text-align: center; }
.merge { grid-column: 1 / -1; width: 100%; height: 90px; margin: -6px 0; }
.merge-m { display: none; }
.merge path, .merge-m path { fill: none; stroke-width: 6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.p-portal { stroke: #B9BEC6; stroke-dasharray: .004 .02; }
.p-app { stroke: var(--road); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .p-app { stroke-dasharray: 1; animation: road linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
    @keyframes road { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  }
}
.gate { grid-column: 1 / -1; background: var(--ink); color: #fff; border-radius: 30px; padding: clamp(26px, 3.6vw, 44px); display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center; }
.gate h2 { font-size: clamp(38px, 4.8vw, 64px); }
.gate p { color: rgba(255,255,255,.84); font-size: 17px; margin-top: 14px; max-width: 46ch; }
.gate ul { display: grid; gap: 16px; }
.gate li { padding-left: 36px; position: relative; font-size: 16px; color: rgba(255,255,255,.84); }
.gate li b { color: #fff; display: block; font: 600 21px/1.2 var(--display); }
.gate li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; border: 4px solid #fff; }

/* portal form: the real field order (two screens), app: what it remembers */
.is-portal .fields { display: grid; grid-template-columns: 128px 1fr; gap: 8px; }
.is-portal .field { grid-column: 1 / -1; padding: 8px 14px; }
.is-portal .is-short, .is-portal .is-short + .field { grid-column: auto; }
.is-portal .field span { font-size: 19px; }
.next { justify-self: start; padding: 8px 22px; border-radius: 6px; border: 1.5px dashed #C3C7CE; font: 600 14px/1 var(--body); letter-spacing: .04em; text-transform: uppercase; color: var(--ghost); }
.is-app { justify-items: center; text-align: center; align-content: center; gap: 16px; }
.saved { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--body); color: var(--road); }
.saved svg, .twice-mark svg { flex: none; }
.saved svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--road); color: #fff; }
.is-app .plate { height: 64px; } .is-app .plate span { font-size: 52px; line-height: 60px; padding: 0 20px; } .is-app .plate i { width: 32px; font-size: 13px; } .is-app .plate i svg { width: 24px; height: 26px; }
.mail { background: #EEF3FB; border-radius: 999px; padding: 10px 22px; font: 600 22px/1 var(--display); }
.is-app .buy { justify-self: stretch; margin-top: 10px; }

/* the double-payment check: its own beat, because it saves real money */
.twice { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px); align-items: center;
  background: #E3EBFA; border-radius: 30px; padding: clamp(26px, 4vw, 52px); }
.twice-mark { width: clamp(72px, 9vw, 112px); color: var(--road); }
.twice h2 { font-size: clamp(36px, 4.6vw, 60px); color: var(--road); }
.twice p { margin-top: 10px; font-size: clamp(17px, 1.6vw, 20px); color: #2B3A5C; max-width: 56ch; }

/* steps: a light recap low on the page, one line, not a lesson */
.steps { padding: clamp(80px, 9vw, 120px) 0 0; }
.steps h2 { font-size: clamp(30px, 3.4vw, 44px); max-width: none; }
.steps ol { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--tile); border-radius: 30px; counter-reset: s; }
.steps li { position: relative; counter-increment: s; padding: 26px 28px 28px 76px; }
.steps li + li { border-left: 1px solid var(--line); }
.steps li::before { content: counter(s); position: absolute; left: 26px; top: 24px; width: 34px; height: 34px; border-radius: 50%; background: var(--road); color: #fff; font: 700 18px/34px var(--display); text-align: center; }
.steps h3 { font-size: 23px; }
.steps p { margin-top: 4px; font-size: 15px; color: var(--quiet); }

/* features */
.rail { padding: clamp(96px, 11vw, 140px) 0 0; }
.rail .row { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 36px); }
.rail figure { border-radius: 30px; padding: 28px 28px 0; overflow: hidden; display: flex; flex-direction: column; background: var(--tile); }
.rail .t-road { background: linear-gradient(180deg, var(--road-top), var(--road)); color: #fff; }
.rail .t-go { background: linear-gradient(180deg, var(--go-top), var(--go)); color: #fff; }
.rail figcaption b { display: block; font: 600 26px/1.15 var(--display); }
.rail figcaption { margin-bottom: 28px; }
.rail figcaption span { display: block; margin-top: 6px; font-size: 16px; }
.rail .t-road span, .rail .t-go span { color: rgba(255,255,255,.92); }
.rail .t-tile span { color: var(--quiet); }
.rail .phone { width: 74%; margin: auto auto -42%; } /* bottom-aligned, so caption length doesn't stagger the phones */

/* story */
.story { padding: clamp(96px, 11vw, 140px) 0 0; display: grid; grid-template-columns: 1fr 2fr; gap: clamp(20px, 4vw, 56px); }
.story h2 { font-size: clamp(36px, 4.4vw, 56px); color: var(--road); }
.story blockquote { margin: 0; }
.story blockquote p { font: 600 clamp(22px, 2.2vw, 30px)/1.3 var(--display); color: var(--ink); }
.story footer { margin-top: 16px; font-size: 15px; color: var(--quiet); }

/* free */
.free { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: clamp(96px, 11vw, 140px) 0 0; }
.free h2 { font-size: clamp(44px, 6vw, 80px); }
.free p { margin-top: 16px; font-size: 19px; color: var(--quiet); max-width: 42ch; }
.free .coffee { color: var(--coffee); font-size: 16px; margin-bottom: 28px; }
.free img { mix-blend-mode: multiply; }

/* faq */
.faq { padding: clamp(80px, 9vw, 120px) 0 0; }
.faq-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 56px; }
.faq h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.faq p { color: var(--quiet); max-width: 52ch; }

.foot { margin-top: clamp(72px, 8vw, 104px); padding: 28px 0 56px; border-top: 1px solid var(--line); font-size: 14px; color: var(--quiet); }
.foot p + p { margin-top: 6px; }
.foot .links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 14px; font-size: 15px; }
.foot .links a { color: var(--ink); }

@media (max-width: 860px) {
  .bar nav a:not(.lang) { display: none; }
  .hero .sign { grid-template-columns: 1fr; }
  .hero-shot { margin: 40px 0 -160px; }
  .hero .phone { width: 64%; }
  .roads, .gate, .rail .row, .free, .faq-grid { grid-template-columns: 1fr; }
  .steps ol { grid-template-columns: 1fr; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .twice, .story { grid-template-columns: 1fr; }
  .roads { margin-top: 140px; }
  .merge { display: none; }
  .merge-m { display: block; width: 40px; height: 64px; margin: 0 auto -4px; }
  .col + .col { margin-top: 12px; }
  .form { height: auto; }
  .gate { margin-top: 28px; gap: 24px; }
  .rail .phone { width: 62%; margin-bottom: -34%; }
  .free { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 400px) { .store { font-size: 18px; padding: 0 20px; } }

/* maker's mark (as on pk-design): OMONA ring + name, quiet */
.foot .maker { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--quiet); text-decoration: none; opacity: .9; }
.foot .maker b { font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.foot .maker:hover { opacity: 1; }

/* text pages (help, privacy): the landing's shell, a reading column */
.doc { padding: clamp(32px, 6vw, 72px) 0 0; }
.doc h1 { font-size: clamp(44px, 6vw, 76px); color: var(--road); max-width: 18ch; }
.doc-body { max-width: 68ch; margin-top: 28px; font-size: 18px; line-height: 1.6; }
.doc-body > * + * { margin-top: 1em; }
.doc-body h2 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 1.8em; }
.doc-body h3 { font-size: 22px; margin-top: 1.4em; }
.doc-body ul, .doc-body ol { padding-left: 1.3em; }
.doc-body ul { list-style: disc; } .doc-body ol { list-style: decimal; }
.doc-body li + li { margin-top: .4em; }
.doc-body li::marker { color: var(--road); }
.doc-body table { border-collapse: collapse; width: 100%; font-size: 16px; }
.doc-body th, .doc-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-body em:only-child { font-style: normal; font-size: 15px; }
.is-doc { background: var(--ground); }
@media (max-width: 860px) { .doc-body { font-size: 17px; } }

/* official store badges (Apple / Google artwork, unmodified); the pill above stays for "coming soon" */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.stores a { display: block; border-radius: 9px; transition: transform .18s var(--ease); }
.stores a:active { transform: scale(.97); }
.stores img { display: block; height: 56px; width: auto; }
@media (max-width: 400px) { .stores img { height: 48px; } }
