:root {
  --tema: #e8192c; --tema-hover: #ff3346; --tema-farge: #e8192c; --tema-tekst: #ff5a66; --tema-rgb: 232, 25, 44; --tema-dyp: 170, 14, 30;
  --ned: #ff5a66; --hvit: #f4f1f0; --graa: #9b9696; --strek: #353132; --fokus: var(--tema-tekst);
  --smal: 'Agency FB', 'Bahnschrift Condensed', Bahnschrift, 'Barlow Condensed', 'DIN Condensed', 'Roboto Condensed', 'sans-serif-condensed', sans-serif;
}
html { background: #000; color: var(--hvit); }
body { min-height: 100dvh; background:
  radial-gradient(60% 80% at 22% 46%, rgba(var(--tema-dyp), .12), transparent 62%),
  radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.2px) 0 0 / 22px 22px, #000; }
main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, 33vw); min-height: 100dvh; }

.scene { position: relative; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 2.6vw, 48px); }
#gris { position: absolute; inset: 0; width: 100%; height: 100%; }
.merke { position: relative; font: 400 clamp(34px, 2.6vw, 48px)/1 var(--smal); }
.om { position: relative; max-width: 720px; }
.om h1 { font: 400 clamp(38px, 3.6vw, 66px)/1.02 var(--smal); text-wrap: balance; }
.om > p { margin-top: 14px; font-size: clamp(15px, 1.05vw, 18px); line-height: 1.55; color: #c9c5c4; max-width: 62ch; }
.om ul { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.om li { font-size: 15px; line-height: 1.5; color: var(--graa); border-left: 3px solid var(--tema-farge); padding-left: 14px; }
.om li b { display: block; font-weight: 400; font-size: 16px; color: var(--hvit); }

.panel { border-left: 1px solid var(--strek); background: rgba(6, 4, 5, .82); display: flex; align-items: center; justify-content: center; padding: 40px clamp(24px, 3vw, 64px); }
form { width: 100%; max-width: 400px; }
h2 { font: 400 clamp(40px, 2.8vw, 52px)/1 var(--smal); }
.ingress { margin: 10px 0 26px; font-size: 15px; line-height: 1.5; color: var(--graa); overflow-wrap: anywhere; }
.ingress b { font-weight: 400; color: var(--hvit); }
label { display: block; font-size: 14px; color: var(--graa); margin: 0 0 5px; }
.rad { margin-bottom: 18px; }
.inn { position: relative; }
input:not([type=checkbox]) { font: inherit; font-size: 17px; color: var(--hvit); background: rgba(255, 255, 255, .06); border: 0; border-bottom: 1px solid #6a6465; border-radius: 0; padding: 12px 14px; width: 100%; height: 50px; color-scheme: dark; }
input:not([type=checkbox]):focus { outline: 0; border-bottom: 2px solid var(--tema-farge); background: rgba(var(--tema-rgb), .12); }
input[readonly] { color: var(--graa); background: none; }
input[aria-invalid]:not([type=checkbox]) { border-bottom: 2px solid var(--ned); background: rgba(232, 25, 44, .2); }
input:-webkit-autofill { -webkit-text-fill-color: var(--hvit); box-shadow: 0 0 0 99px #151112 inset; caret-color: #fff; }
input.kode { font: 400 40px/1 var(--smal); letter-spacing: .34em; text-align: center; height: 76px; padding-left: calc(14px + .34em); font-variant-numeric: tabular-nums; }
.vis { position: absolute; right: 4px; top: 5px; height: 40px; padding: 0 12px; font-size: 14px; color: var(--graa); }
.vis:hover { color: #fff; }
.inn:has(.vis) input { padding-right: 76px; }
.hint { margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--graa); }
.husk { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: -2px 0 20px; font-size: 14px; color: var(--graa); }
.husk label { display: flex; gap: 10px; align-items: center; margin: 0; cursor: pointer; color: var(--hvit); }
.husk input { width: 18px; height: 18px; accent-color: var(--tema); margin: 0; }
a, .lenke { color: var(--hvit); font-size: 14px; text-decoration: underline; text-decoration-color: var(--tema-farge); text-underline-offset: 3px; }
a:hover, .lenke:hover { color: var(--tema-tekst); }
.feil { font-size: 15px; line-height: 1.4; color: var(--ned); margin-bottom: 14px; }
.feil.ok { color: var(--hvit); }
.feil:empty { display: none; }
.send { width: 100%; background: var(--tema); color: #fff; font-size: 18px; text-align: center; padding: 14px 20px 15px; }
.send:hover { background: var(--tema-hover); }
.send:disabled { opacity: .5; cursor: default; }
.bytt { margin-top: 22px; font-size: 14px; color: var(--graa); line-height: 1.9; }

@media (max-height: 800px) and (min-width: 901px) {
  .om > p { display: none; }
  .om ul { margin-top: 14px; }
}
@media (max-width: 900px) {
  main { grid-template-columns: 1fr; }
  .scene { padding: 20px 20px 24px; min-height: 0; }
  #gris { position: relative; inset: auto; height: min(50vw, 300px); order: 1; }
  .merke { order: 0; }
  .om { order: 2; }
  .om h1 { font-size: 36px; }
  .om ul { display: none; }
  .panel { border-left: 0; border-top: 1px solid var(--strek); padding: 30px 20px 44px; order: -1; }
  .scene { order: -2; }
}
@media (max-width: 420px) { .om > p { font-size: 14px; } }
