:root{
  --bg:#0b1220;
  --card:#0f1a2f;
  --text:#e8eefc;
  --muted:#a8b3cf;
  --line:rgba(255,255,255,.10);
  --btn:#ffffff;
  --btnText:#0b1220;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(74,163,255,.25), transparent 60%),
              radial-gradient(900px 500px at 80% 10%, rgba(255,196,0,.18), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.55;
}

.container{max-width:1080px;margin:0 auto;padding:0 18px}
.muted{color:var(--muted)}
a{color:inherit}

.site-header{
  position:sticky;top:0;z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.70);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0}
.brand{display:flex;gap:12px;align-items:center;text-decoration:none}
.brand-mark{font-size:22px}
.brand-text small{display:block;color:var(--muted);font-weight:500}

.nav{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}
.nav-link{
  text-decoration:none;
  padding:8px 10px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  color:var(--muted);
}
.nav-link:hover{color:var(--text);border-color:rgba(255,255,255,.22)}

.hero{padding:34px 0 14px}
.hero h1{margin:0 0 10px;font-size:34px;letter-spacing:-.4px}
.hero p{margin:0 0 18px;color:var(--muted);max-width:70ch}
.hero .hero-actions{display:flex;gap:12px;flex-wrap:wrap}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;border-radius:12px;
  background:var(--btn);color:var(--btnText);
  text-decoration:none;font-weight:700;border:0;
}
.btn.secondary{
  background:transparent;color:var(--text);
  border:1px solid rgba(255,255,255,.18);
}

.grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:14px;
  padding:14px 0 34px;
}
.card{
  grid-column: span 6;
  background: rgba(15,26,47,.75);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:16px 16px 14px;
  text-decoration:none;
}
.card:hover{border-color:rgba(255,255,255,.22)}
.card h3{margin:0 0 8px;font-size:18px}
.card p{margin:0;color:var(--muted)}

.card.small{grid-column: span 4;}
@media (max-width: 860px){
  .card,.card.small{grid-column: span 12;}
  .hero h1{font-size:28px}
}

.page{
  padding:18px 0 36px;
}
.page h1{margin:0 0 10px;font-size:30px}
.page h2{margin:22px 0 10px;font-size:18px}
.page p, .page li{color:var(--muted)}
.page a.inline{
  color:var(--text);
  text-decoration:underline;
  text-underline-offset:3px;
}

.hr{height:1px;background:var(--line);margin:18px 0}
.site-footer{
  border-top:1px solid var(--line);
  padding:18px 0 28px;
  background: rgba(11,18,32,.55);
}
.footer-inner{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer-cta{max-width:520px}

.nav-link.is-active{
  color: var(--text);
  border-color: rgba(255,255,255,.30);
}

.btn.btn-outline{
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: #e2e8f0;
}
.btn.btn-outline:hover{
  border-color: rgba(255,255,255,.32);
}

/* ===== Index: kalkulátor kártyák ===== */
.service-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 6px;
}

.service-card{
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  text-decoration: none;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.service-card:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.045);
}

.service-ico{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  font-size: 20px;
  flex: 0 0 auto;
}

.service-txt strong{
  display:block;
  color: #e2e8f0;
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 2px;
}

.service-txt span{
  display:block;
  color: #94a3b8;
  font-size: .92rem;
  line-height: 1.3;
}

/* Mobil */
@media (max-width: 820px){
  .service-grid{
    grid-template-columns: 1fr;
  }
}
.service-ico svg{
  width: 22px;
  height: 22px;
  color: #e2e8f0;
}

.service-card:hover .service-ico svg{
  color: #ffffff;
}
/* ===== CTA váltó (oldal alja) ===== */
.cta-switch{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  margin-top:12px;
}

.cta-chip{
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.03);
  color:#cbd5f5;
  font-weight:600;
  font-size:.9rem;
  text-decoration:none;
}

.cta-chip:hover{
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.06);
}

.cta-chip.is-active{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.4);
  color:#ffffff;
}
/* ===== Egységes CTA panel (gomb + váltó egy blokkban) ===== */
.cta-panel{
  max-width: 520px;
  margin: 18px auto 0;
  padding: 16px 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  text-align: center;
}

.cta-panel .cta-main{
  display: inline-flex;
  justify-content: center;
  min-width: 220px;
}

.cta-switch{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:12px;
  flex-wrap:wrap;
}

/* Chip-ek – egységes méret, kevesebb "zaj" */
.cta-chip{
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.02);
  color:#cbd5e1;
  font-weight: 700;
  font-size: .9rem;
  text-decoration:none;
  line-height: 1.1;
}

