/* Signal-designet, for forsiden og 404-siden. */

/* Self-hosted, so no visitor IP goes to Google. Latin subset only; it covers æøå, € and the dashes. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/inter.woff2") format("woff2");
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/assets/fonts/inter-tight.woff2") format("woff2");
}

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/caveat.woff2") format("woff2");
}

:root {
  --ink: #151517;
  --ink-hover: #3a3a44;
  --text-2: #535361;
  --text-3: #6b6b78;
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-2: #f4f4f6;
  --glow-a: #4f5bff;
  --glow-b: #33c3b4;
  /* Fargene i logoens gradient */
  --logo-teal: #48a4c1;
  --logo-pink: #e64d8a;
  --logo-orange: #f37726;
  --vipps: #ff5b24;
  --line: rgba(0, 0, 0, 0.07);
  --ring: 0 0 0 0.5px rgba(0, 0, 0, 0.12);
  --lift: 0 1px 1px -1px rgba(0, 0, 0, 0.18), 0 2px 2px -2px rgba(0, 0, 0, 0.16),
    0 10px 10px -4px rgba(0, 0, 0, 0.06);
  --font-display: "Inter Tight", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: var(--ink);
}

a:hover {
  color: var(--ink-hover);
}

h1,
h2,
h3,
p {
  margin: 0;
}

summary {
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.wrap-wide {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.muted {
  color: var(--text-2);
}

/* Glow-bakgrunn brukt på mørke flater */
.glow {
  --glow-w: 30%;
  --glow-h: 50%;
  --glow-y: 105%;
  color: #ffffff;
  background-color: var(--ink);
  background-image:
    radial-gradient(var(--glow-w) var(--glow-h) at 20% var(--glow-y), var(--logo-teal), transparent),
    radial-gradient(var(--glow-w) var(--glow-h) at 80% var(--glow-y), var(--logo-orange), transparent),
    radial-gradient(calc(var(--glow-w) * 1.3) var(--glow-h) at 50% var(--glow-y), var(--logo-pink), transparent);
}

/* Toppbanner */
.announce {
  --glow-w: 34%;
  --glow-h: 340%;
  --glow-y: 105%;
  display: block;
  padding: 10px 24px;
  text-align: center;
  font-size: 13px;
  text-decoration: none;
}

.announce,
.announce:hover {
  color: #ffffff;
}

.announce .tag {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(250, 250, 250, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  display: block;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
}

.site-nav a {
  text-decoration: none;
}

/* Knapper */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.btn-sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.btn-dark,
.btn-dark:hover {
  background: var(--ink);
  color: #ffffff;
  box-shadow: var(--lift);
}

.btn-light {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--ring), var(--lift);
}

.btn-on-dark,
.btn-on-dark:hover {
  background: #ffffff;
  color: var(--ink);
}

.btn-ghost-on-dark,
.btn-ghost-on-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.btn-block {
  display: flex;
  margin-top: 28px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Overskrifter */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--glow-a);
}

.h2 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.center {
  text-align: center;
}

/* Hero */
.hero {
  padding-top: 96px;
  padding-bottom: 40px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--ink);
  font-size: 13px;
  text-decoration: none;
}

.pill,
.pill:hover {
  color: #ffffff;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
}

.hero h1 {
  margin-top: 22px;
  max-width: 11em;
  font-family: var(--font-display);
  font-size: clamp(44px, 6.6vw, 84px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
}

.hero .lead {
  margin-top: 22px;
  max-width: 33em;
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-2);
}

.hero .btn-row {
  margin-top: 30px;
}

.handwritten {
  margin: 12px 0 0 4px;
  font-family: "Caveat", cursive;
  font-size: 21px;
  color: var(--text-2);
}

/* Produktvindu */
.product {
  padding-bottom: 120px;
}

.window {
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--ring), 0 2px 4px -2px rgba(0, 0, 0, 0.08), 0 40px 60px -30px rgba(0, 0, 0, 0.18);
}

.window-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}

.window-title {
  font-size: 14px;
  font-weight: 600;
}

.window-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-2);
}

.window-tabs .active {
  padding-bottom: 2px;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  font-weight: 600;
}

.window-body {
  display: flex;
  flex-wrap: wrap;
}

.flow {
  flex: 1 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 48px;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(0, 0, 0, 0.09) 1px, transparent 1px);
  background-size: 16px 16px;
}

.flow-step {
  width: 220px;
  padding: 14px;
  border-radius: 12px;
  background: var(--surface);
  text-align: center;
  box-shadow: var(--ring), 0 6px 12px -8px rgba(0, 0, 0, 0.2);
}

.flow-branch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.flow-branch .flow-step {
  width: 200px;
}

.flow-step.highlight {
  box-shadow: 0 0 0 1.5px var(--glow-a), 0 6px 12px -8px rgba(0, 0, 0, 0.2);
}

.flow-step .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.flow-step .title {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
}

