/* Wygląd strony klienta ibomate.pro — wariant „B złote”, wybrany przez właściciela 24.09.2026.
   Panel ma swój wygląd w app.css i ten plik go nie dotyka: wczytuje się wyłącznie przy `area === 'site'`,
   a wszystko jest pod `body.area-site`. Zmienne nadpisujemy na `body`, nie na `:root` — dzięki temu
   dziedziczą je tylko elementy strony, a panel zostaje na swoich.

   Czcionki OFL wgrane lokalnie (zmienne woff2): Bricolage Grotesque — nagłówki, DM Sans — tekst.
   Lokalnie, bo `style-src 'self'` i `font-src 'self'` w CSP nie wpuszczają Google Fonts. */

@font-face {
  font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/static/fonts/bricolage-grotesque-latin-wght-normal.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;
}
@font-face {
  font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/static/fonts/bricolage-grotesque-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url(/static/fonts/dm-sans-latin-wght-normal.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;
}
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url(/static/fonts/dm-sans-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

/* ---------- barwy strony ---------- */

body.area-site {
  --bg: #F4F1EA;
  --bg-grad: none;
  --card: #FFFFFF;
  --card-border: #DCD6C8;
  --divider: #E4DFD3;
  --subtle: #EFEBE1;
  --text: #16141C;
  --muted: #55505E;
  --faint: #6B6675;
  --accent: #8A5D12;
  --accent-soft: #EFE6D2;
  --accent-line: #E0D2B0;
  --input-bg: #FFFFFF;
  --input-border: #DAD5C8;
  --btn-gray: #E9E4D8;
  --btn-gray-fg: #3A3644;
  --shadow: 0 18px 44px rgba(22, 20, 28, 0.08);
  --ink: #16141C;
  --gold: #E9C877;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display-font: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  color-scheme: light;
}

/* ---------- pasek u góry ---------- */

.area-site .topbar { background: rgba(244, 241, 234, 0.88); border-bottom: 1px solid var(--divider); }
.area-site .topbar-inner { min-height: 72px; }
.area-site .rhombus { background: var(--ink); border: 0; border-radius: 9px; box-shadow: none; }
.area-site .rhombus .rh-i { fill: var(--gold); }
.area-site .wordmark {
  font: 700 17px/1 var(--display-font); letter-spacing: -0.02em; text-transform: none;
  background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--text);
}
.area-site .site-menu { margin-left: 22px; gap: 2px; }
.area-site .site-menu-link { font: 500 15px/1 var(--sans); color: var(--muted); padding: 9px 12px; }
.area-site .site-menu-link:hover { color: var(--text); background: var(--subtle); }
.area-site .site-menu-link.act { color: var(--text); background: transparent; font-weight: 700; }
.area-site .lang-item { font: 500 13px/1 var(--sans); padding: 7px 11px; border-radius: 999px; }
.area-site .lang-item.current { background: var(--ink); color: var(--gold); }

/* ---------- góra strony ---------- */

/* `.hero` w app.css rozbija się na dwie kolumny od 900 px — tutaj wszystko stoi na jednej osi. */
.area-site .hero-center { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 24px; text-align: center; padding-block: 56px 8px; }
.area-site .hero-center .eyebrow-pill {
  margin: 0; padding: 8px 16px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--accent-line);
  font: 500 13px/1 var(--sans); letter-spacing: 0.02em; text-transform: none; color: #6B5320;
}
.area-site .hero-center .display {
  margin: 0; max-width: 16ch;
  font: 800 clamp(38px, 6.4vw, 72px)/1.02 var(--display-font); letter-spacing: -0.035em;
  background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--text);
}
.area-site .hero-center .lede { margin: 0; max-width: 56ch; font-size: 18px; line-height: 1.6; color: var(--muted); }

/* ---------- pasek logowania: jedno pole na całą szerokość ---------- */

