/* homcio.pl - the landing page (index.html). No JavaScript: FAQ = <details>, no carousels.
   Colours = src/theme/tokens.json (brand tiles and module colours included), type = Inter (fonts.css),
   rules = docs/design.md: indigo only for actions and links, ink CTA for marketing, gold only for Premium.
   Legal pages use style.css, not this file. */
/* Inter (variable, SIL OFL 1.1), self-hosted - inlined so the landing has ONE render-blocking stylesheet
   (the legal pages load fonts.css + style.css). Keep in sync with fonts.css. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-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 {
  --canvas: #f7f7fa; --surface: #ffffff; --sunken: #eff0f5; --line: #e6e7ee;
  --ink: #15161c; --ink-soft: #4a4e5a; --muted: #8b8f9b;
  --accent: #4f46e5; --accent-soft: #eeeeff;
  --success: #16a34a;
  --premium: #d9a21b; --premium-soft: #fdf5e1; --premium-ink: #7a5a00;
  --sun: #fbbf24; --coral: #fb7185; --mint: #34d399;
  /* modules (tokens.modules) - a feature block sets --m to its module */
  --m-calendar: #4f46e5; --m-shopping: #f43f5e; --m-todo: #0ea5e9; --m-notes: #8b5cf6; --m-rewards: #f59e0b; --m-trips: #0d9488; --m-bills: #10b981; --m-meals: #f97316; --m-family: #fb7185;
  --max: 1120px; --gutter: 20px;
}
* { box-sizing: border-box; }
html { background: var(--canvas); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 16px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.sprite { position: absolute; }
.icon.sm { width: 16px; height: 16px; }
.icon.xs { width: 14px; height: 14px; }
/* module colour per block (tokens.modules) */
.m-calendar { --m: var(--m-calendar); } .m-shopping { --m: var(--m-shopping); } .m-todo { --m: var(--m-todo); }
.m-notes { --m: var(--m-notes); } .m-rewards { --m: var(--m-rewards); } .m-trips { --m: var(--m-trips); } .m-family { --m: var(--m-family); }
.m-bills { --m: var(--m-bills); }
.m-meals { --m: var(--m-meals); }
/* member colours (tokens.memberColors) for the sample avatars */
.c-yellow { background: #facc15; } .c-green { background: #4ade80; } .c-red { background: #f87171; } .c-purple { background: #c084fc; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- type scale (docs/design.md) */
.display-xl { font-size: 36px; line-height: 42px; letter-spacing: -0.8px; font-weight: 600; }
.display-lg { font-size: 28px; line-height: 34px; letter-spacing: -0.5px; font-weight: 600; }
.display-md { font-size: 20px; line-height: 26px; font-weight: 600; }
.lede { font-size: 18px; line-height: 28px; color: var(--ink-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-soft);
}
.eyebrow i { width: 10px; height: 10px; border-radius: 3px; background: var(--m, var(--accent)); }
.eyebrow i.quiet { background: var(--muted); }
.eyebrow.brand i + i { margin-left: -4px; }
.eyebrow.brand .sun { background: var(--sun); } .eyebrow.brand .coral { background: var(--coral); } .eyebrow.brand .mint { background: var(--mint); }
.eyebrow.on-ink { background: rgba(255, 255, 255, .1); border-color: transparent; color: var(--surface); }
.on-ink-link { color: var(--surface); text-decoration: underline; }
.eyebrow.premium { background: var(--premium-soft); border-color: transparent; color: var(--premium-ink); }
.eyebrow.premium .icon { width: 16px; height: 16px; }

/* --- buttons: accent (indigo, the roof of the symbol) = the main CTA, ink = store buttons, ghost = secondary */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 22px; border-radius: 16px;
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; transition: opacity .15s, background-color .15s;
}
.btn:hover { text-decoration: none; }
.btn-accent { background: var(--accent); color: var(--surface); }
.btn-accent:hover { opacity: .92; }
.btn-ink { background: var(--ink); color: var(--surface); }
.btn-ink:hover { opacity: .9; }
.btn-ghost { background: var(--sunken); color: var(--ink); }
.btn-ghost:hover { background: var(--line); }
.btn-outline { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--muted); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn .icon { width: 18px; height: 18px; }

/* --- store buttons (drawn, like padelmix): ink tile, logo left, "Pobierz w" + the store name. Same height and
       radius as .btn so they line up with the CTAs; .light = on the ink card */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px 0 14px; border-radius: 16px;
  background: var(--ink); color: var(--surface); text-decoration: none; transition: opacity .15s;
}
.store:hover { text-decoration: none; opacity: .9; }
.store svg { width: 26px; height: 26px; flex: none; }
.store > span { display: flex; flex-direction: column; justify-content: center; text-align: left; }
.store .st-top { font-size: 11px; font-weight: 500; letter-spacing: .2px; line-height: 1.2; opacity: .72; }
.store .st-big { font-size: 17px; font-weight: 600; letter-spacing: -0.3px; line-height: 1.15; }
.stores.light .store { background: var(--surface); color: var(--ink); }

