/* ==========================================================================
 * Static service landing pages (/services/*) — plain HTML, ZERO JavaScript,
 * so every word is crawlable even without JS rendering. Tokens/fonts mirror
 * the Direction-E public theme in src/public/public.css — keep in sync if
 * the brand shifts. Served straight from /public (shadows the SPA rewrite).
 * ========================================================================== */

@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/schibsted-grotesk-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-700.woff2') format('woff2');
}

:root {
  --c-bg: 243 244 246;
  --c-surface: 255 255 255;
  --c-surface-2: 243 245 248;
  --c-border: 219 224 230;
  --c-text: 23 27 33;
  --c-text-muted: 84 93 105;
  --c-accent: 201 42 42;
  --c-accent-hover: 168 30 30;
  --c-accent-bg: 201 42 42;
  --c-on-accent: 255 255 255;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --c-bg: 20 21 24;
    --c-surface: 30 33 38;
    --c-surface-2: 39 43 49;
    --c-border: 55 60 68;
    --c-text: 242 244 247;
    --c-text-muted: 165 173 184;
    --c-accent: 234 68 68;
    --c-accent-hover: 212 42 42;
    --c-accent-bg: 207 46 46;
    --c-on-accent: 255 255 255;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: rgb(var(--c-bg));
  color: rgb(var(--c-text));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: rgb(var(--c-accent)); }
h1, h2, h3 {
  font-family: 'Schibsted Grotesk', 'Hanken Grotesk', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

/* ---- header -------------------------------------------------------------- */
.hdr { border-bottom: 1px solid rgb(var(--c-border)); background: rgb(var(--c-surface)); }
.hdr-in {
  max-width: 1060px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.badger {
  display: block; width: 40px; height: 40px; flex-shrink: 0;
  background-color: rgb(var(--c-accent));
  -webkit-mask: url('/logo-purple.png') center / contain no-repeat;
  mask: url('/logo-purple.png') center / contain no-repeat;
}
.wm {
  font-family: 'Schibsted Grotesk', sans-serif; font-weight: 800; font-size: 17px;
  letter-spacing: -0.01em; white-space: nowrap;
}
.wm span { color: rgb(var(--c-accent)); }
.nav { display: flex; gap: 18px; margin-left: auto; align-items: center; }
.nav a { color: rgb(var(--c-text-muted)); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a.is-active { color: rgb(var(--c-text)); }
.quote-btn {
  background: rgb(var(--c-accent-bg)); color: rgb(var(--c-on-accent)) !important;
  padding: 9px 16px; border-radius: 10px; font-weight: 700; font-size: 14px; text-decoration: none;
}
.quote-btn:hover { background: rgb(var(--c-accent-hover)); }
@media (max-width: 720px) {
  .nav a:not(.quote-btn) { display: none; }
}

/* ---- page ---------------------------------------------------------------- */
.crumbs { font-size: 13.5px; color: rgb(var(--c-text-muted)); margin: 26px 0 0; }
.crumbs a { color: rgb(var(--c-text-muted)); text-decoration: none; }
.crumbs a:hover { color: rgb(var(--c-accent)); }

.hero { padding: 26px 0 8px; max-width: 780px; }
.ey {
  color: rgb(var(--c-accent)); font-weight: 700; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px;
}
h1 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 14px; }
.lede { font-size: 18px; color: rgb(var(--c-text-muted)); margin: 0; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 8px; }
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 10px;
  font-weight: 700; font-size: 15px; text-decoration: none;
}
.btn-primary { background: rgb(var(--c-accent-bg)); color: rgb(var(--c-on-accent)); }
.btn-primary:hover { background: rgb(var(--c-accent-hover)); }
.btn-line { border: 1.5px solid rgb(var(--c-border)); color: rgb(var(--c-text)); }
.btn-line:hover { border-color: rgb(var(--c-accent)); color: rgb(var(--c-accent)); }

.sec { padding: 30px 0 6px; }
.sec h2 { font-size: 23px; margin: 0 0 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin: 18px 0; padding: 0; list-style: none; }
.card {
  background: rgb(var(--c-surface)); border: 1px solid rgb(var(--c-border));
  border-radius: 14px; padding: 18px;
}
.card b { display: block; font-size: 16px; margin-bottom: 6px; }
.card p { margin: 0; font-size: 14.5px; color: rgb(var(--c-text-muted)); }
.card a { text-decoration: none; }
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover { border-color: rgb(var(--c-accent)); }
a.card .go { color: rgb(var(--c-accent)); font-weight: 700; font-size: 14px; }

.checks { list-style: none; padding: 0; margin: 14px 0; }
.checks li { padding-left: 28px; position: relative; margin: 9px 0; }
.checks li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: rgb(var(--c-accent)); font-weight: 800;
}

.band {
  background: rgb(var(--c-accent-bg)); color: rgb(var(--c-on-accent));
  border-radius: 18px; padding: 30px 26px; margin: 36px 0;
}
.band h2 { margin: 0 0 8px; font-size: 24px; }
.band p { margin: 0 0 18px; opacity: 0.92; }
.band .btn { background: #fff; color: rgb(201 42 42); }
.band a:not(.btn) { color: inherit; font-weight: 700; }

.related { margin: 8px 0 30px; }
.related h2 { font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 12px 0; }
.chips a {
  display: inline-block; padding: 8px 14px; border: 1.5px solid rgb(var(--c-border));
  border-radius: 999px; text-decoration: none; color: rgb(var(--c-text)); font-weight: 600; font-size: 14px;
  background: rgb(var(--c-surface));
}
.chips a:hover { border-color: rgb(var(--c-accent)); color: rgb(var(--c-accent)); }

/* ---- footer -------------------------------------------------------------- */
.ft { border-top: 1px solid rgb(var(--c-border)); margin-top: 26px; padding: 30px 0 40px; background: rgb(var(--c-surface)); }
.ft-in { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
.ft .wm { font-size: 18px; margin-bottom: 6px; }
.ft p { color: rgb(var(--c-text-muted)); font-size: 14.5px; max-width: 460px; margin: 6px 0; }
.ft-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 8px; padding: 0; list-style: none; }
.ft-links a { color: rgb(var(--c-text-muted)); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.ft-links a:hover { color: rgb(var(--c-accent)); }
.legal { color: rgb(var(--c-text-muted)); font-size: 13px; margin-top: 14px; }
