@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/SchibstedGrotesk-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #08101E;
  --raised: #0F1A2E;
  --rule: #1F2B42;
  --line: #26324A;
  --rule-strong: #2A3958;
  --paper: #ECE6D8;
  --body: #B7BECA;
  --fog: #9AA3B2;
  --brass: #C9A96A;
  --gold: #D4AF37;
  --gutter: clamp(16px, 4vw, 48px);
  --band: clamp(48px, 6vw, 80px);
}

* { box-sizing: border-box; }

html { background: var(--ink); scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }

a { color: var(--paper); text-decoration: none; }
a:hover { color: #FFFFFF; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
}

svg { flex: none; }
.sprite { display: none; }

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.band { padding: var(--band) 0; }
.band.raised { background: var(--raised); }

.section-title {
  margin-bottom: 36px;
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.section-title.narrow { max-width: 760px; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.section-head .section-title { margin-bottom: 0; }
.section-head .blog-link { flex-shrink: 0; min-height: 44px; margin: 0; white-space: nowrap; }

/* Header */

.site-header { padding: 24px 0; }

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand svg { display: block; height: 36px; width: auto; fill: currentColor; }
.brand.small { font-size: 18px; }
.brand.small svg { height: 26px; }
.brand-dot { color: #FFFFFF; font-weight: 700; }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin: 0 32px 0 auto;
  font-size: 15px;
  font-weight: 500;
}

.main-nav a { color: #C9D0DC; }
.main-nav a:hover { color: var(--paper); }

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--gold);
  border-radius: 12px;
  background: var(--gold);
  color: #000000;
  font-size: 14px;
  font-weight: 700;
}

.contact-button:hover { color: #000000; }
.contact-button svg { width: 16px; height: 16px; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--paper);
  border-radius: 12px;
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
}

.store-button:hover, .store-button[aria-current="page"] { background: rgba(236, 230, 216, 0.12); color: var(--paper); }
.store-button svg { width: 16px; height: 16px; }

/* Narrower screens: the menu moves to its own row under the brand and the buttons */
@media (max-width: 1200px) {
  .main-nav { order: 3; width: 100%; margin: 0; }
}

/* Hero */

.hero { padding: clamp(48px, 7vw, 104px) 0 clamp(56px, 7vw, 96px); }

.hero h1 {
  max-width: 1180px;
  font-size: clamp(42px, 7.4vw, 112px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.redacted { position: relative; display: inline-block; white-space: nowrap; }

.redacted .bar {
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  top: 0;
  bottom: 0.02em;
  background: var(--paper);
  transform-origin: left center;
  animation: redact 900ms cubic-bezier(.7, 0, .2, 1) 700ms both;
}

@keyframes redact {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.verdict {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 24px;
  text-align: center;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--brass);
}

.verdict svg { width: 36px; height: 36px; }

.hero-lede {
  margin-top: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.pitch { max-width: 760px; font-size: 19px; line-height: 1.5; color: #CBD1DB; }

.mark { background: var(--brass); color: #000000; font-weight: 700; padding: 0 6px; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--brass);
  color: var(--ink);
  font-weight: 700;
}

.cta:hover { color: var(--ink); background: #D6B97E; }
.cta svg { width: 22px; height: 22px; }
.cta-center { display: flex; width: fit-content; margin: 40px auto 0; }

/* Risks */

.risks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 36px 48px;
}

.risk-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--brass);
}

.risk-head svg { width: 48px; height: 48px; }

.risk h3 {
  flex: 1 1 0;
  color: var(--paper);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.risk p { color: var(--body); }

/* Case */

.case-band { padding: 72px 0; }

.case {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  align-items: center;
}

.clipping {
  flex: 1 1 320px;
  max-width: 440px;
  min-width: 0;
  margin: 0;
  transform: rotate(-1.2deg);
}

.clipping img { display: block; width: 100%; height: auto; }

.case-copy { flex: 2 1 420px; min-width: 0; }
.case-band .case-title { margin-bottom: 40px; }
.case-copy p { margin-top: 18px; padding-left: 64px; color: var(--body); }

.case-title { display: flex; align-items: center; gap: 20px; color: var(--brass); }
.case-title svg { width: 56px; height: 56px; }

.case-title h2 {
  flex: 1 1 0;
  min-width: 0;
  color: var(--paper);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.blog-link {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 32px 0 0 auto;
  color: var(--brass);
  font-weight: 500;
}

/* Services */

.services-band { padding-top: 48px; border-top: 1px solid var(--rule); }

.services { border-top: 1px solid var(--line); }

.service {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 8px 48px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.service h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.service h3 svg { width: 32px; height: 32px; color: var(--brass); }
.service p { color: var(--body); font-size: 20px; line-height: 1.5; }
.service.featured h3 { color: var(--brass); }
.service .tagline { margin-top: 6px; padding-left: 46px; font-size: 15px; font-weight: 500; color: var(--brass); }

.tech {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  gap: 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.service .tech p { color: var(--body); font-size: 15px; line-height: 1.3; }
.tech-logo { display: block; height: 80px; width: auto; }
.tech-logo.short { height: 50px; }
.tech-photo { display: block; width: 100%; max-width: 360px; height: auto; border-radius: 12px; }
.tech-link { color: var(--brass); font-size: 13px; font-weight: 400; }

.kit-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  font-size: 14px;
  line-height: 1.35;
}

.kit-steps li { display: flex; align-items: center; gap: 10px; }
.kit-steps li:last-child { color: var(--brass); }

.kit-step-n {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--brass);
  border-radius: 999px;
  color: var(--brass);
  font-size: 13px;
  font-weight: 700;
}

/* Steps */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
}

.step {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 16px;
  align-content: start;
  padding: 28px;
  border: 1px solid var(--brass);
  border-radius: 14px;
  color: var(--brass);
}

.step svg { width: 40px; height: 40px; margin-top: 16px; }

.step h3 {
  margin: 16px 0 8px;
  align-self: center;
  color: var(--paper);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.step p { grid-column: 1 / -1; color: var(--body); }

.step-arrow {
  flex: none;
  align-self: center;
  width: 80px;
  padding: 0 12px;
  color: var(--brass);
  font-size: 72px;
  line-height: 1;
}

/* Personas */

.personas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}

.persona {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: 20px;
  background: var(--raised);
  min-width: 0;
}

.persona svg { width: 40px; height: 40px; margin-bottom: 12px; color: var(--brass); }

.persona h3 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  hyphens: auto;
  overflow-wrap: break-word;
}

.persona p { flex-grow: 1; color: var(--body); }

.tags { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

.tags li {
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 14px;
  color: var(--brass);
}

.trust {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  column-gap: 32px;
  color: var(--body);
}

.trust li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}

.trust svg { width: 26px; height: 26px; color: var(--brass); }

/* IT teams */

.it-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px 64px;
  align-items: start;
  padding: clamp(28px, 3vw, 44px) clamp(28px, 3vw, 44px) 32px;
  border-radius: 20px;
  background: var(--raised);
}

.it-intro h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.it-intro h2 svg { width: 32px; height: 32px; color: var(--brass); }
.it-intro p { margin-top: 8px; color: var(--body); }
.it-intro strong { color: var(--brass); font-weight: 600; }

.specs { margin: 0; }
.specs div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule-strong); }
.specs div:first-child { border-top: 0; padding-top: 0; }
.specs dt { font-weight: 700; color: var(--brass); }
.specs dd { margin: 0; color: var(--body); }

