:root{
  --navy:#0F2447; --navy-2:#173A6B; --navy-tint:#EEF2F8; --panel:#F3F6FA;
  --red:#E0202B; --red-2:#C4141E; --red-tint:#FDECEE;
  --ink:#1B2A44; --muted:#5B6B82; --line:#E2E7EF; --white:#fff; --green:#1E9E5A;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --wide:1312px; --gutter:clamp(1rem,4.4vw,4rem); --r:12px; --r-lg:16px;
  --shadow:0 2px 6px rgba(15,36,71,.06),0 14px 34px rgba(15,36,71,.10); --tap:44px;
}
/* Jour365 homepage (Phase 3B-3) — scoped to the front page; ported from the approved prototype. All classes j3-prefixed. */
.j3-home{font-family:var(--font);font-size:15px;line-height:1.55;color:var(--ink)}
.j3-home *,.j3-home *::before,.j3-home *::after{box-sizing:border-box}
.j3-home img{max-width:100%;height:auto;display:block}
.j3-home a{color:var(--navy);text-decoration:none} .j3-home a:hover{color:var(--red)}
.j3-home :focus-visible{outline:3px solid #1D4ED8;outline-offset:2px;border-radius:6px}
.j3-home h1,.j3-home h2,.j3-home h3{margin:0;color:var(--navy);font-weight:800;letter-spacing:-.015em;line-height:1.12;font-family:var(--font)}
.j3-home h1{font-size:clamp(2rem,3.4vw,3rem)} .j3-home h2{font-size:clamp(1.5rem,2.3vw,2.05rem)} .j3-home h3{font-size:1.125rem}
.j3-home p{margin:0} .j3-home ul,.j3-home ol{margin:0;padding:0}
.j3-home section{padding-block:3.5rem} @media (max-width:767px){.j3-home section{padding-block:2.5rem}}
.j3-home .j3-full{width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);max-width:100vw}
.j3-home .j3-wrap{max-width:var(--wide);margin-inline:auto;padding-inline:var(--gutter)} .j3-home .j3-wrap>*{min-width:0}
.j3-home .j3-hero{background:#DCE6F2;position:relative;overflow:hidden} .j3-home .j3-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center right;z-index:0}
.j3-home .j3-hero::before{z-index:1} .j3-home .j3-hero .j3-wrap,.j3-home .j3-hero-script{position:relative;z-index:2}
.j3-home .j3-sthlm-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0} .j3-home .j3-sthlm::before{z-index:1} .j3-home .j3-sthlm>*{position:relative;z-index:2}
.j3-home .j3-wrap{max-width:var(--wide);margin-inline:auto;padding-inline:var(--gutter)}
.j3-home .j3-wrap>*{min-width:0}
.j3-home .j3-eyebrow{display:block;font-size:.75rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--red);margin-bottom:.6rem}
.j3-home .j3-eyebrow b{color:var(--red)}
.j3-home .j3-eyebrow.j3-navy{color:var(--navy)}
.j3-home .j3-muted{color:var(--muted)}
.j3-home .j3-small{font-size:.875rem}
.j3-home .j3-btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:var(--tap);padding:.7rem 1.25rem;border-radius:10px;font-weight:700;text-decoration:none;font-size:.95rem;line-height:1.2;border:1.5px solid transparent;cursor:pointer;white-space:normal;text-align:center;max-width:100%}
.j3-home .j3-btn svg{width:1.15em;height:1.15em;flex:none}
.j3-home .j3-btn-red{background:var(--red);color:#fff;border-color:var(--red)}
.j3-home .j3-btn-red:hover{background:var(--red-2);border-color:var(--red-2);color:#fff}
.j3-home .j3-btn-white{background:#fff;color:var(--navy);border-color:var(--line);box-shadow:0 1px 2px rgba(15,36,71,.08)}
.j3-home .j3-btn-white:hover{border-color:var(--navy);color:var(--navy)}
.j3-home .j3-btn-outline{background:transparent;color:var(--navy);border-color:var(--navy)}
.j3-home .j3-btn-outline:hover{background:var(--navy-tint);color:var(--navy)}
.j3-home .j3-btn-lg{padding:.85rem 1.5rem;font-size:1rem}
.j3-home .j3-arrow::after{content:"→";margin-left:.35rem}
.j3-home .j3-ico{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;flex:none;background:var(--navy-tint);color:var(--navy)}
.j3-home .j3-ico svg{width:22px;height:22px}
.j3-home .j3-ico.j3-red{background:var(--red-tint);color:var(--red)}
.j3-home .j3-ico.j3-blue{background:#E8F1FB;color:#1F6FCB}
.j3-home .j3-ico.j3-green{background:#E6F5EC;color:var(--green)}
.j3-home .j3-ico.j3-purple{background:#F0EAFB;color:#6B3FC7}
.j3-home .j3-check{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}
.j3-home .j3-check li{display:flex;gap:.6rem;align-items:flex-start;font-size:.9rem}
.j3-home .j3-check svg{width:18px;height:18px;color:var(--green);flex:none;margin-top:.15em}
.j3-home .j3-hero{position:relative;background:#DCE6F2 none center right/cover no-repeat;min-height:430px;padding-block:3.25rem 5.5rem;overflow:hidden}
.j3-home .j3-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.95) 38%,rgba(255,255,255,.55) 55%,rgba(255,255,255,0) 72%)}
.j3-home .j3-hero .j3-wrap{position:relative;display:grid;grid-template-columns:minmax(0,560px) 1fr;gap:2rem;align-items:start}
.j3-home .j3-hero h1{margin-bottom:1rem;max-width:22ch}
.j3-home .j3-hero .j3-lead{max-width:48ch;color:var(--ink);margin-bottom:1.5rem}
.j3-home .j3-hero-cta{display:flex;flex-wrap:wrap;gap:.75rem}
.j3-home .j3-hero-points{display:grid;grid-template-columns:repeat(4,auto);gap:1.25rem;margin-top:1.75rem;justify-content:start}
.j3-home .j3-hero-points li{list-style:none;display:flex;gap:.55rem;align-items:center}
.j3-home .j3-hero-points .j3-ico{width:34px;height:34px;background:#fff;border:1.5px solid var(--navy);border-radius:50%}
.j3-home .j3-hero-points .j3-ico svg{width:17px;height:17px}
.j3-home .j3-hero-points strong{display:block;font-size:.8rem;line-height:1.15}
.j3-home .j3-hero-points small{font-size:.7rem;color:var(--muted)}
.j3-home .j3-hero-script{position:absolute;right:var(--gutter);top:2.5rem;font-style:italic;font-weight:800;font-size:1.6rem;line-height:1.3;color:var(--navy);text-align:right;text-shadow:0 1px 0 #fff,0 0 12px #fff}
@media (max-width:1099px){
  .j3-home .j3-hero-points{grid-template-columns:repeat(2,auto)}
  .j3-home .j3-hero-script{display:none}
}
@media (max-width:767px){
  .j3-home .j3-hero{background-position:70% center;min-height:0;padding-block:2.25rem 4rem}
  .j3-home .j3-hero::before{background:linear-gradient(180deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.92) 70%,rgba(255,255,255,.6) 100%)}
  .j3-home .j3-hero .j3-wrap{grid-template-columns:1fr}
  .j3-home .j3-hero-cta .j3-btn{flex:1 1 100%}
  .j3-home .j3-hero-points{grid-template-columns:1fr 1fr;gap:.75rem}
}
.j3-home .j3-cards{margin-top:-4.5rem;position:relative;z-index:2;padding-block:0 3rem}
.j3-home .j3-cards .j3-wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem}
.j3-home .j3-scard{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow);display:grid;grid-template-columns:1fr 46%;min-height:200px;overflow:hidden}
.j3-home .j3-scard .j3-body{padding:1.1rem 1rem 1rem 1.1rem;display:flex;flex-direction:column;gap:.45rem}
.j3-home .j3-scard h3{font-size:1.05rem}
.j3-home .j3-scard p{font-size:.8rem;color:var(--muted);line-height:1.4}
.j3-home .j3-scard .j3-more{margin-top:auto;font-weight:800;font-size:.85rem;color:var(--navy);text-decoration:none}
.j3-home .j3-scard .j3-pic{background:var(--panel) center/cover no-repeat;margin:1rem 1rem 1rem 0;border-radius:10px;min-height:150px}
.j3-home .j3-scard>a.j3-stretch::after{content:"";position:absolute;inset:0}
.j3-home .j3-scard:hover{border-color:var(--navy)}
@media (max-width:1099px){
  .j3-home .j3-cards .j3-wrap{grid-template-columns:1fr 1fr}
}
@media (max-width:599px){
  .j3-home .j3-cards .j3-wrap{grid-template-columns:1fr}
  .j3-home .j3-scard{grid-template-columns:1fr 40%}
  .j3-home .j3-cards{margin-top:-3rem}
}
.j3-home .j3-trust{padding-block:1.4rem;border-block:1px solid var(--line)}
.j3-home .j3-trust .j3-wrap{display:grid;grid-template-columns:auto 1fr auto;gap:2.5rem;align-items:center}
.j3-home .j3-trust .j3-big{display:flex;gap:.9rem;align-items:center}
.j3-home .j3-trust .j3-big b{font-size:2.1rem;color:var(--red);line-height:1}
.j3-home .j3-trust .j3-big span{font-size:.85rem;font-weight:700;color:var(--navy);line-height:1.2}
.j3-home .j3-trust .j3-big a{display:block;font-size:.8rem;font-weight:700;margin-top:.15rem}
.j3-home .j3-trust .j3-quote{border-left:1px solid var(--line);padding-left:2rem;font-size:.9rem;color:var(--navy);font-style:italic}
.j3-home .j3-trust .j3-aud{display:flex;gap:1.75rem;list-style:none;margin:0;padding:0}
.j3-home .j3-trust .j3-aud li{display:flex;flex-direction:column;align-items:center;gap:.3rem;font-size:.78rem;font-weight:700;color:var(--navy);text-align:center;min-width:80px}
.j3-home .j3-trust .j3-aud svg{width:24px;height:24px}
.j3-home .j3-trust .j3-aud a{text-decoration:none;display:flex;flex-direction:column;align-items:center;gap:.3rem;color:inherit}
@media (max-width:1099px){
  .j3-home .j3-trust .j3-wrap{grid-template-columns:1fr;gap:1.25rem}
  .j3-home .j3-trust .j3-quote{border-left:0;padding-left:0}
  .j3-home .j3-trust .j3-aud{flex-wrap:wrap;gap:1rem}
}
.j3-home .j3-partner .j3-wrap{display:grid;grid-template-columns:300px 1fr 300px;gap:2.25rem;align-items:stretch}
.j3-home .j3-partner .j3-photo{border-radius:var(--r);background:var(--panel) center/cover no-repeat;min-height:320px}
.j3-home .j3-partner h2{margin-bottom:1rem}
.j3-home .j3-partner .j3-txt p{font-size:.92rem;margin-bottom:.8rem}
.j3-home .j3-partner .j3-check{margin:1rem 0 1.25rem}
.j3-home .j3-akut{background:var(--panel);border-radius:var(--r);padding:1.5rem;display:flex;flex-direction:column;gap:.9rem}
.j3-home .j3-akut h3{font-size:1.35rem}
.j3-home .j3-akut .j3-phone{display:flex;align-items:center;gap:.7rem;background:var(--red);color:#fff;border-radius:10px;padding:.8rem 1rem;text-decoration:none}
.j3-home .j3-akut .j3-phone .j3-ico{background:rgba(255,255,255,.18);color:#fff;width:36px;height:36px}
.j3-home .j3-akut .j3-phone strong{display:block;font-size:1.25rem;line-height:1.1}
.j3-home .j3-akut .j3-phone small{font-size:.72rem;opacity:.9}
@media (max-width:1099px){
  .j3-home .j3-partner .j3-wrap{grid-template-columns:1fr 1fr}
  .j3-home .j3-partner .j3-photo{min-height:260px}
  .j3-home .j3-akut{grid-column:1/-1}
}
@media (max-width:767px){
  .j3-home .j3-partner .j3-wrap{grid-template-columns:1fr}
  .j3-home .j3-partner .j3-photo{min-height:220px}
}
.j3-home .j3-steps .j3-wrap{display:grid;grid-template-columns:1fr 360px;gap:3rem;align-items:center}
.j3-home .j3-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:1rem;align-items:start;margin-top:1.5rem}
.j3-home .j3-step{display:grid;grid-template-columns:auto 1fr;gap:.75rem .8rem}
.j3-home .j3-step .j3-num{width:36px;height:36px;border-radius:50%;background:var(--navy);color:#fff;font-weight:800;display:grid;place-items:center;font-size:.95rem}
.j3-home .j3-step strong{display:block;font-size:1rem;color:var(--navy)}
.j3-home .j3-step p{font-size:.85rem;color:var(--muted);grid-column:2}
.j3-home .j3-step .j3-ico{grid-column:1;margin-top:.3rem;width:34px;height:34px}
.j3-home .j3-flow .j3-arr{color:#B9C4D6;font-size:1.4rem;padding-top:.35rem}
.j3-home .j3-sthlm{position:relative;border-radius:var(--r);min-height:160px;background:var(--navy) none center/cover no-repeat;color:#fff;padding:1.5rem;display:flex;flex-direction:column;justify-content:center;gap:.9rem;overflow:hidden}
.j3-home .j3-sthlm::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,36,71,.85),rgba(15,36,71,.25))}
.j3-home .j3-sthlm>*{position:relative}
.j3-home .j3-sthlm h3{color:#fff;font-size:1.45rem;max-width:12ch}
.j3-home .j3-sthlm .j3-btn{align-self:flex-start}
@media (max-width:1099px){
  .j3-home .j3-steps .j3-wrap{grid-template-columns:1fr}
  .j3-home .j3-flow{grid-template-columns:1fr}
  .j3-home .j3-flow .j3-arr{display:none}
}
.j3-home .j3-faq{background:#fff;padding-top:0}
.j3-home .j3-faq .j3-wrap{display:grid;grid-template-columns:240px 1fr 360px;gap:2.5rem;align-items:start}
.j3-home .j3-faq h2{margin-bottom:1rem}
.j3-home .j3-acc{display:grid;gap:.6rem}
.j3-home .j3-acc details{border:1px solid var(--line);border-radius:10px;background:#fff}
.j3-home .j3-acc summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.8rem 1rem;font-weight:700;font-size:.92rem;color:var(--navy);cursor:pointer;min-height:var(--tap)}
.j3-home .j3-acc summary::-webkit-details-marker{display:none}
.j3-home .j3-acc summary::after{content:"⌄";font-size:1.1rem;color:var(--navy)}
.j3-home .j3-acc details[open] summary::after{content:"⌃"}
.j3-home .j3-acc .j3-ans{padding:0 1rem 1rem;font-size:.9rem;color:var(--ink)}
.j3-home .j3-acc .j3-ans ul{margin:.5rem 0 0 1.1rem;padding:0}
.j3-home .j3-area h3{font-size:1.35rem;margin-bottom:1rem}
.j3-home .j3-area .j3-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.j3-home .j3-map{border-radius:var(--r);background:radial-gradient(circle at 50% 50%,rgba(224,32,43,.28) 0 44%,rgba(224,32,43,.06) 46%,transparent 48%),linear-gradient(135deg,#E9EFF7,#D7E1EE);min-height:180px;position:relative;display:grid;place-items:center;color:var(--navy);font-weight:800;border:1px solid var(--line)}
.j3-home .j3-map span{display:flex;align-items:center;gap:.4rem}
.j3-home .j3-map svg{width:22px;height:22px;color:var(--red)}
.j3-home .j3-map small{position:absolute;bottom:.4rem;left:.6rem;font-size:.65rem;color:var(--muted);font-weight:600}
.j3-home .j3-area .j3-check li{font-size:.85rem}
.j3-home .j3-area .j3-check a{text-decoration:none;font-weight:600}
@media (max-width:1099px){
  .j3-home .j3-faq .j3-wrap{grid-template-columns:1fr 1fr}
  .j3-home .j3-faq>div>div:first-child{grid-column:1/-1}
}
@media (max-width:767px){
  .j3-home .j3-faq .j3-wrap{grid-template-columns:1fr}
  .j3-home .j3-area .j3-grid{grid-template-columns:1fr}
}
.j3-home .j3-band{background:var(--navy);color:#fff;padding-block:2.25rem}
.j3-home .j3-band .j3-wrap{display:grid;grid-template-columns:1fr auto 1fr;gap:2rem;align-items:center}
.j3-home .j3-band h2{color:#fff;font-size:1.75rem}
.j3-home .j3-band p{color:#C9D3E2;margin-top:.35rem}
.j3-home .j3-band .j3-pts{display:flex;justify-content:flex-end;gap:2.5rem;list-style:none;margin:0;padding:0}
.j3-home .j3-band .j3-pts li{display:flex;flex-direction:column;align-items:center;gap:.35rem;font-size:.8rem;font-weight:700;text-align:center;border-left:1px solid rgba(255,255,255,.15);padding-left:2.5rem}
.j3-home .j3-band .j3-pts li:first-child{border:0;padding-left:0}
.j3-home .j3-band .j3-pts svg{width:24px;height:24px}
@media (max-width:1099px){
  .j3-home .j3-band .j3-wrap{grid-template-columns:1fr;text-align:center}
  .j3-home .j3-band .j3-pts{justify-content:center;flex-wrap:wrap;gap:1.25rem}
  .j3-home .j3-band .j3-pts li{border:0;padding:0}
}
.j3-home .j3-hero-points{grid-template-columns:repeat(4,max-content);gap:1.5rem}
.j3-home .j3-hero-points strong,.j3-home .j3-hero-points small{white-space:nowrap}
@media (max-width:1099px){
  .j3-home .j3-hero-points{grid-template-columns:repeat(2,max-content)}
}
@media (max-width:767px){
  .j3-home .j3-hero-points{grid-template-columns:1fr 1fr}
  .j3-home .j3-hero-points strong,.j3-home .j3-hero-points small{white-space:normal}
}
.j3-home .j3-step{grid-template-rows:auto auto}
.j3-home .j3-step p{grid-row:2;grid-column:2}
.j3-home .j3-step .j3-ico{grid-row:2;grid-column:1;margin-top:.15rem;align-self:start}
.j3-home .j3-hero{padding-block:3rem 5.25rem}
.j3-home .j3-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.j3-home .j3-area .j3-grid{grid-template-columns:1.4fr 1fr;align-items:start}
.j3-home .j3-map{background:#EEF3F8;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;min-height:0;display:block;padding:0}
.j3-home .j3-mapsvg{display:block;width:100%;height:auto}
.j3-home .j3-mapsvg .j3-water{fill:#D5E4F3}
.j3-home .j3-mapsvg .j3-road{stroke:#fff;stroke-width:4;fill:none;stroke-linecap:round}
.j3-home .j3-mapsvg .j3-zone{fill:rgba(224,32,43,.10);stroke:rgba(224,32,43,.35);stroke-width:1.5;stroke-dasharray:4 4}
.j3-home .j3-mapsvg .j3-pin circle{fill:var(--red);stroke:#fff;stroke-width:2.5}
.j3-home .j3-mapsvg .j3-pin .j3-halo{fill:rgba(224,32,43,.18);stroke:none}
.j3-home .j3-mapsvg .j3-pin text{font:700 13px var(--font);fill:var(--navy);paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round}
.j3-home .j3-mapsvg .j3-pin.j3-main text{font-size:15px}
.j3-home .j3-mapsvg .j3-pin.j3-main circle:not(.j3-halo){fill:var(--navy)}
.j3-home .j3-mapsvg a:hover .j3-pin circle{fill:var(--red-2)}
.j3-home .j3-mapsvg .j3-note{font:600 10px var(--font);fill:var(--muted)}
@media (max-width:767px){
  .j3-home .j3-area .j3-grid{grid-template-columns:1fr}
}
.j3-home .j3-mapsvg{aspect-ratio:560/400;width:100%;height:auto}
.j3-home .j3-map{aspect-ratio:560/400;min-height:220px}
.j3-home .j3-faq .j3-wrap{grid-template-columns:220px 1fr 440px}
.j3-home .j3-area .j3-grid{grid-template-columns:1.55fr 1fr;gap:1.25rem}
@media (max-width:1099px){
  .j3-home .j3-faq .j3-wrap{grid-template-columns:1fr 1fr}
}
@media (max-width:767px){
  .j3-home .j3-faq .j3-wrap{grid-template-columns:1fr}
  .j3-home .j3-area .j3-grid{grid-template-columns:1fr}
}
.j3-home .j3-map svg.j3-mapsvg{width:100%;height:100%;color:inherit;display:block}
.j3-home .j3-map{display:block;padding:0;background:#EEF3F8}
.j3-home .j3-map{min-height:0;width:100%;max-width:100%}
.j3-home .j3-faq .j3-wrap{grid-template-columns:200px 1fr 500px}
.j3-home .j3-area .j3-grid{grid-template-columns:1.7fr 1fr;gap:1.25rem}
.j3-home .j3-mapsvg .j3-pin.j3-main text{text-anchor:middle;transform:translate(-14px,-18px)}
@media (max-width:1199px){
  .j3-home .j3-faq .j3-wrap{grid-template-columns:180px 1fr 420px}
}
@media (max-width:1099px){
  .j3-home .j3-faq .j3-wrap{grid-template-columns:1fr 1fr}
}
@media (max-width:767px){
  .j3-home .j3-faq .j3-wrap{grid-template-columns:1fr}
}
.j3-home .j3-cards{margin-top:-3.25rem;padding-bottom:2.75rem}
.j3-home .j3-cards .j3-wrap{grid-template-columns:repeat(4,1fr);gap:1.25rem;align-items:stretch}
.j3-home .j3-scard{grid-template-columns:55% 45%;height:208px;min-height:0;border-radius:12px;border:1px solid var(--line);box-shadow:0 2px 6px rgba(15,36,71,.06),0 16px 36px rgba(15,36,71,.12);background:#fff}
.j3-home .j3-scard .j3-body{padding:1.1rem 0 1.05rem 1.15rem;display:grid;grid-template-rows:40px auto auto 1fr;row-gap:.45rem;align-content:start}
.j3-home .j3-scard .j3-cico{width:40px;height:40px;display:block}
.j3-home .j3-scard .j3-cico svg{width:40px;height:40px}
.j3-home .j3-cico.j3-red{color:var(--red)}
.j3-home .j3-cico.j3-blue{color:#1F6FCB}
.j3-home .j3-cico.j3-green{color:#1E9E5A}
.j3-home .j3-cico.j3-purple{color:#6B3FC7}
.j3-home .j3-scard h3{font-size:1.05rem;line-height:1.15;margin-top:.15rem}
.j3-home .j3-scard p{font-size:.8rem;line-height:1.35;color:var(--muted);min-height:2.7em}
.j3-home .j3-scard .j3-more{align-self:end;font-size:.85rem}
.j3-home .j3-scard .j3-pic{position:relative;margin:0;border-radius:0;height:100%;min-height:0;background:none;overflow:hidden}
.j3-home .j3-scard .j3-pic img{width:100%;height:100%;object-fit:cover;display:block}
.j3-home .j3-scard .j3-pic::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.75) 18%,rgba(255,255,255,0) 42%);pointer-events:none}
@media (max-width:1199px) and (min-width:1100px){
  .j3-home .j3-scard{height:220px}
  .j3-home .j3-scard .j3-body{padding-left:.9rem}
  .j3-home .j3-scard h3{font-size:.98rem}
}
@media (max-width:1099px){
  .j3-home .j3-cards .j3-wrap{grid-template-columns:1fr 1fr}
  .j3-home .j3-scard{height:200px}
}
@media (max-width:599px){
  .j3-home .j3-cards .j3-wrap{grid-template-columns:1fr}
  .j3-home .j3-scard{grid-template-columns:58% 42%;height:190px}
  .j3-home .j3-cards{margin-top:-2.5rem}
}
.j3-home .j3-scard{grid-template-rows:minmax(0,1fr);align-items:stretch}
.j3-home .j3-scard .j3-body{height:100%;grid-template-rows:40px auto 3.25em 1fr}
.j3-home .j3-scard p{height:auto;min-height:0;overflow:hidden}
.j3-home .j3-scard .j3-pic{height:100%;align-self:stretch}
@media (min-width:1100px) and (max-width:1199px){
  .j3-home .j3-scard{grid-template-columns:58% 42%}
  .j3-home .j3-scard h3{font-size:.95rem;white-space:nowrap}
  .j3-home .j3-scard .j3-body{padding-left:.95rem}
}
.j3-home .j3-scard .j3-body{grid-template-rows:40px 1.35em 3.25em 1fr}
.j3-home .j3-scard h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (min-width:1300px){
  .j3-home .j3-faq .j3-wrap{grid-template-columns:190px 1fr 470px}
}
.j3-home .j3-acc summary{font-size:.9rem}
@media (max-width:414px){
  .j3-home .j3-hero h1{font-size:1.7rem}
}
@media (max-width:340px){
  .j3-home .j3-hero h1{font-size:1.55rem}
}
.j3-home .j3-trust .j3-big a{min-height:32px;display:inline-flex;align-items:center}
.j3-home .j3-area .j3-check a{min-height:36px;display:inline-flex;align-items:center}
.j3-home .j3-trust .j3-big a{display:flex;width:max-content}
.j3-home .j3-trust .j3-wrap{grid-template-columns:auto 1.5fr auto;gap:2rem}
.j3-home .j3-trust .j3-quote{font-size:.85rem;line-height:1.45}
.j3-home .j3-trust .j3-aud{gap:1.25rem}
.j3-home .j3-trust .j3-aud li{min-width:72px}
@media (max-width:1099px){
  .j3-home .j3-trust .j3-wrap{grid-template-columns:1fr}
}
.j3-home .j3-scard .j3-body{grid-template-rows:40px 1.35em 3.45em 1fr}
@media (max-width:599px){
  .j3-home .j3-scard{height:200px}
}
/* ---- 3B-3 Astra integration (front page only; stylesheet is enqueued only when is_front_page()) ---- */
/* Every top-level homepage section breaks out of Astra's 1200px .ast-container so .j3-wrap can use the 1312px design width. */
.j3-home>section{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
body.home{overflow-x:clip}
/* Astra "underline content links" (.ast-single-post .entry-content a) must not bleed onto homepage buttons/cards. */
.j3-home a,.j3-home a:hover,.j3-home a:focus{text-decoration:none!important}
/* Neutralise Astra entry-content spacing around the homepage container. */
.home .entry-content>.j3-home,.home .ast-article-single{margin-top:0;margin-bottom:0}
.home .site-content .ast-container{padding-bottom:0}
/* Band CTA pair */
.j3-home .j3-band-cta{display:flex;gap:.75rem;flex-wrap:wrap;justify-content:center}
.j3-home .j3-band .j3-btn-outline{color:#fff;border-color:#fff}
.j3-home .j3-band .j3-btn-outline:hover{background:rgba(255,255,255,.12);color:#fff}
/* Parity with the approved prototype: the Stockholm panel photo is a covering background layer (the generic `.j3-sthlm>*` rule must not pull the <img> into flow). */
.j3-home .j3-sthlm>.j3-sthlm-img{position:absolute;inset:0;z-index:0}
/* Parity: the prototype's hero-points <ul> and steps <ol> keep the browser's default 1em bottom margin (Astra resets it). */
.j3-home .j3-hero-points,.j3-home .j3-flow{margin-bottom:1em}
/* Parity: on phones the band buttons stretch full width like the prototype's single grid-item button. */
@media (max-width:599px){
  .j3-home .j3-band-cta{flex-direction:column}
  .j3-home .j3-band-cta .j3-btn{width:100%}
}

/* ---------------------------------------------------------------------------
   Homepage Visual Fix #1 — page background
   Lift the page off pure white to a very subtle cool navy-tinted off-white so
   the white content cards read as raised surfaces. Homepage only: this
   stylesheet is enqueued under is_front_page() and the rule is additionally
   guarded by body.home, so it can never reach an internal page.
   Deliberate sections keep their own colour: .j3-hero (#DCE6F2),
   .j3-band (navy) and every white card/panel are untouched.
--------------------------------------------------------------------------- */
/* The page canvas moved to global-shell.css (body.j3-shell) when #F1F5F9 was
   approved as the site-wide base; the homepage-only rule that lived here is
   gone, not duplicated. #F4F7FA had been tested and rejected: it sits LIGHTER
   than --panel (#F3F6FA), so the .j3-akut panel inverted and disappeared, and
   white cards separated less (1.0752 vs 1.0955). */
/* .j3-faq was painted #fff only because the page behind it was #fff. Let it
   inherit the new page tone so its white accordion cards separate from it. */
.j3-home .j3-faq{background:transparent}
/* Consequence of the tint, not a new design choice: --red (#E0202B) scores
   4.761:1 on white but 4.346:1 on #F1F5F9, so the small uppercase eyebrow
   labels would have dropped below AA. Move only those labels to the darker
   brand red --red-2 (#C4141E) = 5.531:1. Red CTAs are untouched. */
.j3-home .j3-eyebrow,.j3-home .j3-eyebrow b{color:var(--red-2)}
.j3-home .j3-eyebrow.j3-navy{color:var(--navy)}

/* ---------------------------------------------------------------------------
   Homepage Visual Fix #3 — detach the service cards from the hero
   The cards were pulled up over the hero image with a negative margin, and the
   hero carried extra bottom padding purely to host that overlap. Remove both so
   the hero image ends cleanly and the cards form their own section underneath.
   Card markup, order, links and grid behaviour are untouched.
--------------------------------------------------------------------------- */
.j3-home .j3-hero{padding-block:3rem}
.j3-home .j3-cards{margin-top:0;padding-block:2.5rem 3rem}
@media (max-width:767px){
  .j3-home .j3-hero{padding-block:2.25rem}
  .j3-home .j3-cards{margin-top:0;padding-block:2rem 2.5rem}
}

/* ---------------------------------------------------------------------------
   Hero cleanup — feature-point row removed
   The row is gone from the page content, so .j3-hero-points below is now dead
   (kept, not deleted, so the styling survives if the row is ever reinstated).
   min-height:430px was sized for the taller hero and now over-reserves space
   that lands below the CTA (91px at 768, 54px at 1024). Lower the floor so the
   hero hugs its own content again; padding and everything else stay as-is.
--------------------------------------------------------------------------- */
.j3-home .j3-hero{min-height:360px}

/* ---------------------------------------------------------------------------
   Phase 7B-2 — homepage hero crop (attachment 2128)
   The hero is object-fit:cover with object-position:100% 50%. Above 767px the
   box is wider than the photo's 1.7768 ratio, so cover scales to width and the
   surplus height is cropped equally top and bottom — which removed the
   technician's head (worse the wider the viewport: band started at 17.4% of the
   image at 1024 and 24.1% at 1440, while the hair top sits at 9.5%).
   Bias the crop upward so the head keeps visible headroom. Values are the
   largest (smallest deviation from 50%) that still clear the hair at the top of
   each range. Horizontal anchoring and every other hero property are untouched;
   below 768px the box is narrower than the photo so nothing is cropped
   vertically there and the rule does not apply.
--------------------------------------------------------------------------- */
@media (min-width:768px){ .j3-home .j3-hero-img{object-position:100% 18%} }
@media (min-width:1024px){ .j3-home .j3-hero-img{object-position:100% 13%} }
@media (min-width:1440px){ .j3-home .j3-hero-img{object-position:100% 10%} }

/* ---------------------------------------------------------------------------
   Phase 7B-2 — homepage hero copy contrast at 768-1023px
   The desktop overlay fades out between 55% and 72% of the hero width. From
   768px the copy column runs to 63.5% of the viewport, so the lead's last words
   sat over the technician's dark jacket at only 1.55:1 (H1 2.46:1). Measured
   requirement there is 0.565 white alpha; the old ramp delivered 0.30.
   Smallest fix that clears WCAG: move the single middle stop .55/55% -> .66/64%.
   The 0% and 38% stops and the fully-transparent end at 72% are unchanged, so
   the photograph past 72% renders exactly as before. Scoped to the one range
   that failed - 1024px and up already passed and is left alone.
--------------------------------------------------------------------------- */
@media (min-width:768px) and (max-width:1023px){
  .j3-home .j3-hero::before{background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.95) 38%,rgba(255,255,255,.66) 64%,rgba(255,255,255,0) 72%)}
}
