@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Mono";
  src: url("/fonts/mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* Deep Swedish blue with yellow. */
:root {
  --navy: #071433;
  --blue: #0b2a6f;
  --blue-2: #1746b8;
  --yellow: #fecc02;
  --ink: #eef3ff;
  --muted: #a9b8dd;
  --card: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: radial-gradient(1200px 800px at 80% -10%, #12358a 0%, transparent 60%), var(--navy);
  color: var(--ink);
  font: 400 17px/1.6 "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; }

#flow { position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%; }
/* Soft spotlight that follows the pointer. */
.glow {
  position: fixed; z-index: -1; pointer-events: none;
  width: 520px; height: 520px; border-radius: 50%;
  left: var(--x, 70%); top: var(--y, 20%); transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(254, 204, 2, 0.13), transparent 60%);
  transition: left 0.25s ease-out, top 0.25s ease-out;
}

.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px clamp(16px, 5vw, 56px);
  backdrop-filter: blur(14px);
  background: rgba(7, 20, 51, 0.55);
  border-bottom: 1px solid var(--line);
}
.logo { font: 900 19px "Archivo", sans-serif; font-stretch: 112%; text-decoration: none; display: flex; align-items: center; gap: 10px; letter-spacing: -0.01em; }
.logo b { color: var(--yellow); }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 18px var(--yellow); display: inline-block; animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 4px var(--yellow); transform: scale(0.85); } }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn span { transition: transform 0.2s; }
.btn:hover span { transform: translateX(4px); }
.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 40px -10px rgba(254, 204, 2, 0.7); }
.btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -10px rgba(254, 204, 2, 0.9); }
.btn-ghost { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.nav .btn { padding: 10px 18px; font-size: 14px; }

.hero { max-width: 1100px; margin: 0 auto; padding: clamp(70px, 14vh, 150px) clamp(16px, 5vw, 56px) 80px; }
/* Monospace "code on a dark screen" details. */
.mono { font-family: "Mono", ui-monospace, Consolas, monospace; }
.eyebrow { color: var(--yellow); font-weight: 500; font-size: 15px; letter-spacing: 0.02em; }
.caret { display: inline-block; width: 0.6em; height: 1.1em; margin-left: 4px; vertical-align: -0.2em; background: var(--yellow); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
h1 {
  font: 900 clamp(2.4rem, 6.4vw, 5.4rem)/0.98 "Archivo", sans-serif;
  font-stretch: 112%;
  letter-spacing: -0.035em; margin-top: 22px; max-width: 15ch;
}
.hl {
  display: block;
  background: linear-gradient(90deg, var(--yellow), #ffe783, var(--yellow));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 40rem; margin-top: 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.pills li { font-family: "Mono", ui-monospace, monospace; border: 1px solid var(--line); border-radius: 8px; padding: 6px 14px; font-size: 13px; color: var(--muted); background: rgba(255, 255, 255, 0.03); }
.pills li::before { content: "✓ "; color: var(--yellow); }

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker span { font: 500 clamp(1.1rem, 2.2vw, 1.6rem) "Mono", ui-monospace, monospace; padding: 18px 28px; color: rgba(238, 243, 255, 0.35); white-space: nowrap; }
.ticker span::after { content: "✦"; color: var(--yellow); margin-left: 56px; font-size: 0.7em; vertical-align: middle; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { max-width: 1100px; margin: 0 auto; padding: 110px clamp(16px, 5vw, 56px) 0; }
h2 { font: 900 clamp(1.9rem, 4.2vw, 3rem)/1.05 "Archivo", sans-serif; font-stretch: 112%; letter-spacing: -0.03em; }
h3 { font: 800 1.15rem/1.25 "Archivo", sans-serif; font-stretch: 108%; letter-spacing: -0.01em; }

.card {
  position: relative; list-style: none;
  border: 1px solid var(--line); border-radius: 22px; padding: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(6px);
  transform-style: preserve-3d; transition: transform 0.25s ease-out, border-color 0.25s;
  overflow: hidden;
}
/* Light that follows the pointer across each card. */
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(254, 204, 2, 0.12), transparent 45%);
}
.card:hover { border-color: rgba(254, 204, 2, 0.4); }
.card:hover::before { opacity: 1; }
.card p { color: var(--muted); margin-top: 10px; }
.num { font: 700 2.4rem/1 "Mono", ui-monospace, monospace; color: var(--yellow); display: block; margin-bottom: 18px; }

.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 40px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 40px; }

.about { padding-bottom: 110px; }
.about-card {
  border-radius: 28px; padding: clamp(28px, 5vw, 64px);
  background: linear-gradient(135deg, #0e2560, #0a1b48 60%, #08163b);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--yellow);
  box-shadow: 0 40px 120px -50px rgba(0, 0, 0, 0.8);
}
.about-card p { font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 46rem; margin-top: 18px; color: #dbe5ff; }
.about-card .fair { color: var(--yellow); font-weight: 600; }
.about-card .btn { margin-top: 30px; }

.footer {
  border-top: 1px solid var(--line);
  padding: 34px clamp(16px, 5vw, 56px);
  display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between;
  color: var(--muted); font-size: 13px;
}
.footer p:first-child { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.footer .dot { width: 8px; height: 8px; }

/* Reveal on scroll; content stays visible without JS. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 600px) {
  .glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
