:root {
  --paper: #f6f8f4;
  --surface: #ffffff;
  --ink: #12343b;
  --ink-soft: #3d5a5f;
  --muted: #5f716d;
  --line: #d7e0dc;
  --pencil: #f2c230;
  --pencil-ink: #2a2305;
  --pencil-soft: #fbefc4;
  --redpen: #c8412f;
  --go: #2f7d5b;
  --board: #12343b;
  --board-text: #eef4f1;
  --board-muted: #a9c0bb;
  --shadow: 0 1px 2px rgb(18 52 59 / .08), 0 12px 32px -12px rgb(18 52 59 / .25);

  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0e1c1f;
    --surface: #152a2e;
    --ink: #e7efec;
    --ink-soft: #c3d3cf;
    --muted: #9ab0ab;
    --line: #2a4247;
    --pencil: #f2c230;
    --pencil-ink: #2a2305;
    --pencil-soft: #3a3312;
    --redpen: #f0735f;
    --go: #6cc79d;
    --board: #0a1517;
    --board-text: #eef4f1;
    --board-muted: #9ab0ab;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 16px 36px -14px rgb(0 0 0 / .7);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0e1c1f;
  --surface: #152a2e;
  --ink: #e7efec;
  --ink-soft: #c3d3cf;
  --muted: #9ab0ab;
  --line: #2a4247;
  --pencil: #f2c230;
  --pencil-ink: #2a2305;
  --pencil-soft: #3a3312;
  --redpen: #f0735f;
  --go: #6cc79d;
  --board: #0a1517;
  --board-text: #eef4f1;
  --board-muted: #9ab0ab;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 16px 36px -14px rgb(0 0 0 / .7);
}

/* Language switching: every translatable phrase exists as lang="en", lang="pl" and lang="es" (the built pages keep only
   their own; this covers the bilingual source). */
:root[data-lang="pl"] span[lang="en"], :root[data-lang="es"] span[lang="en"],
:root:not([data-lang="pl"]) span[lang="pl"], :root:not([data-lang="es"]) span[lang="es"] { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--pencil); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; text-wrap: balance; margin: 0; letter-spacing: -0.015em; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0; }
.eyebrow {
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--pencil); border-radius: 2px; }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 62ch; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

/* Header */
header.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); display: grid; place-items: center; }
.brand-mark svg { display: block; }
nav.links { display: flex; gap: 22px; font-size: 15px; }
nav.links a { text-decoration: none; color: var(--ink-soft); }
nav.links a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--pencil); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.lang-switch { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px; font-family: var(--f-mono); font-size: 13px; font-weight: 600; }
.lang-switch button {
  appearance: none; border: 0; background: transparent; color: var(--ink); cursor: pointer;
  padding: 5px 11px; border-radius: 999px; font: inherit; letter-spacing: .04em;
}
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.lang-switch a { color: var(--ink); text-decoration: none; padding: 5px 11px; border-radius: 999px; letter-spacing: .04em; }
.lang-switch a[aria-current="page"] { background: var(--ink); color: var(--paper); }
@media (max-width: 820px) { nav.links { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700;
  padding: 13px 20px; border-radius: 10px; font-size: 16px; border: 2px solid var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--pencil); color: var(--pencil-ink); border-color: var(--pencil); box-shadow: 0 3px 0 color-mix(in srgb, var(--pencil) 55%, #000); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 0 color-mix(in srgb, var(--pencil) 55%, #000); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--surface); }

/* Hero */
.hero { padding-block: 64px 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6.4vw, 74px); font-weight: 800; margin-block: 18px 22px; }
.hero h1 .hl { background: linear-gradient(transparent 62%, var(--pencil) 62%, var(--pencil) 92%, transparent 92%); padding-inline: 2px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: 14.5px; color: var(--muted); }
.hero .facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero .facts span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--go); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 44px; } .hero { padding-block: 40px 56px; } }

