/* Landing pages /atvilagitas and /nincs-elveszett: the homepage motion hero (copy of index.html lines 962-1002, same selectors) and the lp- section classes in the homepage card style. */
.apex-ui-page > nav{position:fixed;top:0;left:0;right:0}
.apex-ui-page #home.hero[data-motion-hero]{display:block;position:relative;min-height:0!important;height:100vh;height:100svh;padding:0!important;overflow:visible;text-align:left;background:#04040a}
.mh-on #home.hero[data-motion-hero]{height:210vh;height:210svh}
.mh-stage{position:sticky;top:0;width:100%;height:100vh;height:100svh;overflow:hidden;isolation:isolate}
.mh-media{position:absolute;inset:0;z-index:0;will-change:transform}
.mh-on .mh-media{transform:scale(1.18)}
.mh-media picture,.mh-media img,.mh-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.mh-video{opacity:0;transition:opacity .4s linear}
.mh-video.is-playing{opacity:1}
.mh-veil{position:absolute;inset:0;z-index:1;background:linear-gradient(to top,rgba(4,4,10,.94) 0%,rgba(4,4,10,.72) 40%,rgba(4,4,10,.15) 78%),linear-gradient(to right,rgba(4,4,10,.55),rgba(4,4,10,0) 70%)}
.mh-on .mh-veil{opacity:0;will-change:opacity}
.mh-knock,.mh-tag,.mh-hint{display:none}
.mh-on .mh-knock{display:block;position:absolute;inset:0;z-index:2;width:100%;height:100%}
.mh-word{font-family:'DM Sans',ui-sans-serif,-apple-system,sans-serif;font-weight:800;font-size:calc(min(90vw,160svh)*.36)}
.mh-measure{fill:transparent;stroke:rgba(201,168,76,.5);stroke-width:1.2px;vector-effect:non-scaling-stroke}
.mh-on .mh-tag{display:block;position:absolute;left:0;right:0;top:calc(47% + min(90vw,160svh)*.072 + 6px);z-index:3;margin:0;padding:0 16px;text-align:center;font-family:'Cormorant Garamond',ui-serif,Georgia,serif;font-style:italic;font-size:clamp(20px,2.4vw,30px);line-height:1.3;color:var(--sub)}
.mh-on .mh-hint{display:flex;position:absolute;left:50%;bottom:28px;z-index:3;transform:translateX(-50%);flex-direction:column;align-items:center;gap:10px;font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--sub)}
.mh-hint i{width:1px;height:38px;background:linear-gradient(var(--gold),transparent);animation:mhDrip 1.8s ease-in-out infinite}
@keyframes mhDrip{0%{transform:scaleY(0);transform-origin:top}50%{transform:scaleY(1);transform-origin:top}51%{transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom}}
.apex-ui-page #home .hero-content.mh-copy{position:absolute;left:0;right:0;bottom:clamp(40px,9vh,110px);z-index:4;display:block;width:auto;max-width:none;margin:0;padding:0 clamp(16px,6vw,96px);translate:none;text-align:left}
@media (max-width:700px){.apex-ui-page #home .hero-content.mh-copy{bottom:calc(96px + env(safe-area-inset-bottom,0px))}}
html.mh-on body:has(#cookieBanner.show) #home .hero-content.mh-copy{bottom:max(210px,28vh);translate:none}
/* Static hero (reduced motion, or the motion script never ran): the copy sits in the flow from the top, so a font swap or the cookie banner does not move it. */
html:not(.mh-on) .apex-ui-page #home.hero[data-motion-hero],html:not(.mh-on) .apex-ui-page #home .mh-stage{height:auto;min-height:100vh;min-height:100svh}
html:not(.mh-on) .apex-ui-page #home .hero-content.mh-copy{position:relative;bottom:auto;padding-top:clamp(112px,24svh,240px);padding-bottom:clamp(48px,8svh,96px)}
.mh-on #home .mh-copy{opacity:0;transform:translateY(40px);pointer-events:none}
.mh-on #home .mh-copy.is-shown{pointer-events:auto}
.mh-on #home .mh-copy:focus-within{opacity:1!important;transform:none!important;pointer-events:auto}
.apex-ui-page #home .mh-copy .hero-label{margin:0 0 18px;font-size:12px;letter-spacing:.24em;color:var(--gold)}
.apex-ui-page #home .mh-copy h1{max-width:13ch!important;margin:0!important;font-family:'Cormorant Garamond',ui-serif,Georgia,serif;font-weight:600;font-size:clamp(40px,6.4vw,96px)!important;line-height:.98!important;letter-spacing:-.01em;text-align:left;text-wrap:wrap;text-shadow:0 2px 24px rgba(0,0,0,.5)}
.apex-ui-page #home .mh-copy .h1-line,.apex-ui-page #home .mh-copy .h1-inner{display:inline;margin:0;padding:0;overflow:visible}
.apex-ui-page #home .mh-copy h1 em{background:none;color:var(--gold);-webkit-text-fill-color:var(--gold);animation:none;font-variant-numeric:lining-nums}
.apex-ui-page #home .mh-copy .hero-sub{max-width:46ch!important;margin:18px 0 0!important;font-size:clamp(16px,1.35vw,19px);line-height:1.5;color:#d0d0e4;text-align:left}
.apex-ui-page #home .mh-copy .hero-ctas{display:flex!important;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;gap:12px!important;max-width:none;margin:26px 0 0!important}
.apex-ui-page #home .mh-copy .hero-ctas .apex-primary-cta,.apex-ui-page #home .mh-copy .hero-ctas .apex-secondary-cta{grid-column:auto;flex:0 0 auto;width:auto!important;max-width:100%;min-height:44px;padding:11px 20px!important;border-radius:999px;font-family:'DM Sans',ui-sans-serif,-apple-system,sans-serif;font-size:15px!important;font-weight:700!important;letter-spacing:0!important;text-transform:none;white-space:nowrap}
.apex-ui-page #home .mh-copy .hero-ctas .apex-secondary-cta{background:rgba(4,4,10,.35)!important;border-color:rgba(232,232,240,.25)!important}
/* Very low windows: the scroll hint would sit on the tagline, so it goes. */
@media (max-height:560px){.mh-on .mh-hint{display:none}}
/* Short phones while the cookie banner is up: the sub line steps aside so the headline stays below the nav. */
@media (max-width:700px) and (max-height:620px){html.mh-on body:has(#cookieBanner.show) #home .mh-copy .hero-sub{display:none}}
/* Wide but short windows: the copy block shrinks with the height so the headline is never cut off at the top. */
@media (min-width:701px) and (max-height:760px){.apex-ui-page #home .hero-content.mh-copy{bottom:clamp(24px,6vh,110px)}html.mh-on body:has(#cookieBanner.show) #home .hero-content.mh-copy{bottom:150px}.apex-ui-page #home .mh-copy h1{max-width:22ch!important;font-size:clamp(30px,min(6.4vw,10svh),96px)!important}.apex-ui-page #home .mh-copy .hero-label{margin-bottom:10px}.apex-ui-page #home .mh-copy .hero-sub{margin-top:12px!important}.apex-ui-page #home .mh-copy .hero-ctas{margin-top:16px!important}}
@media (prefers-reduced-motion:reduce){.mh-hint i{animation:none}}
/* Landing-page additions: uppercase label as on the homepage, and the copy colour. */
.apex-ui-page #home .mh-copy .hero-label{text-transform:uppercase;font-weight:500}
.apex-ui-page #home .mh-copy h1{color:var(--w)}
/* Landing-page sections (the page's own copy, homepage card style). */
.apex-ui-page .lp-wrap{width:min(100%,1040px);margin:0 auto;padding:clamp(48px,7vw,96px) clamp(16px,5vw,48px) clamp(64px,9vw,112px)}
.apex-ui-page .lp-card{background:var(--card);border:1px solid var(--card-border);border-radius:14px;padding:clamp(22px,3vw,34px);margin:0 0 18px}
.apex-ui-page .lp-h2{font-family:'Cormorant Garamond',ui-serif,Georgia,serif;font-weight:300;font-size:clamp(1.9rem,3.6vw,2.7rem);line-height:1.1;color:var(--w);margin:0 0 14px}
.apex-ui-page .lp-p{color:var(--sub);line-height:1.7;margin:0}
.apex-ui-page .lp-p+.lp-p{margin-top:12px}
.apex-ui-page .lp-p strong,.apex-ui-page .lp-list strong{color:var(--w);font-weight:600}
.apex-ui-page .lp-list{color:var(--sub);line-height:1.6;padding-left:20px;margin:0}
.apex-ui-page .lp-list li+li{margin-top:8px}
.apex-ui-page .lp-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;list-style:none;margin:0;padding:0}
.apex-ui-page .lp-steps li{background:var(--s1);border:1px solid var(--border);border-radius:10px;padding:18px;color:var(--sub);line-height:1.6}
.apex-ui-page .lp-steps strong{display:block;color:var(--gold);font-weight:600;margin-bottom:6px}
.apex-ui-page .lp-form{display:grid;gap:12px;margin-top:18px}
.apex-ui-page .lp-status{color:var(--sub);line-height:1.6;margin:14px 0 0}
.apex-ui-page .lp-steps+.lp-p{margin-top:14px}
.apex-ui-page .lp-field{display:grid;gap:6px;color:var(--sub);font-size:14px}
.apex-ui-page .lp-field input,.apex-ui-page .lp-field textarea{width:100%;box-sizing:border-box;background:var(--bg);border:1px solid var(--card-border);border-radius:8px;padding:12px 14px;color:var(--text);font:inherit;font-size:16px}
.apex-ui-page .lp-field input:focus,.apex-ui-page .lp-field textarea:focus{outline:2px solid var(--gold);outline-offset:2px}
.apex-ui-page .lp-submit{justify-self:start;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 20px;border:1px solid var(--gold);border-radius:999px;background:var(--gold);color:#04040a;font-family:'DM Sans',ui-sans-serif,-apple-system,sans-serif;font-size:15px;font-weight:700;line-height:1.25;cursor:pointer}
.apex-ui-page .lp-submit:hover{background:#e9c976;border-color:#e9c976}
.apex-ui-page .lp-note{color:var(--sub);font-size:14px;line-height:1.6;margin:0}
@media (max-width:760px){.apex-ui-page .lp-steps{grid-template-columns:minmax(0,1fr)}}