.cta-chip:hover{
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.06);
}

.cta-chip.is-active{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.36);
  color:#fff;
}
/* ===== Tipó: alap olvashatóság + ritmus ===== */

/* 1) Szövegoszlop szélesség (a container maradhat, csak a page szűkül) */
.container.page{
  max-width: 72ch;          /* olvasószélesség */
  margin-left: auto;
  margin-right: auto;
}

/* 2) Alap szöveg (ritmus) */
.container.page{
  line-height: 1.7;
  letter-spacing: 0.1px;
}

/* 3) Bekezdés ritmus */
.container.page p{
  margin: 0 0 1rem 0;
  color: #cbd5e1;
}

/* 4) Linkek – ne villogjanak, de legyenek egyértelműek */
.container.page a{
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
/* Headline scale + spacing */
.container.page h1{
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.2px;
  margin: 0 0 0.8rem 0;     /* alatta közelebb */
  color: #f1f5f9;
}

.container.page h2{
  font-size: clamp(1.2rem, 1.4vw, 1.45rem);
  line-height: 1.25;
  margin: 1.8rem 0 0.6rem 0; /* előtte nagyobb, alatta kisebb */
  color: #e2e8f0;
}

.container.page h3{
  font-size: 1.05rem;
  line-height: 1.3;
  margin: 1.2rem 0 0.4rem 0;
  color: #e2e8f0;
}
/* Listák olvashatósága */
.container.page ul,
.container.page ol{
  margin: 0 0 1rem 1.1rem;
  padding: 0;
  color: #cbd5e1;
}

.container.page li{
  margin: 0.35rem 0;
}
.hr{
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 1.6rem 0;
}
/* Kártyák tipó */
.card h3{
  margin: 0 0 0.35rem 0;
  line-height: 1.25;
}
.card p{
  margin: 0;
  line-height: 1.55;
  color: #94a3b8;
}
/* Hero tipó finomítás */
.page > h1,
.page > p{
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}
.container.page h1{
  line-height: 1.18;   /* volt ~1.15 */
  margin-bottom: 1rem; /* volt 0.8 */
}
.page > p:first-of-type{
  font-size: 1.05rem;
  line-height: 1.65;
  color: #d1d5db;
}
.price-note{
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: .95rem;
  color: #94a3b8;
}
.trust-inline{
  font-size: .9rem;
  opacity: .9;
}
.container.page h2{
  margin-top: 2.4rem;  /* volt ~1.8 */
}

/* Belső oldalak H1 – fókuszáltabb olvasás */
.page > h1{
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}
/* Lead szöveg belső oldalakon */
.page > p:first-of-type{
  max-width: 52ch;
  margin: 1rem auto 1.4rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #d1d5db;
}
/* CTA blokk levegő */
.cta-panel,
.xxl-hero-cta{
  margin-top: 1.6rem;
  margin-bottom: 1.8rem;
}

.trust-inline{
  font-size: .85rem;
  opacity: .85;
}
.container.page ul{
  margin-top: .8rem;
}

.container.page li{
  margin: .5rem 0;
  line-height: 1.6;
}
.cta-chip{
  font-size: .9rem;
  letter-spacing: .1px;
}
.container.page h1{
  line-height: 1.22;        /* eddig ~1.18 */
  letter-spacing: -0.15px; /* picit lazább */
}
.page > p:first-of-type{
  margin-top: 1.2rem;
  margin-bottom: 1.6rem;
}
.xxl-hero-cta{
  gap: 10px; /* ha flex */
}

.xxl-hero-cta .trust-inline{
  margin-top: 6px;
}
.container.page h2{
  margin-bottom: .8rem;
}
.container.page ul{
  margin-top: .6rem;
}
.cta-switch{
  margin-top: 14px;
}
/* Mobilon a header ne legyen fixed/sticky */
@media (max-width: 820px){
  header,
  .header,
  .site-header{
    position: static !important;
    top: auto !important;
  }

  /* ha volt kompenzáló padding/margin a body-n a fixed header miatt */
  body{
    padding-top: 0 !important;
  }
}
/* ===== Mobil menü polish (chip nav) ===== */
@media (max-width: 820px){

  /* 1) A nav legyen egy sorban, szépen görgethető */
  header nav,
  .header nav,
  .site-header nav,
  .nav{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;          /* Firefox */
    gap: 8px;
  }
  header nav::-webkit-scrollbar,
  .header nav::-webkit-scrollbar,
  .site-header nav::-webkit-scrollbar,
  .nav::-webkit-scrollbar{
    display:none;                   /* Chrome */
  }

  /* 2) Chip-ek egységes mérete + jobb tap target */
  header nav a,
  .header nav a,
  .site-header nav a,
  .nav a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 650;
    font-size: .92rem;
    line-height: 1;
    letter-spacing: .1px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.03);
    color: #e2e8f0;
  }

  /* 3) Hover/active (mobilon inkább “pressed” érzet) */
  header nav a:active,
  .header nav a:active,
  .site-header nav a:active,
  .nav a:active{
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.24);
  }

  /* 4) Aktív menüpont (ha van .is-active / .active / aria-current) */
  header nav a[aria-current="page"],
  header nav a.active,
  header nav a.is-active,
  .header nav a[aria-current="page"],
  .header nav a.active,
  .header nav a.is-active,
  .site-header nav a[aria-current="page"],
  .site-header nav a.active,
  .site-header nav a.is-active,
  .nav a[aria-current="page"],
  .nav a.active,
  .nav a.is-active{
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.34);
    color: #ffffff;
  }

  /* 5) Kis belső tér, hogy ne tapadjon a szélekhez */
  header nav,
  .header nav,
  .site-header nav,
  .nav{
    padding: 6px 10px;
    margin-left: -10px;   /* ha a container padding miatt szűknek érzed, vedd ki */
    margin-right: -10px;
  }
}
/* ===== Header / nav polish (főleg mobil) ===== */