/* --- header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(247, 247, 250, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; }
.top .container { display: flex; align-items: center; gap: 24px; height: 68px; }
.top .logo img { height: 32px; width: auto; }
.top nav { display: none; gap: 4px; margin-left: 8px; }
.top nav a { color: var(--ink-soft); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.top nav a:hover { color: var(--ink); background: var(--sunken); text-decoration: none; }
.top .actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.top .actions .signin { display: none; }
@media (min-width: 900px) { .top nav { display: flex; } .top .actions .signin { display: inline-flex; } }

/* --- hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 0; }
.hero .container { position: relative; display: grid; gap: 40px; }
.hero .copy { max-width: 600px; }
.hero h1 { margin: 20px 0 18px; font-size: 44px; line-height: 1.08; letter-spacing: -1.2px; font-weight: 600; text-wrap: balance; }
.hero .lede { max-width: 540px; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; } /* one row: the CTA and both store buttons */
@media (max-width: 599px) { .hero .cta .btn { flex: 1 1 100%; } .hero .cta .store { flex: 1 1 0; justify-content: center; } } /* phones: CTA on its own line, the stores share the next one */
.hero .trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.hero .trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero .trust .icon { width: 16px; height: 16px; color: var(--success); }
.tile { position: absolute; border-radius: 28px; pointer-events: none; }
.tile.sun { background: rgba(251, 191, 36, .24); }
.tile.coral { background: rgba(251, 113, 133, .22); }
.tile.mint { background: rgba(52, 211, 153, .24); }
.hero-visual { position: relative; }
.hero-visual .tile.sun { width: 200px; height: 220px; left: -60px; bottom: -40px; }
.hero-visual .tile.coral { width: 220px; height: 150px; right: -50px; top: -40px; }
.hero-visual .tile.mint { display: none; }
.hero-visual .tablet { position: relative; margin: 0 auto; }
.hero-visual .phone { display: none; }
@media (min-width: 900px) {
  .hero { padding-top: 72px; }
  .hero h1 { font-size: 56px; letter-spacing: -1.6px; }
  .hero .container { grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); align-items: center; gap: 48px; }
  .hero-visual { min-height: 560px; }
  .hero-visual .tile.sun { width: 260px; height: 320px; left: -40px; bottom: -30px; }
  .hero-visual .tile.coral { width: 300px; height: 190px; right: -200px; top: -40px; }
  .hero-visual .tile.mint { display: block; width: 240px; height: 220px; right: -120px; bottom: -50px; }
  /* the board bleeds off the right edge of the viewport (.hero clips it); the phone sits over its bottom-left corner */
  .hero-visual .tablet { position: absolute; left: 40px; top: 10px; width: 780px; max-width: none; margin: 0; }
  .hero-visual .phone { display: block; position: absolute; left: -20px; bottom: -10px; width: 210px; }
}
@media (min-width: 1240px) { .hero-visual .tablet { left: 60px; width: 860px; } .hero-visual .phone { width: 230px; left: -10px; } }
.hero-fade { height: 72px; }

