/* MARA landing v2 (lurnr.eu look, phase A).
   Loaded only in the v2 variant of index.html, on top of site-2026-scoped.css and mara-site-2026.css.
   Every rule is scoped under .site-v2, which sits on <body> only while the public landing is visible,
   so the logged-in app keeps its current look. Gold only inside the MARA logo. */

body.site-v2{font-weight:400}

/* Neutralise older SPA button rules (.btn in index.html) that would leak into lurnr buttons */
.site-v2 #landing .btn,:is(.site-v2,html.site-v2-app) .ml-cookie .btn{letter-spacing:0;justify-content:center;box-shadow:none;transform:none;width:auto;max-width:none;margin:0}
.site-v2 #landing .btn:hover{transform:none}
.site-v2 #landing .btn-secondary:hover{color:var(--color-ink)}

/* ---------- Header ---------- */
.site-v2 #landing .site-header .wrap{gap:clamp(12px,2vw,24px)}
.site-v2 #landing .nav a{min-height:44px;display:inline-flex;align-items:center}
.site-v2 #landing .header-actions{gap:16px}
.site-v2 #landing .lang-switch .lang-opt{display:inline-flex;align-items:center;justify-content:center;gap:0;font:500 15px var(--font-body);background:transparent;border:0;border-radius:0;color:var(--color-text-secondary);min-width:40px;min-height:44px;padding:0 6px;cursor:pointer;text-decoration:none;transition:none}
.site-v2 #landing .lang-switch .lang-opt:hover{background:transparent;color:var(--color-ink);text-decoration:underline;text-underline-offset:4px}
.site-v2 #landing .lang-switch .lang-opt.active{background:transparent;color:var(--color-ink);font-weight:600;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
.site-v2 #landing .ml-lang-mob{display:none}
.site-v2 #landing .topbar-user:not(.show){display:none}
.site-v2 #landing .topbar-logout{border-radius:var(--radius-button);border-color:var(--color-ink);color:var(--color-ink);min-height:44px}
@media(max-width:960px){
  .site-v2 #landing .header-actions{gap:4px}
  .site-v2 #landing .site-header.open .nav{gap:0}
  .site-v2 #landing .site-header.open .nav .lang-switch{border-bottom:1px solid rgba(16,16,16,.08);width:100%;padding:4px 0}
}
@media(max-width:600px){
  /* five language buttons do not fit next to the logo: they move into the menu */
  .site-v2 #landing .ml-lang-desk{display:none}
  .site-v2 #landing .site-header.open .nav .ml-lang-mob{display:flex;flex-wrap:wrap}
}

/* ---------- Hero ---------- */
.site-v2 #landing .ml-main{flex:1 0 auto}
.site-v2 #landing .ml-overline{text-transform:uppercase;margin:0}
.site-v2 #landing .ml-hero .product-logo{width:56px;height:56px;margin-bottom:12px}
.site-v2 #landing .ml-hero h1 span{color:inherit;background:none;-webkit-text-fill-color:currentColor}
.site-v2 #landing .ml-hero .overline{margin-top:4px}
.site-v2 #landing .ml-notice{margin:0;font-size:16px}
.site-v2 #landing .ml-notice p{margin:0 0 .6em}
.site-v2 #landing .ml-notice p:last-child{margin:0}
.site-v2 #landing .ml-notice a,.site-v2 #landing .price-note a{color:var(--color-brand-text);font-weight:600;text-underline-offset:3px}
.site-v2 #landing .ml-trust{list-style:none;display:flex;flex-wrap:wrap;gap:4px 32px;margin:clamp(28px,3vw,48px) 0 0;padding:14px 0 0;border-top:1px solid var(--color-rule);font-size:14px;font-weight:500;letter-spacing:.04em;color:var(--color-text-secondary)}

/* ---------- Sections ---------- */
.site-v2 #landing .section-head .h2{margin-top:8px}
.site-v2 #landing .section-head > div > .h2:first-child{margin-top:0}
.site-v2 #landing .section-head .lead + .lead{margin-top:12px}
.site-v2 #landing .ml-lead-strong{color:var(--color-ink);font-weight:500}
.site-v2 #landing .feature .num{font-size:20px}
.site-v2 #landing .feature p.ml-short{color:var(--color-ink);font-weight:500}
.site-v2 #landing .ml-tags{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:2px 0;font-size:14px;color:var(--color-text-secondary)}
.site-v2 #landing .ml-tags li:not(:last-child)::after{content:"\00B7";padding:0 8px}
.site-v2 #landing .ml-subhead{margin-top:clamp(32px,4vw,56px);max-width:52em}
.site-v2 #landing .ml-subhead p:last-child{color:var(--color-text-secondary);margin:8px 0 0}
.site-v2 #landing .ml-section-cta{margin-top:clamp(28px,3vw,48px)}

