:root {
  --ink: #15171C;
  --muted: #4A4F5C;
  --subtle: #5A6070;
  --line: #ECEDF0;
  --border: #D5D8DE;
  --field: #C9CDD5;
  --card-line: #DCE3F2;
  --tint: #EEF2FB;
  --tint-line: #C9D3E8;
  --soft: #F6F7F9;
  --accent: #1F3FD1;
  --accent-dark: #142C9C;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --font-head: 'Schibsted Grotesk', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
input, textarea, select, button { font: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: #fff; padding: 8px 12px; border-radius: 6px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section--tint { background: var(--tint); }
.section--soft { background: var(--soft); }
.section--line { border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.06; letter-spacing: -.03em; max-width: 900px; }
.h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.02em; line-height: 1.1; }
.h3 { font-size: 22px; line-height: 1.25; }
.lead { font-size: 20px; color: var(--muted); max-width: 680px; }
.muted { color: var(--muted); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; text-decoration: none; }
.label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }
.cat { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 26px; border-radius: 8px; font-weight: 500; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { color: var(--ink); border-color: var(--border); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #E3E8FF; color: var(--ink); }
.btn--small { min-height: 44px; padding: 10px 18px; font-size: 15px; }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.logo { font-family: var(--font-head); font-weight: 600; font-size: 20px; letter-spacing: .06em; color: var(--ink); text-decoration: none; }
.logo:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 600; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 8px; background: #fff; align-items: center; justify-content: center; padding: 0; cursor: pointer; }

/* Page hero */
.page-hero { border-bottom: 1px solid var(--line); }
.page-hero .container { padding-top: 88px; padding-bottom: 80px; }
.crumbs { font-size: 14px; color: var(--subtle); }
.crumbs a { color: var(--subtle); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-hero .h1 { margin-top: 20px; }
.page-hero .lead { margin-top: 24px; }
.page-hero .actions { margin-top: 36px; }
.icon-box { margin-top: 32px; width: 56px; height: 56px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.icon-box + .h1 { margin-top: 24px; }

/* Home hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 96px; padding-bottom: 104px; }
.hero__text { flex: 3 1 520px; min-width: 0; }
.hero__text .eyebrow { margin-bottom: 20px; }
.hero h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.05; letter-spacing: -.03em; max-width: 900px; }
.hero__sub { margin-top: 28px; font-size: 20px; color: var(--muted); max-width: 640px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .actions { margin-top: 44px; }
.hero__art { flex: 2 1 320px; min-width: 0; display: flex; justify-content: center; }
.art { width: 100%; max-width: 420px; aspect-ratio: 420 / 440; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; background-color: var(--soft); background-image: radial-gradient(var(--field) 1.2px, transparent 1.3px); background-size: 20px 20px; }
.art svg { width: 100%; height: 100%; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: #fff; border: 1px solid var(--card-line); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 14px; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.card--plain { border-color: #E4E6EA; }
.card--sm { padding: 28px; gap: 10px; }
a.card:hover { color: var(--ink); border-color: var(--tint-line); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(31,63,209,.08); }
.card h3 { font-size: 22px; line-height: 1.25; }
.card--sm h3 { font-size: 20px; }
.card p { color: var(--muted); font-size: 16px; }
.card .grow { flex-grow: 1; }
.card .go { color: var(--accent); font-weight: 500; font-size: 15px; }
.card .meta { font-size: 14px; color: var(--subtle); }

/* Steps (home) */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px; }
.step { border-top: 2px solid var(--ink); padding-top: 24px; }
.step__num { font-family: var(--font-head); font-size: 40px; font-weight: 500; color: var(--accent); line-height: 1; }
.step h3 { margin-top: 20px; font-family: var(--font-body); font-size: 20px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* Split */
.split { display: flex; flex-wrap: wrap; gap: 64px; }
.split__side { flex: 1 1 380px; min-width: 0; }
.split__main { flex: 2 1 520px; min-width: 0; }
.big { font-size: 22px; line-height: 1.5; }

/* Service rows */
.rows { padding-top: 56px; padding-bottom: 88px; }
.row { display: flex; flex-wrap: wrap; gap: 32px 64px; padding: 48px 0; border-bottom: 1px solid var(--tint-line); }
.row:last-child { border-bottom: 0; }
.row__main { flex: 1 1 420px; min-width: 0; }
.row__side { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.row__num { font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--accent); }
.row h2 { margin-top: 12px; font-size: 32px; letter-spacing: -.02em; line-height: 1.15; }
.row__main p { margin-top: 16px; color: var(--muted); }

/* Check list */
.check { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check li { display: flex; gap: 12px; align-items: flex-start; }
.check svg { flex: none; margin-top: 3px; }
.check--lg { gap: 16px; font-size: 18px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { padding: 10px 16px; border: 1px solid var(--border); border-radius: 999px; font-size: 15px; background: #fff; }

/* Related links */
.related a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.related a:last-child { border-bottom: 1px solid var(--line); }
.related a:hover { color: var(--accent); }

/* Process page stages */
.stages { padding-top: 56px; padding-bottom: 88px; }
.stage { display: flex; flex-wrap: wrap; gap: 24px 64px; padding: 48px 0; border-bottom: 1px solid var(--tint-line); }
.stage:last-child { border-bottom: 0; }
.stage__main { flex: 1 1 360px; min-width: 0; }
.stage__num { font-family: var(--font-head); font-size: 56px; font-weight: 500; color: var(--accent); line-height: 1; }
.stage h2 { margin-top: 20px; font-size: 32px; letter-spacing: -.02em; }
.stage__main p { margin-top: 14px; color: var(--muted); }
.stage__box { flex: 1 1 360px; min-width: 0; background: #fff; border: 1px solid var(--card-line); border-radius: 12px; padding: 28px; }
.stage__box .label { margin-bottom: 14px; }
.fit { margin-top: 20px; font-size: 14px; color: var(--subtle); }
.fit strong { color: var(--ink); }

/* Details list */
.details { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; }
.details div { border-top: 1px solid var(--tint-line); padding: 18px 0; }
.details .wide { grid-column: 1 / -1; border-bottom: 1px solid var(--tint-line); }
.details dt { font-size: 14px; color: var(--muted); }
.details dd { margin: 4px 0 0; font-weight: 500; }

/* CTA band */
.cta { background: var(--accent); color: #fff; }
.cta .container { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.cta__text { flex: 1 1 520px; min-width: 0; }
.cta p { margin-top: 16px; color: #E3E8FF; max-width: 560px; }

/* Contact */
.contact-grid { display: flex; flex-wrap: wrap; gap: 64px; padding-top: 88px; padding-bottom: 104px; }
.form { flex: 3 1 520px; min-width: 0; background: #fff; border: 1px solid #E4E6EA; border-radius: 16px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.field label span { color: var(--subtle); font-weight: 400; }
.field input, .field select, .field textarea { min-height: 48px; padding: 12px 14px; border: 1px solid var(--field); border-radius: 8px; font-size: 16px; color: var(--ink); background: #fff; width: 100%; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form__consent { font-size: 13px; color: var(--subtle); }
.form button { align-self: flex-start; }
.form button[disabled] { opacity: .6; cursor: wait; }
.form__status { font-size: 15px; min-height: 1.6em; }
.form__status.ok { color: #0F7A3E; }
.form__status.err { color: #B42318; }
.hp { position: absolute; left: -9999px; }
.contact-side { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.contact-side .label-sm { font-size: 14px; color: var(--muted); }
.contact-side .email { font-size: 20px; font-weight: 500; text-decoration: none; }
.next { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.next li { display: flex; gap: 16px; color: var(--muted); }
.next span.n { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--tint-line); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }

/* Insights */
.filters { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.filter { padding: 9px 16px; min-height: 40px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--ink); font-size: 14px; cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.featured { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; padding: 48px; border-radius: 16px; background: #fff; border: 1px solid var(--card-line); color: var(--ink); text-decoration: none; transition: box-shadow .2s; }
.featured:hover { color: var(--ink); box-shadow: 0 8px 24px rgba(31,63,209,.08); }
.featured__main { flex: 3 1 520px; min-width: 0; }
.featured h2 { margin-top: 14px; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.02em; line-height: 1.12; }
.featured p { margin-top: 16px; color: var(--muted); max-width: 640px; }
.featured__meta { flex: 1 1 200px; min-width: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.post-card { min-height: 260px; }
.post-card[hidden] { display: none; }

/* Article */
.article-head { max-width: 760px; margin: 0 auto; padding: 80px 24px 0; }
.article-head .cat { display: block; margin-top: 32px; }
.article-head h1 { margin-top: 12px; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -.03em; }
.article-head .meta { margin-top: 20px; font-size: 15px; color: var(--subtle); }
.prose { max-width: 760px; margin: 0 auto; padding: 40px 24px 104px; font-size: 18px; line-height: 1.75; color: #2B2F38; }
.prose .intro { font-size: 21px; line-height: 1.6; color: var(--ink); }
.prose h2 { margin-top: 48px; font-size: 28px; color: var(--ink); line-height: 1.25; }
.prose p { margin-top: 16px; }
.prose ul, .prose ol { margin-top: 16px; padding-left: 24px; }
.prose li { margin-top: 8px; }
.note { margin-top: 56px; padding: 32px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.note p { margin: 0; }
.note .t { font-family: var(--font-head); font-weight: 600; font-size: 22px; color: var(--ink); }
.note .s { margin-top: 10px; font-size: 17px; color: var(--muted); }
.note a { margin-top: 16px; display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: 17px; text-decoration: none; }

/* Legal */
.legal { max-width: 760px; padding-top: 72px; padding-bottom: 104px; }
.legal h1 { margin-top: 20px; font-size: clamp(36px, 5vw, 52px); letter-spacing: -.02em; line-height: 1.1; }
.legal h2 { font-size: 22px; margin-top: 44px; }
.legal p, .legal ul { margin-top: 14px; color: var(--muted); }
.legal ul { padding-left: 22px; }
.legal li { margin-top: 6px; }
.legal li strong { color: var(--ink); }
.legal .updated { margin-top: 12px; font-size: 14px; color: var(--subtle); }

/* Footer */
.footer { border-top: 1px solid var(--line); font-size: 15px; }
.footer .container { padding-top: 64px; padding-bottom: 32px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--ink); text-decoration: none; }
.footer__col a:hover { color: var(--accent); }
.footer__col .mail { color: var(--accent); }
.footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--subtle); }

/* Animation */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .25s; } .d4 { animation-delay: .35s; } .d5 { animation-delay: .45s; }
  .float { animation: float 6s ease-in-out infinite; }
  .float.slow { animation-duration: 8s; animation-delay: -3s; }
  .spin { transform-box: fill-box; transform-origin: center; animation: spin 18s linear infinite; }
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 5% entry 45%; }
  }
  .io .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .io .reveal.in { opacity: 1; transform: none; }
}

/* Mobile */
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; box-shadow: 0 12px 24px rgba(21,23,28,.06); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 16px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero { padding-top: 56px; padding-bottom: 64px; gap: 44px; }
  .hero__sub, .lead { font-size: 17px; }
  .hero .actions { flex-direction: column; margin-top: 32px; }
  .hero .actions .btn, .form button, .cta .btn { width: 100%; }
  .page-hero .container { padding-top: 56px; padding-bottom: 56px; }
  .section-head { margin-bottom: 32px; }
  .card { padding: 24px; }
  .split { gap: 24px; }
  .big { font-size: 19px; }
  .rows, .stages { padding-top: 24px; padding-bottom: 56px; }
  .row, .stage { padding: 36px 0; }
  .row h2, .stage h2 { font-size: 26px; }
  .stage__num { font-size: 40px; }
  .cta .container { padding-top: 64px; padding-bottom: 64px; }
  .contact-grid { padding-top: 56px; padding-bottom: 64px; gap: 40px; }
  .form { padding: 24px; }
  .featured { padding: 28px; }
  .article-head { padding-top: 48px; }
  .prose { font-size: 17px; padding-bottom: 64px; }
  .prose .intro { font-size: 19px; }
  .prose h2 { font-size: 24px; }
  .footer__legal { flex-direction: column; }
}