/* Hero visual: ID card + check-in log */
.desk { position: relative; display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; align-items: flex-start; }
.badge-hang { display: grid; justify-items: center; width: 220px; max-width: 100%; transform: rotate(-3deg); transform-origin: top center; }
.lanyard { width: 120px; height: 70px; display: block; }
.idcard {
  width: 100%; aspect-ratio: 2.125 / 3.375; margin-top: -6px;
  background: var(--surface); border-radius: 14px; box-shadow: var(--shadow);
  border: 1px solid var(--line); position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.idcard .slot { height: 12%; width: 100%; display: grid; place-items: center; background: var(--ink); }
.idcard .slot span { width: 34%; height: 22%; min-height: 8px; border-radius: 99px; background: var(--paper); box-shadow: inset 0 1px 2px rgb(0 0 0 / .35); }
.idcard .band { width: 100%; background: var(--ink); color: var(--paper); padding: 2px 10px 9px; font-family: var(--f-display); font-weight: 700; font-size: 15px; line-height: 1.2; }
.idcard .band .mono { display: block; font-size: 10.5px; font-weight: 400; opacity: .8; }
.idcard .photo { width: 52%; aspect-ratio: 4 / 5; margin-top: 12px; border-radius: 8px; background: linear-gradient(160deg, var(--pencil-soft), color-mix(in srgb, var(--pencil) 45%, var(--surface))); position: relative; overflow: hidden; }
.idcard .photo svg { position: absolute; inset: auto 0 0 0; width: 100%; height: 88%; }
.idcard .who { padding: 8px 10px 0; display: grid; gap: 1px; }
.idcard .who strong { font-family: var(--f-display); font-size: 26px; line-height: 1; letter-spacing: -0.02em; }
.idcard .who .last { font-size: 14px; font-weight: 700; }
.idcard .who .meta { font-size: 12px; color: var(--muted); }
.idcard .who .teacher { font-size: 11.5px; color: var(--ink-soft); margin-top: 2px; }
.idcard .qr { width: 44%; margin-top: auto; margin-bottom: 12px; }
.idcard .qr canvas { width: 100%; height: auto; display: block; image-rendering: pixelated; background: #fff; border-radius: 4px; padding: 5px; }
.badge-note { margin-top: 12px; font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); transform: rotate(3deg); }
.sample-tag { position: absolute; top: 14%; right: -6px; background: var(--redpen); color: #fff; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; transform: rotate(6deg); z-index: 2; }

.log {
  width: min(100%, 360px); flex: 1 1 300px; margin-top: 70px; background: var(--board); color: var(--board-text); border-radius: 14px;
  padding: 14px 16px 10px; box-shadow: var(--shadow); font-size: 14px;
}
.log-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid color-mix(in srgb, var(--board-text) 15%, transparent); padding-bottom: 8px; margin-bottom: 4px; }
.log-head strong { font-family: var(--f-display); font-size: 15px; }
.log-head .mono { color: var(--board-muted); font-size: 12px; }
.log ol { list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px dashed color-mix(in srgb, var(--board-text) 12%, transparent); }
.log li:last-child { border-bottom: 0; }
.log .t { font-family: var(--f-mono); font-variant-numeric: tabular-nums; color: var(--board-muted); }
.log .cls { color: var(--board-muted); font-size: 12.5px; margin-left: 6px; }
.pill { font-family: var(--f-mono); font-size: 11.5px; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.pill.in { background: color-mix(in srgb, #6cc79d 22%, transparent); color: #9fe0c0; }
.pill.late { background: color-mix(in srgb, #f0735f 25%, transparent); color: #ffb3a6; }
.pill.wait { background: color-mix(in srgb, var(--board-text) 12%, transparent); color: var(--board-muted); }
.log li.fresh { animation: scan 2.4s ease-out 0.6s both; }
@keyframes scan { 0% { background: color-mix(in srgb, #f2c230 30%, transparent); } 100% { background: transparent; } }

/* Sections */
section.block { padding-block: 88px; border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: 16px; margin-bottom: 44px; max-width: 760px; }

/* A school day: a real sequence by time */
.day { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.day::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px); opacity: .35; }
.moment { position: relative; padding-right: 26px; display: grid; gap: 10px; align-content: start; }
.moment .clock { font-family: var(--f-mono); font-weight: 600; font-size: 15px; background: var(--paper); justify-self: start; padding: 5px 10px 5px 0; position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; }
.moment .clock::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--pencil); border: 3px solid var(--ink); }
.moment .role { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.moment p { color: var(--ink-soft); font-size: 16px; }
@media (max-width: 860px) {
  .day { grid-template-columns: 1fr; gap: 28px; padding-left: 8px; }
  .day::before { left: 14px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 8px, transparent 8px 14px); }
  .moment { padding-right: 0; }
}

/* Registration year */
.reg-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.season { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.season-scale { overflow-x: auto; }
.season-bar { display: grid; grid-template-columns: 30fr 14fr 26fr; min-width: 560px; gap: 6px; }
.seg { border-radius: 10px; padding: 16px 16px 14px; display: grid; gap: 6px; align-content: start; min-height: 150px; }
.seg .dates { font-family: var(--f-mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.seg h3 { font-size: 19px; }
.seg p { font-size: 14.5px; line-height: 1.45; }
.seg.priority { background: var(--ink); color: var(--paper); }
.seg.priority .dates, .seg.priority p { color: color-mix(in srgb, var(--paper) 82%, var(--ink)); }
.seg.gap { background: repeating-linear-gradient(135deg, var(--pencil-soft) 0 10px, transparent 10px 20px); border: 1.5px dashed color-mix(in srgb, var(--pencil) 70%, var(--ink)); color: var(--ink); }
.seg.open { background: var(--pencil); color: var(--pencil-ink); position: relative; }
.seg.open::after { content: ""; position: absolute; right: -14px; top: 50%; translate: 0 -50%; border: 14px solid transparent; border-left-color: var(--pencil); border-right: 0; }
.season-legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--muted); font-family: var(--f-mono); }
.reg-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.reg-points > div { display: grid; gap: 8px; align-content: start; }
.reg-points p { color: var(--ink-soft); font-size: 16px; }
.receipt { font-family: var(--f-mono); font-size: 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin-top: 8px; display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.receipt div { display: flex; justify-content: space-between; gap: 12px; }
.receipt .total { border-top: 1px dashed var(--line); padding-top: 6px; font-weight: 600; }
@media (max-width: 860px) { .reg-points { grid-template-columns: 1fr; gap: 26px; } }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 2px solid var(--ink); }
.role-col { padding: 22px 22px 26px 0; display: grid; gap: 10px; align-content: start; border-bottom: 1px solid var(--line); }
.role-col + .role-col { padding-left: 22px; border-left: 1px solid var(--line); }
.role-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 15.5px; color: var(--ink-soft); }
.role-col li { padding-left: 16px; position: relative; }
.role-col li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 2px; background: var(--ink); }
.role-col .tag { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
@media (max-width: 1000px) { .role-col + .role-col { padding-left: 0; border-left: 0; } .role-col { padding-right: 0; } }

/* Each language */
.bilingual { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.note-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 20px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.note-card .flag { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); display: flex; justify-content: space-between; }
.note-card .date { font-family: var(--f-mono); font-size: 14px; font-variant-numeric: tabular-nums; background: var(--pencil-soft); color: var(--ink); padding: 3px 8px; border-radius: 6px; justify-self: start; }
.note-card h3 { font-size: 22px; }
.note-card p { color: var(--ink-soft); font-size: 16px; }
.note-card .fee { font-family: var(--f-mono); font-size: 14px; color: var(--ink); }
.formats { margin-top: 26px; overflow-x: auto; }
.formats table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; }
.formats th, .formats td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); }
.formats th { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.formats td.mono { font-size: 14.5px; }
@media (max-width: 960px) { .bilingual { grid-template-columns: 1fr; } }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1.5px solid var(--ink); border-radius: 16px; overflow: hidden; }
.trust > div { padding: 26px; display: grid; gap: 8px; align-content: start; background: var(--surface); }
.trust > div:nth-child(odd) { border-right: 1px solid var(--line); }
.trust > div:not(:nth-last-child(-n+2)) { border-bottom: 1px solid var(--line); }
.trust p { color: var(--ink-soft); font-size: 16px; }
@media (max-width: 760px) {
  .trust { grid-template-columns: 1fr; }
  .trust > div:nth-child(odd) { border-right: 0; }
  .trust > div:not(:last-child) { border-bottom: 1px solid var(--line); }
}

/* Closing */
.closing { background: var(--board); color: var(--board-text); border-radius: 22px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.closing h2 { color: var(--board-text); }
.closing p { color: var(--board-muted); margin-top: 14px; font-size: 18px; }
.closing .cta { display: grid; gap: 12px; justify-items: start; }
.closing .btn-ghost { color: var(--board-text); border-color: color-mix(in srgb, var(--board-text) 60%, transparent); }
.closing .btn-ghost:hover { background: color-mix(in srgb, var(--board-text) 10%, transparent); }
.closing .addr { font-family: var(--f-mono); font-size: 13.5px; color: var(--board-muted); }
@media (max-width: 820px) { .closing { grid-template-columns: 1fr; } }

footer { padding-block: 40px 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ─── Additions for the public site ─────────────────────────────────────────── */
.skip { position: absolute; left: -9999px; top: 8px; background: var(--pencil); color: var(--pencil-ink); padding: 8px 14px; border-radius: 8px; z-index: 20; font-weight: 700; }
.skip:focus { left: 12px; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.btn-sm { padding: 8px 14px; font-size: 14.5px; border-radius: 9px; }
@media (max-width: 560px) { .top-actions .btn-sm { display: none; } }
.lanyard path { stroke: var(--pencil); }
.lanyard rect { fill: var(--muted); }
section.flush { border-top: 0; padding-top: 0; }
section[id] { scroll-margin-top: 72px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 20px; display: grid; gap: 10px; align-content: start; }
.feature .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--pencil-soft); color: var(--ink); display: grid; place-items: center; }
.feature .ic svg { width: 22px; height: 22px; }
.feature p { color: var(--ink-soft); font-size: 15.5px; }
.feature ul { margin: 2px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 14.5px; color: var(--muted); }
.feature li { padding-left: 14px; position: relative; }
.feature li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 2px; background: var(--go); }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }

/* Getting started */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.step { padding: 24px 24px 8px 0; display: grid; gap: 10px; align-content: start; counter-increment: step; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--f-mono); font-weight: 600; font-size: 14px; color: var(--muted); }
.step p { color: var(--ink-soft); font-size: 16px; }
.step code { font-family: var(--f-mono); font-size: 14px; background: var(--pencil-soft); padding: 1px 6px; border-radius: 5px; overflow-wrap: anywhere; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } .step { padding-bottom: 20px; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-family: var(--f-display); font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font-family: var(--f-mono); font-size: 22px; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 18px; color: var(--ink-soft); font-size: 16px; }

/* Contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-side { display: grid; gap: 18px; }
.contact-side .direct { font-family: var(--f-mono); font-size: 15px; }
.contact-side .direct a { text-decoration-color: var(--pencil); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.contact-side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-soft); font-size: 16px; }
.contact-side li { padding-left: 26px; position: relative; }
.contact-side li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 8px; border-left: 2.5px solid var(--go); border-bottom: 2.5px solid var(--go); rotate: -45deg; }
form.inquiry { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 32px); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
form.inquiry .full { grid-column: 1 / -1; }
form.inquiry label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; align-content: start; }
form.inquiry .lbl { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
form.inquiry .opt { font-weight: 400; color: var(--muted); font-size: 13.5px; }
form.inquiry input, form.inquiry select, form.inquiry textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%;
}
form.inquiry textarea { min-height: 130px; resize: vertical; }
form.inquiry input:focus, form.inquiry select:focus, form.inquiry textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pencil) 55%, transparent); }
form.inquiry .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
form.inquiry .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
form.inquiry button.btn { cursor: pointer; font-family: inherit; }
form.inquiry button[disabled] { opacity: .6; cursor: progress; }
form.inquiry .fine { font-size: 13.5px; color: var(--muted); }
.form-status { border-radius: 12px; padding: 14px 16px; font-size: 15.5px; }
.form-status[hidden] { display: none; }
.form-status.ok { background: color-mix(in srgb, var(--go) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--go) 45%, transparent); }
.form-status.err { background: color-mix(in srgb, var(--redpen) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--redpen) 45%, transparent); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { form.inquiry { grid-template-columns: 1fr; } }

footer .links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { text-decoration-color: var(--line); text-underline-offset: 3px; }

/* Whole blocks in one language (legal pages): class="l-en" / "l-pl" / "l-es". */
:root[data-lang="pl"] .l-en, :root[data-lang="es"] .l-en,
:root:not([data-lang="pl"]) .l-pl, :root:not([data-lang="es"]) .l-es { display: none !important; }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.price-card { background: var(--surface); border: 2px solid var(--ink); border-radius: 18px; padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow); display: grid; gap: 14px; }
.price-card .amount { font-family: var(--f-display); font-weight: 800; font-size: clamp(44px, 7vw, 60px); line-height: 1; }
.price-card .amount small { font-size: 18px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.price-card .trial { display: inline-block; background: var(--pencil-soft); border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: 14.5px; justify-self: start; }
.price-card ul, .signup-side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-soft); font-size: 16px; }
.price-card li, .signup-side li { padding-left: 26px; position: relative; }
.price-card li::before, .signup-side li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 8px; border-left: 2.5px solid var(--go); border-bottom: 2.5px solid var(--go); rotate: -45deg; }
.price-card .fine { font-size: 13.5px; color: var(--muted); }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; gap: 28px; } }

