/* ERP Access — site styles */
:root {
  --paper: #f6f7f9;
  --white: #ffffff;
  --ink: #0f1b2d;
  --ink-2: #1c2a40;
  --slate: #4e5b6e;
  --mist: #8a96a8;
  --rule: #d5dbe3;
  --rule-dark: #2c3b53;
  --signal: #e8501f;
  --signal-dark: #c63f12;
  --verified: #1e6b4a;
  --grotesk: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--signal); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--signal-dark); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--grotesk); color: var(--ink); margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.75rem); line-height: 1.06; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.25rem); line-height: 1.15; letter-spacing: -0.018em; }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.005em; font-weight: 650; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; font-family: var(--grotesk); z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { background: var(--ink); color: #e9edf3; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; font-family: var(--grotesk); font-size: 15.5px; }
.nav a { text-decoration: none; color: #dfe5ee; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; border-bottom-color: var(--rule-dark); }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--signal); }
.nav .nav-cta { border: 1.5px solid var(--signal); border-radius: 3px; padding: 7px 14px; color: #fff; }
.nav .nav-cta:hover { background: var(--signal); border-bottom-color: var(--signal); }
.menu { display: none; font-family: var(--grotesk); }
.menu summary { list-style: none; cursor: pointer; color: #fff; border: 1.5px solid var(--rule-dark); border-radius: 3px; padding: 7px 14px; font-size: 15px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--signal); }
.menu nav { position: absolute; left: 0; right: 0; top: 78px; background: var(--ink); padding: 8px var(--gutter) 22px; display: grid; gap: 2px; z-index: 5; border-top: 1px solid var(--rule-dark); }
.menu nav a { color: #e9edf3; text-decoration: none; padding: 10px 0; font-size: 17px; border-bottom: 1px solid var(--rule-dark); }
@media (max-width: 960px) {
  .nav { display: none; }
  .menu { display: block; }
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 30px; }
.btn { display: inline-block; font-family: var(--grotesk); font-weight: 600; font-size: 16px; text-decoration: none; border-radius: 3px; padding: 13px 22px; line-height: 1.2; }
.btn-primary { background: var(--signal); color: #fff; }
.btn-primary:hover { background: var(--signal-dark); color: #fff; }
.btn-line { color: var(--ink); padding: 13px 2px; border-bottom: 1.5px solid var(--ink); border-radius: 0; }
.btn-line:hover { color: var(--signal-dark); border-bottom-color: var(--signal); }
.on-dark .btn-line { color: #fff; border-bottom-color: #fff; }

/* Hero */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 92px); border-bottom: 1px solid var(--rule); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 15ch; }
.lead { font-size: 1.16rem; line-height: 1.6; color: var(--ink-2); max-width: 36rem; margin-top: 26px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Verification trace */
.trace { background: var(--white); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.trace-head { background: var(--ink); color: #fff; padding: 14px 20px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-family: var(--grotesk); }
.trace-head strong { font-weight: 600; font-size: 15.5px; }
.trace-head span { color: #aeb9c9; font-size: 13px; }
.trace table { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: auto; }
.trace th:last-child, .trace td:last-child { width: 30%; }
.trace th { font-family: var(--grotesk); font-weight: 600; color: var(--slate); text-align: left; padding: 12px 14px 8px; font-size: 13px; border-bottom: 1px solid var(--rule); }
.trace td { padding: 13px 14px; border-bottom: 1px solid #eceff3; vertical-align: top; }
.trace td.term { font-family: var(--grotesk); font-weight: 600; color: var(--ink); white-space: nowrap; }
.trace td.val { font-family: var(--mono); font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.trace td.val.missing { color: var(--mist); font-style: italic; font-family: var(--serif); font-size: 14px; }
.trace td.check { font-family: var(--grotesk); font-size: 13.5px; position: relative; line-height: 1.35; }
.trace td.check .result { display: inline-block; padding-left: 17px; text-indent: -17px; }
.check .ok { color: var(--verified); font-weight: 600; }
.check .no { color: var(--signal-dark); font-weight: 600; }
.check .ok::before { content: ""; display: inline-block; width: 9px; height: 5px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-3px); margin-right: 8px; }
.check .no::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; border: 2px solid currentColor; margin-right: 7px; transform: translateY(1px); }
.trace-foot { padding: 14px 20px 16px; font-family: var(--grotesk); font-size: 14px; color: var(--slate); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.trace-foot b { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) {
  .trace td, .trace th { padding-left: 10px; padding-right: 10px; }
  .trace .col-loi { display: none; }
}
/* The one orchestrated moment: checks resolve in order on load. */
@media (prefers-reduced-motion: no-preference) {
  .check .result { opacity: 0; animation: settle .45s ease forwards; }
  .check .pending { position: absolute; left: 14px; top: 13px; color: var(--mist); animation: vanish .2s ease forwards; }
  .trace tr:nth-child(1) .result, .trace tr:nth-child(1) .pending { animation-delay: .7s; }
  .trace tr:nth-child(2) .result, .trace tr:nth-child(2) .pending { animation-delay: 1.15s; }
  .trace tr:nth-child(3) .result, .trace tr:nth-child(3) .pending { animation-delay: 1.6s; }
  .trace tr:nth-child(4) .result, .trace tr:nth-child(4) .pending { animation-delay: 2.15s; }
  .trace-foot { opacity: 0; animation: settle .5s ease 2.6s forwards; }
  @keyframes settle { to { opacity: 1; } }
  @keyframes vanish { to { opacity: 0; visibility: hidden; } }
}
@media (prefers-reduced-motion: reduce) { .check .pending { display: none; } }

/* Sections */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 64px; align-items: end; margin-bottom: 44px; }
.section-head p { color: var(--slate); max-width: 34rem; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Engagement ledger */
.ledger { border-top: 2px solid var(--ink); }
.ledger-cols, .engagement { display: grid; grid-template-columns: 15rem minmax(0, 1fr) minmax(0, 1fr) 9rem; gap: 32px; }
.ledger-cols { font-family: var(--grotesk); font-size: 14px; color: var(--slate); padding: 12px 0; border-bottom: 1px solid var(--rule); }
.engagement { padding: 28px 0; border-bottom: 1px solid var(--rule); font-size: 16.5px; line-height: 1.6; }
.engagement h3 { font-size: 1.22rem; }
.engagement h3 a { text-decoration: none; }
.engagement h3 a:hover { text-decoration: underline; }
.sector { display: block; font-family: var(--grotesk); font-size: 14px; color: var(--slate); margin-top: 4px; }
.status { font-family: var(--grotesk); font-size: 14.5px; font-weight: 600; }
.status.live { color: var(--verified); }
.status.build { color: var(--signal-dark); }
.status.ongoing { color: var(--ink); }
.mlabel { display: none; }
@media (max-width: 980px) {
  .ledger-cols { display: none; }
  .engagement { grid-template-columns: 1fr; gap: 12px; }
  .mlabel { display: block; font-family: var(--grotesk); font-size: 13.5px; color: var(--slate); font-weight: 600; margin-bottom: 2px; }
}

/* The rule (a real sequence) */
.rule-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.rule-steps li { counter-increment: step; padding: 26px 28px 8px 0; }
.rule-steps li + li { padding-left: 28px; border-left: 1px solid var(--rule); }
.rule-steps h3::before { content: counter(step) ". "; color: var(--signal); }
.rule-steps p { color: var(--ink-2); font-size: 17px; margin-top: 10px; }
@media (max-width: 860px) {
  .rule-steps { grid-template-columns: 1fr; }
  .rule-steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
}

/* Services list */
.offer { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) auto; gap: 16px 48px; padding: 26px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.offers { border-top: 2px solid var(--ink); }
.offer h3 { font-size: 1.3rem; }
.offer p { color: var(--ink-2); font-size: 17px; }
.offer a.more { font-family: var(--grotesk); font-size: 15px; font-weight: 600; white-space: nowrap; }
@media (max-width: 860px) { .offer { grid-template-columns: 1fr; } }

/* Dark band */
.band { background: var(--ink); color: #dfe5ee; }
.band h2, .band h3 { color: #fff; }
.band .section-head p { color: #b9c4d3; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.facts div { border-top: 1px solid var(--rule-dark); padding-top: 18px; font-size: 17px; }
.facts h3 { margin-bottom: 8px; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; gap: 28px; } }

/* Closing call */
.closing .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.closing p { color: var(--ink-2); font-size: 1.1rem; }
@media (max-width: 860px) { .closing .wrap { grid-template-columns: 1fr; } }

/* Inner pages */
.page-head { padding: clamp(52px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--rule); }
.page-head h1 { max-width: 20ch; }
.page-head .lead { max-width: 42rem; }
.prose { max-width: 44rem; }
.prose h2 { margin: 2.2em 0 .6em; }
.prose h3 { margin: 1.8em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }

.case { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 32px 64px; padding: clamp(48px, 6vw, 80px) 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 20px; }
.case-id { position: sticky; top: 24px; align-self: start; }
.case-id h2 { font-size: 1.75rem; }
.case-id .sector { font-size: 15px; margin-top: 8px; }
.case-id .status { display: inline-block; margin-top: 16px; }
.case-body h3 { margin: 0 0 8px; }
.case-body section + section { margin-top: 30px; }
.case-body p, .case-body li { color: var(--ink-2); }
.case-body ul, .case-body ol { padding-left: 1.2em; margin: 0; }
.case-body li { margin-bottom: .5em; }
.case-body li b { color: var(--ink); font-family: var(--grotesk); font-weight: 600; font-size: 16.5px; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } .case-id { position: static; } }

.phase { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 24px 64px; padding: 44px 0; border-bottom: 1px solid var(--rule); }
.phase-name h2 { font-size: 1.55rem; }
.phase-name p { color: var(--slate); font-size: 16px; margin-top: 8px; }
.practices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 44px; }
.practices p { color: var(--ink-2); font-size: 17px; margin-top: 6px; }
@media (max-width: 900px) { .phase { grid-template-columns: 1fr; } .practices { grid-template-columns: 1fr; } }

.not-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.not-list li { padding: 16px 0 16px 34px; border-bottom: 1px solid var(--rule); position: relative; font-size: 17.5px; }
.not-list li::before { content: ""; position: absolute; left: 4px; top: 27px; width: 16px; height: 2px; background: var(--signal); }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(s); font-family: var(--grotesk); font-weight: 700; color: var(--signal); font-size: 1.15rem; }
.steps b { font-family: var(--grotesk); font-weight: 600; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.note { font-family: var(--grotesk); font-size: 15px; color: var(--slate); border-left: 3px solid var(--signal); padding: 4px 0 4px 16px; margin-top: 28px; max-width: 44rem; }
.person { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; border-top: 2px solid var(--ink); padding-top: 22px; }
.person .role { font-family: var(--grotesk); color: var(--slate); font-size: 15px; }
.contact-lines { font-family: var(--grotesk); font-size: 1.25rem; line-height: 1.9; }
.contact-lines a { font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: #b9c4d3; padding: 64px 0 40px; font-family: var(--grotesk); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.site-footer img { height: 40px; width: auto; margin-bottom: 18px; }
.site-footer p { max-width: 26rem; line-height: 1.6; }
.site-footer h2 { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #dfe5ee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-legal { border-top: 1px solid var(--rule-dark); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; color: #8f9cb0; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; } }

/* Vendor file */
.vendor-meta { font-family: var(--grotesk); font-size: 15px; color: var(--slate); margin-top: 18px; }
.vendor { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 32px 64px; align-items: start; }
.vendor-nav { position: sticky; top: 24px; font-family: var(--grotesk); font-size: 15px; border-top: 2px solid var(--ink); padding-top: 14px; }
.vendor-nav h2 { font-size: 15px; letter-spacing: 0; margin-bottom: 10px; }
.vendor-nav ul { list-style: none; padding: 0; margin: 0; }
.vendor-nav li { margin: 0; }
.vendor-nav a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--rule); text-decoration: none; color: var(--slate); }
.vendor-nav a:hover { color: var(--ink); border-left-color: var(--ink); }
.vendor-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-left-color: var(--signal); }
.vendor-body { max-width: 46rem; }
.vendor-body blockquote { margin: 0 0 1.4em; padding: 2px 0 2px 20px; border-left: 3px solid var(--signal); font-size: 1.12rem; color: var(--ink); }
.vendor-body code { font-family: var(--mono); font-size: .86em; background: var(--white); border: 1px solid var(--rule); border-radius: 3px; padding: 1px 5px; }
.vendor-body h3 { font-size: 1.12rem; }
.table-scroll { overflow-x: auto; margin: 0 0 1.6em; border-top: 2px solid var(--ink); }
.table-scroll:focus-visible { outline-offset: 2px; }
.vendor-body table { width: 100%; border-collapse: collapse; font-family: var(--grotesk); font-size: 15px; line-height: 1.45; }
.vendor-body th, .vendor-body td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule); }
.vendor-body th { font-weight: 600; color: var(--ink); }
.vendor-body td { color: var(--ink-2); }
.vendor-body td:first-child { color: var(--ink); }
@media (max-width: 900px) {
  .vendor { grid-template-columns: 1fr; }
  .vendor-nav { position: static; }
}