/* --- devices (CSS frames around the real captures from assets/store/out/raw) */
.phone { width: 280px; background: var(--ink); border-radius: 44px; padding: 10px; box-shadow: 0 30px 60px rgba(21, 22, 28, .14); }
.phone .screen { position: relative; overflow: hidden; border-radius: 34px; background: var(--canvas); }
.phone .status { display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 22px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.phone .status svg { width: 56px; height: 10px; fill: var(--ink); }
.phone img { width: 100%; height: auto; }
.tablet { width: 100%; max-width: 860px; background: var(--ink); border-radius: 26px; padding: 12px; box-shadow: 0 30px 70px rgba(21, 22, 28, .14); }
.tablet .screen { overflow: hidden; border-radius: 16px; background: var(--canvas); }
.tablet img { width: 100%; height: auto; }

/* --- "Znasz to?" quotes */
.pains { padding: 48px 0 0; }
.pains ul { display: grid; gap: 12px; }
.pains li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: grid; gap: 10px; }
.pains q { quotes: "„" "”"; font-size: 17px; font-weight: 600; line-height: 24px; }
.pains p { color: var(--ink-soft); font-size: 14px; line-height: 20px; }
.pains .who { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; }
@media (min-width: 640px) { .pains ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .pains ul { grid-template-columns: repeat(4, 1fr); } } /* four quotes in one row on the board, 2 × 2 in between */

/* --- section heads */
.section { padding: 80px 0 0; }
.section-head { max-width: 640px; display: grid; gap: 14px; justify-items: start; }
.section-head.center { margin: 0 auto; text-align: center; justify-items: center; }
.section-head h2 { text-wrap: balance; }

/* --- feature blocks: one <article class="feature"> per module, --m = module colour, text left / shot right,
       .flip swaps sides. Adding a module = copy a block. */
.features { display: grid; gap: 24px; margin-top: 40px; }
.feature {
  position: relative; overflow: hidden; display: grid; gap: 24px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 32px 24px 0;
}
.feature .text { display: grid; gap: 16px; justify-items: start; }
.feature h3 { font-size: 28px; line-height: 34px; letter-spacing: -0.5px; font-weight: 600; text-wrap: balance; }
.feature p { color: var(--ink-soft); font-size: 17px; line-height: 26px; }
.feature .points { display: grid; gap: 10px; }
.feature .points li { display: flex; gap: 10px; color: var(--ink-soft); font-size: 15px; line-height: 22px; }
.feature .points .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--m); }
.feature .shot { position: relative; justify-self: center; align-self: end; }
.feature .shot .phone { margin: 0 auto; }
.feature .shot::before { content: ""; position: absolute; inset: 40px -60px -60px; background: color-mix(in srgb, var(--m) 8%, transparent); border-radius: 40px 40px 0 0; }
.feature .shot .phone { position: relative; max-height: 440px; overflow: hidden; border-radius: 44px 44px 0 0; padding-bottom: 0; box-shadow: none; }
.feature .shot .phone .screen { border-radius: 34px 34px 0 0; }
.feature .shot.wide { width: 100%; }
.feature .shot.wide .tablet { max-height: 360px; overflow: hidden; border-radius: 26px 26px 0 0; box-shadow: none; position: relative; }
@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 48px 0 0 48px; gap: 40px; }
  .feature.flip { padding: 48px 48px 0 0; }
  .feature.flip .text { order: 2; }
  .feature .shot .phone { max-height: 500px; }
  .feature .shot.wide { padding-left: 24px; }
  .feature.flip .shot.wide { padding-left: 0; padding-right: 24px; }
}

/* --- small facts grid ("I jeszcze") and roadmap */
.grid { display: grid; gap: 12px; margin-top: 32px; }
.grid.tight { margin-top: 24px; }
.section-head.roadmap { margin-top: 56px; }
.grid li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: grid; gap: 10px; align-content: start; }
.grid .tileicon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--m, var(--ink-soft)) 14%, transparent); color: var(--m, var(--ink-soft)); }
.grid b { font-size: 17px; font-weight: 600; line-height: 22px; }
.grid p { color: var(--ink-soft); font-size: 15px; line-height: 22px; }
.grid .soon { justify-self: start; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--sunken); border-radius: 999px; padding: 3px 10px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } .grid.four { grid-template-columns: repeat(4, 1fr); } }

