/* Palette is derived from observed site assets, refined for contrast; not an official brand manual. */
:root{--blue:#275c9b;--blue-deep:#173a67;--ink:#182d45;--text:#3e5065;--pale:#f2f7fd;--border:#e0e9f4;--max:1160px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--text);background:#fff;font:16px/1.7 'Inter Tight',Inter,system-ui,-apple-system,'Segoe UI',sans-serif}a{color:inherit}a:focus-visible,button:focus-visible{outline:3px solid #f7a600;outline-offset:3px}.wrap{width:min(var(--max),calc(100% - 40px));margin-inline:auto}.skip{position:absolute;left:10px;top:-100px;background:#fff;padding:12px;z-index:20}.skip:focus{top:10px}
.site-header{background:#fff;position:relative;z-index:5;border-bottom:1px solid var(--border)}.headrow{display:flex;align-items:center;gap:34px;min-height:88px}.brand{display:flex;align-items:center;margin-right:auto}.brand-img{width:170px;max-height:60px;object-fit:contain;object-position:left}.menu{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0}.menu a{text-decoration:none;font-weight:650;font-size:.94rem;color:var(--ink)}.menu a:hover{text-decoration:underline;text-underline-offset:5px}.header-cta,.btn{display:inline-flex;align-items:center;gap:12px;border-radius:9px;background:var(--blue);color:#fff;text-decoration:none;font-weight:750;padding:12px 19px;white-space:nowrap}.header-cta:hover,.btn:hover{background:var(--blue-deep)}.menu-toggle{display:none}
.hero{background:linear-gradient(135deg,#f5f9fe 0%,#e8f2fd 100%);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.13fr .87fr;align-items:center;gap:5vw;padding-block:94px}.eyebrow{font-size:.76rem;letter-spacing:.17em;color:var(--blue);font-weight:850;margin:0 0 17px}.hero h1{color:var(--ink);font-size:clamp(2.7rem,5.2vw,5rem);line-height:1.1;letter-spacing:-.05em;margin:0 0 24px}.lead{font-size:1.18rem;max-width:630px}.actions{display:flex;align-items:center;gap:25px;flex-wrap:wrap;margin-top:32px}.textlink{color:var(--blue);font-weight:750;text-decoration:none}.textlink:hover{text-decoration:underline}.hero-art img{width:100%;border-radius:22px;box-shadow:0 24px 60px #214c7a28;aspect-ratio:5/4;object-fit:cover}.section{padding-block:90px}.section h2,.closing h2{font-size:clamp(2rem,3.5vw,3.2rem);line-height:1.15;letter-spacing:-.035em;color:var(--ink);margin:0 0 22px}.section-intro{max-width:670px;font-size:1.12rem}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:40px 0}.step{border:1px solid var(--border);padding:26px;border-radius:16px;background:#fff}.step-num{font-weight:800;color:var(--blue);font-size:.83rem}.step h3{margin:12px 0 0;color:var(--ink)}.pale{background:var(--pale)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:38px 0}.card{background:#fff;border:1px solid var(--border);border-radius:17px;overflow:hidden}.card img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}.card div{padding:24px}.card h3{color:var(--ink);margin:0}.card p{margin-bottom:0}.editor-section{padding-block:28px}.closing{background:var(--blue-deep);color:#fff;padding:80px 0;text-align:center}.closing h2{color:#fff}.closing p{font-size:1.15rem}.closing .btn{background:#fff;color:var(--blue-deep)}.page-hero{background:var(--pale);padding:65px 0}.page-hero h1{font-size:clamp(2.5rem,5vw,4rem);color:var(--ink);letter-spacing:-.04em;line-height:1.1;margin:0}.page-content{padding-block:65px;min-height:45vh}.entry-content{max-width:900px}.entry-content h2{color:var(--ink);font-size:clamp(1.65rem,3vw,2.35rem);margin:2.5rem 0 1rem;line-height:1.2}.entry-content h3{color:var(--ink)}.entry-content p{margin:0 0 1.2rem}.entry-content ul{padding-left:1.5rem}.entry-content img{max-width:100%;height:auto}.entry-content a{color:var(--blue)}.footer{background:#102a48;color:#d6e5f3;padding:55px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footer-logo{width:160px;max-height:65px;object-fit:contain;object-position:left}.footer a{color:#fff}.footer strong{color:#fff}.copyright{border-top:1px solid #ffffff30;padding-top:22px;margin-top:35px;font-size:.85rem}
@media(max-width:900px){.headrow{gap:15px}.menu{gap:12px}.header-cta{display:none}.hero-grid{grid-template-columns:1fr;padding-block:65px}.hero-art{max-width:600px}.cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.headrow{flex-wrap:wrap;min-height:75px;padding-block:12px}.menu-toggle{display:block;border:1px solid var(--border);border-radius:8px;padding:9px 13px;background:#fff;color:var(--ink);font:inherit}.nav{display:none;width:100%}.nav.open{display:block}.menu{display:flex;flex-direction:column;align-items:stretch;gap:0}.menu a{display:block;padding:10px 0}.hero-grid{padding-block:52px}.steps,.cards,.footer-grid{grid-template-columns:1fr}.section{padding-block:60px}.page-hero{padding-block:45px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* v0.8: original-first design based on the supplied public screenshots. */
:root{--navy:#052c43;--sky:#b9ddec;--original-bg:#f4f7fb}
body{font-family:'Inter Tight',Arial,system-ui,sans-serif;color:#162b3b;background:var(--original-bg)}
body.home .site-header{background:var(--navy);border:0}
body.home .site-header .menu a{color:#fff}
body.home .site-header .brand-img{filter:none}
body.home .site-header .menu-toggle{color:#fff;background:transparent}
body.home .site-header .header-cta{background:transparent;padding:0}
body.home .site-header .headrow{min-height:82px}
.original-hero{position:relative;background:radial-gradient(ellipse at 52% 40%,#315c6a 0%,#123d51 42%,#03273e 90%);color:#fff;min-height:410px;overflow:hidden}
.original-hero-inner{padding:62px 0 130px}
.original-hero h1{font-size:clamp(2.5rem,4.35vw,4.35rem);line-height:1.13;letter-spacing:-.045em;max-width:1000px;color:#fff;margin:0;font-weight:800}
.wave{position:absolute;bottom:-2px;width:100%;height:95px;background:var(--original-bg);clip-path:polygon(0 62%,12% 75%,30% 56%,50% 44%,70% 55%,88% 76%,100% 64%,100% 100%,0 100%)}
.wave:before{content:'';position:absolute;inset:0;background:#b6d8e8;transform:translateY(-12px)}
.intro-original{background:var(--original-bg);padding:60px 0 95px}
.intro-layout{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:80px}
.intro-layout p{margin:0 0 28px;line-height:1.65}
.intro-layout img{max-width:100%;height:auto;object-fit:contain}
.original-link{color:#155e9c;font-weight:700}
.process-original{background:var(--navy);color:#fff;padding:75px 0 80px;position:relative}
.process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:75px 50px}
.process-item{text-align:center;max-width:260px;margin:auto}
.process-icon{font-size:3rem;display:block;font-weight:300;line-height:1.3;margin-bottom:15px}
.process-item h3{font-size:1.15rem;color:#fff;margin:8px 0 4px}
.process-item p{font-size:.93rem;line-height:1.5;margin:0}
.screenreader{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.center{text-align:center;margin-top:35px}
.light-link{color:#fff;font-weight:700}
.features-original{padding:70px 0;background:var(--original-bg)}
.feature-original{display:grid;grid-template-columns:220px minmax(0,1fr);gap:85px;align-items:center;max-width:920px;margin:0 auto 80px}
.feature-original.reverse{grid-template-columns:minmax(0,1fr) 220px}
.feature-original.reverse img{order:2}
.feature-original img{width:220px;aspect-ratio:1.55;object-fit:cover;border-radius:8px}
.feature-original h2{font-size:1.4rem;color:#071c2c;margin:0 0 6px}
.feature-original p{margin:0;line-height:1.6}
body:not(.home) .site-header{background:#fff}
body:not(.home) .brand-img{content:url("../images/grantme_dark_transparent.png")}
@media(max-width:760px){
 .original-hero{min-height:0}.original-hero-inner{padding:65px 0 105px}
 .intro-layout{grid-template-columns:1fr;gap:24px}.intro-original{padding:40px 0 60px}
 .process-grid{grid-template-columns:repeat(2,1fr);gap:45px 15px}
 .feature-original,.feature-original.reverse{grid-template-columns:1fr;gap:18px;margin-bottom:55px}
 .feature-original.reverse img{order:0}
 .feature-original img{width:min(100%,340px)}
 body.home .site-header .nav{background:var(--navy)}
}
@media(max-width:460px){.process-grid{grid-template-columns:1fr}.original-hero h1{font-size:2.25rem}}


/* v0.8.1 – originalnära korrigeringar */
:root{--max:960px;--original-bg:#f3f6fa;--navy:#052b40}
body{background:var(--original-bg);font-size:15px;line-height:1.55}
.wrap{width:min(var(--max),calc(100% - 36px))}
.site-header{position:fixed;inset:0 0 auto;z-index:100;background:#f0f4f8;border:0;transition:background .25s ease,box-shadow .25s ease}
.headrow,body.home .site-header .headrow{min-height:76px;gap:24px}
.brand-img{width:185px;max-height:52px}
.brand-dark{display:block}.brand-light{display:none}
body.home .site-header:not(.is-scrolled){background:transparent}
body.home .site-header:not(.is-scrolled) .brand-light{display:block}
body.home .site-header:not(.is-scrolled) .brand-dark{display:none}
body.home .site-header.is-scrolled{background:#f0f4f8;box-shadow:0 1px 8px #071c2c12}
body.home .site-header.is-scrolled .menu a{color:#183047}
body.home .site-header:not(.is-scrolled) .menu a,body.home .site-header:not(.is-scrolled) .header-login{color:#fff}
.menu{gap:22px}.menu a{font-size:15px}
.header-login{font-weight:700;text-decoration:none;white-space:nowrap;color:#183047}
.language-indicator{font-size:18px}
body:not(.home) .site-header{background:#f0f4f8}
body:not(.home) .brand-img{content:normal}
body:not(.home) .brand-light{display:none}
body:not(.home) .brand-dark{display:block}
body:not(.home) main{padding-top:76px}
.original-hero{min-height:0;background:radial-gradient(ellipse at 50% 43%,#345966 0%,#173f50 47%,#052b40 94%)}
.original-hero-inner{padding:132px 0 145px}
.original-hero h1{max-width:900px;font-size:clamp(2.4rem,3.2vw,3.65rem);line-height:1.17;letter-spacing:-.035em}
.grantme-waves{position:absolute;left:0;right:0;height:70px;bottom:-1px;overflow:hidden;pointer-events:none}
.wave-track{position:absolute;left:0;width:200%;height:100%;background-repeat:repeat-x;background-size:50% 100%;animation:grantme-wave-drift 28s linear infinite;will-change:transform;backface-visibility:hidden}
.wave-a{bottom:0;opacity:.7;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath fill='%2385a9bb' d='M0 24 Q300 70 600 37 T1200 24 V100 H0Z'/%3E%3C/svg%3E")}
.wave-b{bottom:-9px;opacity:.83;animation-duration:36s;animation-direction:reverse;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath fill='%23b8d9e9' d='M0 45 Q300 12 600 50 T1200 45 V100 H0Z'/%3E%3C/svg%3E")}
.wave-c{bottom:-23px;opacity:1;animation-duration:43s;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath fill='%23f3f6fa' d='M0 48 Q300 92 600 46 T1200 48 V100 H0Z'/%3E%3C/svg%3E")}
@keyframes grantme-wave-drift{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
.waves-top{top:-1px;bottom:auto;transform:rotate(180deg)}
.waves-bottom{bottom:-1px}
.intro-original{padding:70px 0 85px}
.intro-layout{grid-template-columns:1fr 1fr;gap:75px}
.process-original{padding:130px 0 145px;background:var(--navy)}
.process-grid{max-width:830px;margin:auto;gap:105px 60px}
.process-icon{width:55px;height:55px;margin:0 auto 34px;display:block}
.process-item{max-width:225px}
.process-item h3{font-size:16px}
.process-item p{font-size:14px;line-height:1.45}
.features-original{padding:60px 0 75px}
.feature-original,.feature-original.reverse{max-width:900px;grid-template-columns:190px minmax(0,1fr);gap:100px;margin-bottom:110px}
.feature-original.reverse{grid-template-columns:minmax(0,1fr) 190px}
.feature-original img{width:190px;height:120px;aspect-ratio:19/12;filter:saturate(.45);object-fit:cover}
.feature-original h2{font-size:19px}
.feature-original p{font-size:15px;line-height:1.6}
.clients-original{position:relative;background:var(--navy);min-height:370px;padding:110px 0 65px;color:#fff}
.client-slider{text-align:center}
.client-slide{height:150px;display:flex;align-items:center;justify-content:center}
.client-slide[hidden]{display:none}
.client-slide img{max-width:min(480px,90%);max-height:140px;width:auto;height:auto;object-fit:contain}
.client-dots{display:flex;justify-content:center;gap:9px;margin-top:26px}
.client-dot{width:26px;height:5px;border:0;border-radius:4px;background:#7d9cac;cursor:pointer;padding:0}
.client-dot.active{background:#fff}
.about-original{padding:65px 0;background:var(--original-bg)}
.about-layout{display:grid;grid-template-columns:250px 1fr;gap:30px;align-items:center}
.about-layout img{width:250px;height:168px;object-fit:cover;border-radius:8px;filter:saturate(.5)}
.about-layout p{margin:0 0 16px}
.contact-original{position:relative;background:var(--navy);color:#fff;padding:90px 0 110px;text-align:center}
.contact-inner svg{display:block;margin:0 auto 28px}
.contact-inner a{color:#fff;font-weight:700}
.footer{background:var(--original-bg);color:#667b98;padding:70px 0 25px}
.footer-grid{display:grid;grid-template-columns:1fr auto;gap:60px}
.footer-logo{width:185px}
.footer-grid p{font-size:12px;margin-top:12px}
.footer strong{color:#0c2030}
.footer ul{list-style:none;padding:0;margin:10px 0}
.footer li{margin:0 0 8px}
.footer a{color:#667b98;text-decoration:none}
.footer a:hover{text-decoration:underline}
.copyright{display:flex;justify-content:space-between;border-top:1px solid #d9e1e9;margin-top:50px;padding-top:26px}
@media(max-width:900px){.headrow{gap:12px}.menu{gap:10px}.header-login{display:none}.original-hero-inner{padding-top:120px}}
@media(max-width:700px){
 .site-header .headrow{min-height:70px}
 body:not(.home) main{padding-top:70px}
 .brand-img{width:155px}
 .menu-toggle{display:block}
 .nav{display:none;position:absolute;left:0;right:0;top:100%;width:100%;background:#f0f4f8;padding:14px 20px;box-shadow:0 8px 16px #0002}
 .nav.open{display:block}
 body.home .site-header:not(.is-scrolled) .nav{background:#052b40}
 body.home .site-header.is-scrolled .menu-toggle{color:#183047;background:#fff}
 .original-hero-inner{padding:120px 0 110px}
 .original-hero h1{font-size:clamp(2.2rem,8vw,3.2rem)}
 .intro-layout{grid-template-columns:1fr;gap:25px}
 .process-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:70px 20px}
 .process-original{padding:100px 0}
 .feature-original,.feature-original.reverse{grid-template-columns:1fr;gap:20px;margin-bottom:65px}
 .feature-original.reverse img{order:0}
 .feature-original img{width:190px;height:120px}
 .about-layout{grid-template-columns:1fr}
 .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:450px){.process-grid,.footer-grid{grid-template-columns:1fr}.copyright{gap:12px;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.wave-track{animation:none}.site-header{transition:none}}

.about-image-placeholder{width:250px;height:168px;border-radius:8px;background:#dbe3e9}
@media(max-width:700px){.about-image-placeholder{width:100%;max-width:250px}}

/* v0.8.2: ensure the customer carousel has an animated lower transition. */
.clients-original{overflow:hidden;padding-bottom:105px}
.clients-original .waves-bottom{z-index:1}
.clients-original .client-slider{position:relative;z-index:2}

/* v0.8.4: faster, seamless wave layers and shared page hero */
.wave-a{animation-duration:9s}
.wave-b{animation-duration:12s}
.wave-c{animation-duration:15s}
body:not(.home) .page-hero.original-hero{
  position:relative;
  background:radial-gradient(ellipse at 50% 43%,#345966 0%,#173f50 47%,#052b40 94%);
  padding:0;
  min-height:0;
  overflow:hidden;
}
body:not(.home) .page-hero.original-hero .original-hero-inner{
  padding:135px 0 125px;
}
body:not(.home) .page-hero.original-hero h1{
  color:#fff;
  font-size:clamp(2.4rem,3.2vw,3.65rem);
  line-height:1.17;
  letter-spacing:-.035em;
  margin:0;
}
body:not(.home) .page-content{
  background:transparent;
  padding-block:65px;
}
@media(max-width:700px){
 body:not(.home) .page-hero.original-hero .original-hero-inner{padding:115px 0 100px}
}
@media(prefers-reduced-motion:reduce){
 .wave-a,.wave-b,.wave-c{animation:none}
}

/* v0.8.5: identical transparent-to-light sticky header on all hero pages.
   Hero background extends behind fixed navigation; no content jump. */
body:not(.home) .site-header:not(.is-scrolled){
 background:transparent;
 box-shadow:none;
 border-color:transparent;
}
body:not(.home) .site-header:not(.is-scrolled) .brand-light{display:block}
body:not(.home) .site-header:not(.is-scrolled) .brand-dark{display:none}
body:not(.home) .site-header:not(.is-scrolled) .menu a,
body:not(.home) .site-header:not(.is-scrolled) .header-login{color:#fff}
body:not(.home) .site-header.is-scrolled{
 background:#f0f4f8;
 box-shadow:0 1px 8px #071c2c12;
}
body:not(.home) .site-header.is-scrolled .brand-light{display:none}
body:not(.home) .site-header.is-scrolled .brand-dark{display:block}
body:not(.home) .site-header.is-scrolled .menu a,
body:not(.home) .site-header.is-scrolled .header-login{color:#183047}
body:not(.home) main{padding-top:0}
@media(max-width:700px){
 body:not(.home) .site-header:not(.is-scrolled) .menu-toggle{
  color:#fff;background:transparent;border-color:#ffffff70;
 }
 body:not(.home) .site-header.is-scrolled .menu-toggle{
  color:#183047;background:#fff;
 }
 body:not(.home) .site-header:not(.is-scrolled) .nav.open{
  background:#052b40;
 }
 body:not(.home) .site-header.is-scrolled .nav.open{
  background:#f0f4f8;
 }
}
