/* Source Sans 3 — pliki zmienne (wagi 400–900), self-hosted */
@font-face {
  font-family: 'Source Sans 3'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(fonts/source-sans-3-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(fonts/source-sans-3-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;
}

:root {
  --navy: #003a65; --navy-deep: #012840; --magenta: #e71984; --purple: #8a62a7;
  --paper: #fcf8f5; --ink: #1d1d1b; --muted: #55636e; --line: #e4dcd6;
  --navy-tint: #e8eef4; --mag-tint: #fde9f3; --pur-tint: #f1eaf6;
  --font: 'Source Sans 3', 'Segoe UI', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); background: #dfe5ea; }
button { font-family: inherit; }
.wrap { max-width: 440px; min-height: 100vh; margin: 0 auto; background: var(--paper); overflow-x: hidden; }
@media (min-width: 480px) { .wrap { box-shadow: 0 0 40px rgba(0, 20, 40, .12); } }

/* nagłówek */
.hero { position: relative; overflow: hidden; background: linear-gradient(125deg, var(--navy-deep) 0%, var(--navy) 58%, #0a4a7c 100%); color: #fff; padding: 20px 18px 18px; }
.glow { position: absolute; inset: 0; background: radial-gradient(circle at 92% 8%, #ff2e93 0%, #b23a86 14%, #7b46a6 28%, transparent 52%); opacity: .55; pointer-events: none; }
.logo { position: relative; width: 24px; height: 28px; fill: #fff; display: block; }
.hero-row { position: relative; display: flex; gap: 14px; align-items: center; margin-top: 10px; }
.av { width: 82px; height: 82px; border-radius: 50%; border: 3px solid #fff; flex: none; object-fit: cover; }
.ey { display: inline-flex; flex-direction: column; gap: 5px; margin-bottom: 6px; }
.ey span { font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.ey i { width: 46px; height: 3px; background: var(--magenta); }
h1 { font-size: 30px; font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.hours { font-size: 14px; color: #c3d3df; margin-top: 6px; font-weight: 600; }
.hours a { color: inherit; text-decoration: none; white-space: nowrap; }
.mailbar { position: relative; margin-top: 14px; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--navy); border-radius: 12px; padding: 9px 11px; }
.mailbar .ic { width: 34px; height: 34px; border-radius: 9px; background: var(--magenta); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; }
.mailbar .txt { min-width: 0; }
.mailbar small { display: block; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--magenta); }
.mailbar a { font-size: 15px; font-weight: 700; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.mailbar button { margin-left: auto; font-weight: 900; font-size: 12px; border: 0; background: var(--navy); color: #fff; border-radius: 8px; padding: 7px 9px; cursor: pointer; flex: none; }

/* zakładki */
.tabs { display: flex; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.tab { flex: 1; background: none; border: 0; border-bottom: 3px solid transparent; padding: 13px 4px 11px; font-size: 15px; font-weight: 700; color: var(--muted); cursor: pointer; }
.tab[aria-selected="true"] { color: var(--navy); border-color: var(--magenta); }
.panel { padding: 14px 14px 22px; display: flex; flex-direction: column; gap: 12px; }
.panel[hidden] { display: none; }

/* sekcje — każda z innym tłem */
.sec { border-radius: 16px; padding: 15px 15px 16px; position: relative; overflow: hidden; }
.sec.navy { background: linear-gradient(135deg, var(--navy-deep), var(--navy) 70%, #0a4a7c); color: #fff; }
.sec.navy::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0%, rgba(231, 25, 132, .45), transparent 45%); pointer-events: none; }
.sec.white { background: #fff; border: 1px solid var(--line); }
.sec.purple { background: linear-gradient(160deg, var(--pur-tint), #fff 80%); border: 1px solid #e0d3ea; }
.sec.mag { background: var(--mag-tint); border: 2px solid var(--magenta); }
.sec.tint { background: var(--navy-tint); }
.k { display: inline-flex; flex-direction: column; gap: 4px; margin-bottom: 10px; position: relative; z-index: 1; }
.k span { font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.k i { width: 36px; height: 3px; background: var(--magenta); }
.navy .k span { color: #fff; }
.mag .k span { color: #9b0f57; }
.purple .k span { color: var(--purple); }
h2 { font-size: 21px; font-weight: 900; color: var(--navy); line-height: 1.08; letter-spacing: -.01em; position: relative; z-index: 1; }
h2 em { font-style: normal; color: var(--magenta); }
.navy h2 { color: #fff; }
.navy h2 em { color: #ff7fbf; }

/* oś pionowa z numerami */
.steps { position: relative; z-index: 1; margin-top: 12px; list-style: none; }
.st { display: flex; gap: 12px; position: relative; padding-bottom: 14px; }
.st:last-child { padding-bottom: 0; }
.st::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 3px; background: rgba(255, 255, 255, .3); }
.st:last-child::before { display: none; }
.st .n { width: 37px; height: 37px; border-radius: 50%; background: var(--magenta); color: #fff; font-weight: 900; font-size: 18px; display: flex; align-items: center; justify-content: center; flex: none; box-shadow: 0 0 0 4px rgba(231, 25, 132, .25); }
.st p { font-size: 15px; line-height: 1.3; padding-top: 2px; }
.st p b { display: block; font-size: 16px; }

/* asystent nie */
.stop { display: flex; gap: 10px; align-items: flex-start; background: #fff; border-radius: 10px; padding: 9px 11px; margin-bottom: 7px; }
.stop b { width: 24px; height: 24px; border-radius: 50%; background: var(--magenta); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; font-size: 13px; }
.stop p { font-size: 14.5px; line-height: 1.3; }
.stop strong { color: var(--navy); }

/* schemat rodziny */
.tree { display: flex; gap: 10px; background: #fff; border-radius: 12px; padding: 12px 10px; margin-top: 2px; }
.tcol { display: flex; flex-direction: column; justify-content: space-between; width: 84px; flex: none; }
.side { font-size: 13px; font-weight: 900; color: var(--magenta); border-left: 3px solid var(--magenta); padding-left: 7px; line-height: 1.15; }
.side small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.tmain { width: 104px; display: flex; flex-direction: column; align-items: center; }
.p { font-size: 12.5px; font-weight: 700; border-radius: 8px; padding: 5px 9px; text-align: center; white-space: nowrap; }
.p.x { background: var(--mag-tint); color: #9b0f57; border: 1.5px solid var(--magenta); }
.p.x::before { content: "✕ "; font-weight: 900; }
.p.me { background: var(--navy); color: #fff; }
.ln { width: 2px; height: 10px; background: #d6a3bf; }
.row { position: relative; }
.sp { position: absolute; left: 100%; top: 50%; transform: translateY(-50%); display: flex; align-items: center; }
.hl { width: 12px; height: 2px; background: #d6a3bf; }

/* schemat ścieżek */
.flow { display: flex; flex-direction: column; align-items: center; margin-top: 6px; }
.node { border-radius: 11px; padding: 8px 10px; font-size: 13.5px; font-weight: 700; text-align: center; line-height: 1.2; }
.node.you { background: var(--navy); color: #fff; }
.node.am { background: var(--magenta); color: #fff; }
.node.cl { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.node.pol { background: var(--purple); color: #fff; }
.node small { display: block; font-weight: 600; font-size: 11.5px; opacity: .85; }
.arr { width: 2px; height: 14px; background: #b9a9c9; position: relative; }
.arr::after { content: ""; position: absolute; left: -4px; bottom: -2px; border: 5px solid transparent; border-top: 6px solid #b9a9c9; border-bottom: 0; }
.fork { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; position: relative; padding-top: 16px; }
.fork::before { content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 2px; background: #b9a9c9; }
.branch { display: flex; flex-direction: column; align-items: center; position: relative; }
.branch::before { content: ""; position: absolute; top: -16px; left: 50%; width: 2px; height: 16px; background: #b9a9c9; }
.badge { font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--purple); margin-bottom: 5px; }
.branch .node { width: 100%; }

/* oś pozioma */
.hsteps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; margin-top: 4px; list-style: none; }
.hsteps::before { content: ""; position: absolute; top: 17px; left: 12%; right: 12%; height: 3px; background: linear-gradient(90deg, var(--navy), var(--magenta)); }
.hs { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; position: relative; }
.hs .n { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; border: 3px solid #fff; }
.hs:last-child .n { background: var(--magenta); }
.hs span { font-size: 11.5px; font-weight: 700; line-height: 1.15; color: var(--navy); }
.hs:last-child span { color: var(--magenta); }

/* wybór ubezpieczenia */
.chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.chip { background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 9px 1px 7px; text-align: center; font-size: 12px; font-weight: 700; color: var(--navy); cursor: pointer; min-width: 0; }
.chip .ic { display: block; font-size: 22px; line-height: 1.1; margin-bottom: 2px; }
.chip[aria-pressed="true"] { border-color: var(--magenta); background: #fff3f9; }
.other { display: flex; gap: 11px; align-items: center; margin-top: 8px; border: 2px dashed var(--purple); background: var(--pur-tint); border-radius: 12px; padding: 10px 12px; }
.other .oi { width: 32px; height: 32px; border-radius: 50%; background: var(--purple); color: #fff; font-weight: 900; font-size: 20px; display: flex; align-items: center; justify-content: center; flex: none; }
.other p { font-size: 13.5px; line-height: 1.3; }
.other p b { display: block; color: var(--purple); font-size: 14.5px; }
.msg { margin-top: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-size: 14px; line-height: 1.42; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 260px; overflow: auto; }
.msg .em { display: block; margin-top: 6px; background: var(--mag-tint); border-left: 4px solid var(--magenta); padding: 6px 9px; border-radius: 0 8px 8px 0; color: #9b0f57; font-weight: 700; }
.btn { display: block; width: 100%; margin-top: 10px; border: 0; font-weight: 900; font-size: 16px; padding: 13px; border-radius: 12px; background: var(--magenta); color: #fff; cursor: pointer; text-align: center; text-decoration: none; }
.btn.ghost { background: #fff; color: var(--navy); border: 2px solid var(--navy); font-size: 15px; padding: 11px; }
.lock { display: flex; gap: 10px; align-items: flex-start; }
.lock .big { font-size: 26px; line-height: 1; }
.lock p { font-size: 14.5px; line-height: 1.35; }
.lock p b { color: #9b0f57; overflow-wrap: anywhere; }

.foot { text-align: center; font-size: 12px; color: var(--muted); padding: 4px 16px 22px; }
