@font-face { font-family: "Space Grotesk"; font-weight: 400 700; font-display: swap; src: url("fonts/grotesk-latin-ext.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: "Space Grotesk"; font-weight: 400 700; font-display: swap; src: url("fonts/grotesk-latin.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: "JetBrains Mono"; font-weight: 400 700; font-display: swap; src: url("fonts/jbmono-latin-ext.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: "JetBrains Mono"; font-weight: 400 700; font-display: swap; src: url("fonts/jbmono-latin.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: "Unbounded"; font-weight: 400 900; font-display: swap; src: url("fonts/unbounded-latin-ext.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: "Unbounded"; font-weight: 400 900; font-display: swap; src: url("fonts/unbounded-latin.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; }

/* The app's "classic" (light) and "graphite" (dark) themes, same variables as the Gimbus app. */
:root {
    --gb-section-start: 88px;  /* the space above every section's content, the same everywhere */
    --gb-section-end: 120px;  /* the space under every section's content, the same everywhere */
    --gb-accent: #F5B800; --gb-accent-ink: #18233D; --gb-accent-soft: #FEF3C7; --gb-accent-strong: #8A6100;
    --gb-bar: #18233D; --gb-bar-2: #22304F; --gb-ink: #18233D; --gb-bg: #FAFAF7; --gb-surface: #FFFFFF;
    --gb-muted: #5F6675; --gb-line: #E7E5DF; --gb-bus: #F5B800; --gb-bus-dark: #D99E00; --gb-glass: #2A3A5C;
    --gb-sky: #EAF1FB; --gb-hill: #DDE9D3; --gb-hill-2: #C9DDBB;
    --gb-blue: #3B82F6; --gb-green: #16A34A; --gb-red: #E5484D; --gb-orange: #EA8A1A;
    --gb-paper: #FFFFFF; --gb-wall: #FFFFFF; --gb-screen: #F4F5F2;
    --gb-grid: rgba(59,130,246,.10); --gb-margin: rgba(229,72,77,.30);
    color-scheme: light;
}
@media (prefers-color-scheme: dark) {
    :root {
        --gb-accent: #F5B800; --gb-accent-ink: #12151A; --gb-accent-soft: rgba(245,184,0,.14); --gb-accent-strong: #F7C948;
        --gb-bar: #12151A; --gb-bar-2: #1D222B; --gb-ink: #E6E8EC; --gb-bg: #0E1014; --gb-surface: #161A20;
        --gb-muted: #9AA3B2; --gb-line: #272C35; --gb-bus: #F5B800; --gb-bus-dark: #C98F00; --gb-glass: #0B0D11;
        --gb-sky: #1A1F27; --gb-hill: #20262F; --gb-hill-2: #262D38;
        --gb-paper: #1D222B; --gb-wall: #3A4250; --gb-screen: #12151A;
        --gb-grid: rgba(154,163,178,.06); --gb-margin: rgba(229,72,77,.20);
        color-scheme: dark;
    }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--gb-bg); color: var(--gb-ink); font-family: "Space Grotesk", system-ui, sans-serif; font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--gb-muted); }

/* Top bar */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--gb-bg) 86%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--gb-line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Unbounded", "Space Grotesk", system-ui, sans-serif; font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; text-transform: uppercase; /* the logo is always in capitals */ text-decoration: none; }
.top nav { display: flex; gap: 22px; margin-left: auto; font-size: .95rem; font-weight: 550; }
.top nav a { text-decoration: none; color: var(--gb-muted); }
.top nav a:hover { color: var(--gb-ink); }
/* Narrow screens: the menu folds behind a button (site.js opens it) */
.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--gb-line); border-radius: 12px; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--gb-ink); transition: transform .2s, opacity .2s; }
.top.open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.top.open .menu-toggle span:nth-child(2) { opacity: 0; }
.top.open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.lang { display: flex; border: 1px solid var(--gb-line); border-radius: 999px; overflow: hidden; }
.lang button { font: inherit; font-size: .8rem; font-weight: 600; border: 0; padding: 5px 11px; background: transparent; color: var(--gb-muted); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--gb-accent); color: var(--gb-accent-ink); }
.lang a { font-size: .8rem; font-weight: 600; padding: 5px 11px; color: var(--gb-muted); text-decoration: none; }
.lang a[aria-current="true"] { background: var(--gb-accent); color: var(--gb-accent-ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: filter .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gb-accent); color: var(--gb-accent-ink); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { border-color: var(--gb-line); background: var(--gb-surface); }
.btn-ghost:hover { border-color: var(--gb-muted); }

/* Hero */
.hero { padding: var(--gb-section-start) 0 var(--gb-section-end); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: "JetBrains Mono", monospace; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gb-accent-strong); background: var(--gb-accent-soft); padding: 5px 12px; border-radius: 999px; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -.04em; margin: 18px 0 18px; }
/* A highlighted phrase in a heading sits in a yellow box (a line through the letters was hard to read); it wraps line by line. */
h1 em, h2 em, h3 em { font-style: normal; background: var(--gb-accent); color: var(--gb-accent-ink); padding: 0 .18em; border-radius: .18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead { font-size: 1.2rem; color: var(--gb-muted); max-width: 34em; margin: 0 0 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; }
.hero-art .scene { width: 100%; height: auto; }
.bus-ride { animation: ride 2.6s ease-in-out infinite; transform-origin: 160px 130px; }
.wheel { animation: spin 1.1s linear infinite; }
.cloud { animation: drift 30s linear infinite; }
@keyframes ride { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.6px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { from { transform: translateX(-60px); } to { transform: translateX(480px); } }
@media (prefers-reduced-motion: reduce) { .bus-ride, .wheel, .cloud, .pulse, .ping { animation: none !important; } }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.fact { padding: 18px 20px; border: 1px solid var(--gb-line); background: var(--gb-surface); border-radius: 14px; }
.fact b { display: block; font-family: "JetBrains Mono", monospace; font-size: 1.5rem; letter-spacing: -.02em; }
.fact span { color: var(--gb-muted); font-size: .92rem; }

/* Sections */
section { padding: var(--gb-section-start) 0 var(--gb-section-end); }
section .wrap > :last-child { margin-bottom: 0; }  /* a last paragraph's margin would add to the space */
section:nth-of-type(even) { background: var(--gb-surface); }  /* every other section (2nd, 4th, ...) a shade lighter */
section + section { border-top: 1px solid var(--gb-line); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.1; letter-spacing: -.03em; margin: 12px 0 14px; }
/* Trying Unbounded for the big headings (it runs wide, so a little smaller and less tightly spaced). To go back: delete these two lines. */
h1, h2 { font-family: "Unbounded", "Space Grotesk", system-ui, sans-serif; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.1; } h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.15; }
h3 { font-size: 1.3rem; letter-spacing: -.02em; margin: 0 0 8px; line-height: 1.25; }
.intro { max-width: 46em; color: var(--gb-muted); font-size: 1.12rem; margin: 0 0 44px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; padding: 22px; border-radius: 16px; background: var(--gb-bg); border: 1px solid var(--gb-line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: "JetBrains Mono", monospace; font-weight: 700; font-size: .85rem; color: var(--gb-accent-ink); background: var(--gb-accent); border-radius: 8px; padding: 2px 8px; }
.step svg { margin: 16px 0 14px; width: 100%; height: auto; }
.step p { margin: 0; color: var(--gb-muted); font-size: .98rem; }

/* Every section sits on squared notebook paper (blue squares, a red line across the top on the second grid line, or down the left on wide screens) that
   fades out over its last 200px. */
section { position: relative; isolation: isolate; }
section::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        linear-gradient(var(--gb-margin), var(--gb-margin)) 0 43px / 100% 2px no-repeat,
        linear-gradient(var(--gb-grid) 1px, transparent 1px) center -1px / 22px 22px,
        linear-gradient(90deg, var(--gb-grid) 1px, transparent 1px) center -1px / 22px 22px;
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 200px), transparent);
    mask-image: linear-gradient(to bottom, #000 calc(100% - 200px), transparent); }
/* When the left margin beside the content is at least 4 squares (viewport >= 1160px + 2 * 88px), the red line runs
   down the left instead, on the grid line just over 2 squares left of the content (grid squares are centred). */
@media (min-width: 1336px) {
    section::before { background:
        linear-gradient(var(--gb-margin), var(--gb-margin)) calc(50% - 626px) 0 / 2px 100% no-repeat,
        linear-gradient(var(--gb-grid) 1px, transparent 1px) center -1px / 22px 22px,
        linear-gradient(90deg, var(--gb-grid) 1px, transparent 1px) center -1px / 22px 22px; }
}
/* Coverage section's dot map of Poland (section hidden in index.html for now) */
.reach { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.reach .intro { margin-bottom: 8px; }
.legend { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--gb-muted); font-size: .92rem; }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 9px; }
.legend .dot-city { background: var(--gb-green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gb-green) 22%, transparent); }
.legend .dot-demo { background: var(--gb-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gb-accent) 28%, transparent); }
.pl-map { width: 100%; max-width: 560px; height: auto; justify-self: center; overflow: visible; }
.pl-map .land { fill: none; stroke: var(--gb-muted); stroke-opacity: .32; stroke-width: 3.2; stroke-linecap: round; }
.pl-map .cities circle { fill: var(--gb-green); }
.pl-map .cities .halo { fill-opacity: .2; }
.pl-map .cities .ping { fill-opacity: .35; animation: ping 3s ease-out infinite; animation-delay: var(--d); transform-box: fill-box; transform-origin: center; }
.pl-map .demo circle { fill: var(--gb-accent); }
.pl-map .demo .ring { fill-opacity: .28; }
.pl-map .demo text { font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 700; fill: var(--gb-ink); stroke: var(--gb-bg); stroke-width: 4px; stroke-linejoin: round; paint-order: stroke; }
.pl-map .demo:hover text { text-decoration: underline; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 70%, 100% { transform: scale(2); opacity: 0; } }

