/* The front page, the finish: light in the top, the agency's own brand in the portal, and the demo as the last deep
   frame. Loaded last, so it adjusts what the other sheets set. */

/* ---------- The top: the ring as supergraphic, Kobolt light, and the day's results floating by ---------- */
.nf-top{position:relative;isolation:isolate;overflow:hidden}
.nf-top__bag{position:absolute;inset:0;z-index:-1;pointer-events:none}
.nf-top__ring{position:absolute;right:-14vw;top:-34vw;width:min(78vw,1180px);fill:var(--kobolt);opacity:.055}
.nf-top__lys{position:absolute;border-radius:50%;filter:blur(60px)}
.nf-top__lys--a{right:6%;top:-120px;width:560px;height:420px;background:radial-gradient(closest-side,rgba(47,91,255,.20),transparent)}
.nf-top__lys--b{left:-160px;bottom:-60px;width:520px;height:380px;background:radial-gradient(closest-side,rgba(255,197,61,.16),transparent)}
.nf-top::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(rgba(13,23,54,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(13,23,54,.035) 1px,transparent 1px);background-size:56px 56px;-webkit-mask-image:radial-gradient(60% 70% at 50% 30%,#000,transparent 80%);mask-image:radial-gradient(60% 70% at 50% 30%,#000,transparent 80%)}
.nf-hero{position:relative}
.nf-svaev{display:none}
@media (min-width:1180px){
  .nf-svaev{display:block;position:absolute;inset:0;pointer-events:none}
  .nf-chip-s{position:absolute;display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;width:max-content;max-width:260px;padding:11px 14px 11px 13px;border-radius:8px;background:rgba(255,255,255,.88);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 0 0 1px rgba(13,23,54,.07),0 20px 40px -24px rgba(13,23,54,.45);text-align:left;font-size:13px;line-height:1.3}
  .nf-chip-s i{grid-row:span 2;width:10px;height:10px;border-radius:50%}
  .nf-chip-s i.ok{background:var(--nf-groen);box-shadow:0 0 0 4px var(--nf-groen-bg)}
  .nf-chip-s i.sol{background:var(--sol);box-shadow:0 0 0 4px #FFF3D6}
  .nf-chip-s i.blaa{background:var(--kobolt);box-shadow:0 0 0 4px var(--dis)}
  .nf-chip-s b{font-size:14px;font-weight:600}
  .nf-chip-s span{color:var(--daempet)}
  .nf-chip-s--a{left:0;top:57%}
  .nf-chip-s--b{right:1%;top:50%}
  .nf-chip-s--c{right:7%;top:79%}
  @media (prefers-reduced-motion:no-preference){
    .nf-hero.nf-ind .nf-chip-s{animation:nf-chip .9s var(--ud) both}
    .nf-hero.nf-ind .nf-chip-s--a{animation-delay:.35s}
    .nf-hero.nf-ind .nf-chip-s--b{animation-delay:.55s}
    .nf-hero.nf-ind .nf-chip-s--c{animation-delay:.75s}
    @keyframes nf-chip{from{opacity:0;translate:0 18px;scale:.96}}
  }
}

/* The tour rises out of the top */
.nf-tur{box-shadow:0 50px 100px -50px rgba(13,23,54,.55)}

/* ---------- The customers' world: a frosted field, the agency's own brand, and the foreman's view on top ---------- */
.nf-kunde{position:relative;isolation:isolate;background:linear-gradient(180deg,#fff 0%,#EEF2FF 100%)}
.nf-portal-ydre{position:relative}
.nf-wl{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.nf-wl button{display:grid;place-items:center;height:44px;padding:0 14px;border-radius:8px;border:0;background:#fff;box-shadow:0 0 0 1px rgba(13,23,54,.1);cursor:pointer;transition:box-shadow .25s,transform .25s var(--ud)}
.nf-wl button img{height:22px;width:auto;opacity:.6;filter:grayscale(1);transition:opacity .25s,filter .25s}
.nf-wl button:hover img{opacity:.9}
.nf-wl button[aria-pressed=true]{box-shadow:0 0 0 2px var(--nat),0 10px 24px -14px rgba(13,23,54,.5)}
.nf-wl button[aria-pressed=true] img{opacity:1;filter:none}
html:not(.js) .nf-wl{display:none}
.nf-portal{position:relative;background:linear-gradient(160deg,color-mix(in srgb,var(--wl) 18%,#fff) 0%,color-mix(in srgb,var(--wl) 6%,#F6F6F3) 100%);transition:background .6s var(--ud)}
.nf-portal::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;mix-blend-mode:overlay;opacity:.15;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.nf-portal__bar .er{color:var(--wl);transition:color .4s}
.nf-portal__knap{background:var(--wl);transition:background .4s}
.nf-portal__bar img{transition:opacity .25s}
.nf-portal.skifter .nf-portal__bar img{opacity:0}
.nf-portal__toast{position:absolute;right:-18px;bottom:-26px;z-index:2;width:270px;padding:14px 16px;border-radius:14px;background:#fff;box-shadow:0 0 0 1px rgba(13,23,54,.07),0 30px 50px -24px rgba(13,23,54,.5);font-size:13px}
.nf-portal__toast p{display:flex;justify-content:space-between;gap:8px}
.nf-portal__toast p span{color:var(--daempet);font-size:12px}
.nf-portal__toast ul{list-style:none;display:flex;gap:6px;margin-top:10px}
.nf-portal__toast li{flex:1;padding:8px 10px;border-radius:9px;background:var(--is);color:var(--daempet);font-size:12px}
.nf-portal__toast li b{display:block;font-size:20px;color:var(--nat)}
.nf-portal__toast li.sen{background:#FFF4DA}
@media (max-width:640px){.nf-portal__toast{position:relative;right:auto;bottom:auto;width:auto;margin-top:12px}}

/* ---------- The demo: the last deep frame, with the form lying on it ---------- */
.nf-demo{padding:var(--luft) 0}
.nf-demo .fs-demo__g{position:relative;isolation:isolate;overflow:hidden;padding:clamp(28px,4vw,72px);border-radius:var(--nf-r);background:var(--nf-glod);color:#fff}
.nf-demo .fs-demo__g::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;mix-blend-mode:overlay;opacity:.1;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.nf-demo h2{color:#fff}
.nf-demo .fs-demo__ingress,.nf-demo .fs-demo__pris{color:rgba(255,255,255,.72)}
.nf-demo .fs-demo__vis{color:#fff}
.nf-demo .fs-demo__liste{border-color:rgba(255,255,255,.16)}
.nf-demo .fs-demo__liste li{border-color:rgba(255,255,255,.16);color:rgba(255,255,255,.88)}
.nf-demo .fs-demo__liste li::before{border-color:var(--sol)}
.nf-demo .fs-demo__t .tekstlink{color:#fff;text-decoration-color:rgba(255,255,255,.5)}
.nf-demo .fs-demo__kort{color:var(--nat);box-shadow:0 40px 90px -40px rgba(0,0,0,.6)}
.nf-demo .fs-demo__g{width:calc(100% - 2 * var(--kant));max-width:calc(var(--max) - 2 * var(--kant));margin-inline:auto}

/* ---------- The top on film: the chosen world's film behind everything, under a deep Nat gradient, with the header,
   the promise, the floating results and the ring lying on it. The header turns white with the Sol dot, as the brand
   kit says for a Nat ground. ---------- */
.top{position:absolute;left:0;right:0;top:0;background:transparent;border-bottom:1px solid rgba(255,255,255,.12);backdrop-filter:none;-webkit-backdrop-filter:none}
.top__maerke path,.top__maerke circle{fill:#fff}
.top__nav,.top__login,.top__sprog{color:rgba(255,255,255,.78)}
.top__nav>a:hover,.top__login:hover,.nav-dd__link:hover,.nav-dd__knap:hover,.nav-dd.aaben .nav-dd__knap{color:#fff}
.top .nav-dd__panel{color:var(--nat)}
.top .m-nav>summary{color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
/* Open, the button sits on Is like everywhere else, so its word goes back to Nat */
.top .m-nav[open]>summary{color:var(--nat);box-shadow:inset 0 0 0 1px rgba(13,23,54,.2)}
.top :focus-visible{outline-color:#fff}
.nf-top{min-height:0;padding-top:calc(var(--top-h) + clamp(24px,2.8vw,40px));padding-bottom:clamp(44px,4.6vw,72px)!important;background:var(--nf-dyb);color:#fff}
.nf-film{position:absolute;inset:0;z-index:-3}
.nf-film video{display:block;width:100%;height:100%;object-fit:cover}
.nf-top__skygge{display:none}
.nf-film::after{content:"";position:absolute;inset:0;pointer-events:none;background:
  radial-gradient(55% 45% at 50% 42%,rgba(8,16,44,.55),rgba(8,16,44,0) 75%),
  linear-gradient(180deg,rgba(8,16,44,.82) 0%,rgba(10,20,54,.62) 38%,rgba(10,20,54,.70) 70%,rgba(8,16,44,.92) 100%)}
.nf-top__bag{z-index:-1}
.nf-top__ring{fill:#fff;opacity:.085}
.nf-top__lys--a{background:radial-gradient(closest-side,rgba(47,91,255,.35),transparent)}
.nf-top__lys--b{background:radial-gradient(closest-side,rgba(255,197,61,.12),transparent)}
.nf-top::after{background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px)}
.nf-hero h1,.nf-hero .nf-hero__h{color:#fff;text-shadow:0 2px 30px rgba(8,16,44,.35)}
.nf-hero h1 span,.nf-hero .nf-hero__h span{color:#A4B3EC}
.nf-hero__ind{color:rgba(255,255,255,.84)}
.nf-tjek{color:rgba(255,255,255,.8)}
.nf-tjek li::before{border-color:var(--sol)}
.nf-knap.knap--hvid{box-shadow:none}
.nf-skift{background:rgba(255,255,255,.95)}
.nf-chip-s{color:var(--nat)}
.nf-film__pause{position:absolute;z-index:3;right:var(--kant);bottom:20px;display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 12px;border:0;border-radius:8px;background:rgba(255,255,255,.16);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.25);color:#fff;font:inherit;font-size:13.5px;font-weight:600;cursor:pointer}
.nf-film__pause:hover{background:rgba(255,255,255,.26)}
.nf-film__pause::before{content:"";width:9px;height:11px;border-left:3px solid currentColor;border-right:3px solid currentColor;box-sizing:border-box}
.nf-film__pause[aria-pressed=true]::before{width:0;height:0;border-style:solid;border-width:6px 0 6px 10px;border-color:transparent transparent transparent currentColor}
.nf-film[hidden]{display:none}
html:not(.js) .nf-film__pause{display:none}
.nf-film{pointer-events:none}.nf-film__pause{pointer-events:auto}
.nf-tur-ydre{padding-top:clamp(48px,5vw,80px)}

/* ---------- Rhythm: the front page breathes about a quarter less than the other pages (10 %, then 15 %) ---------- */
:root{--luft:clamp(56px,6.2vw,96px);--luft-ind:clamp(28px,3vw,44px)}
.nf-tur-ydre{padding-top:clamp(28px,3vw,44px);padding-bottom:clamp(40px,4.2vw,64px)}
.nk-sek{padding-bottom:clamp(28px,3vw,44px)}

/* ---------- The blue boxes grow out of the page: full width as they come in, narrowing to their frame as one scrolls.
   ny.js measures the gap to the screen's edge (--g) and the progress (--p, 0 to 1). The box stands full width in the
   layout with its content where it always was, and only the visible part (clip-path) narrows, so nothing reflows. ---------- */
.svulm{margin-inline:calc(-1 * var(--g))!important;padding-left:calc(var(--pl) + var(--g))!important;padding-right:calc(var(--pr) + var(--g))!important;width:auto!important;max-width:none!important;
  border-radius:0!important;clip-path:inset(0 calc(var(--g) * var(--p,1)) round calc(var(--nf-r) * var(--p,1)));will-change:clip-path}
.nf-top{padding-bottom:clamp(44px,4.6vw,72px)!important}

/* ---------- Wide screens: the front page uses more of them, so the bands do not stand far in from the edges ---------- */
@media (min-width:1800px){:root{--max:1400px}}

/* ---------- The last blue box, in pure CSS where the browser can tie an animation to scrolling (Chrome, Edge):
   --g is the gap to the screen's edge, computed from the frame, and --p runs from 0 to 1 as the box comes into view.
   Where it cannot, ny.js does the same with .svulm. ---------- */
@property --p{syntax:'<number>';inherits:true;initial-value:1}
@supports (animation-timeline:view()){
  .nf-demo .fs-demo__g,.nv-slut__band{--g:max(var(--kant),calc((100vw - var(--max)) / 2 + var(--kant)));
    border-radius:0!important;clip-path:inset(0 calc(var(--g) * var(--p)) round calc(var(--nf-r) * var(--p)));
    animation:nf-svulm linear both;animation-timeline:view();animation-range:entry 0% cover 40%}
  .nf-demo .fs-demo__g{width:auto!important;max-width:none!important;margin-inline:0!important;
    padding-left:calc(clamp(28px,4vw,72px) + var(--g))!important;padding-right:calc(clamp(28px,4vw,72px) + var(--g))!important}
  .nv-slut__band{margin-inline:calc(-1 * var(--g));padding-left:calc(clamp(28px,4vw,64px) + var(--g));padding-right:calc(clamp(28px,4vw,64px) + var(--g))}
  @keyframes nf-svulm{from{--p:0}to{--p:1}}
  @media (prefers-reduced-motion:reduce){.nf-demo .fs-demo__g,.nv-slut__band{animation:none;--p:1}}
}

/* The hero's film under a deeper Nat: the text reads first, the film is the mood behind it */
.nf-film::after{background:
  radial-gradient(60% 50% at 50% 45%,rgba(6,12,36,.55),rgba(6,12,36,0) 75%),
  linear-gradient(180deg,rgba(6,12,36,.90) 0%,rgba(8,16,44,.78) 40%,rgba(8,16,44,.82) 72%,rgba(6,12,36,.95) 100%)!important}
/* The carousel comes first under the top, and the tour follows with its own heading */
.nk-sek{padding-top:clamp(40px,4.2vw,64px)}
.nf-tur-ydre{padding-top:var(--luft)!important}

/* ---------- The top, taller and set like the opening of a report: the promise on the left over the film, the film
   itself showing on the right, and the three facts on a rule at the foot of the top. One white button that leads,
   one outlined beside it ---------- */
.nf-top{text-align:left}
.nf-hero h1,.nf-hero .nf-hero__h{font-size:clamp(40px,5vw,76px);line-height:1.02;letter-spacing:-.04em;max-width:12.5em}
.nf-hero h1 span,.nf-hero .nf-hero__h span{color:rgba(255,255,255,.56)}
.nf-hero__ind{margin:clamp(20px,2vw,28px) 0 0;max-width:31em;font-size:clamp(16px,1.25vw,18.5px);color:rgba(255,255,255,.8)}
.nf-knapper{justify-content:flex-start;margin-top:clamp(26px,2.4vw,36px)}
.nf-knapper .nf-knap{height:50px!important;padding:0 24px!important}
.nf-knapper .nf-knap:first-child{background:#fff!important;color:var(--nat)!important;box-shadow:none!important}
.nf-knapper .nf-knap:first-child:hover{background:#E8ECFA!important}
.nf-knapper .nf-knap:nth-child(2){background:rgba(255,255,255,.06)!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.34)!important;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.nf-knapper .nf-knap:nth-child(2):hover{background:rgba(255,255,255,.14)!important}
.nf-tjek{justify-content:flex-start;gap:10px 40px;margin-top:clamp(40px,5vw,72px);padding:20px 0 24px;border-top:1px solid rgba(255,255,255,.16);font-size:14px;color:rgba(255,255,255,.78)}
.nf-film::after{background:
  linear-gradient(90deg,rgba(6,12,36,.92) 0%,rgba(6,12,36,.78) 36%,rgba(6,12,36,.42) 70%,rgba(6,12,36,.30) 100%),
  linear-gradient(180deg,rgba(6,12,36,.55) 0%,rgba(6,12,36,0) 22%,rgba(6,12,36,0) 68%,rgba(6,12,36,.78) 100%)!important}
.nf-top__ring{opacity:.035}
.nf-top__lys--a{background:radial-gradient(closest-side,rgba(47,91,255,.22),transparent)}
@media (min-width:900px){
  .nf-top{display:flex;flex-direction:column;min-height:clamp(640px,90svh,920px);padding-bottom:0!important}
  .nf-top>.ramme{flex:1;display:flex;flex-direction:column;width:100%}
  .nf-hero:not([hidden]){flex:1;display:flex;flex-direction:column}
  /* The promise stands in the middle of the film, the facts at its foot */
  .nf-hero h1,.nf-hero .nf-hero__h{margin-top:auto}
  .nf-hero .nf-tjek{margin-top:auto}
}
.nf-top .nf-skift{align-self:flex-start}
/* A deeper film, so the headline reads over any frame */
.nf-film::after{background:
  linear-gradient(90deg,rgba(6,12,36,.95) 0%,rgba(6,12,36,.86) 38%,rgba(6,12,36,.62) 72%,rgba(6,12,36,.52) 100%),
  linear-gradient(180deg,rgba(6,12,36,.6) 0%,rgba(6,12,36,0) 24%,rgba(6,12,36,0) 64%,rgba(6,12,36,.85) 100%)!important}

/* Content sits at the width of the sister sites on a laptop, not edge to edge (BEM-3280) */
:root{--max:1280px}
@media (min-width:1800px){:root{--max:1400px}}
.top__maerke .logo-prik{fill:var(--sol)}
