/* Blog-elemek: a kozos tokenek a brand.css-ben vannak. */
.hero { padding-top: 36px; }
.byline { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; margin: 0 0 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-3); font-weight: 600; }
.byline strong { color: var(--ink); }
.byline span:last-child { white-space: nowrap; }

/* Harom csoport osszefoglalo */
ol.three { list-style: none; counter-reset: t; margin: 18px 0 8px; padding: 0; }
ol.three li { counter-increment: t; display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; padding: 10px 0; }
ol.three li::before { content: counter(t); grid-row: span 2; font-size: 30px; line-height: 1; font-weight: 800; color: var(--red-ink); }
ol.three b { font-size: 18px; }
ol.three span { color: var(--ink-2); font-size: 15px; }

/* A tiz pont */
.item { display: grid; grid-template-columns: 76px 1fr; gap: 4px 22px; padding: 28px 0; }
.item + .item { border-top: 1px solid var(--line); }
.item .num { font-size: 56px; line-height: 1; font-weight: 800; color: var(--red-ink); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.item .body p { margin: 0 0 10px; }
.item .body p:last-child { margin-bottom: 0; }
.item .body b { font-weight: 700; }
.cluster-note { margin: 0 0 6px; }

/* Abra 1: mit lat az AI-asszisztens (HTML es CSS, hogy telefonon is atrendezodjon) */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr) 52px minmax(0, 1.55fr); align-items: center; }
.node { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 14px 16px; line-height: 1.35; }
.node strong { display: block; font-size: 16px; }
.node .small { display: block; font-size: 13px; color: var(--ink-3); font-weight: 600; margin-bottom: 4px; }
.node.ai { background: var(--ink); color: var(--paper); }
.node.ai .small { color: var(--paper); opacity: .8; margin: 4px 0 0; }
.arrow { position: relative; height: 3px; background: var(--ink); border-radius: 2px; transform-origin: 0 50%; }
.arrow::after { content: ""; position: absolute; right: -2px; top: -6px; border: 7.5px solid transparent; border-left: 11px solid var(--ink); border-right: 0; }
.outs { display: grid; gap: 12px; }
.out { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.out.good { border-color: var(--ink); }
.out .t { font-weight: 700; font-size: 15px; margin: 0 0 8px; }
.out ul { list-style: none; margin: 0 0 10px; padding: 0; font-size: 14px; line-height: 1.4; }
.out li { display: flex; gap: 10px; align-items: baseline; margin-bottom: 5px; }
.out .res { margin: 0; font-weight: 700; font-size: 14px; }
.tick { flex: none; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg) translateY(-2px); }
.cross { flex: none; position: relative; width: 11px; height: 11px; transform: translateY(1px); }
.cross::before, .cross::after { content: ""; position: absolute; left: 4px; top: -1px; width: 2.5px; height: 13px; background: var(--red-ink); border-radius: 2px; }
.cross::before { transform: rotate(45deg); }
.cross::after { transform: rotate(-45deg); }
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; }
  .arrow { width: 3px; height: 30px; margin: 0 auto; transform-origin: 50% 0; }
  .arrow::after { right: auto; left: -6px; top: auto; bottom: -2px; border: 7.5px solid transparent; border-top: 11px solid var(--ink); border-bottom: 0; }
}
@media screen and (max-width: 760px) {
  .item { grid-template-columns: 1fr; }
  .item .num { font-size: 40px; }
}

