/* Løft – salgssiden. Samme profil som portalen («B light»): blekksvart, kremhvitt og korall,
   Bricolage Grotesque til overskrifter og DM Sans til tekst. Maks 4 px hjørner, 1 px rammer,
   ingen fargeoverganger og ingen skygger. Skriften ligger her (ingen kall til Google). */

@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-italic-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1f1d1a;
  --ink-hover: #3a3630;
  --cream: #faf6ef;
  --sand: #ede4d3;
  --mist: #f5f0e8;
  --line: #e4dccd;
  --muted: #6b6358;
  --body: #3a3630;
  --coral: #ff6b6b;
  --coral-text: #c73a35;
  --peach: #ffe8e1;
  --white: #ffffff;
  --display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
img,
svg {
  display: block;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--coral-text);
  outline-offset: 3px;
}
h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}
p {
  margin: 0;
}
.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 720px) {
  .wrap {
    padding: 0 32px;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--white);
  padding: 8px 12px;
  border: 1px solid var(--ink);
}

/* Ikoner (Lucide, strek 1,75) */
.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sm {
  width: 18px;
  height: 18px;
}

/* Knapper: 40 px høye, 4 px hjørner */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: var(--r);
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--ink-hover);
}
.btn-secondary {
  background: var(--white);
  color: var(--ink);
}
.btn-secondary:hover {
  background: var(--mist);
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral-text);
}
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tag-coral {
  background: var(--coral);
  color: var(--ink);
}
.tag-good {
  background: #e3efe1;
  color: #24492a;
}
.tag-warn {
  background: var(--peach);
  color: var(--ink);
}

/* Topp */
.top {
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.045em;
  text-decoration: none;
  line-height: 1;
}
.top nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 500;
}
.top nav a {
  text-decoration: none;
}
.top nav a:not(.btn):hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.top .nav-extra {
  display: none;
}
@media (min-width: 860px) {
  .top .nav-extra {
    display: inline;
  }
}
.top .btn {
  min-height: 40px;
  padding: 0 14px;
  font-size: 15px;
}

/* Seksjoner */
section {
  padding: 64px 0;
}
@media (min-width: 900px) {
  section {
    padding: 96px 0;
  }
}
section + section {
  border-top: 1px solid var(--line);
}
.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(30px, 4.2vw, 44px);
  margin-top: 12px;
}
.section-head p {
  margin-top: 16px;
  color: var(--body);
  font-size: 18px;
}

/* Hovedbudskap */
.hero {
  padding-top: 56px;
}
.hero .wrap {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero .wrap {
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
  }
}
.hero h1 {
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-top: 16px;
}
.hero .slogan {
  margin-top: 16px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero .lead {
  margin-top: 20px;
  max-width: 560px;
  font-size: 19px;
  color: var(--body);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero .note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

/* Utsnitt av portalen (tegnet, ikke skjermbilder; fiktivt korps) */
.mock {
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--r);
  padding: 20px;
}
.mock-stack {
  display: grid;
  gap: 16px;
}
.mock-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.mock-title strong {
  font-family: var(--display);
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.deadline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: 12px;
}
.deadline b {
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: -0.02em;
}
.deadline span {
  color: var(--muted);
  font-size: 15px;
}
.mock .funder {
  margin-top: 6px;
  font-weight: 600;
}
.mock .sub {
  color: var(--muted);
  font-size: 15px;
}
.rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.rows li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.rows .what {
  min-width: 0;
}
.rows .what b {
  display: block;
  font-weight: 600;
}
.rows .what span {
  color: var(--muted);
  font-size: 14px;
}
.bar {
  display: flex;
  height: 8px;
  margin-top: 10px;
  background: var(--sand);
  border-radius: 1px;
  overflow: hidden;
}
.bar i {
  display: block;
  background: var(--coral);
}
.bar i + i {
  border-left: 2px solid var(--white);
}
.mock-row {
  display: grid;
  gap: 16px;
}
@media (min-width: 560px) {
  .mock-row {
    grid-template-columns: 1fr 1fr;
  }
}
.kpi b {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.kpi span {
  color: var(--muted);
  font-size: 14px;
}

/* Kjenner dere dette? */
.pains {
  display: grid;
  gap: 16px;
}
@media (min-width: 820px) {
  .pains {
    grid-template-columns: repeat(3, 1fr);
  }
}
.pain {
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--r);
  padding: 24px;
}
.pain h3 {
  font-size: 22px;
}
.pain p {
  margin-top: 10px;
  color: var(--body);
}

/* Funksjoner */
.features {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 980px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}
.feature {
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--r);
  padding: 24px;
}
.feature .icon {
  color: var(--ink);
}
.feature h3 {
  margin-top: 16px;
  font-size: 22px;
}
.feature p {
  margin-top: 8px;
  color: var(--body);
  font-size: 16px;
}

/* Søknadsutkast */
.split {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}
.checks {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.checks .icon {
  margin-top: 3px;
  color: var(--coral-text);
}
.doc {
  font-size: 16px;
  line-height: 1.7;
}
.doc h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.doc p + p {
  margin-top: 12px;
}
.fill {
  background: var(--peach);
  border-bottom: 1px solid var(--coral-text);
  padding: 0 3px;
  font-weight: 600;
  white-space: nowrap;
}

/* Trygghet */
.safe {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 820px) {
  .safe {
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
  }
}
.safe div {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.safe h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
}
.safe p {
  margin-top: 4px;
  color: var(--body);
  font-size: 16px;
}

/* Pilot */
.pilot {
  background: var(--ink);
  color: var(--white);
}
.pilot .eyebrow {
  color: var(--coral);
}
.pilot .section-head p {
  color: rgba(255, 255, 255, 0.82);
}
.pilot-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 900px) {
  .pilot-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
  }
}
.pilot .checks .icon {
  color: var(--coral);
}
.pilot .btn-primary {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--ink);
}
.pilot .btn-primary:hover {
  background: #ff8585;
}
.pilot-card {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--r);
  padding: 24px;
}
.pilot-card h3 {
  font-size: 22px;
}
.pilot-card p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}
.pilot section + section,
.pilot + section {
  border-top: 0;
}

/* Logg inn og kontakt */
.duo {
  display: grid;
  gap: 16px;
}
@media (min-width: 820px) {
  .duo {
    grid-template-columns: 1fr 1fr;
  }
}
.card {
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--r);
  padding: 28px;
}
.card h2 {
  font-size: 30px;
  margin-top: 12px;
}
.card p {
  margin-top: 12px;
  color: var(--body);
}
.card .btn {
  margin-top: 24px;
}
code.addr {
  font-family: var(--sans);
  font-weight: 600;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1px 6px;
  color: var(--ink);
}

/* Bunn */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  font-size: 14px;
  color: var(--muted);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: center;
}
footer .brand {
  font-size: 22px;
  color: var(--ink);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-left: auto;
}

/* Personvernsiden */
.prose {
  max-width: 720px;
  padding: 56px 0 80px;
}
.prose h1 {
  font-size: clamp(36px, 6vw, 52px);
}
.prose h2 {
  font-size: 24px;
  margin-top: 40px;
}
.prose p,
.prose ul {
  margin-top: 12px;
  color: var(--body);
}
.prose ul {
  padding-left: 22px;
}
.prose li + li {
  margin-top: 6px;
}
.prose .updated {
  color: var(--muted);
  font-size: 15px;
  margin-top: 12px;
}