/* Apps */
.app { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
* + .app { margin-top: 40px; }
/* Each app (gmina, school, carer, parent) is its own section, so each gets its own sheet of paper. */
.app.flip .app-art { order: 2; }
/* The sky behind each drawing is solid in the middle and fades into the notebook paper towards every edge. */
.app-art { padding: 28px; display: grid; place-items: center; min-height: 340px; }
.tag { display: inline-block; font-family: "JetBrains Mono", monospace; font-size: 1rem; line-height: 20px; font-weight: 600; padding: 6px 16px; border-radius: 999px; background: var(--gb-accent-soft); color: var(--gb-accent-strong); text-transform: uppercase; letter-spacing: .04em; }
/* A section's tag sits in the same spot in every section: in the top margin, at the content's left edge, centred on the
   fifth grid line (y = 87px), whatever column or layout the tag is written in. Sections with a tag get 6 squares of
   top margin to make room for it. Only one tag per section. */
section .tag { position: absolute; top: 71px; left: max(20px, (100% - 1160px) / 2); }
section:has(.tag) { padding-top: 132px; }
/* In the four app sections the tag sits back on top of the text, above the heading, and the drawing is centred beside it. */
section .app .tag { position: static; margin-bottom: 14px; }
section:has(.app .tag) { padding-top: var(--gb-section-start); }
.where { font-family: "JetBrains Mono", monospace; font-size: .85rem; color: var(--gb-muted); margin: 4px 0 14px; }
ul.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
ul.ticks li { position: relative; padding-left: 32px; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 6px; background: var(--gb-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.8' fill='none' stroke='%2318233D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
ul.ticks li b { font-weight: 650; }

/* Feature grid */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 24px; border-radius: 16px; background: var(--gb-surface); border: 1px solid var(--gb-line); }
/* Panels always differ from the section they sit on: on the lighter (even) sections they take the page colour. */
section:nth-of-type(even) :is(.card, details, .company-card, .demo-request input[type=email], .goto label) { background: var(--gb-bg); }
.card svg.icon { width: 64px; height: 64px; margin-bottom: 14px; }
.card p { margin: 0; color: var(--gb-muted); font-size: .98rem; }

/* Pricing */
.signup { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; margin-top: 48px; padding: 32px; border-radius: 22px; background: var(--gb-bar); color: #fff; }
.signup ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 10px; }
.signup .muted { color: #AEB6C6; }
.code { display: inline-block; font-family: "JetBrains Mono", monospace; font-weight: 700; padding: 1px 8px; border-radius: 6px; background: var(--gb-accent); color: #18233D; letter-spacing: .06em; }

/* Find your gmina */
.goto { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.goto label { display: flex; align-items: center; border: 1px solid var(--gb-line); border-radius: 12px; background: var(--gb-surface); padding-right: 14px; overflow: hidden; }
.goto input { font: inherit; border: 0; outline: none; padding: 12px 4px 12px 14px; width: calc(12ch + 18px); /* the hint and the padding */ background: transparent; color: var(--gb-ink); text-align: right; font-family: "JetBrains Mono", monospace; }
.goto label span { font-family: "JetBrains Mono", monospace; color: var(--gb-muted); }
.goto label:focus-within { border-color: var(--gb-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gb-accent) 25%, transparent); }

/* FAQ */
/* align-items: start: an open answer makes only its own card taller, not its neighbour in the row */
/* Two independent columns: opening an item moves only the items under it in its own column. */
/* Demo access request (posts to the app, admin.gimbus.link/demo-request; the answer comes back as #demo-ok / #demo-bad) */
.demo-request { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: end; margin: 18px 0 0; max-width: 560px; }
.demo-request .demo-email { display: grid; gap: 6px; font-weight: 600; }
.demo-request input[type=email] { font: inherit; padding: 11px 14px; border: 1px solid var(--gb-line); border-radius: 12px; background: var(--gb-surface); color: var(--gb-ink); outline: none; }
.demo-request input[type=email]:focus { border-color: var(--gb-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gb-accent) 25%, transparent); }
.demo-request .note, .demo-request .form-msg { grid-column: 1 / -1; margin: 0; font-size: .9rem; color: var(--gb-muted); }
.demo-request .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; padding: 10px 14px; border-radius: 12px; font-weight: 600; }
.form-msg:target { display: block; }
.form-msg.ok { background: var(--gb-accent-soft); color: var(--gb-ink) !important; }
.form-msg.bad { border: 1px solid #c2410c; color: #c2410c !important; }
@media (max-width: 640px) { .demo-request { grid-template-columns: 1fr; } }
.included { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 28px 0 0; }
.included li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--gb-line); background: var(--gb-surface); font-size: .95rem; }
.included li::before { content: "✓ "; color: var(--gb-green); font-weight: 700; }
section:nth-of-type(even) .included li { background: var(--gb-bg); }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; align-items: start; }
.faq-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
details { border: 1px solid var(--gb-line); border-radius: 14px; background: var(--gb-surface); padding: 16px 20px; }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary:focus { outline: none; }
details summary:focus-visible { outline: 2px solid var(--gb-accent); outline-offset: 6px; border-radius: 6px; }
details summary::after { content: "+"; font-family: "JetBrains Mono", monospace; color: var(--gb-muted); }
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 0; color: var(--gb-muted); font-size: .98rem; }

