/* Saját tárhelyről kiszolgált fontok (Poppins, DM Mono – SIL OFL 1.1, licenc: fonts/),
   latin és latin-ext részhalmaz; így a látogató IP-címe nem jut el a Google-hoz */
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dmmono-400-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dmmono-400-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;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/poppins-400-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/poppins-400-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;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/poppins-500-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/poppins-500-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;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/poppins-600-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/poppins-600-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 {
  /* alap: sötét mód */
  --bg: #0E0E10;
  --bg-alt: #161619;
  --ink: #FAFAFA;
  --text: #D4D4D8;
  --muted: #A1A1AA;
  --faint: #52525B;
  --line: #27272A;
  --topbar: rgba(14, 14, 16, .85);
  --grid: rgba(255, 255, 255, .10);
  --accent: #E30565;
  --accent-dark: #C00455;
  /* kis szövegekhez: sötét háttéren világosabb, hogy meglegyen az AA kontraszt */
  --accent-text: #F0287A;
  --font-label: "DM Mono", ui-monospace, monospace;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-alt: #F4F4F5;
  --ink: #18181B;
  --text: #3F3F46;
  /* #71717A a világosszürke sávon csak 4,4:1 volt, ez már AA (4,5:1 fölött) */
  --muted: #6B6B74;
  --faint: #A1A1AA;
  --line: #E4E4E7;
  --topbar: rgba(255, 255, 255, .9);
  --grid: rgba(24, 24, 27, .09);
  --accent-text: #E30565;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* minden méret egész pixel: fix lépcsők töréspontokkal, folyékony (vw) méretezés nélkül */
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 26px;
}

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }

a { color: inherit; }

svg { width: 18px; height: 18px; flex: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.muted { color: var(--muted); }
.accent { color: var(--accent-text); }

/* közös mono címkestílus: szekciócímkék, adatsáv mezőnevei, nyelvváltó */
.eyebrow,
.specs dt,
.lang {
  color: var(--muted);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- Fejléc ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--topbar);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 64px; }

.brand { color: var(--ink); font-weight: 600; font-size: 18px; line-height: 28px; text-decoration: none; }

.topbar-meta { display: flex; align-items: center; gap: 20px; font-size: 15px; line-height: 24px; }

.topbar-meta a { color: var(--ink); text-decoration: none; font-weight: 500; }
.topbar-meta a:hover { color: var(--accent-text); }

/* nagyobb koppintási terület (44px) a fejléc e-mail-linknek, a látvány nem változik */
.topbar-email { display: inline-block; padding: 10px 0; }

@media (max-width: 480px) { .topbar-meta { gap: 12px; } }

/* nyelvváltó: csak a másik nyelv látszik (a magyar oldalon EN, az angolon HU) */
.lang {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  /* a betűköz a szó végére is kerül, ezért bal oldalon 2px-szel több a hely */
  padding: 0 8px 0 10px;
  text-decoration: none;
}

.topbar-meta .lang { color: var(--muted); font-weight: 400; }
.topbar-meta .lang:hover { color: var(--ink); }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.theme-toggle:hover { border-color: var(--faint); }

/* sötét módban a nap, világosban a hold ikon látszik */
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ---------- Hero ---------- */

.hero {
  padding: 48px 0 56px;
  position: relative;
}

@media (min-width: 768px) { .hero { padding: 80px 0; } }
@media (min-width: 1024px) { .hero { padding: 104px 0; } }

/* rács + elszórt X-ek, körök és negyedívek; a minta 9×6 cellánként ismétlődik,
   a színt a --grid adja, az SVG csak maszk */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grid);
  --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='864' height='576'%3E%3Cpath d='M0.5 0V576M96.5 0V576M192.5 0V576M288.5 0V576M384.5 0V576M480.5 0V576M576.5 0V576M672.5 0V576M768.5 0V576M0 0.5H864M0 96.5H864M0 192.5H864M0 288.5H864M0 384.5H864M0 480.5H864M96 0L192 96M192 0L96 96M576 96L672 192M672 96L576 192M288 288L384 384M384 288L288 384M768 384L864 480M864 384L768 480M0 480L96 576M96 480L0 576M384 48a48 48 0 1 0 96 0a48 48 0 1 0 -96 0M768 240a48 48 0 1 0 96 0a48 48 0 1 0 -96 0M96 336a48 48 0 1 0 96 0a48 48 0 1 0 -96 0M480 528a48 48 0 1 0 96 0a48 48 0 1 0 -96 0M768 0A96 96 0 0 1 672 96M192 192A96 96 0 0 1 288 96M576 288A96 96 0 0 0 480 192M288 384A96 96 0 0 0 384 480' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E");
  -webkit-mask: var(--mask) 0 0 / 864px 576px repeat;
  mask: var(--mask) 0 0 / 864px 576px repeat;
  pointer-events: none;
}

