:root {
  --bg: #0b0b0d;
  --bg-2: #0f0f12;
  --surface: #131317;
  --surface-2: #19191e;
  --fg: #f6f5f0;
  --muted: #8f8f8a;
  --muted-2: #5f5f5b;
  --accent: #2e6bff;
  --accent-2: #5b8dff;
  --accent-soft: rgba(46, 107, 255, 0.1);
  --ok: #3ddc84;
  --warn: #ffb224;
  --line: rgba(246, 245, 240, 0.1);
  --line-2: rgba(246, 245, 240, 0.06);
  --radius: 18px;
  --maxw: 1200px;
  --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% -10%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 50% -10%, #000 0%, transparent 65%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--accent);
  color: #0b0b0d;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--accent);
  color: #0b0b0d;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
}

.skip:focus {
  left: 12px;
}

/* nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}

nav.open {
  background: var(--bg);
  border-bottom-color: var(--line);
}

nav.scrolled {
  background: rgba(11, 11, 13, 0.76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-tile {
  display: inline-flex;
  width: 44px;
  height: 44px;
  background: #000;
  border: 1px solid rgba(246, 245, 240, 0.14);
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.9);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s, box-shadow 0.25s;
}

.logo-tile svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand:hover .logo-tile {
  transform: translateY(-2px);
  border-color: rgba(46, 107, 255, 0.6);
  box-shadow: 0 14px 32px -12px rgba(46, 107, 255, 0.45);
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.wordmark i {
  font-style: normal;
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: 100px;
  cursor: pointer;
  border: 0;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 34px -10px rgba(46, 107, 255, 0.6);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: var(--surface-2);
  border-color: rgba(246, 245, 240, 0.25);
  transform: translateY(-2px);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-btn svg {
  width: 20px;
  height: 20px;
}

.menu-btn .x {
  display: none;
}

nav.open .menu-btn .x {
  display: block;
}

nav.open .menu-btn .lines {
  display: none;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 10px 0 18px;
}

.mobile-menu a {
  display: block;
  padding: 13px 0;
  font-size: 17px;
  color: var(--muted);
  border-bottom: 1px solid var(--line-2);
}

.mobile-menu a:last-child {
  border-bottom: 0;
}

nav.open .mobile-menu {
  display: block;
}

/* hero */
header {
  position: relative;
  padding: 160px 0 72px;
  overflow-x: clip;
}

.hero-glow {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 960px;
  height: 600px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(46, 107, 255, 0.14), transparent 62%);
  filter: blur(22px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 16px;
  margin-bottom: 26px;
  background: rgba(46, 107, 255, 0.05);
}

.eyebrow .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 107, 255, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(46, 107, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 107, 255, 0); }
}

h1 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-size: clamp(44px, 6.2vw, 84px);
  text-wrap: balance;
}

h1 .em {
  color: var(--accent-2);
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 20px);
  max-width: 540px;
  margin: 28px 0 36px;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-meta {
  display: flex;
  gap: 26px;
  margin-top: 46px;
  flex-wrap: wrap;
}

.hero-meta div {
  border-left: 2px solid var(--accent);
  padding-left: 14px;
}

.hero-meta .n {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-meta .l {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 5px;
}

/* checks panel */
.panel {
  background: linear-gradient(180deg, #151519, #101014);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
  font-family: var(--mono);
}

.panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  font-size: 12.5px;
  color: var(--muted);
}

.panel-bar b {
  color: var(--fg);
  font-weight: 500;
}

.panel-bar .pr {
  color: var(--muted-2);
}

.panel-body {
  padding: 10px 8px 6px;
  min-height: 300px;
}

.chk {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s;
}

.chk.in {
  opacity: 1;
  transform: none;
}

.chk:hover {
  background: rgba(255, 255, 255, 0.025);
}

.chk .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-left: 6px;
  background: var(--muted-2);
}

.chk.running .dot {
  background: var(--accent-2);
  animation: blink 0.9s steps(1) infinite;
}

.chk.pass .dot {
  background: var(--ok);
}

.chk.warn .dot {
  background: var(--warn);
}

@keyframes blink {
  50% { opacity: 0.25; }
}

.chk .name {
  color: var(--fg);
}

.chk .name small {
  color: var(--muted-2);
  margin-left: 8px;
}

.chk .st {
  color: var(--muted);
  font-size: 12.5px;
  white-space: nowrap;
}

.chk.pass .st {
  color: var(--ok);
}

.chk.warn .st {
  color: var(--warn);
}

.panel-foot {
  border-top: 1px solid var(--line);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted-2);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.panel-foot.in {
  opacity: 1;
}