/* ---------- Pricing ---------- */
.site-v2 #landing .ml-plans{max-width:980px;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
.site-v2 #landing .plan .ml-plan-desc{margin:0}
.site-v2 #landing .plan .price{margin-top:16px}
.site-v2 #landing .plan .btn{white-space:normal;text-align:center}

/* ---------- Compare table ---------- */
.site-v2 #landing .ml-compare{width:100%;margin-top:clamp(24px,3vw,40px);border-collapse:collapse;table-layout:fixed;font-size:15px}
.site-v2 #landing .ml-compare th,.site-v2 #landing .ml-compare td{padding:12px 8px;border-bottom:1px solid rgba(16,16,16,.15);text-align:center;vertical-align:middle;overflow-wrap:anywhere}
.site-v2 #landing .ml-compare th:first-child,.site-v2 #landing .ml-compare td:first-child{text-align:left;width:52%;padding-left:0}
.site-v2 #landing .ml-compare thead th{font-family:var(--font-heading);font-weight:700;font-size:clamp(17px,1.6vw,24px);line-height:1.2;border-bottom:2px solid var(--color-ink)}
.site-v2 #landing .ml-compare .ic{display:inline-block;width:20px;height:20px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.site-v2 #landing .ml-compare .cmp-check{color:var(--color-ink)}
.site-v2 #landing .ml-compare .cmp-x{color:var(--color-rule)}
.site-v2 #landing .ml-compare .cmp-lim{font-size:14px;color:var(--color-text-secondary)}
@media(max-width:640px){
  .site-v2 #landing .ml-compare{font-size:14px}
  .site-v2 #landing .ml-compare th,.site-v2 #landing .ml-compare td{padding:10px 4px}
  .site-v2 #landing .ml-compare th:first-child,.site-v2 #landing .ml-compare td:first-child{width:46%}
  .site-v2 #landing .ml-compare thead th{font-size:16px}
}

/* ---------- Closing block and footer ---------- */
.site-v2 #landing .cta-block .hero-actions{margin-bottom:16px}
.site-v2 #landing .cta-block .ml-cta-note{margin:0}
.site-v2 #landing .ml-footer .footer-top{gap:12px 40px}
.site-v2 #landing .ml-origin{margin:0}
.site-v2 #landing .ml-origin a{display:inline-flex;align-items:center;gap:8px;min-height:44px;text-decoration:none}
.site-v2 #landing .ml-origin a:hover span{text-decoration:underline;text-underline-offset:4px}
.site-v2 #landing .ml-origin a span{font-family:var(--font-heading);font-weight:700;font-size:20px;letter-spacing:.01em}

