:root {
  --fog: #EEF1F6;
  --tint: #E2E8F2;
  --ink: #10131C;
  --muted: #444C60;
  --rule: #C5CDDC;
  --blue: #2336E8;
  --deep: #0D1768;
  --pale: #AEBBFF;
  --on-deep: #E9EDFF;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--fog);
  color: var(--ink);
  font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, dt { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.phone-text { font-variant-numeric: tabular-nums; white-space: nowrap; }

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--fog);
  border-radius: 8px;
  z-index: 10;
}
.skip:focus { top: 16px; }

/* ---------- Top bar ---------- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--gutter);
}

.brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand span { font-weight: 500; color: var(--blue); margin-left: 0.4em; }

.top-call {
  font-weight: 600;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--fog);
  transition: background 0.15s;
}
.top-call:hover { background: var(--blue); }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 104px) var(--gutter) clamp(56px, 8vw, 104px);
}

.hero h1 {
  max-width: 17ch;
  font-size: clamp(2.5rem, 7.2vw, 6rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.lede {
  max-width: 52ch;
  margin-top: clamp(20px, 3vw, 32px);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--muted);
}

/* The big phone number is the page's main action */
.bigcall {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(20px, 3vw, 32px) clamp(24px, 4vw, 48px) clamp(22px, 3vw, 36px);
  background: var(--blue);
  color: #fff;
  border-radius: 20px;
}
.bigcall-label { font-weight: 500; font-size: 1.05rem; opacity: 0.9; }
.bigcall-numbers { display: grid; gap: 6px; justify-items: start; }
.bigcall-number {
  color: inherit;
  font-weight: 900;
  font-size: clamp(1.85rem, 7.4vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-decoration: none;
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}
.bigcall-number:hover { text-decoration-line: underline; }

.bigcall-on-blue { background: #fff; color: var(--blue); }

/* One entrance on load: the headline, then the call button */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: rise 0.7s cubic-bezier(.2,.7,.2,1) both; }
  .hero .lede { animation: rise 0.7s 0.12s cubic-bezier(.2,.7,.2,1) both; }
  .hero .bigcall { animation: rise 0.7s 0.28s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Sections ---------- */
.section, .finale {
  padding-block: clamp(56px, 9vw, 120px);
  padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
}
.section-tint { background: var(--tint); }

h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h2.wide { max-width: 20ch; }

.intro {
  max-width: 60ch;
  margin-top: 20px;
  font-size: 1.2rem;
  color: var(--muted);
}

/* What we build */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.split-head p { margin-top: 20px; max-width: 42ch; color: var(--muted); font-size: 1.15rem; }

.kinds { border-top: 2px solid var(--ink); }
.kinds li {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.kinds .kinds-open { color: var(--blue); }

@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; }
}

/* Why SaaS */
.reasons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 56px;
  margin-top: clamp(36px, 5vw, 64px);
}
.reasons > div {
  padding: 24px 0 28px;
  border-top: 2px solid var(--ink);
}
.reasons dt {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.reasons dd { margin-top: 10px; max-width: 46ch; color: var(--muted); }

@media (min-width: 760px) {
  .reasons { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1040px) {
  .reasons { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Sealed / no source code ---------- */
.sealed {
  background: var(--deep);
  color: var(--on-deep);
  padding: clamp(56px, 9vw, 120px) var(--gutter);
}
.sealed-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
}
.sealed h2 { color: #fff; max-width: 18ch; }
.sealed-copy > p {
  margin-top: 22px;
  max-width: 54ch;
  font-size: 1.2rem;
}
.sealed-points { margin-top: 28px; max-width: 54ch; }
.sealed-points li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-top: 1px solid rgba(174, 187, 255, 0.35);
}
.sealed-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pale);
}

.redacted {
  background: #070C3A;
  border: 1px solid rgba(174, 187, 255, 0.35);
  border-radius: 16px;
  overflow: hidden;
}
.redacted-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(174, 187, 255, 0.25);
  font-size: 0.9rem;
  color: var(--pale);
}
.redacted-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(174, 187, 255, 0.4); }
.redacted-bar span { margin-left: 8px; }
.redacted-body { display: grid; gap: 12px; padding: 24px 20px 28px; }
.redacted-body b {
  display: block;
  width: var(--w);
  height: 14px;
  border-radius: 3px;
  background: #fff;
}
.redacted-body .in { margin-left: 28px; }
.redacted-body .in2 { margin-left: 56px; }
.redacted-note {
  padding: 16px 20px;
  border-top: 1px solid rgba(174, 187, 255, 0.25);
  font-size: 0.95rem;
  color: var(--pale);
}

@media (min-width: 900px) {
  .sealed-inner { grid-template-columns: 6fr 5fr; }
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 40px;
  margin-top: clamp(36px, 5vw, 64px);
}
.steps li { padding: 24px 0 28px; border-top: 2px solid var(--ink); }
.steps h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.steps p { margin-top: 10px; color: var(--muted); max-width: 34ch; }

@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 56px;
  margin-top: clamp(36px, 5vw, 64px);
}
.faq > div { padding: 24px 0 28px; border-top: 2px solid var(--ink); }
.faq h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.faq p { margin-top: 10px; color: var(--muted); max-width: 58ch; }
.faq a { color: var(--blue); font-weight: 600; }

@media (min-width: 900px) { .faq { grid-template-columns: 1fr 1fr; } }

/* ---------- Final call ---------- */
.finale {
  background: var(--blue);
  color: #fff;
}
.finale h2 { color: #fff; max-width: 16ch; }
.finale > p { margin-top: 18px; font-size: 1.2rem; max-width: 44ch; }
.finale .bigcall { display: flex; width: fit-content; max-width: 100%; }

/* ---------- Footer ---------- */
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--gutter) 40px;
  font-size: 0.95rem;
  color: var(--muted);
}
.foot address {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
.foot address a { color: var(--ink); font-weight: 600; }
.foot-legal { flex-basis: 100%; }

@media (max-width: 420px) {
  .top-call .phone-text { display: none; }
}
