
:root {
  --ink: #182236;
  --ink-2: #27344a;
  --muted: #46556b;
  --paper: #f6f5f1;
  --white: #ffffff;
  --line: #d9ddd8;
  --accent: #1b6b73;
  --accent-soft: #e7f0ef;
  --sand: #e9e1d4;
  --radius: 20px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(27,107,115,.35); outline-offset: 3px; }
img { max-width: 100%; }
h1, h2, h3, p, li, blockquote { text-wrap: pretty; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,245,241,.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(21,32,51,.08);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .09em; font-size: 15px; }
.brand-mark { width: 31px; height: 31px; border: 1.5px solid var(--ink); border-radius: 50%; position: relative; flex: 0 0 auto; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: var(--accent); width: 2px; height: 18px; top: 5px; }
.brand-mark::before { left: 10px; transform: rotate(16deg); }
.brand-mark::after { right: 10px; transform: rotate(-16deg); }
.nav { display: flex; align-items: center; gap: 27px; font-size: 15px; }
.nav a { color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav-cta { padding: 11px 17px; border: 1px solid var(--ink); border-radius: 999px; font-weight: 700; }
.menu-btn { display: none; background: transparent; border: 0; font-size: 25px; cursor: pointer; color: var(--ink); }
.hero { padding: 68px 0 58px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr); gap: 38px; align-items: center; }
.eyebrow { margin: 0 0 14px; text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 700; color: var(--accent); }
h1 { font-size: clamp(40px, 4.8vw, 64px); font-weight: 700; line-height: 1.08; letter-spacing: -.018em; margin: 0 0 22px; max-width: 780px; }
.hero p.lead { font-weight: 400; font-size: clamp(18px, 1.55vw, 21px); line-height: 1.6; color: var(--ink-2); max-width: 760px; margin: 0; }
.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 1px 0 rgba(21,32,51,.02);
}
.hero-card p { margin: 0 0 20px; color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.hero-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.hero-list li { padding-left: 18px; color: var(--muted); position: relative; }
.hero-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); position: absolute; left: 0; top: 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 700; border: 1px solid var(--ink); transition: transform .15s ease, background .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--ink); color: white; }
.btn.primary:hover { background: var(--accent); border-color: var(--accent); }
.btn.ghost { background: transparent; }
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fbfaf7; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-inner div { padding: 20px 18px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-right: 1px solid var(--line); }
.trust-inner div:last-child { border-right: 0; }
.section { padding: 78px 0; }
.section.tight { padding: 48px 0; }
.section.white { background: var(--white); }
.section.ink { background: var(--ink); color: white; }
.section-head { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr); gap: 34px; margin-bottom: 34px; align-items: start; }
.section-head h2, .content h2, .info-card h2 { font-weight: 700; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -.018em; margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 720px; }
.ink .section-head p { color: #c9d1dd; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; min-height: 250px; display: flex; flex-direction: column; }
.card.accent { background: var(--accent-soft); }
.card .num { font-size: 12px; letter-spacing: .12em; color: var(--accent); font-weight: 700; margin-bottom: 48px; }
.card h3 { font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 12px; }
.card p { margin: 0 0 24px; color: var(--muted); }
.card a.more { margin-top: auto; color: var(--accent); font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.22); }
.step { padding: 26px 24px 20px 0; border-right: 1px solid rgba(255,255,255,.22); }
.step + .step { padding-left: 24px; }
.step:last-child { border-right: 0; }
.step strong { display: block; font-size: 13px; color: #95d2d2; margin-bottom: 34px; }
.step h3 { font-size: 22px; margin: 0 0 12px; }
.step p { color: #cbd3df; margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.kicker-box { background: var(--sand); border-radius: var(--radius); padding: 34px; min-height: 260px; }
.kicker-box blockquote { font-size: clamp(27px, 2.9vw, 38px); letter-spacing: -.024em; line-height: 1.1; margin: 0; }
.bullets { list-style: none; padding: 0; margin: 26px 0 0; }
.bullets li { padding: 16px 0 16px 28px; border-top: 1px solid var(--line); position: relative; }
.bullets li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); position: absolute; left: 0; top: 24px; }
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.person { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--paper); }
.person .role { text-transform: uppercase; letter-spacing: .1em; font-size: 11px; color: var(--accent); font-weight: 700; }
.person h3 { font-weight: 700; margin: 8px 0 8px; font-size: 26px; }
.person p { margin: 0; color: var(--muted); }
.band { padding: 34px; border-radius: var(--radius); background: var(--accent-soft); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.band h2 { font-weight: 700; margin: 0 0 10px; font-size: clamp(30px, 3.2vw, 42px); letter-spacing: -.024em; }
.band p { margin: 0; color: var(--muted); max-width: 760px; }
.page-hero { padding: 68px 0 42px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(38px, 4.5vw, 60px); line-height: 1.08; max-width: 980px; }
.page-hero p { max-width: 860px; font-size: 19px; line-height: 1.7; color: var(--ink-2); margin: 0; }
.content { padding: 56px 0 84px; }
.content-grid { display: grid; grid-template-columns: minmax(240px, .86fr) minmax(0, 1.14fr); gap: 34px; align-items: start; }
.side-note { position: sticky; top: 112px; align-self: start; font-size: 14px; color: var(--muted); border-top: 1px solid var(--ink); padding-top: 18px; }
.inline-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.inline-note p { margin: 0; font-size: 14px; color: var(--muted); }
.prose { max-width: none; }
.prose h2 { font-size: 34px; margin: 50px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 22px; margin: 28px 0 12px; }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; line-height: 1.75; }
.prose ul { padding-left: 21px; }
.callout { border-left: 4px solid var(--accent); background: var(--accent-soft); padding: 22px 24px; margin: 28px 0; border-radius: 0 14px 14px 0; }
.callout p { margin: 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product { border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 28px; min-height: 310px; display: flex; flex-direction: column; }
.product .tag { font-size: 11px; text-transform: uppercase; letter-spacing: .11em; font-weight: 700; color: var(--accent); }
.product h2 { font-weight: 700; font-size: 32px; line-height: 1.15; margin: 40px 0 12px; letter-spacing: -.012em; }
.product p { color: var(--muted); margin: 0 0 24px; }
.product .more { margin-top: auto; font-weight: 700; color: var(--accent); }
.contact-grid { display: grid; grid-template-columns: minmax(260px, .88fr) minmax(0, 1.12fr); gap: 34px; align-items: start; }
.contact-data { display: grid; gap: 18px; }
.data-box { border: 1px solid var(--line); background: white; border-radius: 18px; padding: 22px; }
.data-box .label { font-size: 11px; text-transform: uppercase; letter-spacing: .11em; font-weight: 700; color: var(--accent); }
.data-box p { margin: 7px 0 0; }
form { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
input, textarea, select { width: 100%; border: 1px solid #cdd3d8; background: #fff; border-radius: 12px; min-height: 48px; padding: 11px 13px; font: inherit; color: var(--ink); }
textarea { min-height: 150px; resize: vertical; }
.checkbox { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 13px; color: var(--muted); margin: 10px 0 20px; }
.checkbox input { width: 18px; min-height: 18px; margin: 2px 0 0; }
.checkbox label { font-weight: 500; margin: 0; }
.hidden { position: absolute; left: -10000px; }
.site-footer { background: #0e1726; color: #eef2f6; padding: 52px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.05fr .95fr .95fr; gap: 40px; }
.footer-grid h3 { margin: 0 0 12px; font-size: 16px; }
.footer-grid p, .footer-grid a { color: #b9c2cf; font-size: 14px; }
.footer-links { display: grid; gap: 8px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: #8e9aaa; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: var(--muted); background: white; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.info-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.about-grid { display: grid; gap: 18px; }
.about-row { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; align-items: start; }
.info-card p, .info-card li, .info-card dd { color: var(--ink-2); font-size: 17px; line-height: 1.75; }
.info-card p:first-of-type { margin-top: 0; }
.key-list { list-style: none; padding: 0; margin: 10px 0 0; }
.key-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.key-list li:first-child { padding-top: 0; border-top: 0; }
.company-data { margin: 16px 0 0; }
.company-data div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.company-data div:first-child { border-top: 0; padding-top: 0; }
.company-data dt { font-weight: 700; color: var(--muted); }
.company-data dd { margin: 0; }
.stack { display: grid; gap: 18px; }
.fundacja-band { background: linear-gradient(180deg, #eef5f4 0%, #e4f0ee 100%); }
.fundacja-band p { color: var(--ink-2); }
.compact-prose p { margin: 0 0 14px; }
@media (max-width: 900px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: var(--paper); padding: 20px 24px 28px; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 17px; }
  .nav.open { display: flex; }
  .menu-btn { display: block; }
  .hero { padding: 58px 0 48px; }
  .hero-grid, .section-head, .split, .content-grid, .contact-grid, .about-row, .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cards, .product-grid, .people { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid rgba(255,255,255,.22); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(n+3) { border-bottom: 0; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-inner div:nth-child(2) { border-right: 0; }
  .trust-inner div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .side-note { position: static; }
  .band { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .header-inner { min-height: 68px; }
  .nav { top: 68px; }
  h1 { font-size: clamp(36px, 11vw, 48px); line-height: 1.09; }
  .page-hero { padding-top: 54px; }
  .section { padding: 58px 0; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22) !important; padding: 24px 0 !important; }
  .step:last-child { border-bottom: 0 !important; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .band { padding: 28px; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-inner div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-inner div:last-child { border-bottom: 0; }
  .footer-bottom { flex-direction: column; }
  .company-data div { grid-template-columns: 1fr; gap: 4px; }
}

/* v4.1: separate about-card headings from their content. */
.about-grid .info-card > h2 { margin: 0 0 20px; }
/* Let grid children shrink without hiding their contents. */
.hero-grid > *, .about-row > * { min-width: 0; }

/* Preserve readable headings on the narrowest mobile screens. */
.split > * { min-width: 0; }
.info-card h2.responsibility-title { font-size: clamp(26px, 2.5vw, 30px); }
@media (max-width: 360px) {
  .page-hero h1 { font-size: 34px; }
  .info-card h2 { font-size: 26px; }
}