/* Signup */
.signup { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; padding-block: 48px 72px; }
.signup-side { display: grid; gap: 18px; }
.signup-side .amount { font-family: var(--f-display); font-weight: 800; font-size: 40px; line-height: 1; }
.signup-side .amount small { font-size: 16px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.stepper { display: flex; gap: 8px; margin: 0 0 4px; padding: 0; list-style: none; font-family: var(--f-mono); font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.stepper li { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.stepper li[aria-current="step"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.panel[hidden] { display: none !important; }
.addr-field { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); overflow: hidden; }
.addr-field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pencil) 55%, transparent); }
form.inquiry .addr-field input { border: 0; border-radius: 0; box-shadow: none !important; min-width: 0; }
.addr-field .suffix { display: flex; align-items: center; padding: 0 12px; font-family: var(--f-mono); font-size: 13.5px; color: var(--muted); border-left: 1px solid var(--line); white-space: nowrap; }
.avail { font-weight: 400; font-size: 14px; min-height: 1.3em; }
.avail.ok { color: var(--go); }
.avail.bad { color: var(--redpen); }
form.inquiry label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
form.inquiry label.check input { width: auto; margin-top: 3px; }
form.inquiry input.code { font-family: var(--f-mono); font-size: 26px; letter-spacing: .3em; text-align: center; max-width: 240px; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.done-box { display: grid; gap: 14px; }
.spinner { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
@media (max-width: 900px) { .signup { grid-template-columns: 1fr; gap: 28px; padding-block: 28px 56px; } .addr-field .suffix { font-size: 12px; padding: 0 8px; } }

/* Legal pages */
.legal { max-width: 780px; padding-block: 48px 72px; }
.legal h1 { font-family: var(--f-display); font-size: clamp(32px, 5vw, 44px); line-height: 1.1; margin: 0 0 8px; }
.legal h2 { font-family: var(--f-display); font-size: 22px; margin: 34px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16.5px; }
.legal .meta { color: var(--muted); font-size: 14.5px; }
.legal .note { background: var(--pencil-soft); border-radius: 12px; padding: 12px 16px; color: var(--ink); font-size: 15px; }

.signup-title { font-family: var(--f-display); font-size: clamp(32px, 5vw, 46px); line-height: 1.05; margin: 0; }
.lede.small { font-size: 16px; }
.panel-title { font-family: var(--f-display); margin: 0 0 6px; }
.panel-text { margin: 0; color: var(--ink-soft); }
.panel-text.fine { color: var(--muted); font-size: 14px; }
.card-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 32px); box-shadow: var(--shadow); }
.form-status.spaced { margin-top: 14px; }

.invite { display: grid; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--pencil-soft); }
.invite[hidden] { display: none !important; }

/* Page not found (404/index.html): a red-pen code with a pencil underline. */
.oops { padding-block: 64px 96px; display: grid; gap: 18px; justify-items: start; min-height: 62vh; align-content: center; }
.oops-code { font-family: var(--f-display); font-weight: 800; font-size: clamp(96px, 20vw, 176px); line-height: .9; letter-spacing: -0.05em; color: var(--redpen); }
.oops-code::after { content: ""; display: block; width: 72%; height: 7px; margin-top: 10px; background: var(--pencil); border-radius: 4px; transform: rotate(-2deg); }
.oops h1 { font-size: clamp(32px, 5.2vw, 54px); font-weight: 800; max-width: 18ch; }
.oops-hint { color: var(--muted); font-size: 15.5px; max-width: 62ch; overflow-wrap: anywhere; }
.oops-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
