/* PDFkivonat — a NYILVÁNOS oldalak stílusa (landing, ÁSZF, Adatkezelés; → docs/landing.md).
   Az alkalmazás (app.html) a Tabler + styles.css-en marad; ide csak a publikus arculat kerül.
   Színek: a logóé (→ docs/brand.md). Betű: IBM Plex Sans saját szerverről (a logó betűje; OFL). */

@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/vendor/fonts/ibm-plex-sans-latin-ext-400.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: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/vendor/fonts/ibm-plex-sans-latin-400.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: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/vendor/fonts/ibm-plex-sans-latin-ext-500.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: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/vendor/fonts/ibm-plex-sans-latin-500.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: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/vendor/fonts/ibm-plex-sans-latin-ext-600.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: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/vendor/fonts/ibm-plex-sans-latin-600.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: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/vendor/fonts/ibm-plex-sans-latin-ext-700.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: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/vendor/fonts/ibm-plex-sans-latin-700.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 {
  --ink: #14202e; --ink-2: #3c4a5a; --muted: #5d6b79;
  --paper: #f5f7f6; --surface: #ffffff; --line: #dde4e1; --line-2: #eaefed;
  --brand: #1c7c54; --brand-dark: #145c3e; --brand-lt: #e8f3ee; --brand-mid: #a8dcc3;
  --debit: #c93f37; --credit: #1c7c54; --warn: #a15c07; --warn-lt: #fdf3e2;
  --radius: 10px;
  --font: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  /* A Tabler-komponensek (cookie-sáv, gombok) a márkaszínt kapják. */
  --tblr-primary: #1c7c54; --tblr-primary-rgb: 28, 124, 84; --tblr-primary-fg: #fff;
  --tblr-link-color: #1c7c54; --tblr-link-color-rgb: 28, 124, 84; --tblr-link-hover-color: #145c3e;
  --tblr-body-font-family: var(--font); --tblr-font-sans-serif: var(--font);
}

/* A Tabler `html, body { height: 100% }`-t ad: ettől a `sticky` fejléc csak az ELSŐ képernyőn ragadt meg,
   utána elgörgött (mérve, 2026-09-17). A nyilvános oldalakon a magasság a tartalomé. */
html:has(body.site), html:has(body.site) body.site { height: auto; min-height: 100%; }
body.site { background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; }
.site a { color: var(--brand); }
.site a:hover { color: var(--brand-dark); }
.site h1, .site h2, .site h3 { color: var(--ink); text-wrap: balance; letter-spacing: -.01em; }
.site :focus-visible { outline: 3px solid rgba(28, 124, 84, .45); outline-offset: 2px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 20px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding-inline: 20px; }

/* ---- Gombok (a Tabler .btn helyett saját, hogy a landing önálló legyen) ---- */
.b { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 1.02rem/1 var(--font);
  padding: .95rem 1.5rem; border-radius: 9px; border: 1px solid transparent; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.site a.b { text-decoration: none; }
.b-primary { background: var(--brand); color: #fff !important; }
.b-primary:hover { background: var(--brand-dark); }
.b-ghost { background: var(--surface); color: var(--ink) !important; border-color: var(--line); }
.b-ghost:hover { border-color: var(--ink-2); }
.b-sm { padding: .7rem 1.15rem; font-size: .95rem; }
.b[disabled] { opacity: .5; cursor: not-allowed; }

/* ---- Fejléc ---- */
/* Görgetés közben is látszik (a tulajdonos kérése, 2026-09-17): `sticky`, és a `position` miatt a
   fölé kerülő tartalom nem takarhatja — ezért kap saját hátteret és árnyékot görgetéskor. */
.site-head { position: sticky; position: -webkit-sticky; top: env(safe-area-inset-top, 0px); z-index: 1020;
  background: rgba(245, 247, 246, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-2);
  box-shadow: 0 1px 0 rgba(20, 32, 46, .04), 0 8px 24px rgba(20, 32, 46, .05); }
.site-head .wrap { display: flex; align-items: center; gap: 1.75rem; height: 72px; }
.site-logo { display: inline-flex; line-height: 0; }
.site-logo img { height: 32px; width: auto; }
.site-nav { display: flex; gap: 1.25rem; margin-right: auto; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 1rem; }
.site-nav a:hover { color: var(--brand); }
.site-head-actions { display: flex; gap: .5rem; align-items: center; }
.site-head-actions .login { color: var(--ink-2); font-weight: 600; text-decoration: none; padding: .6rem .7rem; font-size: 1rem; }
@media (max-width: 860px) { .site-nav { display: none; } .site-head .wrap { justify-content: space-between; } }
@media (max-width: 420px) { .site-head-actions .b { display: none; } }

/* ---- Lábléc ---- */
.site-foot { background: var(--ink); color: #b9c3cc; padding-block: 48px 32px; margin-top: 0; font-size: .9rem; }
.site-foot a { color: #e3e9ee; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .75rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.foot-impresszum dl { display: grid; grid-template-columns: auto 1fr; gap: .15rem .9rem; margin: 0; }
.foot-impresszum dt { color: #8c99a5; font-weight: 400; }
.foot-impresszum dd { margin: 0; }
.foot-bottom { border-top: 1px solid #2a3847; margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  justify-content: space-between; color: #8c99a5; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---- Jogi oldalak ---- */
.legal { padding-block: 48px 72px; }
.legal .crumb { font-size: .875rem; color: var(--muted); margin-bottom: .5rem; }
.legal h1 { font-size: 2.1rem; margin: 0 0 .25rem; }
.legal .effective { color: var(--muted); margin-bottom: 1.5rem; }
.legal .toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem 1rem 2.4rem; margin-bottom: 2rem; }
.legal .toc li { margin: .15rem 0; }
.legal h2 { font-size: 1.25rem; margin: 2.25rem 0 .6rem; scroll-margin-top: 80px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ol.sub, .legal ul.sub { padding-left: 1.3rem; }
.legal ol.sub li, .legal ul.sub li { margin-bottom: .45rem; }
.legal .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin: .75rem 0 1rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 620px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .65rem .8rem; border-bottom: 1px solid var(--line-2); }
.legal th { background: #f0f4f2; font-weight: 600; color: var(--ink); }
.legal tr:last-child td { border-bottom: 0; }
.legal .next { margin-top: 2.5rem; font-weight: 600; }
