/* njunis.app. Self-hosted fonts (OFL, see /fonts/OFL-*.txt), no third-party requests. */
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/schibsted-grotesk-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/schibsted-grotesk-latin-ext.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-ext.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* Snow by day, polar night after dark: the brand's two palettes (assets/brand/README.md). */
:root {
  --bg: #eef1f5;
  --surface: #f8f9fb;
  --ink: #142033;
  --muted: #5a6880;
  --line: #d8dee7;
  --accent: #c96a24;
  --accent-ink: #1a0d03;
  --field: #ffffff;
  --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1424;
    --surface: #141c2e;
    --ink: #e8edf4;
    --muted: #9aa7bc;
    --line: #26314a;
    --accent: #f0a05e;
    --field: #0f1728;
    color-scheme: dark;
  }
}

* {
  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(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--display);
  overflow-x: hidden;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--display);
  text-wrap: balance;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
@media (min-width: 720px) {
  .wrap {
    padding-left: max(40px, env(safe-area-inset-left, 0px));
    padding-right: max(40px, env(safe-area-inset-right, 0px));
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  background: #fff;
  color: #0d1424;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
}
.skip:focus {
  top: 12px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Hero: the live eyktamerke ---------- */
.hero {
  position: relative;
  min-height: clamp(520px, 62vw, 640px);
  overflow: hidden;
  background: #18264a;
  color: #fff;
  display: flex;
  flex-direction: column;
}
@media (max-width: 720px) {
  .hero {
    min-height: max(660px, 88svh);
  }
}
.hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 12, 22, 0.78) 0%,
    rgba(8, 12, 22, 0.4) 42%,
    rgba(8, 12, 22, 0) 72%
  );
  pointer-events: none;
}
.nav {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: max(16px, env(safe-area-inset-top, 0px));
  padding-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
}
.logo {
  margin-right: auto;
  display: flex;
}
.logo img {
  height: 30px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links a {
  text-decoration: none;
  opacity: 0.9;
}
.nav-links a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
}
.pill {
  text-decoration: none;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 7px 14px;
}
.pill:hover {
  background: rgba(255, 255, 255, 0.28);
}
.hero-copy {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-bottom: clamp(28px, 4vw, 48px);
  width: 100%;
}
.hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  max-width: 15ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.hero p.lede {
  margin: 16px 0 0;
  max-width: 56ch;
  font-size: clamp(16px, 1.7vw, 18.5px);
  color: rgba(255, 255, 255, 0.93);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 22px;
}
.btn {
  display: inline-block;
  font: 700 15px var(--display);
  text-decoration: none;
  background: #fff;
  color: #0d1424;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  cursor: pointer;
}
.btn:hover {
  background: #fff1db;
}
.tagline {
  font: 500 13px var(--mono);
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.clock {
  font: 500 12px var(--mono);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 16px;
  min-height: 1.4em;
}

/* ---------- Sections ---------- */
section {
  padding-top: clamp(48px, 7vw, 88px);
}
.kick {
  font: 500 12px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 8px 0 14px;
  max-width: 24ch;
}
p.lead {
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 24px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.chips li {
  font: 500 13.5px var(--mono);
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.card {
  border-radius: 20px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.card h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}
.step .n {
  font: 500 13px var(--mono);
  color: var(--accent);
}
.step code {
  font: 500 12.5px var(--mono);
  margin-top: auto;
  padding: 9px 11px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  overflow-x: auto;
  white-space: nowrap;
}
.modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.mode.bill {
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--accent) 16%, transparent), transparent 62%),
    var(--surface);
}
.mode ul {
  margin: 4px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
}

/* union explainer */
.union {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
@media (max-width: 820px) {
  .union {
    grid-template-columns: 1fr;
  }
}
.ucard {
  border-radius: 20px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 0;
}
.ucard svg {
  width: 100%;
  height: auto;
  display: block;
}
.utog {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.utog button {
  font: 600 13px var(--display);
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
}
.utog button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.ubig {
  font: 800 clamp(52px, 7vw, 80px) / 1 var(--display);
  letter-spacing: -0.04em;
}
.ubig small {
  font: 500 14px var(--mono);
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 8px;
}
.unote {
  color: var(--muted);
  max-width: 46ch;
}
.unote b {
  color: var(--ink);
}

/* pricing */
.price .pp {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.price .soon {
  align-self: flex-start;
  font: 600 12px var(--mono);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.price.free {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
}

/* privacy */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.facts li {
  border-top: 2px solid var(--ink);
  padding-top: 10px;
}
.facts b {
  display: block;
  font-size: 17px;
}
.facts span {
  color: var(--muted);
  font-size: 15px;
}

/* waitlist */
.join {
  border-radius: 24px;
  padding: clamp(22px, 4vw, 40px);
  background: linear-gradient(160deg, #18264a 0%, #4a5d8c 70%, #eaa36a 140%);
  color: #fff;
}
.join h2 {
  margin-top: 6px;
}
.join .kick {
  color: #ffd7a3;
}
.join p.lead {
  color: rgba(255, 255, 255, 0.86);
}
.wl {
  max-width: 560px;
}
.wl-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.wl input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  font: 500 16px var(--display);
  color: #0d1424;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 18px;
}
.wl input[type="email"]::placeholder {
  color: #6b7891;
}
.wl input[type="email"]:focus-visible {
  outline: 2px solid #ffd7a3;
  outline-offset: 2px;
}
.wl .btn {
  background: #f0a05e;
  color: #1a0d03;
}
.wl .btn:hover {
  background: #ffd7a3;
}
.wl .btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}
.chk {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-weight: 500;
  cursor: pointer;
}
.chk input {
  width: 18px;
  height: 18px;
  accent-color: #f0a05e;
  margin: 0;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.status {
  min-height: 1.5em;
  margin: 14px 0 0;
  font-weight: 600;
}
.status.err {
  color: #ffd7a3;
}
.notice {
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 70ch;
}
.notice a {
  color: #fff;
}

/* footer */
footer {
  margin-top: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--line);
  padding-top: 28px;
  padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
  font-size: 13.5px;
  color: var(--muted);
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px 32px;
}
.foot img {
  height: 26px;
  width: auto;
  display: block;
  margin-bottom: 10px;
}
.foot p {
  margin: 0;
  max-width: 52ch;
}
.foot nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* plain pages: /privacy, /joined, /removed, 404 */
.page-head {
  padding-top: max(20px, env(safe-area-inset-top, 0px));
  padding-bottom: 8px;
}
.page-head img {
  height: 28px;
  width: auto;
  display: block;
}
.prose > * {
  max-width: 68ch;
}
.prose h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 40px 0 12px;
}
.prose h2 {
  font-size: 22px;
  max-width: none;
  letter-spacing: -0.015em;
  margin: 32px 0 8px;
}
.prose p,
.prose li {
  color: var(--muted);
}
.prose strong {
  color: var(--ink);
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}
.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 8px 10px 8px 0;
  border-bottom: 1px solid var(--line);
}
.prose td {
  color: var(--muted);
}
.remove {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.remove input {
  flex: 1 1 220px;
  min-width: 0;
  font: 500 16px var(--display);
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px;
}
.remove .btn {
  background: var(--ink);
  color: var(--bg);
}
.prose .status {
  color: var(--ink);
}