.hero > .wrap { position: relative; z-index: 1; }

.mark {
  display: flex;
  margin: 20px 0 28px -4px;
  font-size: 96px;
  font-weight: 600;
  line-height: 88px;
  letter-spacing: -2px;
  color: var(--accent);
}

@media (min-width: 768px) {
  .mark { margin-left: -6px; font-size: 160px; line-height: 144px; letter-spacing: -3px; }
}

@media (min-width: 1024px) {
  .mark { margin-left: -8px; font-size: 208px; line-height: 188px; letter-spacing: -4px; }
}

.hero h1 {
  color: var(--ink);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: -1px;
}

@media (min-width: 768px) { .hero h1 { font-size: 44px; line-height: 52px; } }
@media (min-width: 1024px) { .hero h1 { font-size: 52px; line-height: 60px; } }

.hero h1 em { font-style: normal; color: var(--accent-text); }

.hero-text {
  margin-top: 20px;
  max-width: 576px;
  color: var(--muted);
}

@media (min-width: 768px) { .hero-text { font-size: 18px; line-height: 30px; } }

.hero-text strong { color: var(--ink); font-weight: 500; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 28px;
  /* keret helyett belső vonal (inset árnyék), így a látható szél
     a gomb méretén belül marad, és a két gomb széle egy vonalba esik */
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  cursor: pointer;
}

.button:hover { background: var(--accent-dark); }

.button-ghost { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.button-ghost:hover { background: var(--bg-alt); }

/* ---------- Adatsáv ---------- */

.spec-band {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

/* elválasztó vonalak nélkül; asztalon a tételek közti távolság egyforma,
   az első a bal, az utolsó a jobb szélhez igazodik */
.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 24px 0;
}

@media (min-width: 860px) {
  .specs {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    padding: 32px 0;
  }
}

.specs > div {
  display: grid;
  gap: 6px;
  align-content: start;
}

.specs dd {
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

@media (min-width: 768px) { .specs dd { font-size: 18px; } }


/* ---------- Érvek ---------- */

.reasons,
.process,
.faq {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 768px) { .reasons, .process, .faq { padding: 96px 0; } }
@media (min-width: 1024px) { .reasons, .process, .faq { padding: 120px 0; } }

.reasons h2,
.process h2,
.faq h2,
.contact h2 {
  color: var(--ink);
  font-size: 28px;
  font-weight: 600;
  line-height: 36px;
  letter-spacing: -1px;
}

@media (min-width: 768px) { .reasons h2, .process h2, .faq h2 { font-size: 36px; line-height: 44px; } }
@media (min-width: 1024px) { .reasons h2, .process h2, .faq h2 { font-size: 40px; line-height: 48px; } }

.reasons h2, .process h2, .faq h2 { margin: 16px 0 32px; }

@media (min-width: 768px) { .reasons h2, .process h2, .faq h2 { margin-bottom: 48px; } }
@media (min-width: 1024px) { .reasons h2, .process h2, .faq h2 { margin-bottom: 56px; } }

.reason-list { list-style: none; padding: 0; counter-reset: reason; }

.reason-list li {
  counter-increment: reason;
  display: grid;
  gap: 10px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 768px) { .reason-list li { padding: 40px 0; } }

@media (min-width: 860px) {
  .reason-list li { grid-template-columns: 96px minmax(0, 1fr); column-gap: 32px; }
  .reason-list li::before { grid-row: 1 / span 2; }
}

.reason-list li::before {
  content: counter(reason, decimal-leading-zero);
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}

.reason-list h3 {
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
}

@media (min-width: 768px) { .reason-list h3 { font-size: 24px; line-height: 32px; } }

.reason-list p { color: var(--muted); max-width: 736px; }

/* ---------- Kinek szól ---------- */

.audience {
  padding: 40px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.audience-head {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

/* a szalag megállítható (WCAG 2.2.2): gombbal, és egérrel fölé állva is */
.marquee-toggle {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.marquee-toggle svg { width: 14px; height: 14px; }
.marquee-toggle:hover { color: var(--ink); border-color: var(--faint); }
.marquee-toggle .icon-play { display: none; }
.marquee-toggle[aria-pressed="true"] .icon-pause { display: none; }
.marquee-toggle[aria-pressed="true"] .icon-play { display: block; }

.audience.is-paused .marquee,
.marquee:hover { animation-play-state: paused; }

.marquee { display: flex; width: max-content; animation: marquee 40s linear infinite; }

.marquee-track {
  display: flex;
  flex: none;
  list-style: none;
  padding: 0;
  margin: 0;
}

.marquee-track li {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  white-space: nowrap;
}

@media (min-width: 768px) { .marquee-track li { font-size: 24px; line-height: 32px; } }

.marquee-track li::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { animation: none; width: auto; justify-content: center; }
  .marquee-track { flex-wrap: wrap; justify-content: center; row-gap: 8px; padding: 0 16px; }
  .marquee-track[aria-hidden] { display: none; }
  .marquee-toggle { display: none; }
}

/* ---------- Adásvétel menete ---------- */

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 32px;
  counter-reset: step;
}

@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; } }

.steps li {
  counter-increment: step;
  padding-top: 24px;
  border-top: 1px solid var(--faint);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 16px;
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  font-variant-numeric: tabular-nums;
}

.steps h3 {
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  margin-bottom: 8px;
}

.steps p { color: var(--muted); }

/* ---------- GYIK ---------- */

.faq-list { border-bottom: 1px solid var(--line); }

.faq details { border-top: 1px solid var(--line); }

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  cursor: pointer;
  list-style: none;
}

