/* DigitalSpinners – samme design som threatgrc.com (Poppins, marineblå, lilla aksent). */
@font-face{font-family:"Poppins";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/poppins-latin-ext-400-normal.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"Poppins";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/poppins-latin-400-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"Poppins";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/poppins-latin-ext-500-normal.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"Poppins";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/poppins-latin-500-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"Poppins";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/poppins-latin-ext-600-normal.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"Poppins";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/poppins-latin-600-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"Poppins";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/poppins-latin-ext-700-normal.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"Poppins";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/poppins-latin-700-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

:root{--surface:#fff;--surface-subtle:#f0f0f7;--border:#e2e2ec;--border-strong:#8d8d99;--ink:#090b24;--ink-secondary:#3f3e52;--ink-muted:#61606f;--primary:#0b0d21;--on-primary:#fff;--accent:#8465fe;--accent-ink:#4128be;--accent-soft:#eeeaff;--ok:#13805a;--bad:#c4224a;--shadow-card:0 1px 2px rgba(9,11,36,.05),0 1px 1px rgba(9,11,36,.03);--shadow-pop:0 12px 32px rgba(9,11,36,.10),0 2px 6px rgba(9,11,36,.06);--radius-md:8px;--radius-lg:12px;--font:"Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;color-scheme:light;}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;background:var(--surface);color:var(--ink);font:15px/24px var(--font);-webkit-font-smoothing:antialiased;}
a{color:var(--accent-ink);}
h1,h2,h3{font-weight:600;color:var(--ink);margin:0;}
h2{font-size:36px;line-height:42px;letter-spacing:-1.2px;margin:8px 0 12px;text-wrap:balance;}
h3{font-size:18px;line-height:26px;letter-spacing:-.3px;margin-bottom:6px;}
p{margin:0 0 12px;}
:focus-visible{outline:2px solid var(--accent-ink);outline-offset:2px;}
.muted{color:var(--ink-muted);}
.small{font-size:13px;line-height:20px;}
.lead{font-size:17px;line-height:28px;color:var(--ink-secondary);max-width:700px;}
.eyebrow{font:500 12px/16px var(--font);letter-spacing:1.6px;text-transform:uppercase;color:var(--accent-ink);margin:0;}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 20px;border-radius:var(--radius-md);border:1px solid transparent;font:500 14px/20px var(--font);text-decoration:none;cursor:pointer;white-space:nowrap;transition:opacity .15s,background-color .15s;}
.btn--primary{background:var(--primary);color:var(--on-primary);}
.btn--primary:hover{opacity:.88;}
.btn--secondary{background:var(--surface);color:var(--ink);border-color:var(--border-strong);}
.btn--secondary:hover{background:var(--surface-subtle);}
.btn--light{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.6);}
.btn--light:hover{background:rgba(255,255,255,.16);}
.btn:disabled{opacity:.5;cursor:wait;}

