@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700 800;
  font-stretch: 75%;
  font-display: swap;
  src: url(/assets/fonts/archivo-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: 'Archivo';
  font-style: normal;
  font-weight: 700 800;
  font-stretch: 75%;
  font-display: swap;
  src: url(/assets/fonts/archivo-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: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-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: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-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;
}

/* magyarmodellek.com: near-black ground, hairlines, square corners, two neon accents with one job
   each (--a1: actions; --a2: price signals). No gradients, no glow, no rounded cards. */
:root {
  --bg: #0b0b0c; --surface: #141416; --line: #26262b; --line2: #34343a;
  --text: #f2f2ef; --muted: #a1a1a6; --a1: #d4ff3a; --a2: #ff4d94;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--text); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--a1); outline-offset: 2px; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.accent2 { color: var(--a2); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--a1); color: var(--bg); padding: 8px 12px; z-index: 9; }
.skip:focus { left: 8px; }

.display { font-family: var(--display); font-weight: 800; font-stretch: 75%; line-height: .92; letter-spacing: -.01em; }
.display-2 { font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: clamp(34px, 5vw, 56px); line-height: .95; }

/* header + footer */
.site-header { border-bottom: 1px solid var(--line); }
.site-header__in { min-height: 72px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 32px; padding-block: 12px; }
.logo { text-decoration: none; font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: 24px; letter-spacing: .02em; text-transform: uppercase; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 15px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); padding-block: 6px; }
.nav a[aria-current="page"], .nav a:hover { color: var(--text); }
.langs { display: flex; gap: 4px; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.langs a { text-decoration: none; color: var(--muted); padding: 6px 8px; border: 1px solid transparent; }
.langs a[aria-current="true"] { color: var(--text); border-color: var(--line); }
.langs a:hover { color: var(--text); }
/* phones: the language switcher shares the logo row (top right), the menu wraps below */
@media (max-width: 759px) { .langs { order: 1; } .nav { order: 2; flex-basis: 100%; } }
.site-footer { border-top: 1px solid var(--line); margin-top: 96px; }
.site-footer__in { padding-block: 32px 48px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 8px; }
.footer-nav a { color: var(--text); text-decoration: none; padding-block: 4px; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { text-decoration: underline; }

/* hero */
.hero { padding-block: clamp(48px, 8vw, 104px) 48px; }
.hero h1 { font-size: clamp(46px, 6.2vw, 92px); max-width: 20ch; }
.lead { margin-top: 28px; font-size: 18px; color: var(--muted); }
.stats { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; row-gap: 20px; }
.stats > div { display: flex; flex-direction: column; gap: 2px; padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.stats dt { font-size: 14px; color: var(--muted); }
.stats dd { font-family: var(--display); font-weight: 700; font-stretch: 75%; font-size: 32px; line-height: 1.1; font-variant-numeric: tabular-nums; }

/* controls */
.controls { border-block: 1px solid var(--line); background: var(--bg); z-index: 3; }
.controls__in { padding-block: 16px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--grow { flex: 1 1 260px; min-width: 0; }
.field label { font-size: 13px; color: var(--muted); }
input[type="search"], select {
  height: 48px; width: 100%; padding: 0 14px; background: var(--surface); color: var(--text);
  border: 1px solid var(--line2); border-radius: 0; font: 16px var(--body); appearance: none;
}
select { padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { height: 48px; padding: 0 18px; border: 1px solid var(--line2); border-radius: 0; background: transparent; color: var(--text); font: 500 16px var(--body); cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--a1); border-color: var(--a1); color: var(--bg); font-weight: 600; }
@media (min-width: 760px) { .controls { position: sticky; top: 0; } }

/* grid + cards */
.grid-section { padding-top: 28px; }
.count { margin-bottom: 24px; font-size: 14px; }
.empty { padding: 48px 0; border-block: 1px solid var(--line); color: var(--muted); }
/* 5 / 4 / 2 columns: 40 cards per page and the 15 related cards fill whole rows (see app.js) */
.grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 44px clamp(12px, 2vw, 24px); }
@media (max-width: 1099px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .similar .card:nth-child(n+13) { display: none; } }
.card { display: flex; flex-direction: column; gap: 14px; min-width: 0; text-decoration: none; color: var(--text); }
.card__img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #1b1b1f; transition: filter .15s; }
a.card:hover .card__img { filter: brightness(1.08); }
a.card:hover .card__name { text-decoration: underline; text-underline-offset: 3px; }
.card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.card__name { display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 600; min-width: 0; }
.card__sub { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; font-variant-numeric: tabular-nums; }
.price { font-weight: 600; }
.price--free { color: var(--a2); }
.tick { flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.more { margin-top: 56px; width: 100%; height: 56px; border: 1px solid var(--line2); border-radius: 0; background: transparent; color: var(--text); font: 600 16px var(--body); cursor: pointer; }
.more:hover { border-color: var(--text); }
@media (max-width: 759px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
  .similar .card:nth-child(n+13) { display: flex; }
  .similar .card:nth-child(n+15) { display: none; }
  .card__name { font-size: 16px; }
  .card__foot { flex-direction: column; }
}

/* sections with a side heading */
.split { display: flex; flex-wrap: wrap; gap: 24px 64px; padding-block: 80px; border-bottom: 1px solid var(--line); }
.split > h2 { flex: 1 1 280px; }
.split > :not(h2) { flex: 999 1 520px; min-width: 0; }
#gyik.wrap { border-bottom: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 20px; color: var(--muted); }
.prose { font-size: 18px; overflow-wrap: break-word; }
.prose p + p { margin-top: 16px; }
.prose h2 { font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: 30px; line-height: 1; margin: 40px 0 14px; }
.prose ul { padding-left: 20px; margin: 12px 0 0; }
.prose li + li { margin-top: 8px; }

/* profile */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.profile { display: flex; flex-wrap: wrap; gap: 32px clamp(32px, 5vw, 72px); padding-block: 32px 72px; border-bottom: 1px solid var(--line); }
.profile__img { order: -1; flex: 1 1 380px; max-width: 520px; min-width: 0; }
.profile__img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #1b1b1f; }
.profile__info { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.profile__name { font-size: clamp(52px, 8vw, 120px); overflow-wrap: anywhere; }
.profile__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); margin-top: -14px; }
.profile__ok { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.buy { display: flex; flex-direction: column; gap: 14px; padding-block: 24px; border-block: 1px solid var(--line); }
.buy__price { font-family: var(--display); font-weight: 700; font-stretch: 75%; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.buy__note { margin-top: -6px; }
.cta { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 440px; height: 56px; background: var(--a1); color: var(--bg); text-decoration: none; font-size: 17px; font-weight: 700; }
.cta:hover { color: var(--bg); background: #e2ff70; }
.tables { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0 clamp(32px, 5vw, 72px); padding-block: 56px; border-bottom: 1px solid var(--line); }
.tables table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tables caption { text-align: left; font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: 30px; line-height: 1.1; padding-bottom: 12px; }
.tables tr { border-bottom: 1px solid var(--line); }
.tables th { text-align: left; font-weight: 400; color: var(--muted); padding: 12px 12px 12px 0; }
.tables td { text-align: right; padding: 12px 0; }
.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; }
.chart figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-bottom: 12px; font-weight: 600; }
.chart figcaption .muted { font-weight: 400; font-variant-numeric: tabular-nums; }
.chart svg { width: 100%; height: auto; display: block; }
.chart__base { stroke: var(--line2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart__line { fill: none; stroke: var(--text); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart__dot { fill: var(--bg); stroke: var(--text); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart__axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 13px; }
.facts { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 16px 24px; }
.facts dt { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { border: 1px solid var(--line2); padding: 6px 12px; font-size: 15px; text-decoration: none; }
.tags a:hover { border-color: var(--text); }
.tags a .muted { margin-left: 6px; font-variant-numeric: tabular-nums; }
.taglist { display: flex; flex-wrap: wrap; gap: 8px; }
.links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.similar { padding-top: 80px; }
.similar h2 { margin-bottom: 32px; }
@media (max-width: 640px) {
  .facts { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .facts dd { margin-bottom: 14px; }
  .split { padding-block: 56px; }
}

/* legal */
.legal { padding-bottom: 32px; }
.hero--tag { padding-top: 0; }
.hero--tag .crumbs { margin-bottom: clamp(32px, 6vw, 72px); }
.prose-lead p + p { margin-top: 14px; }
.tags--index { margin-top: 40px; }
.tags--index a { font-size: 17px; padding: 10px 16px; }
.split--last { border-bottom: 0; }
.legal__title { font-size: clamp(44px, 7vw, 88px); margin: 28px 0 40px; max-width: 16ch; }