/* Abra 2: a varakozas idotengelye */
.marks { position: relative; height: 40px; }
.mk { position: absolute; bottom: 0; transform: translateX(-50%); font-size: 13px; font-weight: 700; padding-bottom: 8px; white-space: nowrap; }
.mk::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 2px; height: 8px; background: var(--ink-3); transform: translateX(-1px); }
.mk.m1 { left: 50%; } .mk.m2 { left: 80%; }
.track { display: flex; height: 34px; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.seg { position: relative; overflow: hidden; }
.seg.s1 { flex: 50; } .seg.s2 { flex: 30; } .seg.s3 { flex: 20; }
.seg i { position: absolute; inset: 0; transform-origin: 0 50%; }
.seg.s1 i { background: var(--ink); } .seg.s2 i { background: var(--ink-3); } .seg.s3 i { background: var(--red); }
.scale { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--ink-3); margin-top: 6px; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 14px 0 0; padding: 0; font-size: 14px; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes drawx { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drawy { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: no-preference) {
  html.js .fig .node, html.js .fig .out { opacity: 0; }
  html.js .fig .arrow { transform: scale(0); }
  html.js .fig .seg i { transform: scaleX(0); }
  html.js .fig.is-in .node, html.js .fig.is-in .out { animation: pop .5s ease-out forwards; animation-delay: var(--d, 0s); }
  html.js .fig.is-in .arrow { animation: drawx .5s cubic-bezier(.4,0,.2,1) forwards; animation-delay: var(--d, 0s); }
  html.js .fig.is-in .seg.s1 i { animation: fill 1.25s linear .3s forwards; }
  html.js .fig.is-in .seg.s2 i { animation: fill .75s linear 1.55s forwards; }
  html.js .fig.is-in .seg.s3 i { animation: fill .5s linear 2.3s forwards; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
  html.js .fig.is-in .arrow { animation-name: drawy; }
}

/* Nyomtatas: az abrak vegallapota latszik */
@media print {
  html.js .fig .node, html.js .fig .out { opacity: 1 !important; transform: none !important; }
  html.js .fig .arrow { transform: none !important; }
  html.js .fig .seg i { transform: none !important; }
}

/* Ujra gomb az abrakon */
figure.fig { position: relative; }
.replay { position: absolute; top: 16px; right: 16px; background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 12px; font: 600 13px/1.2 'Montserrat', system-ui, sans-serif; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.replay:hover { background: var(--ink); color: var(--paper); }
.replay:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) { .replay { display: none; } }

/* Megoldas: gyors, kozepes, nagyobb */
dl.steps { margin: 16px 0 8px; }
dl.steps div { display: grid; grid-template-columns: 190px 1fr; gap: 4px 20px; padding: 12px 0; }
dl.steps div + div { border-top: 1px solid var(--line); }
dl.steps dt { font-weight: 700; }
dl.steps dd { margin: 0; color: var(--ink-2); }
@media (max-width: 640px) { dl.steps div { grid-template-columns: 1fr; } }
.note { background: var(--panel); border-radius: var(--radius); padding: 16px 18px; margin: 22px 0 0; }
.note p:last-child { margin-bottom: 0; }

/* Onellenorzo lista */
.check { list-style: none; margin: 18px 0 0; padding: 0; }
.check li + li { margin-top: 2px; }
.check label { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; padding: 11px 0; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box { width: 24px; height: 24px; border: 2px solid var(--ink); border-radius: 6px; margin-top: 2px; position: relative; transition: background-color .15s ease; }
.check .box::after { content: ""; position: absolute; left: 7px; top: 1px; width: 6px; height: 12px; border: solid var(--on-red); border-width: 0 3px 3px 0; transform: rotate(40deg) scale(0); transition: transform .18s ease; }
.check input:checked + .box { background: var(--red); border-color: var(--red); }
.check input:checked + .box::after { transform: rotate(40deg) scale(1); }
.check input:focus-visible + .box { outline: 3px solid var(--red-ink); outline-offset: 3px; }

/* Ajanlat */
.offer { background: var(--bar); color: var(--on-bar); border-left: 6px solid var(--red); border-radius: var(--radius); padding: 28px 28px 24px; margin-top: 64px; }
.offer h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.2; margin: 0 0 14px; font-weight: 800; text-wrap: balance; }
.offer p { color: var(--on-bar); }
.offer .lead { font-weight: 600; font-size: 18px; }
.offer b { color: var(--on-bar); }
.foot { margin: 40px 0 64px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.draft { margin: 48px 0 80px; background: var(--panel); border-radius: var(--radius); padding: 22px 24px; font-size: 15px; }
.draft h2 { font-size: 18px; margin: 0 0 10px; }
.draft li { margin-bottom: 6px; }

/* Ajanlat-doboz a cikk kozepen (kb. 60%) */
.cta-mid { background: var(--panel); border-left: 6px solid var(--red); border-radius: var(--radius); padding: 22px 24px 20px; margin: 48px 0 8px; }
.cta-mid .cta-lead { font-weight: 700; font-size: 18px; line-height: 1.45; }
.cta-mid p:last-child { margin-bottom: 0; }
.cta-mid .cta-btn { margin-top: 18px; }

/* Blog-fooldal */
.lista { margin: 28px 0 0; padding: 0; list-style: none; }
.lista li { padding: 22px 0; border-top: 1px solid var(--line); }
.lista a { text-decoration: none; color: var(--ink); display: block; }
.lista h2 { font-size: 22px; line-height: 1.3; margin: 0 0 8px; text-wrap: balance; }
.lista a:hover h2 { color: var(--red-ink); }
.lista p { margin: 0 0 6px; color: var(--ink-2); }
.lista .ido { font-size: 14px; color: var(--ink-3); font-weight: 600; }