/* ---------- Auth modals (login, register, forgot, reset) ---------- */
.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset){
  --rose:#8A4A00;--rose-d:#8A4A00;--rose-l:#77736D;--midnight:#101010;--txt:#101010;--txt-m:#424242;--txt-l:#424242;--border:#77736D;--border-l:#77736D;--white:#FFFFFF;--ivory:#FAF9F6;
  background:rgba(16,16,16,.45);backdrop-filter:none;-webkit-backdrop-filter:none
}
.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset) .modal{background:var(--color-paper);border:1px solid var(--color-ink);border-radius:var(--radius-button);box-shadow:none;padding:clamp(24px,5vw,40px);font-family:var(--font-body);color:var(--color-ink)}
.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset) .modal h2{font-family:var(--font-heading);font-weight:700;font-size:clamp(28px,3vw,36px);line-height:1.2;letter-spacing:0;color:var(--color-ink);margin:0 40px 8px 0}
.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset) .modal .subtitle{color:var(--color-text-secondary);font-size:16px;margin-bottom:24px}
.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset) .form-group label{font-family:var(--font-body);font-weight:500;font-size:15px;color:var(--color-ink)}
.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset) .form-group input:not([type=checkbox]){font-family:var(--font-body);font-size:16px;color:var(--color-ink);background:var(--color-white);border:1px solid var(--color-rule);border-radius:var(--radius-button);min-height:48px;padding:12px 14px;box-shadow:none}
.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset) .pw-wrap input{padding-right:48px!important}
.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset) .form-group input:not([type=checkbox]):focus{border-color:var(--color-ink);box-shadow:none}
.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset) .form-group input:focus-visible{outline:3px solid var(--color-ink);outline-offset:1px}
.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset) input[type=checkbox]{accent-color:var(--color-ink)}
.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset) .btn-p{display:flex;width:100%;max-width:none;margin:8px 0 0;min-height:48px;padding:12px 26px;border-radius:var(--radius-button);background:var(--color-brand);color:var(--color-ink);border:0;box-shadow:none;transform:none;font-family:var(--font-body);font-weight:500;font-size:16px;letter-spacing:0;white-space:normal;text-align:center}
.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset) .btn-p:hover{background:#DC9233;transform:none;box-shadow:none}
.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset) .btn-p svg{width:18px;height:18px}
.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset) .btn-social{border-radius:var(--radius-button);min-height:48px;font-family:var(--font-body);box-shadow:none}
.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset) .btn-google{border:1px solid var(--color-ink);color:var(--color-ink)}
.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset) .modal-close{width:44px;height:44px;top:12px;right:12px;border-radius:var(--radius-button);color:var(--color-ink)}
.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset) .modal-close:hover{background:var(--color-brand-soft)}
.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset) .modal-switch{color:var(--color-text-secondary);font-size:15px}
.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset) .modal-switch a,.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset) .modal a{color:var(--color-brand-text);text-decoration-color:currentColor}
.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset) .remember-me{color:var(--color-ink);font-size:15px}
.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset) .social-divider::before,.site-v2 :is(#modal-login,#modal-register,#modal-forgot,#modal-reset) .social-divider::after{background:rgba(16,16,16,.15)}

/* ---------- Cookie banner (rendered with classes when v2 is active) ---------- */
:is(.site-v2,html.site-v2-app) .ml-cookie.cookie-banner{position:fixed;left:16px;right:auto;bottom:16px;z-index:9998;display:block;max-width:480px;background:var(--color-white);border:1px solid var(--color-ink);border-radius:var(--radius-button);box-shadow:none;animation:none;padding:18px 20px;font-family:var(--font-body);font-size:15px;line-height:1.5;color:var(--color-ink)}
:is(.site-v2,html.site-v2-app) .ml-cookie p{margin:0 0 14px}
:is(.site-v2,html.site-v2-app) .ml-cookie a{color:var(--color-brand-text);font-weight:600;text-underline-offset:3px}
:is(.site-v2,html.site-v2-app) .ml-cookie .cookie-actions .btn{min-height:44px;padding:10px 16px;font-size:15px}
/* Mobile: sit above the round support-chat button (bottom right), so both cookie buttons stay fully clickable */
@media(max-width:600px){:is(.site-v2,html.site-v2-app) .ml-cookie.cookie-banner{left:12px;right:12px;bottom:88px;max-width:none}}
/* Tool and assessment icons (the original MARA drawings): gold becomes the brand orange, navy becomes ink */
.site-v2 #landing .ml-ac-icon{display:flex;margin-bottom:14px}
.site-v2 #landing .ml-ac-icon svg{width:40px;height:40px}
.site-v2 #landing .ml-ac-icon [fill="#C5A55A"]{fill:var(--color-brand)}
.site-v2 #landing .ml-ac-icon [stroke="#C5A55A"]{stroke:var(--color-brand)}
.site-v2 #landing .ml-ac-icon :is([fill="#1B2A4A"],[fill="#0F1A2E"]){fill:var(--color-ink)}
.site-v2 #landing .ml-ac-icon :is([stroke="#1B2A4A"],[stroke="#0F1A2E"]){stroke:var(--color-ink)}
.site-v2 #landing .ml-ac-icon [fill="#EDE6DD"]{fill:var(--color-brand-soft)}
.site-v2 #landing .ml-ac-icon [stroke="#9A7B63"]{stroke:var(--color-ink)}
.site-v2 #landing .ml-ac-icon [stroke="#B8977E"]{stroke:var(--color-brand)}
/* Loopbaanscan: one wider card under the assessments */
.site-v2 #landing .ml-scan{max-width:760px}