/* Footer */
footer { padding: 48px 0 60px; border-top: 1px solid var(--gb-line); color: var(--gb-muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: inherit; }

/* About page (o-nas): mission quote and company card */
.mission { text-align: center; }
.mission blockquote { margin: 18px auto 0; max-width: 28em; font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.25; letter-spacing: -.025em; font-weight: 600; }
.mission blockquote::before { content: "„"; display: block; font-size: 4.5rem; line-height: .5; color: var(--gb-accent); margin-bottom: 18px; }
.mission .sign { margin: 22px 0 0; font-family: "JetBrains Mono", monospace; font-size: .9rem; color: var(--gb-muted); }
.company { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.company .intro { margin-bottom: 24px; }
/* The left column runs as tall as the card; the big logo fills its empty bottom. */
.company > div:first-child { display: flex; flex-direction: column; align-self: stretch; }
.company-logo { margin-top: auto; padding-top: 48px; align-self: flex-start; font-size: 2.53rem; gap: 22px; } /* the top-bar logo (40 px icon), 2.2× bigger */
.company-card { position: relative; margin-top: 44px; padding: 76px 28px 28px; border-radius: 20px; background: var(--gb-surface); border: 1px solid var(--gb-line); }
.company-bus { position: absolute; top: -44px; right: 24px; width: 150px; height: auto; }
.company-card dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; margin: 0; }
.company-card dt { color: var(--gb-muted); font-size: .9rem; padding-top: 2px; }
.company-card dd { margin: 0; font-weight: 550; }
@media (max-width: 960px) { .company { grid-template-columns: 1fr; } .company-card { margin-top: 32px; } .company-logo { padding-top: 32px; font-size: 1.84rem; gap: 16px; } .company-logo img { width: 64px; height: 64px; } }

/* Legal pages (regulamin, polityka prywatności) */
.legal { max-width: 860px; padding: var(--gb-section-start) 0 var(--gb-section-end); }
.legal > :last-child { margin-bottom: 0; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 4px; }
.legal h2 { font-family: inherit; font-size: 1.35rem; margin: 40px 0 12px; scroll-margin-top: 90px; }
.legal ol, .legal ul { padding-left: 1.4em; }
.legal li { margin: 8px 0; }
.legal ol ul { margin-top: 6px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.toc a { padding: 6px 12px; border: 1px solid var(--gb-line); border-radius: 999px; background: var(--gb-surface); color: var(--gb-ink); text-decoration: none; font-size: .9rem; }
.toc a:hover { border-color: var(--gb-bus); }
.prices { width: 100%; border-collapse: collapse; margin: 12px 0; background: var(--gb-surface); border: 1px solid var(--gb-line); border-radius: 12px; overflow: hidden; font-size: .95rem; }
.prices th, .prices td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--gb-line); }
.prices th { background: var(--gb-bg); }
body.legal-page .top nav a[aria-current] { color: var(--gb-ink); font-weight: 600; }
@media (max-width: 640px) { .prices { font-size: .85rem; } .prices th, .prices td { padding: 8px; } }

