/* Byggsmartere – markedsside
   Bygget fra godkjent skisse (skisse/forside.html, 15. nov 2026).
   Farger og typografi følger skissen. Ingen JavaScript. */

@font-face{
  font-family:"Archivo";
  font-style:normal;
  font-display:swap;
  font-weight:100 900;
  font-stretch:62% 125%;
  src:url("fonts/archivo-latin-wdth-normal-5.3.0.woff2") format("woff2");
}

:root{
  --navy:#1e3658;
  --navy-deep:#14284a;
  --coral:#d9372b;
  --coral-dk:#b52a20;
  --cream:#f6f3ee;
  --sand:#ece7df;
  --ink:#0f1f38;
  --muted:#5d6878;
  --line:#e3ded5;
  --white:#fff;
  --sans:"Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow:0 24px 60px -32px rgba(15,31,56,.28);
  --radius:16px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-family:var(--sans);font-size:16px;line-height:1.5;background:var(--cream);color:var(--ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,svg{display:block;max-width:100%}
a{color:inherit}
ul,ol{list-style:none}

.wrap{width:min(1120px, calc(100% - 80px));margin:0 auto}
h1,h2,h3,.logo-word{font-family:var(--sans);font-weight:650;letter-spacing:-0.015em;font-stretch:94%}
h1{font-size:58px;line-height:1.08;color:var(--cream)}
h2{font-size:48px;line-height:1;color:var(--navy)}
h3{font-size:20px;line-height:1.4;color:var(--navy)}
.lead{font-size:22px;line-height:1.625;font-weight:400}
.sub{font-size:20px;line-height:1.625;color:var(--muted);max-width:42rem}
.eyebrow{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}

/* Tilgjengelighet */
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.skip-link{position:absolute;left:16px;top:-200px;z-index:100;background:var(--cream);color:var(--navy);padding:12px 20px;border-radius:999px;font-weight:600;text-decoration:none;box-shadow:var(--shadow)}
.skip-link:focus{top:16px}
:focus-visible{outline:3px solid var(--navy);outline-offset:3px}
.site-header-bar :focus-visible,.hero :focus-visible,.bg-navy :focus-visible,.site-footer :focus-visible,.notfound :focus-visible{outline-color:var(--cream)}

/* Knapper */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;cursor:pointer;text-decoration:none;font-weight:600;white-space:nowrap;line-height:1.2;transition:background-color .15s}
.btn-coral{background:var(--coral);color:#fff;box-shadow:0 12px 28px -12px rgba(217,55,43,.45)}
.btn-coral:hover{background:var(--coral-dk)}
.btn-lg{font-size:20px;padding:20px 40px;min-height:68px}
.btn-md{font-size:16px;padding:16px 32px;min-height:56px}
.btn-sm{font-size:14px;padding:10px 22px;min-height:40px}

/* Toppfelt */
.site-header-bar{background:var(--navy);color:var(--cream)}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:140px 0 8px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--cream)}
.brand .logo-word{font-size:26px;letter-spacing:-0.03em;line-height:1}
.brand-mark{width:32px;height:32px;flex:none}
.nav{display:flex;align-items:center;gap:28px}
.nav a{color:rgba(246,243,238,.85);text-decoration:none;font-size:15px;font-weight:500}
.nav a:hover{color:var(--cream)}
.nav .btn,.nav .btn:hover{color:#fff}

/* Hero */
.hero{background:linear-gradient(180deg,var(--navy) 0%,var(--navy-deep) 100%);color:var(--cream);padding:0 0 88px;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1fr 1.02fr;gap:48px;align-items:center;padding:48px 0 24px}
.hero h1{max-width:11ch;margin-bottom:22px}
.hero .lead{max-width:36rem;color:rgba(246,243,238,.85);margin-bottom:36px}
.hero-actions{margin-bottom:36px}
.works-with .eyebrow{color:rgba(246,243,238,.7);margin-bottom:14px}
.works-with-row{display:flex;flex-wrap:wrap;gap:22px 28px;align-items:center;color:rgba(246,243,238,.92);font-weight:600;font-size:15px}
.works-with-row li{display:inline-flex;align-items:center;gap:8px}
.hero-ai{margin-top:22px}
.hero-ai .eyebrow{margin-bottom:12px}

/* Produktvindu (eksempelvisning) */
.shot{margin:0}
.product{background:var(--navy-deep);border-radius:var(--radius);border:1px solid rgba(246,243,238,.1);box-shadow:var(--shadow);overflow:hidden;color:var(--cream)}
.product-bar{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid rgba(246,243,238,.08)}
.dots{display:flex;gap:6px}
.dots i{width:8px;height:8px;border-radius:50%;background:rgba(246,243,238,.25);display:block}
.product-status{display:flex;align-items:center;gap:8px;font-size:12px;color:rgba(246,243,238,.75)}
.product-status .dot{width:7px;height:7px;border-radius:50%;background:var(--cream)}
.product-body{background:var(--cream);color:var(--ink)}
.app-top{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:var(--navy);color:#fff}
.app-top .who{font-size:13px;font-weight:600}
.app-top .tabs{display:flex;gap:6px}
.app-top .tab{font-size:12px;padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.12)}
.app-top .tab.on{background:#fff;color:var(--navy)}
.app-list{padding:12px 14px 16px;display:flex;flex-direction:column;gap:8px}
.proj{display:grid;grid-template-columns:1fr auto;gap:4px 16px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px}
.proj b{font-size:13.5px;font-weight:700;letter-spacing:-0.01em}
.proj .meta{font-size:12px;color:var(--muted)}
.proj .num{font-size:11px;font-weight:600;color:var(--navy);background:var(--sand);padding:1px 7px;border-radius:999px;margin-right:6px}
.proj .stat{display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-size:11px;font-weight:600}
.pill{display:inline-flex;align-items:center;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600}
.pill-ok{background:#e4f3ea;color:#1f6b3d}
.pill-warn{background:#fde8e6;color:var(--coral-dk)}
.pill-wait{background:#eef2f7;color:var(--navy)}
.cap{margin-top:12px;font-size:12.5px;color:rgba(246,243,238,.7);text-align:center}

/* Seksjoner */
section{padding:112px 0}
.bg-white{background:#fff}
.bg-cream{background:var(--cream)}
.bg-navy{background:var(--navy);color:var(--cream)}
.bg-navy h2,.bg-navy h3{color:var(--cream)}
.bg-navy .sub{color:rgba(246,243,238,.8)}
.section-head{margin-bottom:56px}
.section-head h2{margin-bottom:16px}

/* Hub: linjene er statisk SVG. Pillene har fast høyde (48px) og
   avstand (12px), så kolonnen til venstre er 288px høy og linjene
   treffer midten av hver pille. */
.hub{position:relative;display:grid;grid-template-columns:1fr 240px 1fr;gap:24px;align-items:center}
.hub-col{display:flex;flex-direction:column;gap:12px;position:relative;z-index:1}
.hub-col.right{align-items:flex-end}
.hub-pill{background:var(--white);border:1px solid var(--sand);border-radius:14px;padding:12px 16px;font-weight:500;font-size:15px;line-height:22px;color:var(--ink);box-shadow:0 1px 0 rgba(15,31,56,.03);width:fit-content;min-width:210px;display:flex;align-items:center;gap:10px}
.hub-col.right .hub-pill{min-width:200px}
.hub-pill svg{flex:none;color:var(--navy)}
.hub-center{display:flex;justify-content:center;position:relative;z-index:1}
.hub-logo{background:var(--navy-deep);color:var(--cream);border-radius:18px;padding:28px 22px;min-width:220px;text-align:center;box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:center;gap:10px}
.hub-logo .logo-word{font-size:22px}
.hub-logo small{font-size:12px;color:rgba(246,243,238,.7);line-height:1.4}
.hub-lines{position:absolute;top:0;height:100%;z-index:0;overflow:visible;pointer-events:none}
.hub-lines-left{left:210px;width:calc(50% - 210px)}
.hub-lines-right{left:50%;width:calc(50% - 200px)}
.hub-lines path{fill:none;stroke-width:1.4;stroke-linecap:round;vector-effect:non-scaling-stroke}

/* Moduler */
.modules{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.mod{background:var(--white);border:1px solid var(--sand);border-radius:var(--radius);padding:26px 24px 24px;min-height:176px;display:flex;flex-direction:column;gap:8px}
.mod .ico{width:40px;height:40px;border-radius:12px;background:var(--cream);color:var(--navy);display:flex;align-items:center;justify-content:center;margin-bottom:8px}
.mod h3{font-size:18px}
.mod p{color:var(--muted);font-size:15px;line-height:1.55}

/* Roller */
.roles{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:center}
.role-list{display:flex;flex-direction:column;gap:28px}
.role{display:grid;grid-template-columns:20px 1fr;gap:16px;align-items:start}
.role .bar{width:3px;height:100%;min-height:52px;background:var(--coral);border-radius:2px;margin-top:6px}
.role h3{font-size:20px;margin-bottom:4px}
.role p{color:rgba(246,243,238,.8);font-size:15.5px;line-height:1.55}

/* Mobil */
.mobile-grid{display:grid;grid-template-columns:1fr 360px;gap:64px;align-items:center}
.checks{margin-top:36px;display:flex;flex-direction:column;gap:16px}
.checks li{display:flex;gap:14px;align-items:flex-start;font-size:16.5px;line-height:1.45}
.check{width:24px;height:24px;border-radius:50%;background:rgba(30,54,88,.10);color:var(--navy);display:flex;align-items:center;justify-content:center;flex:none;margin-top:1px}
.phone{width:300px;margin:0 auto;background:var(--navy-deep);border-radius:36px;padding:12px 10px 16px;box-shadow:var(--shadow);border:1px solid rgba(246,243,238,.1)}
.phone-notch{width:110px;height:18px;background:var(--navy-deep);border-radius:0 0 14px 14px;margin:0 auto 8px}
.phone-screen{background:var(--cream);border-radius:24px;overflow:hidden;min-height:540px;display:flex;flex-direction:column;color:var(--ink)}
.ph-head{background:var(--navy);color:#fff;padding:16px 16px 14px}
.ph-head .day{font-size:12px;opacity:.75}
.ph-head .ph-title{color:#fff;font-size:20px;margin-top:2px;font-weight:650;font-stretch:94%;letter-spacing:-0.015em;line-height:1.4}
.ph-body{padding:12px;display:flex;flex-direction:column;gap:8px;flex:1}
.ph-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px}
.ph-card b{display:block;font-size:13.5px;margin-bottom:2px}
.ph-card p{font-size:12px;color:var(--muted)}
.ph-btn{display:block;text-align:center;background:var(--navy);color:#fff;border-radius:10px;padding:11px;font-size:13.5px;font-weight:600;margin-top:4px}
.ph-nav{margin-top:auto;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);background:#fff;padding:8px 4px 10px;text-align:center;font-size:10px;color:var(--muted);font-weight:600}
.ph-nav .on{color:var(--navy)}
.ph-nav svg{margin:0 auto 3px}

/* Sikkerhet */
.sec-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.sec-card{background:var(--navy-deep);border-radius:var(--radius);padding:28px 24px;color:var(--cream);box-shadow:var(--shadow)}
.sec-card .sec-brand{font-size:20px;display:flex;align-items:center;gap:10px}
.sec-card .row{background:rgba(246,243,238,.06);border:1px solid rgba(246,243,238,.1);border-radius:12px;padding:14px 16px;margin-top:10px;display:flex;align-items:center;gap:12px}
.sec-card .ico{width:36px;height:36px;border-radius:10px;background:rgba(246,243,238,.12);color:var(--cream);display:flex;align-items:center;justify-content:center;flex:none}
.sec-card b{display:block;font-size:14.5px}
.sec-card .row span{display:block;font-size:12.5px;color:rgba(246,243,238,.7)}

/* Merker (AI-assistenter) */
.badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.badge{display:inline-flex;align-items:center;padding:8px 16px;border-radius:999px;border:1px solid var(--sand);background:#fff;font-weight:600;font-size:14.5px;color:var(--navy)}
.bg-navy .badge{background:rgba(246,243,238,.1);border-color:rgba(246,243,238,.22);color:var(--cream)}
.hero .badge{background:rgba(246,243,238,.1);border-color:rgba(246,243,238,.22);color:var(--cream);font-size:13.5px;padding:6px 13px}

/* AI */
.ai-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:start;margin-top:48px}
.lbl{font-size:13px;font-weight:600;color:rgba(246,243,238,.7);margin-bottom:12px}
.quotes{display:flex;flex-direction:column;gap:10px}
.quote{background:rgba(246,243,238,.08);border:1px solid rgba(246,243,238,.14);border-radius:14px;padding:14px 16px;font-size:15.5px;line-height:1.45;color:var(--cream)}
.mcp-note{margin-top:28px;font-size:13px;color:rgba(246,243,238,.65);max-width:40rem}
.bg-navy .checks{margin-top:0}
.bg-navy .checks li{color:var(--cream);font-size:16px}
.bg-navy .check{background:rgba(246,243,238,.12);color:var(--cream)}

/* Steg */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.step{background:rgba(246,243,238,.06);border:1px solid rgba(246,243,238,.12);border-radius:var(--radius);padding:28px 26px 26px}
.step h3{color:var(--cream)}
.step p{color:rgba(246,243,238,.8);font-size:15.5px;line-height:1.6}
.step .num{display:block;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:rgba(246,243,238,.6);margin-bottom:12px}

/* Bytt og integrasjoner */
.integs{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.integ{background:#fff;border:1px solid var(--sand);border-radius:var(--radius);padding:26px 24px}
.integ h3{margin-bottom:8px;font-size:18px}
.integ p{color:var(--muted);font-size:15.5px;line-height:1.6}

/* Spørsmål og svar */
.faq{display:flex;flex-direction:column;max-width:52rem}
.faq-item{border-top:1px solid var(--sand);padding:22px 0}
.faq-item:last-child{border-bottom:1px solid var(--sand)}
.faq-item h3{font-size:18px;margin-bottom:8px}
.faq-item p{color:var(--muted);font-size:15.5px;line-height:1.65}

/* Demo / kontakt */
.cta-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:64px;align-items:start}
.contact-list{margin-top:36px;display:flex;flex-direction:column;gap:22px}
.contact-list li{display:flex;gap:14px;align-items:flex-start}
.contact-list .ico{width:44px;height:44px;border-radius:50%;background:var(--white);border:1px solid var(--sand);display:flex;align-items:center;justify-content:center;color:var(--coral);flex:none}
.contact-list small{display:block;font-size:13px;color:var(--muted)}
.contact-list b{font-size:16px;font-weight:600}
.contact-list a{text-decoration:none;overflow-wrap:anywhere}
.contact-list a:hover b{text-decoration:underline}
.contact-list .addr{display:block;margin-top:2px;color:var(--ink);font-size:15px;font-weight:500}
.placeholder-tag{display:inline-block;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--navy);background:rgba(30,54,88,.08);padding:2px 8px;border-radius:999px;margin-left:6px;vertical-align:middle}
.demo-card{background:var(--white);border:1px solid var(--sand);border-radius:var(--radius);padding:32px;box-shadow:var(--shadow)}
.demo-card h3{font-size:22px;margin-bottom:8px}
.demo-card > p{color:var(--muted);font-size:16px;line-height:1.6}
.demo-fields{margin:20px 0 28px;border-top:1px solid var(--sand)}
.demo-fields li{display:flex;gap:8px;align-items:baseline;padding:12px 0 12px 20px;border-bottom:1px solid var(--sand);font-weight:600;font-size:15px;position:relative}
.demo-fields li::before{content:"";position:absolute;left:2px;top:50%;width:6px;height:6px;margin-top:-3px;border-radius:50%;background:var(--navy)}
.demo-fields .opt{font-weight:400;color:var(--muted)}
.demo-card .hint{margin-top:16px;font-size:13px;color:var(--muted);line-height:1.5}

/* Bunntekst */
.site-footer{background:var(--navy);color:rgba(246,243,238,.7);padding:48px 0}
.foot{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.foot a{color:rgba(246,243,238,.7);text-decoration:none;font-size:14.5px}
.foot a:hover{color:var(--cream);text-decoration:underline}
.foot .brand,.foot .brand:hover{color:var(--cream);text-decoration:none}
.foot-meta{display:flex;gap:24px;align-items:center;flex-wrap:wrap;font-size:14.5px}
.site-footer .placeholder-tag{color:var(--cream);background:rgba(246,243,238,.14)}

/* Undersider (personvern) */
.page-hero{padding:40px 0 72px}
.page-hero h1{margin-bottom:16px;max-width:none;overflow-wrap:break-word}
.page-hero .lead{max-width:40rem;margin-bottom:0}
.page-hero .updated{margin-top:20px;font-size:14px;color:rgba(246,243,238,.7)}
.prose{max-width:46rem}
.prose h2{font-size:28px;line-height:1.2;margin:56px 0 14px}
.prose h2:first-child{margin-top:0}
.prose h3{font-size:19px;margin:28px 0 8px}
.prose p,.prose li,.prose dt,.prose dd{font-size:17px;line-height:1.65}
.prose p + p,.prose ul + p{margin-top:12px}
.prose ul + p{margin-top:16px}
.prose ul{list-style:disc;padding-left:1.4em;margin-top:12px;display:flex;flex-direction:column;gap:8px}
.prose li::marker{color:var(--navy)}
.prose a{color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.prose a:hover{color:var(--coral-dk)}
.prose .summary{background:var(--cream);border:1px solid var(--sand);border-radius:var(--radius);padding:24px 28px}
.prose .summary ul{margin-top:0}
.prose dl{display:grid;grid-template-columns:max-content 1fr;gap:8px 24px;margin-top:16px;background:var(--cream);border:1px solid var(--sand);border-radius:var(--radius);padding:22px 24px}
.prose dt{font-weight:600}
.prose dd{margin:0}

/* Feilside */
.notfound{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(180deg,var(--navy) 0%,var(--navy-deep) 100%);color:var(--cream)}
.notfound main{flex:1;display:flex;align-items:center;padding:48px 0 96px}
.notfound h1{margin-bottom:18px}
.notfound .lead{color:rgba(246,243,238,.85);margin-bottom:32px;max-width:32rem}
.notfound .site-header{padding:48px 0 8px}

/* Mobil og nettbrett */
@media (max-width: 900px){
  .wrap{width:min(1120px, calc(100% - 40px))}
  h1{font-size:40px;line-height:1.1}
  h2{font-size:32px;line-height:1.1}
  .lead{font-size:18px;line-height:1.55}
  .sub{font-size:17px}
  .btn-lg{font-size:17px;padding:16px 28px;min-height:56px}
  .site-header{padding:100px 0 0}
  .brand .logo-word{font-size:22px}
  .hub-lines{display:none}
  .mod{min-height:0}
  .nav-links{display:none}
  .hero{padding-bottom:56px}
  .hero-grid,.roles,.mobile-grid,.sec-grid,.cta-grid,.hub,.ai-grid,.steps,.integs{grid-template-columns:1fr;gap:36px}
  .hero-grid{padding:28px 0 8px}
  .hub-col.right{align-items:flex-start}
  .hub-center{order:-1}
  section{padding:80px 0}
  .modules{grid-template-columns:1fr}
  .demo-card{padding:22px}
  .phone{width:280px}
  .section-head{margin-bottom:36px}
  .notfound .site-header{padding:28px 0 0}
  .page-hero{padding:28px 0 56px}
  .page-hero h1{font-size:clamp(28px, 9vw, 40px)}
  .prose h2{font-size:24px;margin-top:44px}
  .prose .summary{padding:20px}
  .prose dl{grid-template-columns:1fr;gap:2px;padding:18px 20px}
  .prose dd{margin-bottom:10px}
}

/* Svært smale skjermer (320–360 px): logo og knapp på én linje */
@media (max-width: 360px){
  .site-header{gap:10px}
  .brand{gap:10px}
  .brand .logo-word{font-size:19px}
  .btn-sm{padding:10px 16px}
}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{transition:none!important;animation:none!important}
}