/* --- devices section */
.devices { margin-top: 40px; display: grid; gap: 24px; }
.devices .board { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 32px 24px 0; display: grid; gap: 24px; }
.devices .board .tablet { max-height: 420px; overflow: hidden; border-radius: 26px 26px 0 0; box-shadow: none; margin: 0 auto; }
.devices .board .text { position: relative; display: grid; gap: 14px; justify-items: start; }
.devices .board .tablet { position: relative; }
.devices .board p { color: var(--ink-soft); font-size: 17px; line-height: 26px; max-width: 560px; }
.devices .mobile { background: var(--ink); color: var(--surface); border-radius: 28px; padding: 32px 24px; display: grid; gap: 20px; align-content: start; }
.devices .mobile h3 { font-size: 24px; line-height: 30px; letter-spacing: -0.4px; font-weight: 600; }
.devices .mobile p { color: rgba(255, 255, 255, .72); font-size: 16px; line-height: 24px; }
.devices .mobile ul { display: grid; gap: 10px; }
.devices .mobile li { display: flex; gap: 10px; font-size: 15px; line-height: 22px; color: rgba(255, 255, 255, .86); }
.devices .mobile li .icon { flex: none; width: 20px; height: 20px; color: var(--mint); }
.devices .web { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 32px 24px; display: grid; gap: 16px; align-content: start; justify-items: start; }
.devices .web h3 { font-size: 24px; line-height: 30px; letter-spacing: -0.4px; font-weight: 600; }
.devices .web p { color: var(--ink-soft); font-size: 16px; line-height: 24px; }
.devices .web code { font: 600 15px/1 Inter, sans-serif; color: var(--ink); background: var(--sunken); padding: 6px 10px; border-radius: 8px; }
@media (min-width: 900px) {
  .devices { grid-template-columns: repeat(2, 1fr); }
  .devices .board { grid-column: 1 / -1; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: end; padding: 48px 0 0 48px; }
  .devices .board .text { padding-bottom: 48px; }
  .devices .board .tablet { max-height: 460px; }
}