.pulse { animation: pulse 1.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }

/* Language: site/ holds both texts; deploy/build-site.py makes one page per language (these rules only matter when
   site/ itself is opened). */
html.en .pl, html:not(.en) .en { display: none !important; }

@media (max-width: 960px) {
    .hero-grid, .app, .signup, .reach { grid-template-columns: 1fr; }
    .app .app-art { order: 2; }  /* text first, so every section starts with its label */
    .steps, .facts { grid-template-columns: 1fr 1fr; }
    .grid3 { grid-template-columns: 1fr; }
    .faq { grid-template-columns: 1fr; }
    .top nav { display: none; }
    .menu-toggle { display: flex; }
    .top.open #menu { display: flex; flex-direction: column; gap: 0; position: absolute; top: 64px; left: 0; right: 0; margin: 0; padding: 4px 16px 12px; background: var(--gb-bg); border-bottom: 1px solid var(--gb-line); box-shadow: 0 12px 24px rgba(0,0,0,.18); }
    .top.open #menu a { padding: 13px 4px; font-size: 1.05rem; color: var(--gb-ink); border-bottom: 1px solid var(--gb-line); }
    .top.open #menu a:last-child { border-bottom: 0; }
    .lang { margin-left: auto; }
    :root { --gb-section-start: 64px; --gb-section-end: 96px; }
}
@media (max-width: 560px) {
    body { font-size: 17px; }
    .steps, .facts { grid-template-columns: 1fr; }
    .app-art { min-height: 0; padding: 18px; }
}
@media (max-width: 560px) {
    body.legal-page .top nav { gap: 12px; font-size: .82rem; white-space: nowrap; margin-left: auto; }
    body.legal-page .brand { font-size: 0; gap: 0; }
}
