:root {
  color-scheme: light;
  --ink: #172332;
  --navy: #121b29;
  --navy-deep: #0e1622;
  --paper: #fff;
  --soft: #f3f6f7;
  --line: #dce4e8;
  --muted: #4a5b6b;
  --light-text: #bfccda;
  --accent: #d8f876;
  --green: #376021;
  --radius: 16px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #358ad0; outline-offset: 4px; }
[id] { scroll-margin-block-start: 1rem; }

.wrap { width: min(1200px, calc(100% - 6rem)); margin-inline: auto; }
.top, .contact, .footer { background: var(--navy); color: var(--paper); }
.header, .footer-content { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header { min-height: 82px; border-bottom: 1px solid #ffffff24; }
.brand { display: inline-flex; gap: 0; align-items: center; text-decoration: none; font-size: 1.55rem; font-weight: 800; letter-spacing: -.06em; white-space: nowrap; }
.brand > span:last-child { color: var(--accent); }
.brand-mark { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; width: 23px; height: 23px; margin-right: .55rem; }
.brand-mark i { background: var(--accent); border-radius: 2px; }
.brand-mark i:last-child { opacity: .48; }
.header nav { display: flex; flex-wrap: wrap; gap: .25rem 1.8rem; }
.header nav a { color: var(--light-text); text-decoration: none; font-size: .94rem; font-weight: 600; }
.header nav a:hover, .header nav a:focus-visible { color: var(--paper); text-decoration: underline; text-underline-offset: .3em; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .65rem 1.15rem; border: 1px solid transparent; border-radius: 9px; font-size: .95rem; font-weight: 750; line-height: 1.35; text-align: center; text-decoration: none; cursor: pointer; }
.button-outline { border-color: #ffffff55; }
.button-outline:hover { background: #ffffff14; }
.button-primary { background: var(--accent); color: var(--navy-deep); }
.button-primary:hover { background: #ebffa9; }
.button-dark { background: var(--navy); color: var(--paper); }
.button-dark:hover { background: #293d51; }
.text-link { font-weight: 700; font-size: .95rem; text-decoration-color: #ffffff80; text-underline-offset: .32em; }
.text-link:hover { text-decoration-color: var(--accent); }

.hero { display: grid; grid-template-columns: 1.22fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(4.5rem, 8vw, 7.5rem) clamp(5rem, 8vw, 7.5rem); }
.eyebrow { margin-bottom: .85rem; color: var(--green); font-size: .875rem; font-weight: 800; letter-spacing: .06em; }
.hero-label, .contact .eyebrow { color: var(--accent); }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.045em; }
h1 { font-size: clamp(2.7rem, 5vw, 4.65rem); font-weight: 810; }
h1 em { color: var(--accent); font-style: normal; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.27rem; letter-spacing: -.025em; }
.hero-text { max-width: 34rem; margin-top: 1.3rem; color: var(--light-text); font-size: clamp(1.05rem, 1.55vw, 1.21rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.35rem; margin-top: 1.85rem; }

.preview { min-width: 0; position: relative; padding: clamp(.65rem, 2vw, 1.35rem); background: linear-gradient(147deg, #303f51, #1d2b3c); border: 1px solid #47576b; border-radius: 22px; box-shadow: 0 24px 70px #080f1c59; color: var(--ink); }
.preview-window { overflow: hidden; background: #fbfcfe; border-radius: 12px; }
.preview-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; padding: 1rem .9rem; }
.preview-name, .preview-sub { display: block; }
.preview-name { font-size: 1.1rem; font-weight: 800; line-height: 1.2; }
.preview-sub, .preview-tag { margin-top: .2rem; color: var(--muted); font-size: .8rem; }
.preview-tag { padding: .16rem .4rem; border-radius: 4px; background: #e9eef3; white-space: nowrap; }
.calendar { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .82rem; text-align: center; }
.calendar th, .calendar td { border-top: 1px solid #e1e8ee; }
.calendar th { color: #435668; font-weight: 650; }
.calendar thead th { padding: .45rem .1rem; background: #f0f4f7; }
.calendar tbody th { width: 16%; }
.calendar td { height: 45px; padding: .18rem; border-left: 1px solid #e1e8ee; }
.event { display: block; border-radius: 4px; padding: .2rem .05rem; font-weight: 700; }
.event-blue { background: #dceafb; color: #274c81; }
.event-green { background: #ebf5cd; color: #375118; }
.preview-caption { position: absolute; right: 1rem; bottom: -1.15rem; padding: .52rem .76rem; border: 1px solid #dfe7d2; border-radius: 8px; background: #f7fbe9; font-size: .84rem; font-weight: 750; box-shadow: 0 8px 18px #101a2933; }
.preview-caption span { padding-right: .25rem; color: var(--green); }

.benefits { border-bottom: 1px solid var(--line); background: var(--soft); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.7rem; padding-block: 1.7rem; }
.benefits section { display: flex; align-items: flex-start; gap: .8rem; }
.benefit-icon { flex: 0 0 39px; display: grid; place-items: center; height: 39px; border: 1px solid #d6e4c5; border-radius: 9px; background: #eaf3dc; color: var(--green); font-weight: 800; font-size: 1.1rem; }
.benefits h2 { margin: .2rem 0 .23rem; font-size: 1.04rem; letter-spacing: -.02em; }
.benefits p { color: var(--muted); font-size: .95rem; line-height: 1.45; }

.section { padding-block: clamp(3.75rem, 7vw, 6.5rem); }
.section p:not(.eyebrow), .contact p:not(.eyebrow) { margin-top: .95rem; color: var(--muted); }
.section strong { color: var(--ink); }
.case { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(2rem, 6vw, 5.5rem); }
.case-visual { position: relative; min-width: 0; border-radius: var(--radius); overflow: hidden; background: #253543; }
.case-visual img { width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; }
.case-visual figcaption { position: absolute; bottom: .7rem; left: .75rem; background: #121b29; color: #fff; padding: .18rem .55rem; border-radius: 5px; font-size: .8rem; }
.demo { margin-top: 1.4rem; border-block: 1px solid var(--line); }
.demo summary { padding: .85rem .12rem; cursor: pointer; font-weight: 750; }
.demo summary:hover { color: var(--green); }
.demo form { padding: .25rem .12rem 1rem; }
.demo fieldset { border: 0; margin: 0; padding: 0; }
.demo legend { margin-bottom: .5rem; font-weight: 700; }
.slots { display: flex; flex-wrap: wrap; gap: .45rem; }
.slots label { display: flex; align-items: center; gap: .3rem; min-height: 44px; padding-inline: .5rem; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; }
.slots label:has(:checked) { border-color: var(--green); background: #eaf3dc; }
.slots input { accent-color: var(--green); }
.demo fieldset + fieldset { margin-top: .9rem; }
.demo .demo-note { margin: .65rem 0 .7rem; font-size: .9rem; }
.demo p.demo-result { margin: .65rem 0 0; color: var(--green); font-weight: 700; }
.demo p.demo-result:empty { margin: 0; }

.case + .case { border-top: 1px solid var(--line); }
.case-reverse > .case-preview { order: 2; }
.case-preview { margin-bottom: 1.15rem; }
.jobsheet { width: 100%; border-collapse: collapse; font-size: .84rem; }
.jobsheet th, .jobsheet td { padding: .42rem .9rem; border-top: 1px solid #e1e8ee; text-align: left; vertical-align: top; }
.jobsheet td:last-child, .jobsheet thead th:last-child { text-align: right; white-space: nowrap; }
.jobsheet thead th { background: #f0f4f7; color: #435668; font-weight: 650; }
.jobsheet .group th { padding-block: .6rem .15rem; border-top: 0; color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.jobsheet-detail { display: block; color: var(--muted); font-size: .76rem; }
.jobsheet tfoot th { font-weight: 650; }
.jobsheet tfoot td { font-weight: 700; }
.jobsheet .total th, .jobsheet .total td { padding-block: .6rem .8rem; background: #f7fbe9; font-size: .98rem; font-weight: 800; }
.jobsheet .row-new td { animation: row-in 1.6s ease-out; }
.event-flash { animation: event-in 1.6s ease-out; }
@keyframes event-in { from { box-shadow: 0 0 0 3px #e9b44c; } to { box-shadow: 0 0 0 0 transparent; } }
@keyframes row-in { from { background: #ebf5cd; } to { background: transparent; } }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem .75rem; margin-top: .9rem; }
.field { display: grid; gap: .25rem; font-size: .9rem; font-weight: 700; }
.field-wide { grid-column: 1 / -1; }
.field input { width: 100%; min-height: 44px; padding: .45rem .6rem; border: 1px solid #b9c7d1; border-radius: 7px; background: var(--paper); color: var(--ink); font-weight: 400; }

.process { background: var(--soft); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.process-grid article { border-top: 2px solid #86a36f; padding: 1.25rem .4rem 0 0; }
.pricing { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 5vw, 5rem); }
.pricing-options { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.pricing-options article { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; background: var(--soft); }
.pricing-options p.price { margin-top: .4rem; color: var(--ink); font-size: 1.55rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.2; }
.pricing-options p.price span { color: var(--muted); font-size: 1rem; font-weight: 600; letter-spacing: 0; }

.contact { padding-block: clamp(3.25rem, 6vw, 5rem); }
.contact-content { display: flex; align-items: center; justify-content: space-between; gap: 1.8rem; }
.contact-content > div { max-width: 43rem; }
.contact p:not(.eyebrow) { color: var(--light-text); }
.contact .button { flex: 0 0 auto; align-items: flex-start; flex-direction: column; padding: .85rem 1.35rem; }
.contact .button span { font-size: .86rem; font-weight: 550; }
.footer { background: var(--navy-deep); }
.footer-content { min-height: 82px; }
.footer small { color: var(--light-text); }

.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 1; top: .75rem; left: .75rem; padding: .5rem .85rem; background: var(--paper); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .jobsheet .row-new td, .event-flash { animation: none; }
}

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 4rem); }
  .hero { gap: 2rem; }
}

@media (max-width: 820px) {
  .hero, .case, .pricing { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 2.5rem; }
  .hero h1 { font-size: clamp(2.7rem, 8.5vw, 4.65rem); }
  .preview { width: min(100%, 33rem); }
  .case-visual { max-width: 38rem; }
  .case-visual img { aspect-ratio: 3 / 2; }
  .wide-only { display: none; }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 2rem); }
  .header { flex-wrap: wrap; gap: .8rem 1rem; padding-block: .85rem .7rem; }
  .header nav { order: 1; width: 100%; gap: .3rem 1rem; }
  .header nav a { padding-block: .35rem; }
  .hero { padding-block: 3.25rem 4rem; }
  .benefits-grid, .process-grid, .pricing-options { grid-template-columns: minmax(0, 1fr); }
  .benefits-grid { gap: 1.05rem; }
  .contact-content, .footer-content { align-items: flex-start; flex-direction: column; }
  .footer-content { gap: .45rem; padding-block: 1rem; }
  .preview-caption { right: .6rem; }
}

/* ---------- Példaoldalak (peldak/*.html) ---------- */

.crumbs { padding-top: 1.4rem; color: var(--light-text); font-size: .9rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: .3rem; opacity: .6; }
.crumbs a { text-underline-offset: .25em; }
.crumbs [aria-current] { color: var(--paper); }

.story-hero { display: grid; grid-template-columns: 1.3fr 1fr; align-items: start; gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(2.25rem, 4vw, 3.5rem) clamp(3.5rem, 6vw, 5.5rem); }
.story-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.85rem); }
.story-hero .hero-text { max-width: 38rem; }
.notice { max-width: 38rem; margin-top: 1.6rem; padding: .85rem 1rem; border: 1px solid #d8f87655; border-left: 4px solid var(--accent); border-radius: 10px; background: #ffffff0d; color: var(--light-text); font-size: .93rem; }
.notice strong { color: var(--paper); }

.persona { padding: 1.4rem; border: 1px solid #47576b; border-radius: var(--radius); background: linear-gradient(147deg, #303f51, #1d2b3c); }
.persona-title { display: block; font-size: 1.15rem; font-weight: 800; line-height: 1.25; }
.persona-sub { display: block; margin-top: .15rem; color: var(--light-text); font-size: .88rem; }
.persona dl { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; margin: 1.1rem 0 0; font-size: .93rem; }
.persona dt { color: var(--light-text); }
.persona dd { margin: 0; font-weight: 650; }
.persona blockquote { margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid #ffffff24; font-size: 1.05rem; font-weight: 650; line-height: 1.45; }
.persona blockquote span { display: block; margin-top: .35rem; color: var(--light-text); font-size: .85rem; font-weight: 500; }

.lead { max-width: 46rem; }
.section .note { color: var(--muted); font-size: .9rem; }

.soft { background: var(--soft); }
.section.steps { padding-block: clamp(.5rem, 2vw, 1.5rem); }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); }
.duo h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }

/* Előtte–utána folyamatábra */
.compare { display: grid; gap: 2rem; margin-top: 2rem; }
.compare h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; font-size: 1.12rem; }
.flow { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 1.7rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.flow li { position: relative; padding: .85rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-size: .9rem; line-height: 1.38; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -1.3rem; transform: translateY(-50%); color: var(--muted); font-weight: 800; }
.flow strong { display: block; margin-bottom: .15rem; font-size: .95rem; }
.flow-before li { border-color: #ecd6cf; background: #fdf7f5; }
.flow-after li { border-color: #dfe7d2; background: #f7fbe9; }
.section .flow-note { margin-top: .75rem; font-size: .9rem; }

/* Címkék */
.chip { display: inline-block; padding: .18rem .6rem; border-radius: 999px; background: #e9eef3; color: #34485a; font-size: .8rem; font-weight: 700; letter-spacing: 0; line-height: 1.5; white-space: nowrap; }
.chip-green { background: #eaf3dc; color: var(--green); }
.chip-red { background: #f8e6e1; color: #8a3a26; }

/* A folyamat áttekintése */
.timeline { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .7rem; margin: 2rem 0 0; padding: 0; list-style: none; counter-reset: step; }
.timeline li { position: relative; padding: 1rem .9rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); counter-increment: step; }
.timeline li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: .65rem; border-radius: 50%; background: var(--navy); color: var(--accent); font-size: .9rem; font-weight: 800; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; top: 1.9rem; right: calc(-.7rem - 1px); width: calc(.7rem + 2px); height: 2px; background: #86a36f; }
.timeline a { display: block; font-weight: 750; line-height: 1.25; text-decoration: none; }
.timeline a:hover, .timeline a:focus-visible { text-decoration: underline; text-underline-offset: .25em; }
.timeline span { display: block; margin-top: .35rem; color: var(--muted); font-size: .84rem; line-height: 1.38; }
.timeline .free { color: var(--green); font-weight: 700; }

/* Lépések */
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(1.5rem, 5vw, 4.5rem); padding-block: clamp(2.75rem, 5vw, 4.25rem); }
.step + .step { border-top: 1px solid var(--line); }
.step-head { position: sticky; top: 1.5rem; align-self: start; }
.step-no { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: .9rem; border-radius: 50%; background: var(--navy); color: var(--accent); font-weight: 800; }
.step h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.step-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .95rem; }
.section .step-body > p:first-child { margin-top: 0; }
.step-body h3 { margin-top: 1.6rem; font-size: 1.05rem; }

/* Kérdés–válasz párbeszéd */
.chat { display: grid; gap: 1.1rem; margin-top: 1.6rem; }
.section .chat p.chat-title { margin: 0; color: var(--green); font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.qa { display: grid; gap: .45rem; }
.q, .a { max-width: 37rem; padding: .8rem 1.05rem .85rem; border-radius: 14px; }
.q { justify-self: start; border: 1px solid var(--line); border-bottom-left-radius: 4px; background: var(--soft); }
.a { justify-self: end; border: 1px solid #dfe7d2; border-bottom-right-radius: 4px; background: #f7fbe9; }
.who { display: block; margin-bottom: .15rem; color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.a .who { color: var(--green); }
.chat .q p, .chat .a p { margin: 0; color: var(--ink); }
.chat .q p { font-weight: 700; }
.chat .a p + p { margin-top: .5rem; }

/* Pipás lista */
.checks { display: grid; gap: .45rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 1.6rem; color: var(--muted); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.checks-plus li::before { content: "+"; color: var(--muted); }
.checks strong { color: var(--ink); }

/* Képernyőminták */
.screens { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); align-items: start; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.2rem; }
.screens-stack { display: grid; gap: 2rem; min-width: 0; }
.screen { min-width: 0; }
.screen > figcaption:not(.preview-caption) { margin-top: .8rem; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.screen > figcaption:not(.preview-caption) strong { color: var(--ink); }
.phone { width: min(100%, 300px); margin-inline: auto; padding: .65rem; border-radius: 34px; background: var(--navy); box-shadow: 0 20px 50px #080f1c40; }
.phone-screen { overflow: hidden; padding: 1rem .95rem 1.2rem; border-radius: 26px; background: #fbfcfe; color: var(--ink); font-size: .84rem; line-height: 1.4; }
.phone-screen::before { content: ""; display: block; width: 74px; height: 5px; margin: 0 auto .9rem; border-radius: 3px; background: #d5dde4; }
.app-title { display: block; font-size: 1rem; font-weight: 800; line-height: 1.25; }
.app-sub { display: block; color: var(--muted); font-size: .76rem; }
.app-label { display: block; margin-top: .9rem; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.app-options { display: grid; gap: .32rem; margin: .35rem 0 0; padding: 0; list-style: none; }
.app-options li { display: flex; justify-content: space-between; gap: .5rem; padding: .42rem .6rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.app-options li span { color: var(--muted); white-space: nowrap; }
.app-chips { display: flex; flex-wrap: wrap; gap: .3rem; margin: .35rem 0 0; padding: 0; list-style: none; }
.app-chips li { padding: .28rem .5rem; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); font-size: .78rem; }
.app-options .is-on, .app-chips .is-on { border-color: var(--green); background: #eaf3dc; font-weight: 750; }
.app-chips .is-off { background: #f0f3f5; color: #8c9aa7; text-decoration: line-through; }
.app-field { display: block; margin-top: .32rem; padding: .42rem .6rem; border: 1px solid #c9d4dc; border-radius: 7px; background: var(--paper); color: #6b7c8c; }
.app-button { display: block; margin-top: .9rem; padding: .6rem; border-radius: 9px; background: var(--navy); color: var(--paper); font-weight: 750; text-align: center; }
.app-list { display: grid; gap: .32rem; margin: .35rem 0 0; padding: 0; list-style: none; }
.app-list li { display: grid; grid-template-columns: 1fr auto; gap: .1rem .5rem; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.app-list li > span:first-child { font-weight: 700; }
.app-list li > span:nth-child(2) { color: var(--muted); font-size: .78rem; text-align: right; white-space: nowrap; }
.app-list li > small { grid-column: 1 / -1; color: var(--muted); font-size: .76rem; }
.app-total { display: flex; justify-content: space-between; margin-top: .6rem; padding: .55rem .6rem; border-radius: 8px; background: #f7fbe9; font-weight: 800; }
.sms { max-width: 300px; padding: .8rem .95rem; border-radius: 16px 16px 16px 4px; background: #e9eef3; color: var(--ink); font-size: .9rem; line-height: 1.45; }
.sms-meta { display: block; margin-bottom: .3rem; color: var(--muted); font-size: .74rem; font-weight: 700; }
.event-amber { background: #fbecd0; color: #7a4a0c; }
.event-muted { background: #eef1f4; color: #6b7c8c; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: .7rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .84rem; }
.legend li { display: flex; align-items: center; gap: .4rem; }
.legend i { width: 14px; height: 14px; border-radius: 4px; }
.calendar-day th, .calendar-day td { height: 48px; }
.calendar-day td { vertical-align: top; }
.calendar-day .event { min-height: 41px; padding: .3rem .35rem; text-align: left; font-size: .78rem; line-height: 1.3; }
.calendar-day td[rowspan="2"] .event { min-height: 89px; }
.calendar-day td[rowspan="3"] .event { min-height: 137px; }
.calendar-day .event small { display: block; font-weight: 500; }

/* Számolás */
.estimate { margin-top: 1.6rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.estimate table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.estimate caption { padding: .85rem 1.1rem; background: var(--soft); font-weight: 800; text-align: left; }
.estimate caption span { display: block; color: var(--muted); font-size: .84rem; font-weight: 600; }
.estimate th, .estimate td { padding: .62rem 1.1rem; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.estimate th { color: var(--muted); font-weight: 500; }
.estimate td { font-weight: 700; text-align: right; white-space: nowrap; }
.estimate .total th, .estimate .total td { background: #f7fbe9; color: var(--ink); font-size: 1.02rem; font-weight: 800; }

/* Ársáv */
.band { margin-top: 1.6rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.band-ends { display: flex; justify-content: space-between; gap: 1rem; font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.band-ends > span:last-child { text-align: right; }
.band-ends small { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: 0; }
.band-scale { height: 12px; margin: .9rem 0 .2rem; border-radius: 6px; background: linear-gradient(90deg, #ebf5cd, #86a36f); }
.band-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.3rem; }
.band-cols h3 { font-size: 1rem; }

/* Kártyák más példákhoz */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.8rem; }
.card { display: flex; flex-direction: column; gap: .3rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.card:hover, .card:focus-visible { border-color: #86a36f; box-shadow: 0 10px 28px #121b2914; }
.card-kicker { color: var(--green); font-size: .8rem; font-weight: 800; letter-spacing: .05em; }
.card h3 { font-size: 1.15rem; }
.section .card p { margin-top: .25rem; font-size: .94rem; }
.card-more { margin-top: auto; padding-top: .7rem; font-size: .92rem; font-weight: 750; }
.case-more { display: inline-block; margin-top: 1.2rem; font-weight: 750; text-decoration-color: #86a36f; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.case-more:hover { color: var(--green); }

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

@media (max-width: 1000px) {
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timeline li::after { display: none; }
}

@media (max-width: 820px) {
  .story-hero, .step, .screens, .duo { grid-template-columns: minmax(0, 1fr); }
  .step-head { position: static; }
  .flow { grid-auto-flow: row; gap: 1.5rem; }
  .flow li:not(:last-child)::after { content: "↓"; top: auto; right: auto; bottom: -1.38rem; left: 1rem; transform: none; }
  .band-cols { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
}

@media (max-width: 600px) {
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .timeline li { display: grid; grid-template-columns: 30px 1fr; column-gap: .8rem; padding: .85rem .9rem; }
  .timeline li::before { grid-row: 1 / span 3; margin-bottom: 0; }
  .timeline li > * { grid-column: 2; }
  .timeline span { margin-top: .15rem; }
  .q, .a { max-width: 92%; }
}

/* ---------- Jogi oldalak (adatvedelem.html, impresszum.html) ---------- */

.legal { display: grid; grid-template-columns: 15rem minmax(0, 1fr); align-items: start; gap: clamp(2rem, 5vw, 4.5rem); }
.legal-single { grid-template-columns: minmax(0, 1fr); }
.legal-body { max-width: 46rem; }
.legal-body section + section { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.legal-body h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); letter-spacing: -.03em; }
.legal-body ul:not(.checks) { display: grid; gap: .3rem; margin: .95rem 0 0; padding-left: 1.3rem; color: var(--muted); }
.legal-body a { color: var(--green); font-weight: 650; text-underline-offset: .2em; }

.facts { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: .55rem 1.2rem; margin: 1.1rem 0 0; padding: 1rem 1.15rem; border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--soft); }
.facts dt { color: var(--muted); font-size: .88rem; font-weight: 700; line-height: 1.7; }
.facts dd { margin: 0; }


@media (max-width: 600px) {
  .facts { grid-template-columns: minmax(0, 1fr); gap: .05rem; }
  .facts dd + dt { margin-top: .6rem; }
}

/* ---------- Kapcsolati űrlap (assets/site.js) ---------- */

.contact-with-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; gap: clamp(2rem, 5vw, 4.5rem); }
.contact-with-form > .contact-intro { max-width: 36rem; }
.contact-points { display: grid; gap: .55rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.contact-points li { position: relative; padding-left: 1.6rem; color: var(--paper); }
.contact-points li::before { content: ""; position: absolute; left: 0; top: .42em; width: .8rem; height: .8rem; border-radius: 3px; background: var(--accent); }
.contact p.contact-alt { margin-top: 1.5rem; font-size: .95rem; }
.contact-alt a { color: var(--accent); text-underline-offset: .25em; }

.contact-form { position: relative; padding: clamp(1.2rem, 3vw, 2rem); background: var(--paper); color: var(--ink); border-radius: var(--radius); box-shadow: 0 24px 70px #080f1c59; }
.contact-form h3 { margin: 0; }
.contact-form .fields { margin-top: 1rem; }
.field textarea { width: 100%; min-height: 8rem; padding: .55rem .6rem; border: 1px solid #b9c7d1; border-radius: 7px; background: var(--paper); color: var(--ink); font: inherit; font-weight: 400; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid #9cc25a; outline-offset: 1px; border-color: var(--green); }
.field [aria-invalid="true"] { border-color: #b3261e; background: #fff8f7; }
.field .optional { color: var(--muted); font-weight: 500; }
.contact .contact-form p { margin-top: 0; color: var(--muted); }
.contact .contact-form .form-hint { margin-top: -.2rem; font-size: .85rem; }
.contact .contact-form .field-error { margin-top: .1rem; color: #b3261e; font-size: .86rem; font-weight: 600; }
.contact .contact-form .form-privacy { margin-top: 1rem; font-size: .85rem; }
.contact-form .form-privacy a { color: var(--green); }
.contact .contact-form .button { margin-top: 1rem; flex-direction: row; align-items: center; padding: .7rem 1.6rem; }
.contact-form .button:disabled { opacity: .7; cursor: progress; }
.contact .contact-form .form-status { margin-top: .75rem; color: var(--ink); font-size: .92rem; font-weight: 600; }
.form-success { padding: .5rem 0; outline: none; }
.form-success h3 { color: var(--green); }
.contact .contact-form .form-success p { margin-top: .6rem; color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.footer-links { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-size: .88rem; }
.footer-links a { color: var(--light-text); text-underline-offset: .25em; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--paper); }

@media (max-width: 1000px) {
  .contact-with-form { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .contact-form .fields { grid-template-columns: 1fr; }
  .contact .contact-form .button { width: 100%; }
}

/* Egyszerű fejléc a jogi oldalakon */
.legal-head { padding-block: clamp(1.6rem, 4vw, 2.6rem) clamp(2.2rem, 5vw, 3.4rem); }
.legal-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.legal-head p { margin-top: .7rem; color: var(--light-text); }

/* ---------- Gyakori kérdések (főoldal) ---------- */
.faq { background: var(--soft); }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 3rem; margin-top: 2rem; }
.faq-list article { padding-top: 1.1rem; border-top: 2px solid #86a36f; }
.faq-list h3 { font-size: 1.12rem; letter-spacing: -.02em; }
.section .faq-list p { margin-top: .5rem; }
@media (max-width: 820px) {
  .faq-list { grid-template-columns: minmax(0, 1fr); }
}