/* --- Premium: two plan cards, gold ONLY on the Premium one */
.plans { display: grid; gap: 16px; margin-top: 40px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px 24px; display: grid; gap: 20px; align-content: start; }
.plan.premium { border-color: var(--premium); box-shadow: 0 0 0 4px var(--premium-soft); }
.plan .name { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan h3 { font-size: 24px; line-height: 30px; letter-spacing: -0.4px; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.plan .crown { width: 36px; height: 36px; border-radius: 10px; background: var(--premium-soft); color: var(--premium); display: grid; place-items: center; }
.plan .crown .icon { width: 20px; height: 20px; }
.plan .price { display: grid; gap: 4px; }
.plan .price b { font-size: 36px; line-height: 42px; letter-spacing: -0.8px; font-weight: 700; font-variant-numeric: tabular-nums; }
.plan .price b small { font-size: 16px; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; margin-left: 4px; }
.plan .price span { color: var(--ink-soft); font-size: 14px; line-height: 20px; }
.plan .yearly { display: inline-flex; align-items: center; gap: 8px; justify-self: start; background: var(--premium-soft); color: var(--premium-ink); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.plan ul { display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 15px; line-height: 22px; color: var(--ink-soft); }
.plan li .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--success); }
.plan li.off { color: var(--ink-soft); }
.plan li.off .icon { color: var(--muted); }
.plan .note { font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.plan .who { display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px; background: var(--sunken); font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.plan .who b { color: var(--ink); font-weight: 600; }
.premium-facts { display: grid; gap: 12px; margin-top: 16px; }
.premium-facts li { display: flex; gap: 12px; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; line-height: 22px; color: var(--ink-soft); }
.premium-facts li .icon { flex: none; width: 22px; height: 22px; color: var(--ink); margin-top: 1px; }
.premium-facts b { color: var(--ink); font-weight: 600; }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(2, 1fr); } .premium-facts { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .plan { padding: 32px; } }

/* --- privacy */
.privacy { margin-top: 40px; display: grid; gap: 24px; background: var(--ink); color: var(--surface); border-radius: 28px; padding: 36px 24px; }
.privacy .intro { display: grid; gap: 14px; justify-items: start; }
.privacy h2 { color: var(--surface); }
.privacy .intro p { color: rgba(255, 255, 255, .72); font-size: 17px; line-height: 26px; }
.privacy ul { display: grid; gap: 12px; }
.privacy li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.privacy li .tileicon { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: var(--surface); }
.privacy li .tileicon .icon { width: 20px; height: 20px; }
.privacy li b { display: block; font-size: 16px; font-weight: 600; line-height: 22px; }
.privacy li p { color: rgba(255, 255, 255, .72); font-size: 14px; line-height: 20px; margin-top: 2px; }
.privacy .intro .btn-outline { background: transparent; color: var(--surface); border-color: rgba(255, 255, 255, .3); }
.privacy .intro .btn-outline:hover { border-color: var(--surface); }
@media (min-width: 900px) { .privacy { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 48px; padding: 56px; } .privacy ul { grid-template-columns: repeat(2, 1fr); } }

/* --- FAQ (no JS: <details>) */
.faq { margin-top: 40px; max-width: 760px; margin-left: auto; margin-right: auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 17px; font-weight: 600; line-height: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; width: 20px; height: 20px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-soft); font-size: 15px; line-height: 23px; max-width: 640px; }
.faq details p + p { margin-top: -8px; }

/* --- final CTA */
.final { position: relative; overflow: hidden; margin-top: 80px; padding: 72px 0 80px; text-align: center; }
.final .tile.sun { width: 240px; height: 300px; left: -150px; bottom: -170px; }
.final .tile.coral { width: 240px; height: 160px; right: -150px; top: -80px; }
.final .tile.mint { display: none; }
@media (min-width: 900px) {
  .final .tile.sun { width: 320px; height: 420px; left: -120px; bottom: -220px; }
  .final .tile.coral { width: 360px; height: 220px; right: -120px; top: -100px; }
  .final .tile.mint { display: block; width: 300px; height: 240px; right: 10%; bottom: -170px; }
}
.final .container { position: relative; display: grid; gap: 20px; justify-items: center; }
.final .symbol { width: 72px; height: 72px; }
.final h2 { font-size: 36px; line-height: 42px; letter-spacing: -0.8px; text-wrap: balance; }
.final p { color: var(--ink-soft); font-size: 18px; line-height: 28px; max-width: 520px; }
.final .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.final .stores { justify-content: center; }
@media (min-width: 900px) { .final h2 { font-size: 44px; line-height: 50px; letter-spacing: -1.2px; } }

/* --- footer */
.foot { border-top: 1px solid var(--line); background: var(--surface); padding: 40px 0 48px; }
.foot .container { display: grid; gap: 28px; }
.foot .brand { display: grid; gap: 12px; justify-items: start; }
.foot .brand img { height: 28px; width: auto; }
.foot .brand p { color: var(--ink-soft); font-size: 14px; line-height: 20px; max-width: 320px; }
.foot .cols { display: grid; gap: 24px; }
.foot h3 { font-size: 13px; font-weight: 600; color: var(--ink-soft); letter-spacing: .2px; margin-bottom: 12px; }
.foot .cols ul { display: grid; gap: 8px; }
.foot .cols a { color: var(--ink-soft); font-size: 15px; }
.foot .cols a:hover { color: var(--ink); }
.foot .legal { color: var(--ink-soft); font-size: 13px; line-height: 20px; border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; }
@media (min-width: 640px) { .foot .cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .foot .cols { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .foot .container { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } .foot .legal { grid-column: 1 / -1; } }

/* anchors land below the sticky header */
[id] { scroll-margin-top: 84px; }

/* "Więcej o ..." under a feature block: a text link to its topic page */
.feature .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--accent); }
.feature .more .icon { width: 16px; height: 16px; }