/* Meny */
.nav{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:24px;height:64px;padding:0 max(16px,calc((100vw - 1200px)/2));background:rgba(255,255,255,.95);backdrop-filter:blur(8px);border-bottom:1px solid var(--border);}
.logo{font:600 20px/24px var(--font);letter-spacing:-.5px;color:var(--ink);text-decoration:none;white-space:nowrap;}
.logo b{font-weight:600;color:var(--accent);}
.logo--light{color:#fff;}
.logo--light b{color:#a993ff;}
.nav__links{display:flex;gap:22px;margin-left:12px;}
.nav__links a{color:var(--ink-secondary);text-decoration:none;font-size:14px;font-weight:500;}
.nav__links a:hover,.nav__links a[aria-current]{color:var(--ink);}
.nav__cta{margin-left:auto;}
.menu-toggle{display:none;margin-left:auto;background:none;border:1px solid var(--border);border-radius:var(--radius-md);width:40px;height:40px;cursor:pointer;font-size:18px;}
.mobile-menu{display:none;}
@media (max-width:900px){
  .nav__links,.nav__cta{display:none;}
  .menu-toggle{display:block;}
  .mobile-menu.open{display:flex;flex-direction:column;gap:4px;position:sticky;top:64px;z-index:19;background:#fff;border-bottom:1px solid var(--border);padding:8px 16px 16px;}
  .mobile-menu a{padding:10px 0;color:var(--ink);text-decoration:none;font-weight:500;border-bottom:1px solid var(--surface-subtle);}
}

/* Hovedbilde */
.hero{position:relative;color:#fff;text-align:center;padding:120px 16px 104px;background:#0b0d12 url("img/hero.webp") center 62%/cover no-repeat;}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,10,14,.62) 0%,rgba(8,10,14,.38) 45%,rgba(8,10,14,.78) 100%);}
.hero__inner{position:relative;max-width:920px;margin:0 auto;}
.hero .eyebrow{color:rgba(255,255,255,.8);}
.hero h1{font:400 54px/60px var(--font);letter-spacing:-2px;color:#fff;margin:16px auto 0;text-wrap:balance;text-shadow:0 1px 24px rgba(0,0,0,.35);}
.hero h1 b{font-weight:600;color:#c9bcff;}
.hero .lead{color:rgba(255,255,255,.88);margin:24px auto 0;text-shadow:0 1px 24px rgba(0,0,0,.35);}
.hero__actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:32px 0 0;}
.hero .btn--primary{box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);}
.chips{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:44px;}
.chip{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 12px;border-radius:999px;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.08);color:rgba(255,255,255,.9);font:500 12px/16px var(--font);}
.chip::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent);}
.hero--small{padding:88px 16px 72px;text-align:left;}
.hero--small .hero__inner{max-width:1200px;}
.hero--small h1{font-size:44px;line-height:50px;margin:12px 0 0;max-width:820px;}
.hero--small .lead{margin:18px 0 0;}
.crumbs{position:relative;font-size:13px;color:rgba(255,255,255,.75);}
.crumbs a{color:rgba(255,255,255,.9);}
@media (max-width:640px){.hero{padding:72px 16px 64px;}.hero h1{font-size:34px;line-height:40px;letter-spacing:-1.2px;}.hero--small h1{font-size:30px;line-height:36px;}.hero__actions{flex-direction:column;align-items:stretch;}}

/* Seksjoner og kort */
.section{padding:88px max(16px,calc((100vw - 1200px)/2));}
.section--subtle{background:var(--surface-subtle);}
@media (max-width:640px){.section{padding:56px 16px;}h2{font-size:28px;line-height:34px;}}
.grid{display:grid;gap:20px;margin-top:32px;}
.grid--4{grid-template-columns:repeat(4,minmax(0,1fr));}
.grid--2{grid-template-columns:repeat(2,minmax(0,1fr));}
.grid--3{grid-template-columns:repeat(3,minmax(0,1fr));}
@media (max-width:1050px){.grid--4{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:760px){.grid--4,.grid--2,.grid--3{grid-template-columns:minmax(0,1fr);}}
.card{background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:24px;display:flex;flex-direction:column;}
.card p{color:var(--ink-secondary);}
.card ul{margin:4px 0 16px;padding-left:18px;color:var(--ink-secondary);font-size:14px;line-height:22px;}
.card li{margin:3px 0;}
.card .more{margin-top:auto;font-weight:500;text-decoration:none;}
.card .more::after{content:" →";}
.icon{width:40px;height:40px;border-radius:10px;background:var(--accent-soft);color:var(--accent-ink);display:grid;place-items:center;margin-bottom:14px;}
.icon svg{width:22px;height:22px;}
.courses{list-style:none;padding:0 !important;margin:4px 0 0 !important;}
.courses li{margin:0 !important;border-top:1px solid var(--border);}
.courses a{display:flex;justify-content:space-between;padding:9px 0;text-decoration:none;color:var(--ink);font-weight:500;}
.courses a::after{content:"→";color:var(--accent-ink);}

/* Produkter */
.product{background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-pop);overflow:hidden;display:flex;flex-direction:column;}
.product img{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;}
.product__body{padding:24px 26px 28px;display:flex;flex-direction:column;flex:1;}
.product__body ul{margin:4px 0 20px;padding-left:18px;color:var(--ink-secondary);}
.product__body .btn{align-self:flex-start;margin-top:auto;}
.tag{display:inline-block;align-self:flex-start;font:600 10px/14px var(--font);text-transform:uppercase;letter-spacing:1px;background:var(--accent-soft);color:var(--accent-ink);border-radius:999px;padding:3px 9px;margin-bottom:10px;}

/* Referanser og verdier */
.logos{display:flex;flex-wrap:wrap;gap:28px 44px;align-items:center;justify-content:center;margin-top:28px;}
.logos img{height:34px;width:auto;filter:grayscale(1);opacity:.75;}

/* Kursside */
.legal{display:grid;grid-template-columns:280px minmax(0,1fr);gap:48px;align-items:start;}
.legal__toc ol{list-style:none;counter-reset:toc;margin:10px 0 0;padding:0;}
.legal__toc li{counter-increment:toc;display:flex;gap:10px;padding:5px 0;font-size:14px;line-height:20px;}
.legal__toc li::before{content:counter(toc,decimal-leading-zero);color:var(--ink-muted);font-size:12px;}
.legal__toc a{color:var(--ink-secondary);text-decoration:none;}
.legal__toc a:hover{color:var(--accent-ink);}
.legal__body{max-width:760px;}
.legal__body section{scroll-margin-top:88px;padding-bottom:32px;margin-bottom:32px;border-bottom:1px solid var(--border);}
.legal__body section:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0;}
.legal__body h2{font-size:24px;line-height:32px;letter-spacing:-.5px;margin:0 0 12px;}
.legal__body h2 span{color:var(--accent-ink);font-size:14px;font-weight:500;letter-spacing:.5px;margin-right:6px;}
.legal__body p,.legal__body li{color:var(--ink-secondary);}
.legal__body ul{padding-left:20px;margin:12px 0;}
.legal__body li{margin:6px 0;}
.legal__body b{color:var(--ink);font-weight:600;}
.legal__body dl{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px 12px;margin:16px 0 0;padding:20px 24px;background:var(--surface-subtle);border-radius:var(--radius-lg);}
.legal__body dt{color:var(--ink-muted);}
.legal__body dd{margin:0;font-weight:500;overflow-wrap:anywhere;}
.legal dd a,.contact dd a{text-decoration:none;}
.legal dd a:hover,.contact dd a:hover{text-decoration:underline;}
@media (max-width:900px){.legal{grid-template-columns:minmax(0,1fr);gap:32px;}.aside.legal__toc{position:static;}}
.course{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:40px;align-items:start;}
@media (max-width:900px){.course{grid-template-columns:minmax(0,1fr);}}
.course h2{font-size:26px;line-height:32px;margin-top:28px;}
.course h2:first-child{margin-top:0;}
.course ul{padding-left:20px;color:var(--ink-secondary);}
.course li{margin:5px 0;}
.aside{position:sticky;top:88px;background:var(--surface-subtle);border-radius:var(--radius-lg);padding:24px;}
.aside dl{margin:0 0 18px;}
.aside dt{font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--ink-muted);margin-top:12px;}
.aside dd{margin:2px 0 0;font-weight:500;}
.aside .btn{width:100%;}
.note{font-size:12px;line-height:18px;color:var(--ink-muted);margin-top:16px;}

