/* v20 public marketing site safety CSS
   This file deliberately carries the public-site layout separately from app.css.
   It fixes the giant-logo / unstyled-page issue when the previous patch was uploaded
   without the v18 marketing CSS and image assets. */
html, body.public-v18 { margin:0 !important; width:100%; min-height:100%; }
body.public-v18, body.public-v18 * { box-sizing:border-box; }
body.public-v18 { background:#050b1a !important; color:#fff; font-family:Inter, Arial, Helvetica, sans-serif !important; overflow-x:hidden; }
body.public-v18 img { max-width:100%; height:auto; display:block; }
body.public-v18 a { text-decoration:none; }
body.public-v18 .v18-site-logo img,
body.public-v18 .v18-footer img,
body.public-v18 .v18-quote-banner img { object-fit:contain; }
body.public-v18 .v18-hero-car img { display:block; width:min(760px, 100%) !important; max-width:100% !important; height:auto !important; }
body.public-v18 .v18-site-logo img { width:72px !important; height:72px !important; }
body.public-v18 .v18-quote-banner img { width:110px !important; height:110px !important; }
body.public-v18 .v18-footer img { width:54px !important; height:54px !important; }
body.public-v18 svg { max-width:100%; }

/* v18 Marketing site integration - based on supplied SAS public website mockup */
.public-v18{background:#050b1a;color:#fff;font-family:Inter,Arial,Helvetica,sans-serif;overflow-x:hidden}.public-v18 a{color:inherit}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.v18-site-header{height:88px;background:rgba(3,9,24,.92);border-bottom:1px solid rgba(255,255,255,.12);display:flex;align-items:center;justify-content:space-between;padding:0 5.2vw;position:sticky;top:0;z-index:50;backdrop-filter:blur(16px)}.v18-site-logo{display:flex;align-items:center}.v18-site-logo img{width:72px;height:72px;object-fit:contain;border-radius:50%;filter:drop-shadow(0 0 16px rgba(60,93,255,.38))}.v18-site-nav{display:flex;align-items:center;gap:28px;font-weight:850;font-size:14px}.v18-site-nav a:not(.v18-nav-cta){opacity:.94}.v18-site-nav a:not(.v18-nav-cta):hover{color:#5d83ff}.v18-nav-cta{display:inline-flex;gap:9px;align-items:center;background:#0637e8;color:#fff!important;padding:15px 22px;border-radius:8px;box-shadow:0 14px 34px rgba(0,56,255,.28)}.v18-nav-cta svg{width:15px;height:15px;fill:currentColor}.v18-nav-toggle{display:none;background:#0a2ccf;color:#fff;border:1px solid rgba(255,255,255,.18);border-radius:10px;padding:10px 12px;font-weight:900}.v18-public-main{background:#050b1a}.v18-hero{min-height:560px;position:relative;overflow:hidden;padding:72px 5.2vw 32px;display:grid;grid-template-columns:minmax(380px,520px) 1fr;align-items:center;border-bottom:1px solid rgba(255,255,255,.10);background:radial-gradient(circle at 78% 18%,rgba(20,67,222,.55),transparent 32%),linear-gradient(180deg,#07112b 0%,#020716 100%)}.v18-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,8,19,.95) 0%,rgba(4,8,19,.58) 42%,rgba(4,8,19,.1) 100%);z-index:1}.v18-hero-copy{position:relative;z-index:3}.v18-hero h1{font-size:64px;line-height:.98;margin:0 0 22px;letter-spacing:-.05em;color:#fff}.v18-hero h1 span{color:#1f5cff}.v18-hero p{font-size:18px;line-height:1.55;color:#c7d2e5;margin:0 0 32px;max-width:520px}.v18-hero-actions{display:flex;gap:18px;flex-wrap:wrap}.v18-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:9px;font-weight:950;padding:17px 28px;text-decoration:none;border:1px solid transparent;cursor:pointer}.v18-btn svg{width:16px;height:16px;fill:currentColor}.v18-btn-primary{background:#0538ee;color:#fff!important;box-shadow:0 18px 42px rgba(0,56,255,.26)}.v18-btn-primary:hover{background:#174bff}.v18-btn-ghost{background:rgba(255,255,255,.04);color:#fff!important;border-color:rgba(255,255,255,.36)}.v18-btn-ghost:hover{background:rgba(255,255,255,.10)}.v18-btn-white{background:#fff;color:#071027!important}.v18-hero-car{position:relative;z-index:2;align-self:stretch;display:flex;align-items:center;justify-content:center}.v18-hero-car img{width:min(760px,100%);height:auto;filter:drop-shadow(0 35px 80px rgba(0,0,0,.55))}.v18-proof-strip{grid-column:1/-1;position:relative;z-index:3;display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:1px solid rgba(255,255,255,.08);margin-top:34px;padding-top:28px}.v18-proof-strip div{display:flex;gap:16px;align-items:center;padding-right:26px;border-right:1px solid rgba(255,255,255,.2)}.v18-proof-strip div:last-child{border-right:0}.v18-proof-strip svg{width:32px;height:32px;fill:#2864ff;flex:0 0 32px}.v18-proof-strip b{display:block;color:#fff;font-size:16px}.v18-proof-strip small{display:block;color:#9ba9c4;margin-top:2px}.v18-services{background:#fff;color:#071027;padding:42px 5.2vw 54px}.v18-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.v18-section-head p{margin:0 0 8px;color:#0637e8;text-transform:uppercase;font-weight:950;font-size:12px;letter-spacing:.08em}.v18-section-head h2{font-size:30px;line-height:1.15;letter-spacing:-.03em;margin:0;color:#071027}.v18-section-head a{color:#0637e8;font-weight:950;display:flex;align-items:center;gap:8px}.v18-section-head svg{width:15px;height:15px;fill:currentColor}.v18-service-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.v18-service-card{min-height:210px;background:#fff;border:1px solid #e1e7f3;border-radius:18px;padding:22px;box-shadow:0 18px 40px rgba(15,23,42,.06);position:relative;display:grid;align-content:start;gap:12px}.v18-service-card:hover{transform:translateY(-3px);box-shadow:0 22px 52px rgba(15,45,160,.11);border-color:#bdd0ff}.v18-service-icon{width:46px;height:46px;border-radius:50%;background:#f0f4ff;color:#0637e8;display:grid;place-items:center}.v18-service-icon svg{width:24px;height:24px;fill:currentColor}.v18-service-card h3{margin:0;color:#111b34;font-size:17px}.v18-service-card p{margin:0;color:#59657a;font-size:14px;line-height:1.48}.v18-service-card>a{position:absolute;right:20px;bottom:18px;width:34px;height:34px;border-radius:8px;background:#f2f5fb;color:#061db8;display:grid;place-items:center}.v18-service-card>a svg{width:16px;height:16px;fill:currentColor}.v18-dark-band{background:linear-gradient(180deg,#071124 0%,#050b1a 100%);padding:58px 5.2vw 64px;border-top:1px solid rgba(255,255,255,.08)}.v18-section-head-dark h2{color:#fff}.v18-section-head-dark p{color:#4773ff}.v18-reason-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:32px}.v18-reason-grid article{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:28px;min-height:176px}.v18-reason-grid svg{width:36px;height:36px;fill:#3470ff;margin-bottom:18px}.v18-reason-grid h3{margin:0 0 10px;color:#fff}.v18-reason-grid p{margin:0;color:#c1cbe0;line-height:1.52}.v18-category-rail{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid rgba(255,255,255,.18);border-radius:16px;overflow:hidden;margin-bottom:28px}.v18-category-rail span{display:flex;align-items:center;gap:14px;min-height:78px;padding:18px 24px;border-right:1px solid rgba(255,255,255,.16);font-weight:950;color:#fff}.v18-category-rail span:last-child{border-right:0}.v18-category-rail svg{width:34px;height:34px;fill:#2864ff}.v18-quote-banner{background:radial-gradient(circle at 72% 40%,rgba(62,115,255,.52),transparent 34%),linear-gradient(135deg,#07124a 0%,#0637e8 55%,#05102d 100%);border:1px solid rgba(255,255,255,.16);border-radius:18px;display:grid;grid-template-columns:130px 1fr auto;align-items:center;gap:26px;padding:28px 44px;overflow:hidden}.v18-quote-banner img{width:110px;height:110px;border-radius:50%;filter:drop-shadow(0 0 20px rgba(255,255,255,.18))}.v18-quote-banner h2{font-size:34px;line-height:1.08;letter-spacing:-.03em;margin:0 0 8px}.v18-quote-banner p{margin:0;color:#d8e3ff}.v18-enquiry-section{display:grid;grid-template-columns:.88fr 1.12fr;gap:34px;padding:62px 5.2vw;background:#f7f9ff;color:#071027}.v18-enquiry-copy>p:first-child{color:#0637e8;font-weight:950;text-transform:uppercase;font-size:12px;letter-spacing:.1em}.v18-enquiry-copy h2{font-size:42px;line-height:1.08;margin:0 0 16px;letter-spacing:-.04em}.v18-enquiry-copy p,.v18-enquiry-copy li{color:#536075;line-height:1.58}.v18-public-note{background:#fff;border-left:4px solid #0637e8;border-radius:12px;padding:14px 16px!important;color:#122040!important}.v18-enquiry-card{background:#fff;border:1px solid #e2e8f4;border-radius:24px;box-shadow:0 22px 60px rgba(15,35,89,.10);padding:28px;display:grid;gap:14px}.v18-enquiry-card label{display:grid;gap:8px;color:#1e293b;font-weight:850;margin:0}.v18-enquiry-card input,.v18-enquiry-card select,.v18-enquiry-card textarea{width:100%;border:1px solid #cfd8ea;border-radius:12px;padding:13px 14px;font:inherit;background:#fff;margin:0}.v18-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.v18-form-note{margin:0;color:#667085;font-size:13px}.v18-footer{background:#030713;border-top:1px solid rgba(255,255,255,.12);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:32px 5.2vw;color:#bcc7dd}.v18-footer div{display:flex;align-items:center;gap:18px}.v18-footer img{width:54px;height:54px;border-radius:50%}.v18-footer p{margin:0}.v18-footer nav{display:flex;gap:22px;font-weight:850}.v18-footer a{color:#dce4ff}.v18-website-admin .hero-panel{background:linear-gradient(135deg,#071124,#0637e8)}
@media(max-width:1180px){.v18-service-grid{grid-template-columns:repeat(3,1fr)}.v18-proof-strip{grid-template-columns:repeat(2,1fr);gap:18px}.v18-proof-strip div{border-right:0}.v18-reason-grid{grid-template-columns:repeat(2,1fr)}.v18-category-rail{grid-template-columns:1fr 1fr}.v18-quote-banner{grid-template-columns:90px 1fr}.v18-quote-banner .v18-btn{grid-column:1/-1;width:max-content}.v18-hero h1{font-size:54px}.v18-site-nav{gap:20px}}
@media(max-width:820px){.v18-site-header{height:auto;min-height:76px;padding:12px 18px}.v18-site-logo img{width:58px;height:58px}.v18-nav-toggle{display:inline-flex}.v18-site-nav{position:fixed;left:18px;right:18px;top:82px;background:#071124;border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:18px;display:none;grid-template-columns:1fr;gap:10px;box-shadow:0 30px 80px rgba(0,0,0,.45)}.v18-nav-open .v18-site-nav{display:grid}.v18-nav-cta{justify-content:center}.v18-hero{grid-template-columns:1fr;padding:52px 20px 28px}.v18-hero:before{background:linear-gradient(180deg,rgba(4,8,19,.96),rgba(4,8,19,.74))}.v18-hero h1{font-size:44px}.v18-hero p{font-size:16px}.v18-hero-car{min-height:250px}.v18-proof-strip{grid-template-columns:1fr;margin-top:16px;padding-top:18px}.v18-proof-strip div{padding:0}.v18-services,.v18-dark-band,.v18-enquiry-section,.v18-footer{padding-left:20px;padding-right:20px}.v18-section-head{display:grid}.v18-service-grid,.v18-reason-grid,.v18-category-rail,.v18-enquiry-section,.v18-form-row{grid-template-columns:1fr}.v18-category-rail span{border-right:0;border-bottom:1px solid rgba(255,255,255,.16)}.v18-category-rail span:last-child{border-bottom:0}.v18-quote-banner{grid-template-columns:1fr;text-align:left;padding:24px}.v18-quote-banner h2{font-size:28px}.v18-footer{display:grid}.v18-footer div{align-items:flex-start}.v18-footer nav{flex-wrap:wrap}.v18-btn{width:100%}}


body.public-v18 .hp { position:absolute !important; left:-9999px !important; opacity:0 !important; height:0 !important; width:0 !important; pointer-events:none !important; }
body.public-v18 .alert-success { background:#ecfdf3; color:#027a48; border:1px solid #abefc6; padding:12px 14px; border-radius:12px; }
@media (min-width: 821px) {
  body.public-v18 .v18-site-nav { white-space:nowrap; }
}


/* v20: visible CRM access link in the top navigation */
body.public-v18 .v18-client-login{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#dce6ff !important;
  border:1px solid rgba(255,255,255,.24);
  border-radius:8px;
  padding:11px 14px;
  line-height:1;
  font-weight:950;
  background:rgba(255,255,255,.035);
}
body.public-v18 .v18-client-login:hover{
  background:rgba(255,255,255,.10);
  color:#fff !important;
  border-color:rgba(87,126,255,.70);
}
body.public-v18 .v18-hero-car img{
  border-radius:4px;
  background:#050b1a;
  object-fit:cover;
}
@media(max-width:820px){
  body.public-v18 .v18-client-login{
    width:100%;
    padding:14px 16px;
  }
}
