/* === Bilteorien Landing — Tokens & Base === */
/* Self-hosted Geist (latin subset) — erstatter Google Fonts-@import
   (samme filer/subset som bevilling; byte-kopiert til dist/fonts/). */
@font-face{font-family:'Geist';font-style:normal;font-weight:100 900;font-display:swap;src:url('dist/fonts/geist-latin-wght-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:100 900;font-display:swap;src:url('dist/fonts/geist-mono-latin-wght-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

:root {
  --bg: #FAF8F4;
  --bg-elev: #FFFFFF;
  --bg-soft: #F2EFE8;
  --ink: #0E1726;
  --ink-2: #2A3346;
  --muted: #6B7589;
  --muted-2: #9AA3B5;
  --line: #E8E3D8;
  --line-strong: #D6CFBF;

  --accent: #1B7FD6;          /* sky */
  --accent-deep: #0F5BA8;
  --accent-soft: #E6F1FB;
  --accent-ink: #06335E;

  --signal: #E8B23A;          /* warning amber, road sign */
  --signal-deep: #B5841A;
  --signal-soft: #FBF1D6;

  --good: #1F8A5B;
  --good-soft: #E2F2EA;
  --bad: #C2362B;
  --bad-soft: #FCE7E4;

  --plate: #FFCE2E;           /* NO license plate yellow */
  --plate-ink: #0E1726;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15,30,55,0.04), 0 1px 1px rgba(15,30,55,0.03);
  --shadow:    0 4px 14px rgba(15,30,55,0.06), 0 2px 4px rgba(15,30,55,0.04);
  --shadow-lg: 0 24px 48px -12px rgba(15,30,55,0.18), 0 8px 16px rgba(15,30,55,0.06);

  --container: 1200px;
  --gutter: 24px;

  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

[data-theme="dark"] {
  --bg: #0B1220;
  --bg-elev: #121A2C;
  --bg-soft: #0F1828;
  --ink: #F4F6FB;
  --ink-2: #D8DEEC;
  --muted: #9099AE;
  --muted-2: #6B7589;
  --line: #1F2A40;
  --line-strong: #2A3654;
  --accent-soft: #0F2238;
  --signal-soft: #2A2210;
  --good-soft: #0E2418;
  --bad-soft: #2A1310;
}

[data-accent="emerald"] {
  --accent: #1F8A5B;
  --accent-deep: #146043;
  --accent-soft: #E2F2EA;
  --accent-ink: #0B3A26;
}
[data-accent="indigo"] {
  --accent: #4B47C8;
  --accent-deep: #312E91;
  --accent-soft: #ECEBFA;
  --accent-ink: #1C1A52;
}
[data-accent="rust"] {
  --accent: #C45A2C;
  --accent-deep: #8E3F1C;
  --accent-soft: #FAEAE0;
  --accent-ink: #4A1F0D;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Section rhythm */
section { padding: 96px 0; position: relative; }
@media (max-width: 760px) { section { padding: 64px 0; } }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.eyebrow .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-right: 8px; vertical-align: middle;
}

h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.08; font-weight: 600; }
h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.028em; }
h3 { font-size: 22px; letter-spacing: -0.02em; }
p  { margin: 0; color: var(--ink-2); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); line-height: 1.55; }
.muted { color: var(--muted); }

.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: 56px; }
.section-head h2 { color: var(--ink); }
.section-head p { font-size: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 500; font-size: 15px;
  padding: 12px 18px;
  border-radius: 999px;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); }
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 6px 14px -4px color-mix(in oklab, var(--accent) 60%, transparent);
}
.btn-accent:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--bg-soft); }
.btn-lg { padding: 16px 24px; font-size: 16px; }
.btn-block { width: 100%; }

.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* Cards */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* Pill */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--bg-elev); border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2); font-weight: 500;
}
.pill .dot-pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--good);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--good) 60%, transparent);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--good) 60%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* Progress bar primitive */
.bar {
  height: 6px; background: var(--bg-soft); border-radius: 999px; overflow: hidden;
}
.bar > span {
  display: block; height: 100%; background: var(--accent); border-radius: 999px;
}

/* Utility */
.row { display: flex; align-items: center; gap: 12px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stack { display: flex; flex-direction: column; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; } .gap-8 { gap: 32px; }
.grid { display: grid; }

/* Norway flag accent strip used in some places */
.no-flag-strip {
  display: inline-flex; height: 12px; border-radius: 2px; overflow: hidden;
  border: 1px solid var(--line);
}
.no-flag-strip i { display: block; height: 100%; }
.no-flag-strip i.r { background: #BA0C2F; width: 8px; }
.no-flag-strip i.w { background: #fff; width: 4px; }
.no-flag-strip i.b { background: #00205B; width: 10px; }
.no-flag-strip i.w2 { background: #fff; width: 4px; }
.no-flag-strip i.r2 { background: #BA0C2F; width: 8px; }

/* Subtle road-line decoration */
.road-line {
  position: absolute; left: 0; right: 0; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 12px, transparent 12px 24px);
}

/* Sticky mobile CTA */
.mobile-cta {
  position: fixed; bottom: 12px; left: 12px; right: 12px;
  z-index: 40;
  display: none;
  background: var(--ink); color: var(--bg);
  padding: 14px 18px; border-radius: 999px;
  box-shadow: var(--shadow-lg);
  font-weight: 500;
  align-items: center; justify-content: space-between; gap: 12px;
}
.mobile-cta strong { color: var(--bg); }
.mobile-cta .price { color: color-mix(in oklab, var(--bg) 70%, var(--accent)); font-family: var(--font-mono); }
@media (max-width: 760px) { .mobile-cta { display: flex; } body { padding-bottom: 80px; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Selection */
::selection { background: color-mix(in oklab, var(--accent) 30%, transparent); color: var(--ink); }

/* Focus */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Store availability strip */
.store-strip{display:flex;align-items:center;justify-content:center;gap:8px;height:32px;padding:0 12px;background:#E8E2D4;color:#3E4636;border-bottom:1px solid rgba(62,70,54,.12);font-size:12.5px;letter-spacing:.01em;white-space:nowrap;overflow:hidden}
.store-strip-ico{display:flex;align-items:center;flex:none}
@media (max-width:520px){.store-strip{font-size:11.5px;gap:6px}}
