/* MinEkstraJobb – wspólne style strony i aplikacji.
   Kierunek tekstu: tylko właściwości logiczne (inline/block), więc arabski (dir="rtl") działa bez osobnych reguł. */

@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap; src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap; src: url("../fonts/atkinson-hyperlegible-latin-ext-400-normal.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: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap; src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap; src: url("../fonts/atkinson-hyperlegible-latin-ext-700-normal.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: "Bricolage Grotesque"; font-weight: 600; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 600; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-ext-600-normal.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: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-ext-700-normal.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; }

:root {
  --pine: #1E4D3A; --pine-dark: #143628; --pine-mid: #2D6A51;
  --mist: #F3F5F1; --paper: #FFFFFF; --ink: #17231D;
  --text-2: #3E4C44; --muted: #4F5D55; --line: #DCE3DD; --line-strong: #B9C6BC; --track: #E6ECE7;
  --mint: #DCEADF; --mint-ink: #143628;
  --amber: #F2B441; --amber-soft: #FBE7BE; --amber-ink: #5C3900; --amber-deep: #C7861C; --amber-text: #7A4B00;
  --danger: #9B2C1F;
  --on-pine-2: #D5E3D9;
  --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", "Noto Sans", "Noto Sans Arabic", Tahoma, sans-serif;
  --font-display: "Bricolage Grotesque", "Atkinson Hyperlegible", system-ui, "Segoe UI", "Noto Sans Arabic", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--ink); font-family: var(--font-body); font-size: 18px; line-height: 1.55; }