.flow-step .sub {
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-3);
}

.flow-line {
  width: 1px;
  height: 28px;
  background: rgba(0, 0, 0, 0.18);
}

.payer {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  border-left: 1px solid var(--line);
}

.payer-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}

.payer-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: 16px;
  background: var(--surface-2);
}

.payer-card .title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.payer-card .row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-2);
}

.payer-card .note {
  font-size: 13px;
  color: var(--text-3);
}

.fake-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
}

.fake-btn.vipps {
  background: var(--vipps);
  color: #ffffff;
  font-weight: 600;
}

.fake-btn.card {
  background: var(--surface);
  font-weight: 500;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.15);
}

/* To kolonner: overskrift + tekst */
.split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 32px 72px;
}

.split > :first-child {
  flex: 1 1 460px;
  min-width: 0;
}

.split > :last-child {
  flex: 1 1 380px;
  min-width: 0;
}

.problem {
  padding-bottom: 96px;
}

.problem p.muted {
  font-size: 17px;
}

/* Tall */
.stats-section {
  padding-bottom: 120px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.1);
}

.stat {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.stat:last-child {
  border-right: 0;
}

.stat .value {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.stat .label {
  margin-top: 4px;
  color: var(--text-2);
}

/* For styret */
.board {
  --glow-w: 30%;
  --glow-h: 45%;
  --glow-y: 105%;
}

.board .wrap {
  padding-top: 112px;
  padding-bottom: 120px;
}

.board .eyebrow {
  color: var(--glow-b);
}

.board .h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
}

.board .split > :last-child p {
  font-size: 17px;
  color: #c4c4ce;
}

.board .btn {
  margin-top: 20px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 72px;
}

.step {
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.step .when {
  font-size: 13px;
  color: #a9a9b6;
}

.step .what {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 600;
}

.step .desc {
  margin-top: 6px;
  font-size: 14px;
  color: #c4c4ce;
}

/* Bruksområder */
.uses {
  padding-top: 120px;
  padding-bottom: 120px;
}

.uses .h2 {
  max-width: 16em;
  margin-left: auto;
  margin-right: auto;
}

.uses .intro {
  max-width: 34em;
  margin: 14px auto 0;
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 56px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.use {
  padding: 36px 28px;
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.use .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--ring), 0 4px 8px -4px rgba(0, 0, 0, 0.15);
}

.use .icon svg {
  stroke: var(--glow-a);
}

.use h3 {
  margin: 16px 0 6px;
  font-size: 16px;
  font-weight: 600;
}

.use p {
  font-size: 14px;
  color: var(--text-2);
}

/* Utbetalinger */
.payouts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 72px;
  padding-bottom: 120px;
}

.payouts .panel {
  flex: 1 1 520px;
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--ring), 0 30px 50px -30px rgba(0, 0, 0, 0.2);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.panel-head small {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-3);
}

.table-scroll {
  overflow-x: auto;
}

.payouts table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 14px;
}

.payouts th {
  padding: 12px 22px;
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
}

.payouts td {
  padding: 14px 22px;
}

.payouts tbody tr {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.payouts .num-right {
  text-align: right;
}

.status-paid {
  padding: 3px 10px;
  border-radius: 999px;
  background: #e7f6ee;
  color: #17643e;
  font-size: 12px;
  font-weight: 600;
}

.payouts .copy {
  flex: 1 1 360px;
  min-width: 0;
}

.payouts .copy p.muted {
  margin-top: 16px;
}

/* Priser */
.pricing {
  padding-bottom: 120px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.plan {
  padding: 32px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--ring);
}

.plan .name {
  font-weight: 600;
}

.plan .price {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.plan .unit {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-3);
}

.plan ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.plan .btn-light {
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2);
}

/* Spørsmål */
.faq {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 120px;
}

.faq .h2 {
  margin: 0 0 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq details {
  padding: 18px 22px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--ring);
}

.faq summary {
  font-weight: 600;
}

.faq details p {
  margin-top: 10px;
  color: var(--text-2);
}

/* Avsluttende CTA */
.closing {
  padding: 0 24px 24px;
}

.closing-card {
  max-width: 1180px;
  margin: 0 auto;
  padding: 104px 24px 112px;
  overflow: hidden;
  border-radius: 28px;
  text-align: center;
  --glow-w: 32%;
  --glow-h: 70%;
  --glow-y: 118%;
}

.closing-card h2 {
  max-width: 13em;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.closing-card .btn-row {
  justify-content: center;
  margin-top: 32px;
}

.closing-card .btn {
  padding: 0 18px;
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 48px;
  font-size: 14px;
}

.site-footer .about {
  flex: 1 1 280px;
  min-width: 0;
}

.footer-logo {
  display: block;
}

.site-footer .about p {
  margin-top: 8px;
  color: var(--text-3);
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col .head {
  font-weight: 600;
}

.footer-col a {
  color: var(--text-2);
  text-decoration: none;
}