/* Kontakt */
.contact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:48px;align-items:start;}
@media (max-width:900px){.contact{grid-template-columns:minmax(0,1fr);gap:28px;}}
.contact dl{margin:20px 0 0;}
.contact dt{font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--ink-muted);margin-top:14px;}
.contact dd{margin:2px 0 0;font-weight:500;}
form.contact-form{display:grid;gap:14px;background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:24px;}
.contact-form label{display:flex;flex-direction:column;gap:6px;font:500 13px/20px var(--font);}
.contact-form input,.contact-form textarea,.contact-form select{font:400 15px/24px var(--font);color:var(--ink);background:#fff;border:1px solid var(--border-strong);border-radius:var(--radius-md);padding:8px 12px;}
.contact-form textarea{min-height:120px;resize:vertical;}
.contact-form input:focus,.contact-form textarea:focus,.contact-form select:focus{outline:2px solid var(--accent-ink);outline-offset:2px;border-color:var(--ink);}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
#formStatus{min-height:22px;margin:0;font-weight:500;}

/* Bunntekst */
.footer{background:var(--primary);color:rgba(255,255,255,.75);padding:52px max(16px,calc((100vw - 1200px)/2)) 30px;}
.footer__grid{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));gap:32px;}
@media (max-width:800px){.footer__grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);}}
.footer h4{color:#fff;font:600 13px/20px var(--font);margin:0 0 10px;letter-spacing:.3px;}
.footer a{display:block;color:rgba(255,255,255,.8);text-decoration:none;font-size:14px;padding:3px 0;}
.footer a:hover{color:#fff;text-decoration:underline;}
.footer p{font-size:13px;line-height:21px;}
.footer__legal{border-top:1px solid rgba(255,255,255,.15);margin-top:36px;padding-top:16px;font-size:12px;color:rgba(255,255,255,.6);}