[dir="rtl"] body { line-height: 1.7; }
img, svg { max-width: 100%; }
a { color: var(--pine); }
a:hover { color: var(--pine-dark); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber-deep); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--paper); padding: 10px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { top: 8px; }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--pine); cursor: pointer; text-align: center; }
.btn-primary { background: var(--pine); color: #FFFFFF; }
.btn-primary:hover { background: var(--pine-dark); color: #FFFFFF; }
.btn-ghost { background: var(--paper); color: var(--pine); }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-btn { background: none; border: none; color: var(--pine); font-weight: 700; padding: 10px 0; min-height: 44px; cursor: pointer; text-decoration: underline; }

/* ---------- Ogólne ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 20px; }
.pill { display: inline-block; font-weight: 700; font-size: 15px; padding: 6px 14px; border-radius: 999px; }
.pill-amber { background: var(--amber-soft); color: var(--amber-ink); }
.pill-mint { background: var(--mint); color: var(--mint-ink); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.muted { color: var(--muted); }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { flex: 0 0 auto; margin-top: 3px; color: var(--pine); }
.bar { height: 10px; border-radius: 999px; background: var(--track); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--pine); border-radius: 999px; }
.bar.warn > span { background: var(--amber-deep); }

/* ---------- Pasek testu ---------- */
.trial { background: var(--amber-soft); color: var(--amber-ink); font-size: 16px; }
.trial .wrap { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: center; padding-block: 8px; text-align: center; }

/* ---------- Nagłówek strony ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--mist); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--pine); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 2px 22px; flex: 1 1 auto; font-size: 17px; }
.main-nav a { text-decoration: none; padding: 10px 0; }
.lang { display: inline-flex; align-items: center; gap: 6px; }
.lang select { min-height: 44px; border: 2px solid var(--line-strong); border-radius: 12px; background: var(--paper); padding: 6px 10px; }

/* ---------- Sekcje strony ---------- */
.section { padding-block: 72px; }
.section-white { background: var(--paper); border-block: 1px solid var(--line); }
.section-dark { background: var(--pine); color: #FFFFFF; }
.section-dark .muted, .section-dark p { color: var(--on-pine-2); }
.section-title { font-size: clamp(30px, 3.6vw, 44px); }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 700px; margin-block-end: 32px; }
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-block: 64px 72px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); letter-spacing: -0.02em; }
.hero .lead { font-size: 21px; color: var(--text-2); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 16px; color: var(--text-2); }
.trust-row li { display: flex; align-items: center; gap: 8px; }
.hero-visual { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.hero-video { flex: 1 1 520px; margin: 0; flex-direction: column; gap: 10px; }
.hero-video video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 24px; background: var(--pine); box-shadow: 0 24px 48px rgba(23, 35, 29, .18); }
.hero-video figcaption { font-size: 16px; color: var(--muted); text-align: center; }
.mock { width: 100%; max-width: 420px; background: var(--pine); border-radius: 32px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.mock .card { padding: 18px; border-radius: 20px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.svc { background: var(--mist); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.svc.later { background: transparent; border: 2px dashed var(--line-strong); }
.svc h3 { font-family: var(--font-body); font-size: 20px; }
.svc p { font-size: 16px; color: var(--muted); }
.icon-tile { width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: var(--pine); display: inline-flex; align-items: center; justify-content: center; }
.two-col { display: flex; flex-wrap: wrap; gap: 24px; }
.two-col > * { flex: 1 1 420px; min-width: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.steps li { display: flex; gap: 14px; }
.step-no { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--pine); color: #FFFFFF; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.steps.amber .step-no { background: var(--amber); color: var(--ink); }
.steps p { font-size: 17px; color: var(--muted); }
.dark-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.dark-cards > div { background: var(--pine-dark); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.dark-cards h3 { font-family: var(--font-body); font-size: 20px; }
.note { font-size: 15px; }
.install-box { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.install-box > div { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.ios-hint { background: var(--mist); border-radius: 16px; padding: 14px 16px; font-size: 16px; }

/* ---------- Formularz ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .legend { font-weight: 700; font-size: 16px; }
.input { border: 2px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; min-height: 48px; background: var(--paper); width: 100%; }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.row > * { flex: 1 1 200px; }
fieldset { border: none; margin: 0; padding: 0; min-width: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; background: var(--mist); border-radius: 999px; padding: 6px; }
.seg button { flex: 1 1 140px; border: none; border-radius: 999px; padding: 12px 16px; min-height: 48px; font-weight: 700; cursor: pointer; background: transparent; color: var(--pine); }
.seg button[aria-pressed="true"] { background: var(--pine); color: #FFFFFF; }
.checks { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 17px; }
.checks label, .consent { display: flex; gap: 8px; align-items: center; min-height: 44px; }
.consent { align-items: flex-start; font-size: 16px; color: var(--text-2); }
.checks input, .consent input { width: 22px; height: 22px; flex: 0 0 auto; }
.consent input { margin-top: 2px; }
.form-msg { border-radius: 14px; padding: 14px 16px; font-size: 16px; }
.form-msg.ok { background: var(--mint); color: var(--mint-ink); }
.form-msg.info { background: var(--amber-soft); color: var(--amber-ink); }
.form-msg.err { background: #F7DCD8; color: var(--danger); }

/* ---------- Stopka ---------- */
.site-footer { background: var(--ink); color: var(--on-pine-2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 48px; padding-block: 44px; font-size: 16px; }
.site-footer a { color: #FFFFFF; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer nav a { padding: 10px 0; }

/* ---------- Strony prawne ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 40px 20px 72px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); margin-block-end: 16px; }
.legal h2 { font-size: 24px; margin-block: 32px 10px; }
.legal p, .legal li { margin-block: 8px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 16px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: start; vertical-align: top; }
.table-scroll { overflow-x: auto; }
.draft { background: var(--amber-soft); color: var(--amber-ink); border-radius: 14px; padding: 14px 16px; margin-block-end: 24px; }

/* =====================================================================
   Aplikacja (podgląd z przykładowymi danymi)
   ===================================================================== */
.app-body { background: var(--mist); min-height: 100vh; min-height: 100dvh; }
.app-shell { max-width: 480px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--mist); }
@media (min-width: 520px) { .app-shell { border-inline: 1px solid var(--line); } }
.demo-bar { background: var(--amber-soft); color: var(--amber-ink); font-size: 14px; padding: 8px 14px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; justify-content: space-between; }
.demo-bar select { min-height: 36px; border: 1px solid var(--amber-deep); border-radius: 10px; background: var(--paper); padding: 2px 6px; font-size: 14px; }
.app-top { padding: 18px 18px 6px; display: flex; align-items: center; gap: 8px; }
.app-top h1 { font-size: 26px; }
.app-top .sub { font-size: 15px; color: var(--muted); }
.back { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); flex: 0 0 auto; border-radius: 12px; }
.app-main { flex: 1 1 auto; padding: 8px 18px 24px; display: flex; flex-direction: column; gap: 14px; }
.app-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.app-card.accent { border: 2px solid var(--pine); }
.app-card.warn { border: 2px solid var(--amber-deep); }
.app-card h2 { font-family: var(--font-body); font-size: 18px; }
.app-card .between { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.small { font-size: 14px; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--mint); color: var(--mint-ink); }
.tag.amber { background: var(--amber-soft); color: var(--amber-ink); }
.tag.grey { background: var(--track); color: var(--text-2); }
.tag.dark { background: var(--pine); color: #FFFFFF; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.status { border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.status.s0 { background: var(--paper); border: 1px solid var(--line); }
.status.s1, .status.s3 { background: var(--pine); color: #FFFFFF; }
.status.s2 { background: var(--mint); color: var(--mint-ink); }
.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.quick a { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 12px 4px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; text-align: center; }
.big-cta { background: var(--pine); color: #FFFFFF; text-decoration: none; border-radius: 20px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; min-height: 64px; font-weight: 700; font-size: 19px; }
.big-cta:hover { color: #FFFFFF; background: var(--pine-dark); }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.chips button { border: 2px solid var(--line-strong); background: var(--paper); border-radius: 12px; min-height: 48px; cursor: pointer; }
.chips button[aria-pressed="true"] { border-color: var(--pine); background: var(--pine); color: #FFFFFF; font-weight: 700; }
.stars { display: flex; gap: 4px; }
.stars button { width: 48px; height: 48px; border: none; background: none; cursor: pointer; color: #C9D3CC; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; }
.stars button.on { color: var(--amber-deep); }
.sheet-backdrop { background: rgba(23, 35, 29, .45); position: fixed; inset: 0; display: flex; align-items: flex-end; justify-content: center; z-index: 20; }
.sheet { background: var(--paper); border-radius: 28px 28px 0 0; padding: 14px 22px 28px; width: 100%; max-width: 480px; display: flex; flex-direction: column; gap: 16px; }
.app-footer-actions { position: sticky; bottom: 0; background: var(--paper); border-top: 1px solid var(--line); padding: 12px 18px 16px; display: flex; flex-direction: column; gap: 8px; }
.btn-danger { background: var(--paper); color: var(--danger); border-color: var(--danger); }
.tabbar { position: sticky; bottom: 0; background: var(--paper); border-top: 1px solid var(--line); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 6px 4px calc(10px + env(safe-area-inset-bottom)); }
.tabbar a { text-decoration: none; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; min-height: 52px; justify-content: center; text-align: center; }
.tabbar a[aria-current="page"] { color: var(--pine); font-weight: 700; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--mint); color: var(--pine); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.avatar.amber { background: var(--amber-soft); color: var(--amber-ink); }
.avatar.grey { background: var(--track); color: var(--text-2); }
.person { display: flex; gap: 12px; align-items: center; }
blockquote { margin: 0; background: var(--mist); border-radius: 12px; padding: 10px 12px; font-size: 15px; color: var(--text-2); }
.login { padding: 40px 22px 28px; display: flex; flex-direction: column; gap: 22px; flex: 1 1 auto; }
.login h1 { font-size: 32px; }

/* dzwonek powiadomień w nagłówku prawdziwej aplikacji */
.app-top .bell { margin-inline-start: auto; position: relative; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; color: var(--ink); flex: 0 0 auto; }
.app-top .bell:focus-visible { outline: 3px solid var(--amber-deep); }
.app-top .bell .badge { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--danger); color: #FFFFFF; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.notif { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; color: inherit; }
.notif.unread { border-color: var(--pine); }
.notif .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pine); flex: 0 0 auto; margin-top: 7px; }
.notif .dot.read { background: transparent; }

/* kategorie prac: zwarte kafelki (22 + „później”) */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cat { background: var(--mist); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cat .cat-name { font-weight: 700; font-size: 16px; line-height: 1.3; overflow-wrap: break-word; hyphens: auto; }
.cat .tag { font-size: 12px; padding: 2px 8px; }
.cat.later { background: transparent; border: 2px dashed var(--line-strong); }

/* ===== Kolory: wersja B „Lawenda i błękit” (wybrana 09.11.2026) =====
   Pudrowy fiolet: przyciski i akcenty; pudrowy błękit: tło, znaczki, sekcje; pudrowy róż: ikony i informacje.
   Czcionki i kolor tekstu (--ink) bez zmian. „--pine” to teraz ciemny kolor akcentów tekstu (linki, obramowania). */
:root {
  --p1: #D9CEF3; --p1-hover: #C8B8EC; --p2: #D3E5F6; --p3: #F8DCE5; --p3-deep: #B7A6E6;
  --pine: #17231D; --pine-dark: #17231D; --pine-mid: #C8B8EC;   /* „pine” = teraz kolor tekstu akcentów (linki, obramowania) */
  --mist: #F2F5FC; --mint: #D3E5F6; --mint-ink: #17231D;
  --line: #DCE1F1; --line-strong: #BCC4E0; --track: #E7EBF7;
  --on-pine-2: #3E4C44;
}
.btn-primary, .brand-mark, .step-no, .seg button[aria-pressed="true"], .tag.dark, .status.s1, .status.s3,
.big-cta, .chips button[aria-pressed="true"], .mock, .hero-video video { background: var(--p1); color: var(--ink); }
.btn-primary:hover, .big-cta:hover { background: var(--p1-hover); color: var(--ink); }
.chips button[aria-pressed="true"] { border-color: var(--p1-hover); }
.section-dark { background: var(--p2); color: var(--ink); }
.section-dark p, .section-dark .muted { color: var(--text-2); }
.dark-cards > div { background: var(--paper); }
.bar > span, .notif .dot { background: var(--p3-deep); }
.icon-tile, .avatar { background: var(--p3); color: var(--ink); }
.app-card.accent, .notif.unread { border-color: var(--p1-hover); }
.site-footer { background: var(--p2); color: var(--text-2); }
.site-footer a { color: var(--ink); }
/* przyciski bez ciemnej ramki; żółte paski (okres testowy, demo, informacje) w pastelu */
.btn-primary, .btn-primary:hover { border-color: transparent; }
:root { --amber-soft: #F8DCE5; --amber: #F1C3D2; --amber-ink: #2B2238; --amber-text: #4A3A63; --amber-deep: #7A5C9E; }

/* Pasek u góry przyklejony przy przewijaniu + przycisk „Last ned appen” (09.11.2026) */
html { scroll-padding-top: 96px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(242, 245, 252, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(23, 35, 29, .08); }
.get-app-btn { gap: 8px; box-shadow: 0 6px 16px rgba(122, 92, 158, .22); }
@media (max-width: 820px) {
  html { scroll-padding-top: 128px; }
  .site-header .wrap { gap: 8px 12px; padding-block: 10px 0; }
  .site-header .brand { order: 1; flex: 1 1 auto; min-width: 0; gap: 8px; }
  .site-header .brand-mark { width: 36px; height: 36px; }
  .site-header .brand-name { font-size: 20px; }
  .site-header .get-app-btn { order: 2; min-height: 44px; padding: 8px 14px; font-size: 15px; }
  .site-header .lang svg { display: none; }
  .main-nav { order: 10; flex: 1 1 55%; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 18px; font-size: 16px; }
  .site-header .lang { order: 11; }
  .site-header .lang select { min-height: 38px; max-width: 120px; padding: 4px 6px; font-size: 15px; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { white-space: nowrap; }
}
@media (max-width: 359px) { .get-app-btn span { display: none; } .get-app-btn { padding-inline: 14px; } }
/* Telefon: menu pod przyciskiem ☰ zamiast przewijania w bok (12.11.2026) */
.nav-toggle { display: none; }
@media (max-width: 820px) {
  .site-header .wrap { padding-block: 10px; gap: 10px 10px; flex-wrap: wrap; }
  .site-header .brand { order: 1; flex: 1 1 auto; }
  .site-header .get-app-btn { order: 2; flex: 0 0 auto; white-space: nowrap; }
  .nav-toggle { order: 3; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--paper, #fff); color: var(--ink); cursor: pointer; }
  .nav-toggle:focus-visible { outline: 3px solid var(--amber-deep); }
  .nav-toggle path { transition: transform .2s, opacity .2s; transform-origin: 12px 12px; }
  .site-header.nav-open .nav-toggle .l1 { transform: translateY(5px) rotate(45deg); }
  .site-header.nav-open .nav-toggle .l2 { opacity: 0; }
  .site-header.nav-open .nav-toggle .l3 { transform: translateY(-5px) rotate(-45deg); }
  .site-header .main-nav, .site-header .lang { display: none; }
  .site-header.nav-open .main-nav { order: 10; display: flex; flex: 1 1 100%; flex-direction: column; flex-wrap: nowrap; overflow: visible; gap: 0; font-size: 18px; border-top: 1px solid var(--line); padding-top: 4px; }
  .site-header.nav-open .main-nav a { display: block; padding: 12px 4px; white-space: normal; border-bottom: 1px solid var(--line); }
  .site-header.nav-open .lang { order: 11; display: flex; align-items: center; gap: 10px; flex: 1 1 100%; padding-bottom: 6px; }
  .site-header.nav-open .lang svg { display: block; }
  .site-header.nav-open .lang select { max-width: none; flex: 1 1 auto; min-height: 44px; font-size: 16px; }
}
@media (max-width: 600px) {
  .site-header .brand-mark { width: 34px; height: 34px; }
  .site-header .brand-name { font-size: 19px; }
  .site-header .get-app-btn { width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; }
  .site-header .get-app-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 359px) {
  .site-header .wrap { gap: 8px 6px; }
  .site-header .brand { gap: 6px; }
  .site-header .brand-mark { width: 30px; height: 30px; }
  .site-header .brand-name { font-size: 17px; }
  .site-header .get-app-btn, .nav-toggle { width: 42px; height: 42px; min-height: 42px; }
}

/* Dolna sekcja „Last ned appen” – propozycja A (09.11.2026) */
.get-app { background: var(--p1); overflow: hidden; }
.get-app .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 56px; padding-block: 72px 0; position: relative; }
.get-app .copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; padding-bottom: 72px; }
.get-app h2 { font-size: clamp(38px, 6vw, 68px); line-height: 1.08; letter-spacing: -0.02em; }
.get-app .hl { background: var(--ink); color: var(--p3); border-radius: 14px; padding: 0 .18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.get-app .lead { font-size: 20px; color: var(--text-2); max-width: 520px; }
.store-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #FFFFFF; text-decoration: none; border-radius: 16px; padding: 12px 22px 12px 16px; min-height: 64px; }
.store-btn:hover { color: #FFFFFF; background: #2B3A31; }
.store-btn small { display: block; font-size: 13px; opacity: .85; line-height: 1.1; }
.store-btn strong { display: block; font-family: var(--font-display); font-size: 22px; line-height: 1.1; }
.get-app .more { font-weight: 700; color: var(--ink); align-self: flex-start; }
.get-app .visual { flex: 0 1 380px; margin-inline: auto; position: relative; align-self: flex-end; }
.get-app .blob { position: absolute; width: 560px; height: 560px; border-radius: 50%; background: var(--p2); inset-inline-end: -120px; top: -40px; }
.phone-frame { position: relative; width: 300px; margin-inline: auto; background: var(--ink); border-radius: 46px 46px 0 0; padding: 12px 12px 0; box-shadow: 0 30px 60px rgba(23, 35, 29, .18); }
.phone-frame img { display: block; width: 100%; height: auto; border-radius: 36px 36px 0 0; aspect-ratio: 390 / 600; object-fit: cover; object-position: top; }
@media (max-width: 700px) { .get-app .copy { padding-bottom: 8px; } .phone-frame { width: 250px; } .get-app .blob { width: 380px; height: 380px; inset-inline-end: -60px; } }

/* Atrybut hidden zawsze ukrywa (styl .btn / .demo-bar ustawia display i nadpisywał go) */
[hidden] { display: none !important; }

/* Kod QR do aplikacji – tylko na komputerze (na telefonie nie ma sensu) */
.qr-box { display: none; align-items: center; gap: 16px; background: var(--paper); border-radius: 18px; padding: 12px 18px 12px 12px; max-width: 420px; font-size: 16px; font-weight: 700; }
.qr-box img { flex: 0 0 auto; width: 112px; height: 112px; }
@media (min-width: 821px) and (hover: hover) { .qr-box { display: flex; } }

/* Komputer: logo, menu, język i „Last ned appen” w jednej linii (09.11.2026, po zmianie nazwy na MinEkstraJobb) */
@media (min-width: 821px) {
  .site-header .wrap { flex-wrap: nowrap; gap: 20px; }
  .site-header .brand { flex: 0 0 auto; }
  .main-nav { flex-wrap: nowrap; gap: 18px; min-width: 0; font-size: 16px; }
  .main-nav a { white-space: nowrap; }
  .site-header .lang { flex: 0 0 auto; }
  .get-app-btn { flex: 0 0 auto; white-space: nowrap; }
}
@media (min-width: 821px) {
  /* „Appen” w menu prowadzi tam samo co przycisk „Last ned appen” – na komputerze zostaje tylko przycisk */
  .main-nav a[href="#app"] { display: none; }
  .site-header .lang svg { display: none; }
}
/* Węższe ekrany komputera: logo, język i przycisk u góry, menu w drugiej linii */
@media (min-width: 821px) and (max-width: 1199px) {
  .site-header .wrap { flex-wrap: wrap; gap: 6px 20px; padding-block: 12px 4px; }
  .site-header .brand { order: 1; flex: 1 1 auto; }
  .site-header .lang { order: 2; }
  .get-app-btn { order: 3; }
  .main-nav { order: 10; flex: 1 1 100%; flex-wrap: wrap; }
  .main-nav a { padding: 6px 0; }
}

/* Aplikacja po zalogowaniu: globus ze zmianą języka obok dzwonka (09.11.2026) */
.app-top .lang-pick { margin-inline-start: auto; position: relative; height: 44px; min-width: 44px; padding: 0 8px; display: inline-flex; align-items: center; gap: 4px; border-radius: 12px; color: var(--ink); flex: 0 0 auto; }
.app-top .lang-pick .lang-code { font-size: 13px; font-weight: 700; }
.app-top .lang-pick select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.app-top .lang-pick:focus-within { outline: 3px solid var(--amber-deep); }
.app-top .lang-pick + .bell { margin-inline-start: 0; }

/* Czat w aplikacji (09.11.2026) */
.chat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 85%; align-self: flex-start; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: var(--paper); border: 1px solid var(--line); overflow-wrap: anywhere; }
.bubble.mine { align-self: flex-end; background: var(--p1); border-color: transparent; border-radius: 18px 18px 6px 18px; }
.bubble .small { font-size: 12px; }

/* Prawdziwa aplikacja: górny pasek bez „Demo” i przełącznika widoków – tylko nazwa i język (12.11.2026) */
.demo-bar .live-only { display: none; }
.demo-bar.is-live .demo-only { display: none; }
.demo-bar.is-live .live-only { display: inline; }

/* Przełącznik „Min konto | Foreldrepanel” (12.11.2026) */
.mode-switch { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.mode-switch a { flex: 1 1 0; text-align: center; padding: 10px 8px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.mode-switch a[aria-current="page"] { background: var(--p1); font-weight: 700; }
.mode-switch a:focus-visible { outline: 3px solid var(--amber-deep); }

/* Zasady 6 000 kr w sekcji „Appen passer på grensene” (12.11.2026) */
#trygghet .section-head { max-width: 820px; }
.rules-list { gap: 10px; font-size: 17px; }
.rules-list li { line-height: 1.5; }