/* --- topic pages (kalendarz-rodzinny.html ...; generated by scripts/landing-pages.mjs). --m = the module colour. */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; }
.crumbs [aria-hidden] { color: var(--muted); }
.crumbs a { color: var(--ink-soft); }
.topic-hero .copy { max-width: 620px; }
.topic-hero h1 { font-size: 38px; line-height: 1.12; letter-spacing: -1px; }
.topic-hero .cta { align-items: center; }
.topic-shot { display: flex; justify-content: center; position: relative; padding-bottom: 8px; }
.topic-shot::before { content: ""; position: absolute; inset: 40px 0 -40px; background: color-mix(in srgb, var(--m) 10%, transparent); border-radius: 40px; }
.topic-shot .phone { position: relative; width: 250px; }
@media (min-width: 900px) {
  .topic-hero h1 { font-size: 48px; letter-spacing: -1.4px; }
  .topic-hero .container { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
  .topic-shot .phone { width: 280px; }
}
.topic-body { padding-top: 64px; }
.prose { max-width: 760px; margin: 0 auto; display: grid; gap: 40px; }
.prose section { display: grid; gap: 14px; }
.prose h2 { font-size: 28px; line-height: 34px; letter-spacing: -0.5px; font-weight: 600; text-wrap: balance; }
.prose p { color: var(--ink-soft); font-size: 17px; line-height: 28px; }
.prose .points { display: grid; gap: 10px; }
.prose .points li { display: flex; gap: 10px; color: var(--ink-soft); font-size: 17px; line-height: 26px; }
.prose .points .icon { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--m); }
.topic-wide { margin: 0; }
.topic-wide .tablet { box-shadow: 0 20px 50px rgba(21, 22, 28, .10); }
.topic-note { display: flex; gap: 12px; padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; line-height: 23px; }
.topic-note .icon { flex: none; width: 22px; height: 22px; color: var(--premium); margin-top: 1px; }
.topic-note b { color: var(--ink); font-weight: 600; }
.related { display: grid; gap: 12px; margin-top: 28px; }
.related a { display: grid; gap: 6px; height: 100%; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--m); color: var(--ink-soft); font-size: 15px; line-height: 22px; text-decoration: none; }
.related a:hover { border-color: var(--muted); border-top-color: var(--m); text-decoration: none; }
.related b { color: var(--ink); font-size: 17px; font-weight: 600; }
@media (min-width: 640px) { .related { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .related { grid-template-columns: repeat(3, 1fr); } }

/* --- guides (/poradnik/...; generated by scripts/landing-pages.mjs from scripts/landing-guides.mjs) */
.guide-layout { display: grid; gap: 28px; padding-top: 40px; }
.guide-head { display: grid; gap: 14px; max-width: 900px; }
.guide-head h1 { font-size: 34px; line-height: 1.15; letter-spacing: -0.8px; font-weight: 600; text-wrap: balance; }
.guide-meta { font-size: 14px; color: var(--ink-soft); }
.guide-article { max-width: 760px; margin: 0; }
.guide-side { display: grid; gap: 16px; align-content: start; }
.guide-cta { display: none; }
@media (min-width: 1024px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr) 300px; column-gap: 64px; row-gap: 40px; padding-top: 56px; }
  .guide-head { grid-column: 1 / -1; }
  .guide-head h1 { font-size: 46px; letter-spacing: -1.3px; }
  .guide-side { grid-column: 2; grid-row: 2; position: sticky; top: 92px; }
  .guide-article { grid-column: 1; grid-row: 2; }
  .guide-cta { display: grid; gap: 10px; justify-items: start; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--m); }
  .guide-cta img { width: 40px; height: 40px; }
  .guide-cta b { font-size: 17px; font-weight: 600; }
  .guide-cta p { font-size: 14px; line-height: 21px; color: var(--ink-soft); }
  .guide-cta .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--accent); }
  .guide-cta .more .icon { width: 16px; height: 16px; }
}
.guide-toc { padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; }
.guide-toc b { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.guide-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.guide-toc a { color: var(--ink); font-size: 15px; line-height: 21px; }
.guide-toc a:hover { color: var(--accent); }
.prose ol.steps { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.prose ol.steps li { color: var(--ink-soft); font-size: 17px; line-height: 26px; }
.prose .faq { margin: 4px 0 0; max-width: none; } /* auto margins would shrink it inside the grid */
.guide-box { display: grid; gap: 12px; justify-items: start; padding: 22px; border-radius: 18px; background: color-mix(in srgb, var(--m) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--m) 30%, transparent); }
.guide-box .eyebrow i { background: var(--m); }
.guide-box p { color: var(--ink); font-size: 16px; line-height: 25px; }
.guide-box .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--accent); }
.guide-box .more .icon { width: 16px; height: 16px; }
.related small { color: var(--ink-soft); font-size: 13px; }
.guide-hub { padding-bottom: 32px; }

/* Links inside running text are underlined, not only coloured (WCAG 1.4.1). */
.prose p a, .topic-note a, .section-head .lede a, .faq details p a, .guide-box p a { text-decoration: underline; text-underline-offset: 2px; }