@media (min-width: 768px) { .faq summary { font-size: 20px; } }

.faq summary::-webkit-details-marker { display: none; }

/* plusz jel, nyitva x-szé fordul; vektoros maszk, így elforgatva is
   ugyanolyan vastag marad a vonal */
.faq summary::after {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  background: currentColor;
  --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 2v16M2 10h16' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask: var(--mask) center / 20px 20px no-repeat;
  mask: var(--mask) center / 20px 20px no-repeat;
  transition: transform .2s ease;
}

.faq details[open] summary::after { transform: rotate(45deg); }

@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

.faq details p {
  max-width: 736px;
  padding: 0 40px 24px 0;
  color: var(--muted);
}

.faq details a { color: var(--ink); text-decoration-color: currentColor; text-underline-offset: 4px; }
.faq details a:hover { color: var(--accent-text); }

summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* ---------- Kapcsolat ---------- */

.contact { padding: 64px 0; }

@media (min-width: 768px) { .contact { padding: 96px 0; } }
@media (min-width: 1024px) { .contact { padding: 120px 0; } }

.contact-card {
  max-width: 880px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--faint);
  border-radius: 16px;
  background: var(--bg);
}

@media (min-width: 768px) { .contact-card { padding: 48px; } }
@media (min-width: 1024px) { .contact-card { padding: 56px; } }

.contact h2 { margin-top: 16px; font-size: 22px; line-height: 30px; }

@media (min-width: 768px) { .contact h2 { font-size: 30px; line-height: 38px; } }

.contact-email {
  margin-top: 20px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -1px;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) { .contact-email { font-size: 48px; line-height: 56px; } }
@media (min-width: 1024px) { .contact-email { font-size: 56px; line-height: 64px; letter-spacing: -2px; } }

.tips { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }

.tips ul { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 10px; color: var(--muted); }

/* ---------- Lábléc ---------- */

.footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  line-height: 24px;
}

.footer .brand { font-size: 16px; line-height: 24px; margin-bottom: 6px; }
.footer .updated { margin-top: 16px; font-size: 13px; line-height: 20px; color: var(--muted); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent-text); }

/* ---------- Fókusz ---------- */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.notfound-title { margin-top: 16px; }

/* csak képernyőolvasónak szóló szöveg (pl. a másolás visszajelzése) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