.site-header .nav{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Alap chip stílus */
.site-header .nav-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 650;
  font-size: .92rem;
  line-height: 1;
  letter-spacing: .1px;
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}

.site-header .nav-link:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.22);
}

.site-header .nav-link:active{
  transform: translateY(1px);
}

/* Aktív menüpont */
.site-header .nav-link.is-active{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.34);
  color: #ffffff;
}

/* Mobil: egy sorban görgethető, kényelmes tap target */
@media (max-width: 820px){
  .site-header .header-inner{
    gap: 10px;
    align-items: flex-start;
  }

  .site-header .nav{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 10px;
    margin-left: -10px;
    margin-right: -10px;
  }
  .site-header .nav::-webkit-scrollbar{ display:none; }

  .site-header .nav-link{
    padding: 9px 12px;     /* picit nagyobb mobilon */
    font-size: .93rem;
  }
}
@media (max-width: 820px){
  .site-header .brand-text strong{ font-size: .95rem; }
  .site-header .brand-text small{ font-size: .78rem; opacity: .85; }
}
@media (max-width: 820px){
  .site-header .nav{
    gap: 6px;                 /* kisebb hézag */
    padding: 6px 8px;
    align-items: center;
  }

  .site-header .nav-link{
    padding: 7px 11px;        /* kicsit laposabb */
    font-size: .9rem;
    border-radius: 14px;      /* kevésbé „pille”, inkább tab */
  }
}
@media (max-width: 820px){
  .site-header .nav-link{
    opacity: .85;
  }

  .site-header .nav-link.is-active{
    opacity: 1;
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.45);
  }
}
@media (max-width: 820px){
  .site-header .brand{
    gap: 6px;
  }

  .site-header .brand-mark{
    font-size: 18px;
  }

  .site-header .brand-text strong{
    font-size: .9rem;
  }

  .site-header .brand-text small{
    font-size: .75rem;
  }
}
@media (max-width: 820px){
  .site-header{
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
}

/* =========================================================
   BELSŐ OLDALAK – EGYSÉGES TIPÓ + RITMUS (drop-in)
   Cél: szerkesztett, nyugodt olvashatóság sötét témában
   ========================================================= */

/* 1) Oldalszélesség: olvasószöveg */
.container.page{
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* 2) Hero blokk (H1 + első bekezdés) egységben */
.page > h1{
  max-width: 44ch;
  margin: 0 auto 1rem;
  line-height: 1.22;
  letter-spacing: -0.15px;
  color: #f1f5f9;
}

.page > p:first-of-type{
  max-width: 52ch;
  margin: 0 auto 1.6rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #d1d5db;
}

/* 3) Headings: ritmus és hierarchia */
.container.page h2{
  margin: 2.2rem 0 .8rem;
  line-height: 1.25;
  font-size: clamp(1.2rem, 1.4vw, 1.45rem);
  color: #e2e8f0;
}

.container.page h3{
  margin: 1.4rem 0 .5rem;
  line-height: 1.3;
  font-size: 1.05rem;
  color: #e2e8f0;
}

/* 4) Bekezdés ritmus + linkek */
.container.page p{
  margin: 0 0 1rem;
  color: #cbd5e1;
}

.container.page a{
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* 5) Listák: olvashatóbb, kevésbé “checklist” */
.container.page ul,
.container.page ol{
  margin: .6rem 0 1rem 1.1rem;
  padding: 0;
  color: #cbd5e1;
}

.container.page li{
  margin: .5rem 0;
  line-height: 1.6;
}

/* 6) HR: finom elválasztó */
.hr{
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 1.8rem 0;
}

/* 7) CTA blokkok egységes távolság (xxl-hero-cta / cta-panel) */
.xxl-hero-cta,
.cta-panel{
  margin: 1.6rem 0 1.8rem;
}

.xxl-hero-cta .trust-inline{
  margin-top: 6px;
}

/* 8) Bizalmi sor visszafogott tipó */
.trust-inline{
  font-size: .85rem;
  opacity: .88;
}

/* 9) Decision box (ha használod): “kártya” ritmus, ne legyen túl tömör */
.decision-box{
  padding: 16px 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
}

/* 10) Kártyák tipó (tudástár grid) */
.card h3{
  margin: 0 0 .35rem;
  line-height: 1.25;
}

.card p{
  margin: 0;
  line-height: 1.55;
  color: #94a3b8;
}

/* 11) Mobil: kicsit szűkebb ritmus */
@media (max-width: 820px){
  .container.page{
    max-width: 92vw;
    line-height: 1.65;
  }

  .page > h1{
    max-width: 26ch;
    margin-bottom: .9rem;
  }

  .page > p:first-of-type{
    max-width: 34ch;
    margin-bottom: 1.3rem;
    font-size: 1.02rem;
  }

  .container.page h2{
    margin-top: 1.8rem;
  }

  .hr{
    margin: 1.5rem 0;
  }
}
/* Hero blokk finom visszahúzása belső oldalakon */
.page > h1{
  margin-top: 0.4rem;   /* ha eddig 0 vagy nagyobb volt */
}

.page > p:first-of-type{
  margin-bottom: 1.4rem; /* picit feszesebb */
}
.xxl-hero-cta{
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start; /* ne középre lebegjen */
  gap: 8px;
}
.decision-box{
  background: rgba(255,255,255,.025); /* volt ~.03 */
  border-color: rgba(255,255,255,.08);
}
.decision-box ul{
  margin-top: .8rem;
}

.decision-box li{
  margin: .6rem 0;
}
/* Tudástár extra grid fix */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.kb-title {
  margin-top: 28px;
}
.card-full { grid-column: 1 / -1; }
.kb-title { margin-top: 24px; }

.breadcrumb {
  font-size: 14px;
  margin-bottom: 14px;
  opacity: .7;
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 6px;
}
.breadcrumb{
  font-size:14px;
  margin-bottom:14px;
  opacity:.7;
}
.breadcrumb a{ text-decoration:none; }
.breadcrumb .sep{ margin:0 6px; }

.related-articles{
margin-top:30px;
padding:18px;
background:#f8fafc;
border-radius:12px;
border:1px solid rgba(0,0,0,.06);
}

.related-title{
font-weight:600;
margin-bottom:10px;
font-size:15px;
color:#1f2937;
}

.related-articles ul{
margin:0;
padding-left:18px;
}

.related-articles li{
margin-bottom:6px;
}

.related-articles a{
text-decoration:none;
color:#2563eb;
}

.related-articles a:hover{
text-decoration:underline;
}

.related-articles-box{
  margin:28px auto 28px;
  padding:18px 20px;
  background:#ffffff;
  color:#111827;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 8px 22px rgba(0,0,0,.12);
  max-width:760px;
}

.related-articles-box__title{
  font-size:18px;
  font-weight:700;
  line-height:1.25;
  margin-bottom:14px;
  color:#111827;
}

.related-articles-box__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}

.related-article-pill{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:12px;
  background:#f8fafc;
  border:1px solid rgba(0,0,0,.06);
  text-decoration:none;
  color:#1f2937;
  transition:all .18s ease;
}

.related-article-pill:hover{
  background:#eef4ff;
  border-color:#cfe0ff;
  transform:translateY(-1px);
}

.related-article-pill__icon{
  flex:0 0 auto;
  font-size:18px;
  line-height:1;
}

.related-article-pill__text{
  font-size:15px;
  line-height:1.4;
  color:#1f2937;
}

@media (min-width: 860px){
  .related-articles-box__grid{
    grid-template-columns:1fr 1fr 1fr;
  }

  .related-article-pill{
    align-items:flex-start;
    min-height:64px;
  }

  .related-article-pill__text{
    font-size:14px;
  }
}