.panel-foot .merge {
  color: var(--ok);
}

/* marquee strip */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  margin-top: 34px;
  position: relative;
  z-index: 2;
}

.marquee {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  width: max-content;
  animation: scroll 34s linear infinite;
}

.marquee span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 60px;
}

.marquee span::after {
  content: "/";
  color: var(--accent);
}

@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* sections */
section {
  padding: 108px 0;
  position: relative;
  scroll-margin-top: 80px;
}

.sec-head {
  max-width: 680px;
  margin-bottom: 56px;
}

.tag {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: block;
  margin-bottom: 18px;
}

h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  font-size: clamp(32px, 4.2vw, 54px);
  text-wrap: balance;
}

.sec-head p {
  color: var(--muted);
  margin-top: 20px;
  font-size: 18px;
}

/* services */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s, background 0.35s;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(140deg, rgba(46, 107, 255, 0.55), transparent 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  background: var(--surface-2);
  border-color: rgba(246, 245, 240, 0.16);
}

.card:hover::before {
  opacity: 1;
}

.card .num {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}

.card .ico {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin: 18px 0 22px;
  background: var(--accent-soft);
  border: 1px solid rgba(46, 107, 255, 0.25);
  color: var(--accent-2);
}

.card .ico svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.card ul {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 7px;
}

.card li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.8;
}

/* approach */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  position: relative;
  padding-top: 30px;
  border-top: 2px solid var(--line);
  transition: border-color 0.3s;
}

.step:hover {
  border-top-color: var(--accent);
}

.step .num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent-2);
  position: absolute;
  top: -12px;
  background: var(--bg);
  padding-right: 10px;
}

.step h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  margin: 6px 0 11px;
  letter-spacing: -0.01em;
}

.step p {
  color: var(--muted);
  font-size: 14.5px;
}

.step .when {
  display: block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* why */
.why {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.why-aside h2 {
  margin-bottom: 22px;
}

.why-aside p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 14px;
}

.why-aside .quote {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  margin-top: 30px;
  font-family: var(--display);
  font-size: 19px;
  font-style: italic;
  color: var(--fg);
  line-height: 1.4;
}

.why-list {
  display: grid;
  gap: 2px;
}

.why-item {
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 22px;
  align-items: flex-start;
  transition: padding-left 0.3s;
}

.why-item:first-child {
  border-top: 1px solid var(--line);
}

.why-item:hover {
  padding-left: 14px;
}

.why-item .k {
  font-family: var(--mono);
  color: var(--accent-2);
  font-size: 14px;
  min-width: 34px;
  padding-top: 4px;
}

.why-item h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.why-item p {
  color: var(--muted);
  font-size: 15px;
}

/* scope chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  font-family: var(--mono);
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all 0.25s;
  cursor: default;
}

.chip:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* cta */
.cta-box {
  background: linear-gradient(150deg, #17171c, #0e0e11);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 74px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 520px;
  background: radial-gradient(ellipse, rgba(46, 107, 255, 0.14), transparent 60%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(34px, 5vw, 60px);
  position: relative;
}

.cta-box p {
  color: var(--muted);
  max-width: 540px;
  margin: 20px auto 36px;
  font-size: 18px;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.cta-note {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted-2);
  position: relative;
}

/* footer */
footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
  position: relative;
  z-index: 2;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.foot-brand .brand {
  margin-bottom: 18px;
}

.foot-brand p {
  color: var(--muted);
  font-size: 15px;
  max-width: 330px;
}

.foot-col h5 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
}

.foot-col a,
.foot-col span,
.foot-col address {
  display: block;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 11px;
  font-style: normal;
  transition: color 0.2s;
}

.foot-col a:hover {
  color: var(--accent-2);
}

.foot-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 14px;
}

.foot-bot p {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted-2);
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .why {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .svc-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 18px;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-cta .btn-ghost {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav-cta .btn-accent {
    padding: 10px 16px;
    font-size: 13.5px;
  }

  body {
    font-size: 16px;
  }

  .wrap {
    padding: 0 20px;
  }

  section {
    padding: 80px 0;
  }

  header {
    padding: 124px 0 50px;
  }

  .steps,
  .foot-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 54px 24px;
  }

  .hero-meta {
    gap: 22px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.1em;
    padding: 7px 13px;
  }

  .panel-body {
    min-height: 0;
  }

  .chk {
    font-size: 12.5px;
    gap: 8px;
    padding: 10px 8px;
  }

  .chk .name small {
    display: none;
  }

  .chk .st {
    font-size: 11.5px;
  }

  .panel-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .chk,
  .panel-foot {
    opacity: 1;
    transform: none;
  }
}
