@font-face {
  font-family: "TeX Gyre Heros";
  src: url("fonts/TeXGyreHeros-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TeX Gyre Heros";
  src: url("fonts/TeXGyreHeros-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --rosa: #FFC4EC;
  --symbol: #FF17E9;
  --gul: #F6F45E;
  --cloud: #f5f5f7;
  --ink: #000;
  --muted: #5c585e;
  --line: #e8e4e8;
  --icon-well: #f8eaf2;
  --font: "TeX Gyre Heros", "Nimbus Sans L", "Nimbus Sans", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #000;
}
html { overflow-x: clip; }
body {
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  background: #000;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #000;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
button, input { font-family: inherit; }
a { color: inherit; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  padding: 22px 0 0;
}
.logo {
  display: inline-block;
}
.logo img {
  height: 26px;
  width: auto;
}

.hero {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #FFC4EC 0%, #FFC4EC 12%, #f5f5f7 72%);
  padding: 0;
}
.hero-grid {
  flex: 1 1 auto;
  display: grid;
  gap: 40px;
  align-content: center;
  padding: 28px 0 48px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(36px, 9vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: var(--ink);
  max-width: 12em;
}
.lead {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.45;
  max-width: 28em;
  color: var(--ink);
}

.punkter {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.punkt {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.punkt-ikon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 14px;
  background: var(--icon-well);
  color: var(--ink);
}
.punkt-ikon svg { width: 20px; height: 20px; }

.kort {
  background: #fff;
  border-radius: 24px;
  padding: 28px 22px 32px;
  box-shadow: 0 1px 0 #0000000d;
}
.kort h2 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 400;
}
.kort-lead {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--muted);
}

.skjema { display: grid; gap: 16px; position: relative; }
.felt { margin: 0; display: grid; gap: 6px; }
.felt span,
.felt-etikett {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.felt .valgfri {
  font-weight: 400;
  color: var(--muted);
}
.felt input[type="text"],
.felt input[type="email"],
.felt input[type="tel"] {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-size: 16px;
  color: var(--ink);
}
.felt input:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
  border-color: var(--ink);
}
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  padding: 0;
}

.samtykke {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}
.samtykke input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--symbol);
}

.knapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.knapp:hover { opacity: 0.9; }
.knapp:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.knapp:disabled {
  opacity: 0.55;
  cursor: wait;
}
.feil {
  margin: 0;
  font-size: 14px;
  color: #9b1c1c;
}
.takk h2 { margin: 0 0 10px; }
.takk p { margin: 0; font-size: 17px; line-height: 1.45; color: var(--muted); }

.site-footer {
  flex: 0 0 auto;
  background: #000;
  color: #fff;
  padding: 40px 0 48px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.footer-logo img { height: 26px; width: auto; }
.footer-linje {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: #d0d0d0;
  max-width: 40em;
}

@media (min-width: 800px) {
  .site-header { padding: 28px 0 0; }
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.9fr);
    gap: 56px;
    align-items: center;
    align-content: center;
    padding: 32px 0 64px;
  }
  .lead { font-size: 20px; }
  .kort { padding: 36px 32px 40px; }
  .footer-linje { max-width: none; }
}

@media (min-width: 800px) and (max-height: 900px) {
  .site-header { padding: 16px 0 0; }
  .hero-grid { padding: 12px 0 24px; }
  .site-footer { padding: 24px 0 28px; }
}
