/* gazetka rodzinna: the website and the family link page.
   Design: canvas page "Website" (Web-Desktop, Web-Phone, Web-Invite). Palette from "Modern nostalgic".
   Home page copy, centring and open sign-up (2026-11-10): canvas https://claude.ai/artifact/61buKtNdbBoQScbmivge1t,
   page "Final", boards "Final · computer" (master copy), "Final · phone" and "Computer B2" (step alignment). */

@font-face {
  font-family: "Merriweather";
  src: url("fonts/merriweather-latin-ext.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
  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: "Merriweather";
  src: url("fonts/merriweather-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
  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: "Nunito";
  src: url("fonts/nunito-latin-ext.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
  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: "Nunito";
  src: url("fonts/nunito-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
  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 {
  --ink: #2C2A5C;
  --text: #3D3F55;
  --slate: #547199;
  --slate-text: #3F5A80;
  --steel: #7591B6;
  --apricot: #FBBB74;
  --apricot-hover: #F9A955;
  --cream: #F4EBDA;
  --paper: #FBFAF6;
  --rule: rgba(44, 42, 92, 0.12);
  --serif: Merriweather, Georgia, "Times New Roman", serif;
  --sans: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--slate-text); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 16px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; background: #FFFFFF; padding: 10px 16px; border-radius: 12px; font: 800 16px/1.2 var(--sans); color: var(--ink); }
.skip:focus { top: 12px; }

.site { overflow-x: hidden; overflow-x: clip; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ------------------------------------------------------------------ type */
.wordmark { font-family: var(--serif); font-weight: 900; line-height: 1; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.h1 { font: 900 clamp(34px, 5vw, 62px)/1.12 var(--serif); color: var(--ink); margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
.h2 { font: 900 clamp(27px, 3.4vw, 42px)/1.18 var(--serif); color: var(--ink); margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
.h3 { font: 900 21px/1.3 var(--serif); color: var(--ink); margin: 0; }
.lead { font: 400 clamp(17px, 1.5vw, 20px)/1.6 var(--serif); color: var(--text); margin: 0; max-width: 34em; text-wrap: pretty; }
.body { font: 500 17px/1.6 var(--sans); color: var(--text); margin: 0; text-wrap: pretty; }
.small { font: 600 15px/1.5 var(--sans); color: var(--text); margin: 0; }
.small a { color: var(--slate-text); font-weight: 800; }
.small b { color: var(--ink); }

/* ------------------------------------------------------------------ controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: 800 18px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; border: 0;
}
.btn-main { background: var(--apricot); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-main:hover { background: var(--apricot-hover); color: var(--ink); }
.btn-line { border: 2px solid var(--slate); color: var(--slate-text); background: transparent; }
.btn-line:hover { background: #EEF2F8; color: var(--ink); }
.btn-open { background: var(--slate); color: #FFFFFF; width: 100%; }
.btn-open:hover { background: #46628C; color: #FFFFFF; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 16px; }
.nl { font: 700 17px/24px var(--sans); color: var(--ink); text-decoration: none; }
.nl:hover { color: var(--slate); }
.more { font: 700 17px/24px var(--sans); color: var(--slate-text); text-decoration: none; }
.more:hover { color: var(--ink); text-decoration: underline; }
.num {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 36px; height: 36px; border-radius: 18px;
  background: var(--apricot); box-shadow: inset 0 0 0 2px var(--ink);
  font: 800 17px/1 var(--sans); color: var(--ink);
}
.step-t { display: flex; align-items: center; gap: 12px; }
.badges { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.badges a { display: block; border-radius: 10px; }
.badge-a { display: block; height: 48px; width: auto; }
.badge-g { display: block; height: 70px; width: auto; margin: -11px -10px; }
.soon { background: var(--cream); border-radius: 16px; padding: 14px 16px; font: 600 16px/1.5 var(--sans); color: var(--ink); margin: 0; }

/* ------------------------------------------------------------------ header */
.top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { display: block; width: 64px; height: 43px; }
.logo .wordmark { font-size: 25px; }
.nav { display: flex; align-items: center; gap: 28px; }
.menu-btn {
  display: none; width: 48px; height: 48px; border-radius: 24px; border: 0; padding: 0; cursor: pointer;
  background: #FFFFFF; box-shadow: inset 0 0 0 1.5px rgba(44, 42, 92, 0.2);
  align-items: center; justify-content: center; color: var(--ink);
}
.menu-btn .close { display: none; }
.menu-btn[aria-expanded="true"] .open { display: none; }
.menu-btn[aria-expanded="true"] .close { display: block; }
.menu {
  position: absolute; z-index: 5; left: 0; right: 0; top: 100%;
  margin: 0; padding: 8px; list-style: none;
  background: #FFFFFF; border-radius: 22px; box-shadow: 0 0 0 2px var(--ink), 6px 6px 0 0 var(--ink);
}
.menu[hidden] { display: none; }
.menu a { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border-radius: 14px; font: 800 18px/1.2 var(--sans); color: var(--ink); text-decoration: none; }
.menu a:hover { background: var(--paper); }
.menu li + li { border-top: 1px solid var(--rule); }

/* ------------------------------------------------------------------ hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 40px; align-items: center; padding: 28px 0 80px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-cta { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.hero-art { position: relative; min-width: 0; }
.hero-art .art { position: relative; display: block; width: 100%; height: auto; }
.deco { position: absolute; pointer-events: none; }

/* ------------------------------------------------------------------ sections */
.sec { padding: 88px 0; }
.sec-first { padding-top: 72px; border-top: 1px solid rgba(44, 42, 92, 0.08); }
.sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin-bottom: 48px; }
.sec-head .body { font-size: 19px; }
.band { background: var(--cream); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px; }
/* The step lists ("Jak to działa", "Zacznijcie już dziś") are centred: drawing, number beside the title, text.
   Canvas board "Computer B2"; on phones the number sits above the title (below). */
.step { position: relative; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.step-art { height: 200px; display: flex; align-items: flex-end; justify-content: center; }
.step-art img { max-height: 200px; width: auto; display: block; }
.step .deco { right: -24px; top: 54px; }
.steps .step-t, .invite .step-t { justify-content: center; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 64px; align-items: center; }
.photo { position: relative; padding: 0 12px 12px 0; min-width: 0; }
.photo .deco { left: -34px; top: -30px; }
.photo img { position: relative; display: block; width: 100%; height: auto; border-radius: 26px; box-shadow: 0 0 0 2px var(--ink), 10px 10px 0 0 var(--ink); }
.split-copy { display: flex; flex-direction: column; gap: 20px; }
.facts { display: grid; gap: 18px; margin: 8px 0 0; padding: 0; list-style: none; }
.fact { display: flex; gap: 14px; align-items: flex-start; }
.fact b { display: block; font: 800 18px/1.35 var(--sans); color: var(--ink); }
.fact span { display: block; font: 500 17px/1.5 var(--sans); color: var(--text); }
.tick { flex: none; width: 28px; height: 28px; margin-top: 1px; }

.invite {
  list-style: none; margin: 0;
  background: #FFFFFF; border-radius: 32px; box-shadow: 0 0 0 2px var(--ink), 10px 10px 0 0 var(--ink);
  padding: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px;
}
.ist { display: flex; flex-direction: column; gap: 14px; min-width: 0; align-items: center; text-align: center; }
.ist-art { height: 150px; display: flex; align-items: flex-end; justify-content: center; }
.ist .badges { justify-content: center; }
.ist-art img { max-height: 150px; width: auto; display: block; }
.app-icon { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.app-icon img { display: block; width: 112px; height: 112px; border-radius: 25px; box-shadow: 0 0 0 1px rgba(44, 42, 92, 0.12); }
.app-icon span { font: 700 13px/1 var(--sans); color: var(--text); }
.qr { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(44, 42, 92, 0.14); }
.qr svg { width: 92px; height: 92px; display: block; flex: none; }
.qr span { font: 600 15px/1.45 var(--sans); color: var(--text); }
.note { margin-top: 28px; display: flex; gap: 8px; align-items: center; }
.note svg { flex: none; }

.ask { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 48px; align-items: center; }
.ask-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.ask-copy .body { font-size: 18px; }
.ask-art { display: flex; justify-content: center; }
.ask-art img { display: block; width: 255px; height: auto; }

.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: #FFFFFF; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--rule); padding: 0 24px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 14px 0; font: 800 19px/1.35 var(--sans); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform 0.15s ease; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { font: 500 17px/1.6 var(--sans); color: var(--text); margin: 0 0 22px; max-width: 40em; }

.foot { border-top: 1px solid var(--rule); padding: 40px 0 56px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot .logo img { width: 52px; height: 35px; }
.foot .logo .wordmark { font-size: 20px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot-links a { font: 700 16px/24px var(--sans); color: var(--ink); }
.foot-links span { font: 600 15px/24px var(--sans); color: #5E6070; }

/* ------------------------------------------------------------------ phones */
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .logo img { width: 46px; height: 31px; }
  .logo .wordmark { font-size: 18px; }
  .nav .nl, .nav .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .hero { padding: 6px 0 56px; gap: 28px; }
  .hero-copy { gap: 16px; }
  .hero-cta .btn { width: 100%; }
  .hero-cta .more { display: none; }
  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 28px; }
  .sec-head .body { font-size: 17px; }
  .steps { gap: 48px; }
  .split { gap: 40px; }
  .hide-sm { display: none; }
  /* The invite steps become one compact card, as on the phone board. */
  .invite { padding: 22px 20px; gap: 0; border-radius: 24px; box-shadow: 0 0 0 2px var(--ink), 5px 5px 0 0 var(--ink); }
  .ist { gap: 10px; padding: 18px 0; }
  .ist:first-child { padding-top: 0; }
  .ist:last-child { padding-bottom: 0; }
  .ist + .ist { border-top: 1px solid var(--rule); }
  .ist-art { display: none; }
  .ist .h3 { font-size: 19px; }
  .ist .body { font-size: 16px; }
  .faq details { padding: 0 18px; }
  .faq summary { font-size: 17px; }
  .foot { padding: 32px 0 44px; }
  /* Phones are centred throughout (canvas board "Final · phone"); the ticked list and the questions stay left. */
  .hero-copy { text-align: center; align-items: center; }
  .hero-cta { justify-content: center; align-self: stretch; }
  .sec-head { text-align: center; align-items: center; margin-left: auto; margin-right: auto; }
  .split-copy > .h2, .split-copy > .lead { text-align: center; }
  .ask-copy { text-align: center; align-items: center; }
  .steps .step-t, .invite .step-t { flex-direction: column; gap: 10px; }
  .note { justify-content: center; text-align: center; }
  .foot { flex-direction: column; justify-content: center; text-align: center; }
  .foot-links { justify-content: center; }
}
@media (pointer: coarse) { .qr { display: none; } }

/* ------------------------------------------------------------------ family link page (/r/…) */
.card-page { max-width: 460px; margin: 0 auto; padding: max(48px, env(safe-area-inset-top)) 20px max(40px, env(safe-area-inset-bottom)); }
.card-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: 22px; }
.card-head .mark { display: block; width: 112px; height: 75px; }
.card-head .wordmark { font-size: 17px; }
.card-head .h2 { font-size: 27px; line-height: 1.2; margin-top: 8px; }
.m-body { font: 500 16px/1.55 var(--sans); color: var(--text); margin: 0; }
.m-card {
  list-style: none; margin: 0;
  background: #FFFFFF; border-radius: 24px; box-shadow: 0 0 0 2px var(--ink), 5px 5px 0 0 var(--ink);
  padding: 22px 20px; display: flex; flex-direction: column; gap: 12px;
}
.m-step { display: flex; flex-direction: column; gap: 12px; }
.m-step + .m-step { border-top: 1px solid var(--rule); padding-top: 14px; }
.m-h3 { font: 900 19px/1.3 var(--serif); color: var(--ink); margin: 0; }
.m-step .badge-a { height: 54px; }
.m-step .badge-g { height: 80px; margin: -12px -11px; }
.m-step .badges a { align-self: flex-start; }
.fallback { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 24px; text-align: center; }
.family-code { font: 900 30px/1 var(--serif); color: var(--ink); letter-spacing: 0.06em; white-space: nowrap; }
.card-foot { margin-top: 32px; text-align: center; }

.gone { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding-top: 32px; }
.gone img { display: block; width: 218px; height: auto; }

/* The family link opened on a computer: hand it to the phone as a QR code. */
.desk { display: flex; gap: 44px; align-items: center; justify-content: center; min-height: 100vh; min-height: 100svh; max-width: 820px; margin: 0 auto; padding: 72px 32px; }
.desk-qr { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: none; }
.desk-qr .frame { padding: 16px; border-radius: 22px; background: #FFFFFF; box-shadow: 0 0 0 2px var(--ink), 6px 6px 0 0 var(--ink); }
.desk-qr svg { display: block; width: 196px; height: 196px; }
.desk-qr span { font: 700 14px/1 var(--sans); color: var(--text); }
.desk-copy { display: flex; flex-direction: column; gap: 16px; }
.desk-copy .logo img { width: 52px; height: 35px; }
.desk-copy .logo .wordmark { font-size: 19px; }
.desk-copy .h2 { font-size: 32px; }
.desk-copy .family-code { font-size: 18px; letter-spacing: 0.05em; }
@media (max-width: 700px) {
  .desk { flex-direction: column; justify-content: flex-start; min-height: 0; padding: 40px 20px; gap: 28px; }
}

/* ------------------------------------------------------------------ privacy page */
.doc { max-width: 720px; padding-top: 24px; padding-bottom: 72px; }
.doc h1 { margin-bottom: 8px; }
.doc .updated { font: 600 15px/1.5 var(--sans); color: #5E6070; margin: 0 0 32px; }
.doc h2 { font: 900 22px/1.3 var(--serif); color: var(--ink); margin: 40px 0 12px; }
.doc p, .doc li { font: 500 17px/1.65 var(--sans); color: var(--text); }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin: 0 0 8px; }
.doc b { color: var(--ink); }
.todo { background: #FFF1DE; box-shadow: inset 0 0 0 1px var(--apricot); border-radius: 6px; padding: 0 4px; }