.area-site .login-bar {
  width: min(100%, 860px); margin-top: 10px; padding: 12px; border-radius: 20px; gap: 10px;
  border: 1px solid var(--card-border); box-shadow: var(--shadow); text-align: left;
}
.area-site .login-bar-title { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.area-site .login-bar-row { display: grid; gap: 10px; }
@media (min-width: 760px) {
  .area-site .login-bar-row { grid-template-columns: minmax(0, 1fr) 178px auto; align-items: end; }
  /* cienka kreska oddziela klucz od adresu MAC — dwa pola, jeden pasek */
  .area-site .login-bar-row > .field + .field { border-left: 1px solid var(--divider); padding-left: 18px; }
}
.area-site .login-bar .field { gap: 5px; padding: 8px 8px 8px 14px; }
.area-site .login-bar .field-label { font: 500 12px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.area-site .login-bar .input {
  border: 0; border-radius: 0; padding: 0; min-height: 30px; background: transparent;
  font: 400 19px/1.2 var(--mono); letter-spacing: 0.01em;
}
.area-site .login-bar .input:focus { box-shadow: none; outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.area-site .login-bar .field-hint { display: none; }
.area-site .login-bar .card-note { margin: 2px 6px 4px; color: var(--faint); font-size: 13.5px; }
.area-site .login-bar .btn-primary {
  min-height: 62px; padding-inline: 30px; border-radius: 14px; border: 0;
  background: var(--ink); color: var(--gold); box-shadow: none;
  font: 700 16px/1 var(--sans);
}
.area-site .login-bar .btn-primary:hover { background: #241F2E; color: #F3DCA3; filter: none; }

/* ---------- platformy ---------- */

.area-site .chips { justify-content: center; gap: 8px; margin: 18px 0 0; }
.area-site .chip {
  padding: 7px 14px; border-radius: 999px; border: 0; background: var(--accent-soft);
  color: #3A3644; font: 400 14px/1 var(--sans);
}
.area-site .chips-label { margin: 0; font: 500 13px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }

/* ---------- trzy kroki ---------- */

.area-site .steps { padding-block: 64px 8px; }
.area-site .section-title { font: 700 clamp(26px, 3.2vw, 36px)/1.1 var(--display-font); letter-spacing: -0.025em; margin-bottom: 26px; }
.area-site .steps-list { gap: 30px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.area-site .steps-list li { border: 0; background: transparent; padding: 0; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.area-site .step-num {
  width: auto; height: auto; border-radius: 0; background: none; place-items: start;
  font: 800 52px/0.9 var(--display-font); color: #CFC8B8; letter-spacing: -0.04em;
}
.area-site .steps-list li:last-child .step-num { color: var(--accent); }
.area-site .steps-list h3 { font: 700 18px/1.3 var(--sans); }
.area-site .steps-list p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- kafel zakupu aktywacji ---------- */

.area-site .shop-card { border-color: var(--accent-line); }
.area-site .shop-form { display: grid; gap: 20px; }
.area-site .shop-lead { margin: 0; font-size: 15.5px; line-height: 1.6; }
.area-site .shop-plans { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Kafelek planu: całą powierzchnię da się kliknąć, a kropka radia jest ukryta i zastąpiona
   znacznikiem w rogu — samo radio zostaje w kodzie, żeby działała klawiatura i czytnik ekranu. */
.area-site .shop-plan { cursor: pointer; display: block; }
.area-site .shop-plan input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.area-site .shop-plan-box {
  display: grid; gap: 6px; padding: 20px; border-radius: 16px;
  border: 2px solid var(--divider); background: #FFFFFF; transition: border-color 140ms, box-shadow 140ms;
}
.area-site .shop-plan:hover .shop-plan-box { border-color: #C9C1AE; }
.area-site .shop-plan input:checked + .shop-plan-box { border-color: var(--ink); box-shadow: 0 10px 26px rgba(22, 20, 28, 0.1); }
.area-site .shop-plan input:focus-visible + .shop-plan-box { outline: 2px solid var(--accent); outline-offset: 3px; }
.area-site .shop-plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.area-site .shop-plan-name { font: 500 13px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.area-site .shop-plan-tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #CFC8B8; flex: 0 0 auto; position: relative; }
.area-site .shop-plan input:checked + .shop-plan-box .shop-plan-tick { border-color: var(--ink); background: var(--ink); }
.area-site .shop-plan input:checked + .shop-plan-box .shop-plan-tick::after {
  content: ''; position: absolute; left: 5px; top: 8px; width: 8px; height: 4px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}
.area-site .shop-plan-price { font: 800 34px/1.05 var(--display-font); letter-spacing: -0.03em; color: var(--text); }
.area-site .shop-plan-note { font-size: 14px; line-height: 1.5; color: var(--muted); }

.area-site .shop-consent {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 16px; border-radius: 12px; background: var(--subtle);
  font-size: 14px; line-height: 1.6; color: var(--muted); cursor: pointer;
}
.area-site .shop-consent input { margin-top: 2px; width: 20px; height: 20px; accent-color: var(--ink); cursor: pointer; }
.area-site .shop-form .btn-primary { justify-self: start; min-height: 54px; padding-inline: 34px; border-radius: 14px; font-size: 16px; }
.area-site .shop-soon {
  margin: 0; padding: 15px 18px; border-radius: 12px; background: var(--accent-soft);
  border: 1px solid var(--accent-line); color: #6B5320; font-weight: 500; font-size: 15px;
}
.area-site .shop-card .card-note { margin: 0; font-size: 13.5px; line-height: 1.6; }

/* ---------- zastrzeżenie i stopka ---------- */

.area-site .footer { border-top: 1px solid var(--divider); margin-top: 56px; background: transparent; }
.area-site .footer-inner { padding-block: 26px 34px; gap: 14px; }
.area-site .footer-links a { color: var(--muted); font-size: 14.5px; }
.area-site .footer-links a:hover { color: var(--text); }
.area-site .footer-note { color: var(--faint); font-size: 13px; line-height: 1.6; }

/* ---------- pozostałe strony klienta (pomoc, kontakt, regulamin) ---------- */

.area-site h1 { font-family: var(--display-font); letter-spacing: -0.03em; }
.area-site h2, .area-site h3 { font-family: var(--sans); }
/* app.css maluje karty na stronie ciemnym gradientem (strona była kiedyś ciemna) — cofamy to. */
.area-site .card { background: var(--card); border-radius: 18px; }
.area-site .btn-primary { background: var(--ink); color: var(--gold); border-color: var(--ink); box-shadow: none; }
.area-site .btn-primary:hover { background: #241F2E; color: #F3DCA3; filter: none; }
.area-site .eyebrow { color: var(--accent); }

@media (max-width: 759px) {
  /* W wąskim pasku menu nie zawijało się i wyjeżdżało poza ekran. Na telefonie idzie pod logo
     i łamie się na dwa wiersze — wszystkie odnośniki widoczne od razu, bez przewijania w bok
     (pasek przewijany startował w połowie pierwszego odnośnika). */
  .area-site .topbar-inner { flex-wrap: wrap; min-height: 0; padding-block: 10px; }
  .area-site .site-menu { order: 3; flex: 1 0 100%; margin: 4px 0 0; flex-wrap: wrap; justify-content: center; row-gap: 2px; }
  .area-site .site-menu-link { padding: 8px 10px; }
  .area-site .hero-center { padding-block: 34px 4px; gap: 16px; }
  .area-site .login-bar { padding: 8px; }
  .area-site .login-bar .field { padding: 10px 12px; }
  .area-site .login-bar .btn-primary { min-height: 54px; }
  .area-site .steps { padding-block: 44px 4px; }
}