/* Contact */

.contact { padding: clamp(64px, 8vw, 104px) 0; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 40px 64px;
  align-items: center;
}

.contact-copy > svg { display: block; width: 64px; height: 64px; margin-bottom: 28px; color: var(--brass); }

.contact h2 {
  max-width: 960px;
  margin-bottom: 44px;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--line);
  background: #101B2F;
}

.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #A9B0BD; }

.contact-form input,
.contact-form textarea {
  padding: 0 12px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 16px;
}

.contact-form textarea { padding: 12px; resize: vertical; }

.contact-form button {
  align-self: flex-start;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  background: var(--brass);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.contact-form button:hover { background: #D8BB83; }
.form-note { font-size: 12px; color: #A9B0BD; }

/* Footer */

.site-footer { border-top: 1px solid var(--rule); padding: 32px 0; font-size: 14px; color: var(--fog); }

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 48px;
}

.footer-sponsor { display: grid; grid-template-columns: 28px 1fr; column-gap: 16px; align-items: center; margin-top: 24px; }
.footer-sponsor > div { display: contents; }
.footer-sponsor svg { width: 28px; height: 28px; color: var(--brass); }
.footer-sponsor .sponsor-name { grid-column: 1 / -1; margin-top: 10px; font-weight: 700; color: var(--paper); }
.footer-sponsor address { grid-column: 1 / -1; font-style: normal; line-height: 1.7; }

.footer-nav, .footer-social { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 17px; }
.footer-social { justify-self: center; }
.footer-nav { justify-self: end; }
.footer-nav a, .footer-social a { display: inline-flex; align-items: center; gap: 10px; color: #E8ECF3; }
.footer-nav a:hover, .footer-social a:hover { color: #FFFFFF; }
.footer-nav svg, .footer-social svg { width: 16px; height: 16px; color: var(--gold); }

.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; margin-top: 28px; font-size: 13px; }

/* Tablets and phones: the step cards stack and the arrows point down */
@media (max-width: 900px) {
  .steps { flex-direction: column; }
  .step { flex: none; }
  .step-arrow { width: auto; padding: 0; transform: rotate(90deg); }
}

/* Phones */
@media (max-width: 760px) {
  .main-nav {
    order: 3;
    width: 100%;
    margin: 0;
    flex-wrap: nowrap;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .tech-link { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .footer-nav, .footer-social { justify-self: start; gap: 0; }
  .footer-nav a, .footer-social a { min-height: 44px; }
  .case-copy p { padding-left: 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 520px) {
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .service .tagline { padding-left: 0; }
  .header-row { column-gap: 12px; }
  .brand { font-size: 18px; }
  .brand svg { height: 28px; }
  .contact-button, .store-button { flex: 1; justify-content: center; padding: 0 14px; }
  .header-actions { width: 100%; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .redacted .bar { animation: none; }
}
/* Risks page */

.page-hero { padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 5vw, 64px); }

.page-hero h1 {
  max-width: 1000px;
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.page-lede { max-width: 760px; margin-top: 28px; font-size: 19px; line-height: 1.5; color: #CBD1DB; }

.jump { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }

.jump a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  color: #E8D29C;
}

.jump a:hover { border-color: var(--brass); color: #E8D29C; }
.jump svg { width: 22px; height: 22px; }

.case-band.raised { background: var(--raised); }

/* Each story: source link, then the clipping and the text at full width */
.source-row { display: flex; margin-top: 12px; margin-bottom: 12px; }
.case { flex-direction: column; align-items: stretch; gap: 28px; }
.case .clipping { flex: none; width: 100%; max-width: none; margin: 0; }
.clipping a { display: block; }
.case-copy { flex: none; width: 100%; }
.case-copy p { padding-left: 0; }
/* A second story in the same section: its heading sits above its source link */
.story-head { flex-direction: column; align-items: flex-start; gap: 12px; }
.case + .story-head { margin-top: clamp(56px, 7vw, 88px); }

.case-sub {
  margin: 0;
  color: var(--paper);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.source-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--brass); font-weight: 500; }

.case-copy p:first-child { margin-top: 0; }
.case-copy p a { color: var(--brass); text-decoration: underline; text-underline-offset: 3px; }
.case-copy .help { padding: 20px 28px; border: 2px solid #D4A63A; border-radius: 14px; color: var(--paper); }
.case-copy .help strong { color: var(--brass); }

.page-close { padding: clamp(64px, 8vw, 104px) 0; text-align: center; }

.page-close h2 {
  max-width: 880px;
  margin: 0 auto;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.page-close p { max-width: 760px; margin: 28px auto 0; font-size: 19px; line-height: 1.5; color: #CBD1DB; }

@media (max-width: 760px) {
  .case-copy .help { padding: 18px 20px; }
}

/* Added by the build */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.thanks-text { max-width: 640px; margin-bottom: 32px; }
.thanks-back { margin-top: 24px; }
.thanks-back a { color: var(--fog); }
