/* The marketing home only. The source owns the words, links, report specimens,
   image files and disclosure semantics. Each section has a distinct reading job. */
body[data-preview-route="/"] main#hovedinnhold {
  --home-ink: #142c29;
  --home-dark: #0e2422;
  --home-paper: #f5f2e9;
  --home-quiet: #435953;
  --home-signal: #f2cb52;

  & :is(.core-story, #arbeidsflyten, #kundehistorie, #for-hvem, #oppsett, #geodata, #nettsider, #sporsmal, #demo) {
    --chapter-ink: var(--home-ink);
    --chapter-muted: var(--home-quiet);
    --chapter-rule: #b7c1b5;
    --chapter-bg: var(--home-paper);
    display: block; position: relative; inset: auto;
    width: 100%; height: auto; min-height: 0;
    isolation: isolate; padding: clamp(4rem,8vw,8rem) 0; margin: 0;
    color: var(--chapter-ink); background: var(--chapter-bg) !important; overflow: visible;
    border: 0; border-radius: 0; box-shadow: none;
    text-align: left; font: inherit; scroll-margin-top: 5rem;

    &::before, &::after { display: none; }
    & *, & *::before, & *::after { box-sizing: border-box; }
    & .container { max-width: 79rem; width: 88%; margin: 0 auto; padding: 0; }
    & :is(h2,h3,h4,p,ul,ol,dl,dd,figure) { margin: 0; }
    & :is(ul,ol) { padding: 0; }
    & :is(h2,h3,h4,strong,b) { font-family: inherit; }
    & :is(h2,h3,h4) { font-weight: 550; color: var(--chapter-ink); text-wrap: balance; }
    & h2 { max-width: none; font-size: clamp(2.8rem,5.9vw,5.7rem); line-height: .99; letter-spacing: -.061em; }
    & h3 { font-size: clamp(1.55rem,2.4vw,2.5rem); line-height: 1.1; letter-spacing: -.045em; }
    & h4 { font-size: 1.24rem; letter-spacing: -.025em; line-height: 1.2; }
    & p, & dd { font-size: 1rem; line-height: 1.58; color: var(--chapter-muted); }
    & .eyebrow, & .core-kicker, & .workflow-stage, & .audience-role, & .development-status {
      display: flex; align-items: center; gap: .7rem; width: fit-content;
      font-size: .78rem; letter-spacing: .055em; font-weight: 600; line-height: 1.45;
      color: var(--chapter-ink); margin: 0 0 1.3rem; text-transform: none;
    }
    & .eyebrow::before, & .core-kicker::before { content: ""; display: block; flex: 0 0 1.7rem; height: 3px; background: currentColor; }
    & .section-intro { display: block; margin: 0; }
    & .section-intro > p:not(.eyebrow) { max-width: 50ch; margin: 1.4rem 0 0; font-size: clamp(1.04rem,1.35vw,1.23rem); color: var(--chapter-muted); }
    & a { color: inherit; text-underline-offset: .22em; }
    & :is(a,summary):focus-visible { outline: 3px solid #877000; outline-offset: 4px; }
    & :is(.text-link,.workflow-caption a,.core-foot a) { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; font-size: .96rem; line-height: 1.4; font-weight: 550; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .28em; }
    & :is(.text-link,.core-foot a,.case-excerpts a) svg { display: inline-block; width: 1em; height: 1em; }
    & img { max-width: 100%; }
    & [id] { scroll-margin-top: 6rem; }
  }

  /* The case file. The source photograph leads into the three documented states. */
  & :is(#topp,.core-story).core-story { padding-inline: 6%; border-bottom: 1px solid var(--chapter-rule); }
  & .core-story {
    & .core-intro, & .core-map, & .core-foot { max-width: 79rem; width: 100%; margin-inline: auto; position: static; inset: auto; opacity: 1; transform: none; text-align: left; }
    & .core-intro { display: grid; grid-template-columns: 2fr 1fr; gap: 0 2rem; align-items: end; margin-bottom: 2.7rem; }
    & .core-kicker { grid-column: 1/-1; justify-content: flex-start; color: var(--chapter-ink) !important; font-size: .78rem !important; }
    & .core-kicker > span { color: var(--chapter-muted); }
    & .core-kicker .core-dot { display:none; }
    & .core-intro h2 { max-width: 10.5em; }
    & .core-intro > p:last-child { font-size: 1.2rem; max-width: 24ch; margin: 0; }
    & .core-map { padding: 0; border: 0; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 0; height: auto; align-items: stretch; background: transparent; }
    & .core-connections { display: none; }
    & .core-node, & .core-static-hub { display: flex; flex-direction: column; position: static; inset: auto; width: auto; height: auto; min-width: 0; transform: none; opacity: 1; border: 0; box-shadow: none; border-radius: 0; }
    & .core-field { --chapter-ink: var(--home-paper); --chapter-muted: #e5ede0; position: relative; grid-column: 1; grid-row: 1/3; background: var(--home-dark); color: white; overflow: hidden; }
    & .core-field > img { width: 100%; height: 100%; object-fit: cover; object-position: 53% 45%; position: absolute; inset: 0; z-index: 0; }
    & .core-field::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,#071714e8,transparent 75%); z-index: 0; }
    & .core-node-head, & .core-node-body { position: relative; z-index: 1; }
    & .core-node-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: 1.4rem 1.5rem; background: transparent; color: inherit; font-size: .72rem; letter-spacing: .06em; border: 0; }
    & .core-node-head small { color: inherit; font: inherit; }
    & .core-field .core-node-head { background: linear-gradient(#10221cc9,transparent); }
    & .core-node-body { padding: .3rem 1.5rem 1.5rem; margin-top: auto; }
    & .core-node-body h3 { color: inherit; font-size: clamp(1.5rem,2.4vw,2.4rem); }
    & .core-node-body p { margin: .7rem 0 1.4rem; color: inherit; max-width: 33ch; }
    & .core-node-state { display: inline-flex; align-items: center; border: 1px solid currentColor; border-radius: 2px; padding: .35rem .55rem; color: inherit; background: transparent; font-size: .74rem; line-height: 1.3; font-weight: 500; }
    & .core-static-hub { --chapter-ink: var(--home-paper); --chapter-muted: #dbe2d8; grid-column: 2/4; grid-row: 1; flex-direction: row; align-items: center; gap: 1.4rem; padding: clamp(1.6rem,3vw,3rem); background: var(--home-ink); color: var(--home-paper); }
    & .core-static-hub img { position: static; width: 3.4rem; height: 3.4rem; object-fit: contain; flex: 0 0 auto; }
    & .core-static-hub h3 { color: var(--home-paper); font-size: clamp(1.8rem,3vw,3.2rem); margin: .5rem 0; }
    & .core-static-hub p, & .core-static-hub small { color: #dbe2d8; }
    & .core-offer, & .core-project { grid-column: auto; grid-row: auto; padding: 0; min-height: 15rem; border-bottom: 1px solid var(--chapter-rule); background: #e4e9dd; color: var(--home-ink); }
    & .core-project { background: #e9dec0; }
    & .core-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem 2rem; padding-top: 1.4rem; }
    & .core-foot p { color: var(--chapter-ink); font-size: .9rem; }
    & .core-foot i { font-style: normal; margin-inline: .4rem; }
    & .core-foot small { max-width: 55ch; font-size: .8rem; line-height: 1.5; color: var(--chapter-muted); }
    & .core-foot a { color: var(--chapter-ink); }
  }

  /* The job narrative uses a single reading rail with four independent specimens. */
  & #arbeidsflyten {
    --chapter-bg: #e9eee3;
    & .section-intro { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 0 3rem; }
    & .section-intro .eyebrow { grid-column: 1/-1; }
    & .section-intro > p:last-child { max-width: 28ch; font-size: 1.23rem; padding-bottom: .2rem; }
    & .workflow-reading-note { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .45rem 2rem; margin: 2rem 0 2.4rem; padding: 1.1rem 0; border-block: 1px solid var(--chapter-rule); font-size: .92rem; color: var(--chapter-ink); }
    & .workflow-reading-note > span:last-child { max-width: 49ch; color: var(--chapter-muted); font-size: .83rem; }
    & .solution-layout { display: grid; grid-template-columns: minmax(10rem,.55fr) minmax(0,2fr); gap: clamp(1.8rem,5vw,5rem); align-items: start; }
    & .solution-nav { position: sticky; top: 6rem; min-width: 0; padding: 0; display: block; box-shadow: none; border: 0; background: transparent; }
    & .solution-nav::after { display: none; }
    & .workflow-counter { display: flex; align-items: baseline; gap: .4rem; margin: 0 0 .8rem; font-size: 1rem; color: var(--chapter-muted); }
    & .counter-active { color: var(--chapter-ink); font-size: 3.7rem; font-weight: 500; letter-spacing: -.07em; line-height: 1; }
    & .workflow-progress { display: block; height: 3px; background: #bac5b9; margin: 0 0 1rem; }
    & .workflow-progress i { display: block; height: 100%; transform-origin: left center; background: #647b65; }
    & .solution-nav a { display: flex; align-items: baseline; gap: .8rem; min-height: 44px; padding: .9rem .25rem; margin: 0; border: 0; border-bottom: 1px solid var(--chapter-rule); border-radius: 0; background: transparent; color: var(--chapter-ink); line-height: 1.4; font-size: .94rem; text-decoration: none; }
    & .solution-nav .workflow-index { color: var(--chapter-muted); font-size: .73rem; font-variant-numeric: tabular-nums; }
    & .solution-nav a:hover, & .solution-nav a[aria-current="step"], & .solution-nav a.is-active, & .solution-nav a[data-active="true"] { background: var(--home-ink); color: white; padding-inline: .65rem; }
    & .solution-nav a:is(:hover,[aria-current="step"],.is-active,[data-active="true"]) .workflow-index { color: var(--home-signal); }
    & .workflow-panels { display: grid; gap: 0; background: transparent; box-shadow: none; border: 0; min-width: 0; }
    & .case-frame-heading { position: static; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.3rem; border: 0; border-radius: 0; background: var(--home-dark); color: var(--home-paper); box-shadow: none; }
    & .case-frame-heading > div { display: flex; gap: .9rem; align-items: center; }
    & .case-frame-heading img { width: 2.2rem; height: 2.2rem; object-fit: contain; }
    & .case-frame-heading strong, & .case-frame-heading small { display: block; color: inherit; }
    & .case-current-stage { color: var(--home-signal); font-size: .84rem; }
    & :is(#solution-panel-0,#solution-panel-1,#solution-panel-2,#solution-panel-3) { position: relative; inset: auto; display: grid; grid-template-columns: minmax(0,.87fr) minmax(0,1.2fr); gap: clamp(1.4rem,3.4vw,3.4rem); align-items: center; padding: clamp(2.1rem,4vw,4rem) 0; margin: 0; background: transparent; box-shadow: none; border: 0; border-bottom: 1px solid var(--chapter-rule); border-radius: 0; }
    & .workflow-panel::before { display: none; }
    & :is(#solution-panel-0,#solution-panel-1,#solution-panel-2,#solution-panel-3) .panel-description { display: block; padding: 0; min-width: 0; border: 0; background: transparent; }
    & .panel-description .workflow-stage { color: var(--chapter-muted); font-size: .76rem; margin: 0 0 .85rem; }
    & .panel-description h3 { font-size: clamp(1.7rem,3vw,3.15rem); color: var(--chapter-ink); }
    & .panel-description > p:last-child { font-size: 1rem; line-height: 1.6; color: var(--chapter-muted); margin: .9rem 0 0; }
    & .workflow-panel :is(.main-proof,.field-screen,.report-sheet) { min-width: 0; width: 100%; max-width: none; padding: clamp(1rem,2.35vw,2rem); margin: 0; background: #fdfcf7; color: var(--chapter-ink); border: 1px solid #a9b5a8; border-radius: 4px; box-shadow: 0 5px 0 #cbd4c8; }
    & .workflow-panel :is(.plan-heading,.proof-context,.proof-heading,.field-screen-top) { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .4rem .8rem; color: var(--chapter-muted); font-size: .75rem; }
    & .workflow-panel .chip { display: inline-flex; width: fit-content; border: 1px solid #b5c3a6; border-radius: 2px; padding: .25rem .55rem; color: var(--home-ink); background: #edf1de; font-size: .73rem; }
    & .plan-slot { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 1rem; align-items: center; padding: 1.2rem 0; border-block: 1px solid var(--chapter-rule); margin: 1.15rem 0; }
    & .plan-date { display: grid; gap: .1rem; background: var(--home-signal); color: var(--chapter-ink); border-radius: 0; padding: .65rem; min-width: 4.4rem; text-align: center; }
    & .plan-date strong { font-size: 2.85rem; font-weight: 500; letter-spacing: -.065em; line-height: .95; color: inherit; }
    & .plan-date span, & .field-screen small { font-size: .7rem; color: inherit; }
    & .plan-slot h4 { color: var(--chapter-ink); font-size: 1.08rem; }
    & .plan-slot p, & .workflow-panel dl dd, & .workflow-panel figcaption { font-size: .84rem; color: var(--chapter-muted); line-height: 1.55; }
    & .workflow-panel dl { display: grid; gap: .65rem; }
    & .workflow-panel dt { color: var(--chapter-ink); font-size: .8rem; font-weight: 600; }
    & #solution-panel-1 .field-screen { justify-self: center; width: min(100%,19rem); border: .4rem solid var(--home-ink); border-radius: 1.6rem; padding: 1.4rem; background: #f7f7ef; color: var(--chapter-ink); }
    & .field-screen-top { border-bottom: 1px solid var(--chapter-rule); padding-bottom: .8rem; margin: 0 0 1rem; }
    & .field-screen-top img { width: 1.35rem; height: 1.35rem; padding: .2rem; background: var(--home-ink); border-radius: 2px; }
    & .field-screen h4 { color: var(--chapter-ink); font-size: 2rem; line-height: 1.02; margin: .4rem 0 .6rem; }
    & .field-screen p, & .field-screen ul { color: var(--chapter-muted); font-size: .82rem; }
    & .field-actions { display: flex; gap: .35rem; flex-wrap: wrap; margin: .8rem 0 1rem; }
    & .field-actions span { border: 1px solid var(--chapter-rule); background: #eaeee1; color: var(--chapter-ink); padding: .35rem .45rem; border-radius: 2px; font-size: .76rem; }
    & .field-screen ul { padding-left: 1.1rem; margin: .4rem 0 .8rem; list-style: disc; line-height: 1.6; }
    & .field-screen .field-footnote { color: var(--chapter-muted); font-size: .72rem; }
    & #solution-panel-2 { grid-template-columns: 1fr; }
    & #solution-panel-2 .panel-description { max-width: 58ch; }
    & #solution-panel-2 .execution-proof { display: grid; grid-template-columns: .85fr 1.15fr; align-items: stretch; padding: 0; overflow: hidden; }
    & .execution-proof figure { position: relative; min-height: 14rem; margin: 0; overflow: hidden; }
    & .execution-proof figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
    & .execution-proof figure figcaption { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; gap: .3rem; background: #122823e6; color: white; padding: .6rem .75rem; font-size: .69rem; }
    & .execution-proof > div { min-width: 0; padding: clamp(1rem,2.35vw,2rem); }
    & .execution-proof h3 { color: var(--chapter-ink); font-size: 1.65rem; margin: 1rem 0 .5rem; }
    & .evidence-list { list-style: none; margin: 1.25rem 0; }
    & .evidence-list li { display: flex; align-items: baseline; justify-content: space-between; gap: .35rem .75rem; flex-wrap: wrap; border-bottom: 1px solid var(--chapter-rule); padding: .55rem 0; color: var(--chapter-muted); font-size: .85rem; }
    & .evidence-list strong, & .follow-up strong { color: var(--chapter-ink); }
    & .follow-up { display: grid; gap: .2rem; font-size: .85rem; color: var(--chapter-muted); }
    & .workflow-panel .report-sheet { border-top: 5px solid var(--home-ink); }
    & .report-sheet .proof-heading { display: grid; margin: 1rem 0; }
    & .report-sheet .proof-heading h3 { color: var(--chapter-ink); font-size: 1.55rem; margin: .25rem 0; }
    & .report-sheet .proof-heading p, & .report-document p { color: var(--chapter-muted); font-size: .82rem; }
    & .report-document { border-top: 1px solid var(--chapter-rule); padding-top: 1rem; }
    & .report-document h4 { color: var(--chapter-ink); font-size: .9rem; margin: 0 0 .35rem; }
    & .report-document dl { margin-top: .75rem; }
    & .completion-proof figcaption { margin-top: 1rem; }
    & .proof-context span, & .follow-up span { color: var(--chapter-muted); }
    & .workflow-caption a { color: var(--chapter-ink); }
    & .workflow-caption { margin-top: 1.5rem; text-align: right; }
    & .product-reading { display: grid; grid-template-columns: 1fr 1fr; margin-top: 3rem; border-block: 1px solid var(--chapter-rule); }
    & .product-reading a { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; padding: 1.35rem; text-decoration: none; background: transparent; }
    & .product-reading a + a { border-left: 1px solid var(--chapter-rule); }
    & .product-reading a:hover { background: #dbe2d2; }
    & .product-reading a span { grid-column: 1; color: var(--chapter-muted); font-size: .78rem; }
    & .product-reading a strong { font-size: clamp(1.1rem,1.8vw,1.65rem); color: var(--chapter-ink); }
    & .product-reading a b { color: var(--chapter-ink); }
  }

  /* Real customer proof is an editorial entry, with direct links into the case. */
  & #kundehistorie {
    --chapter-bg: var(--home-ink); --chapter-ink: var(--home-paper); --chapter-muted: #cad5ca; --chapter-rule: #5d746b;
    & .case-introduction { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); align-items: end; gap: clamp(2rem,7vw,7rem); }
    & .case-introduction h2 { max-width: 11ch; }
    & .eyebrow { color: var(--home-signal); }
    & .case-introduction p:not(.eyebrow) { font-size: clamp(1.05rem,1.6vw,1.4rem); color: var(--chapter-muted); }
    & .case-introduction .text-link { color: var(--home-signal); margin-top: 1.1rem; }
    & .case-excerpts { margin: clamp(2.25rem,5vw,4.8rem) 0 1.3rem; border: 0; background: transparent; }
    & .case-excerpts h3 { font-size: 1rem; letter-spacing: 0; margin: 0 0 1rem; }
    & .case-excerpts ol { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; list-style: none; }
    & .case-excerpts li { padding: 0; border: 0; }
    & .case-excerpts a { display: grid; grid-template-columns: 1fr auto; gap: .65rem; padding: 1.3rem 0; border-top: 2px solid var(--chapter-rule); background: transparent; text-decoration: none; }
    & .case-excerpts a:hover { border-color: var(--home-signal); }
    & .case-excerpts strong { font-size: clamp(1.25rem,1.75vw,1.8rem); color: var(--chapter-ink); font-weight: 500; }
    & .case-excerpts span { grid-column: 1; color: var(--chapter-muted); font-size: .93rem; }
    & .case-excerpts i { grid-column: 2; grid-row: 1; color: var(--home-signal); }
    & .container > small { display: block; color: var(--chapter-muted); font-size: .79rem; }
  }

  & #for-hvem {
    & .two-column { display: block; }
    & .section-intro { display: grid; grid-template-columns: 1.45fr 1fr; align-items: end; gap: 0 2rem; margin-bottom: clamp(2rem,4vw,4rem); }
    & .section-intro .eyebrow { grid-column: 1/-1; }
    & .audience-stage { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: start; gap: clamp(2rem,6vw,6rem); }
    & .audience-photo { position: sticky; top: 6rem; height: auto; min-height: 0; overflow: visible; border: 0; border-radius: 0; background: var(--chapter-bg); box-shadow: none; }
    & .audience-photo img { display: block; position: static; width: 100%; height: auto; aspect-ratio: 1/1.06; object-fit: cover; object-position: 50% 35%; filter: none; border-radius: 2px; }
    & .audience-photo::before, & .audience-photo::after { display:none; }
    & .audience-photo figcaption { position: static; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .2rem 1rem; margin: 0; padding: .8rem 0; background: var(--chapter-bg); color: var(--chapter-ink); }
    & .audience-photo figcaption span { font-size: 1rem; }
    & .audience-photo figcaption small { font-size: .75rem; color: var(--chapter-muted); }
    & .audience-rows article { display: block; padding: 1.4rem 0; border: 0; border-top: 1px solid var(--chapter-rule); background: transparent; }
    & .audience-rows article::before { display: none; }
    & .audience-role { color: var(--chapter-muted); margin-bottom: .45rem; }
    & .audience-rows h3 { color: var(--chapter-ink); font-size: clamp(1.55rem,2.65vw,2.75rem); }
    & .audience-rows article p { margin-top: .5rem; color: var(--chapter-muted); }
    & .audience-rows .text-link { margin-top: .3rem; font-size: .87rem; }
    & .audience-note { border-top: 1px solid var(--chapter-rule); padding: .9rem 0; color: var(--chapter-muted); font-size: .85rem; }
  }

  & #oppsett {
    --chapter-bg: #e2e9dd;
    & .two-column, & .buyer-brief { display: grid; gap: clamp(2rem,6vw,6rem); grid-template-columns: minmax(0,.94fr) minmax(0,1fr); align-items: start; }
    & .section-intro { position: sticky; top: 6rem; }
    & .section-intro .section-note { font-size: .88rem; color: var(--chapter-ink); padding-left: 1rem; border-left: 3px solid #798866; }
    & .setup-steps { list-style: none; padding: 0; margin: 0; }
    & .setup-steps > li { display: grid; grid-template-columns: 2.35rem minmax(0,1fr); gap: 1.05rem; padding: 1.25rem 0 1rem; border: 0; border-top: 1px solid var(--chapter-rule); min-height: 0; }
    & .setup-steps > li::before { display: none; }
    & .step-number { display: grid; place-items: center; align-self: start; width: 2.25rem; height: 2.25rem; border-radius: 2px; background: var(--home-ink); color: var(--home-signal); font-size: .85rem; font-variant-numeric: tabular-nums; }
    & .setup-steps h3 { color: var(--chapter-ink); font-size: clamp(1.3rem,2.15vw,2rem); }
    & .setup-steps li p { margin: .5rem 0 0; color: var(--chapter-muted); }
    & .step-detail { margin: .25rem 0 0; border: 0; padding: 0; background: transparent; }
    & .step-detail summary { display: flex; align-items: center; gap: .6rem; min-height: 44px; width: fit-content; font-size: .88rem; color: var(--chapter-ink); cursor: pointer; list-style: none; }
    & .step-detail summary::before { content: ""; display: block; width: .43rem; height: .43rem; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); }
    & .step-detail[open] summary::before { transform: translateY(1px) rotate(225deg); }
    & .step-responsibility { display: grid; gap: .8rem; padding: .9rem 1rem; background: #f1f4eb; border-left: 2px solid var(--chapter-rule); }
    & .step-responsibility dt, & .buyer-brief dt { color: var(--chapter-ink); font-size: .88rem; font-weight: 600; }
    & .step-responsibility dd, & .buyer-brief dd { color: var(--chapter-muted); font-size: .94rem; }
    & .buyer-brief { --chapter-ink: var(--home-paper); --chapter-muted: #c9d3ca; margin-top: clamp(3rem,7vw,7rem); padding: clamp(1.5rem,3.2vw,3.2rem); border: 0; border-radius: 2px; background: var(--home-ink); color: var(--chapter-ink); }
    & .buyer-brief h3 { color: var(--chapter-ink); font-size: clamp(2rem,3.5vw,3.8rem); }
    & .buyer-brief h3 + p { margin: 1rem 0 .6rem; }
    & .buyer-brief a { color: var(--home-signal); }
    & .buyer-brief dl { display: grid; gap: 1rem; }
    & .buyer-brief dl > div { border-top: 1px solid #5c7268; padding-top: .8rem; }
  }

  & #geodata {
    & .development-heading { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 0 3rem; align-items: end; margin: 0; }
    & .development-heading .eyebrow { grid-column: 1/-1; }
    & .development-heading h2 { font-size: clamp(2.65rem,5vw,5rem); }
    & .development-heading > p:last-child { max-width: 38ch; font-size: 1.12rem; }
    & .development-stories { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,6vw,6rem); margin: 3rem 0 1rem; }
    & .development-story { border: 0; border-top: 2px solid var(--home-ink); border-radius: 0; background: transparent; padding: 1.4rem 0; }
    & .development-story::before { display: none; }
    & .development-status { display: inline-flex; width: fit-content; background: #eadab0; color: var(--chapter-ink); border: 0; border-radius: 2px; padding: .28rem .55rem; font-size: .73rem; margin: 0 0 1rem; }
    & #ai .development-status { background: #dfe4d8; }
    & .development-lead { margin: .7rem 0 1.2rem; }
    & .development-details { display: grid; gap: .85rem; margin-top: 1rem; }
    & .development-details dt { font-weight: 550; font-size: .88rem; color: var(--chapter-ink); }
    & .development-details dd { color: var(--chapter-muted); font-size: .91rem; }
    & .development-limit { margin-top: 1.15rem; padding: .75rem 0; border-block: 1px solid var(--chapter-rule); color: var(--chapter-ink); font-weight: 550; font-size: .87rem; }
  }

  & #nettsider {
    --chapter-bg: #dce5d6;
    & .container { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.16fr); gap: clamp(2rem,5vw,5rem); align-items: center; }
    & .digital-pitch { display: block; }
    & .digital-pitch h2 { font-size: clamp(2.9rem,5.3vw,5.2rem); }
    & .digital-pitch h2 span { color: #466454; }
    & .digital-pitch > div + div > p:first-child { margin: 1.3rem 0; font-size: 1.05rem; }
    & .digital-pitch ul { list-style: none; margin: 1.4rem 0; border-top: 1px solid var(--chapter-rule); }
    & .digital-pitch li { display: grid; gap: .18rem; border-bottom: 1px solid var(--chapter-rule); padding: .7rem 0; }
    & .digital-pitch li strong { color: var(--chapter-ink); font-size: .98rem; }
    & .digital-pitch li span, & .digital-pitch .section-note { color: var(--chapter-muted); font-size: .87rem; }
    & .digital-pitch .actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.2rem; margin: 1.25rem 0 .8rem; }
    & .digital-pitch .button { display: inline-flex; min-height: 44px; align-items: center; gap: .55rem; padding: .65rem 1.15rem; border: 1px solid var(--home-ink); border-radius: 2px; background: var(--home-ink); color: var(--home-paper); text-decoration: none; font-size: .92rem; }
    & .digital-studio-preview { position: relative; display: block; width: 100%; max-width: none; min-width: 0; margin: 0; padding: clamp(.7rem,2vw,2rem) clamp(.7rem,2vw,2rem) 0; border: 0; border-radius: 2px; background: #b5c7b1; box-shadow: none; text-decoration: none; overflow: hidden; }
    & .digital-studio-preview picture, & .digital-studio-preview img { display: block; width: 100%; height: auto; object-fit: contain; }
    & .customer-site-address { position: static; display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; color: var(--home-ink); background: transparent; font-size: .85rem; }
  }

  & #sporsmal {
    & .container { display: grid; grid-template-columns: minmax(0,.73fr) minmax(0,1.3fr); column-gap: clamp(2rem,6vw,6rem); align-items: start; }
    & .container > .eyebrow { grid-column: 1/-1; }
    & h2 { position: sticky; top: 6rem; max-width: 9ch; }
    & .faq-groups { display: grid; grid-template-columns: minmax(0,1fr); gap: 2.1rem; }
    & .faq-topic { display: block; border: 0; padding: 0; }
    & .faq-topic h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -.025em; margin: 0 0 .6rem; padding-bottom: .6rem; border-bottom: 2px solid var(--home-ink); }
    & .faq-topic details { border: 0; border-bottom: 1px solid var(--chapter-rule); border-radius: 0; background: transparent; margin: 0; padding: 0; }
    & .faq-topic summary { min-height: 52px; display: flex; justify-content: space-between; align-items: center; gap: .9rem; padding: .9rem 0; color: var(--chapter-ink); font-size: clamp(.98rem,1.3vw,1.2rem); cursor: pointer; list-style: none; line-height: 1.4; }
    & summary::-webkit-details-marker { display:none; }
    & .faq-topic summary span { flex: 0 0 1.5rem; height: 1.5rem; display: grid; place-items: center; font-size: 1rem; line-height: 1; border: 1px solid var(--chapter-rule); border-radius: 50%; color: var(--chapter-ink); }
    & .faq-topic details[open] summary span { transform: rotate(45deg); background: var(--home-signal); }
    & .faq-topic details p { color: var(--chapter-muted); max-width: 60ch; padding: 0 1.8rem 1rem 0; }
    & .faq-help { grid-column: 2; margin: 1rem 0 0; padding: 0; }
  }

  & #demo {
    --chapter-bg: var(--home-dark); --chapter-ink: var(--home-paper); --chapter-muted: #cbd6ca; --chapter-rule: #536b61;
    overflow: hidden;
    & .closing-scene { position: absolute; inset: auto auto 0 0; width: 45%; height: 38%; pointer-events: none; z-index: -1; opacity: .29; }
    & .closing-scene img { width: 100%; height: 100%; object-fit: cover; mask-image: linear-gradient(to top,black,transparent); }
    & .demo-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: clamp(2rem,6vw,6rem); align-items: start; }
    & .demo-copy .eyebrow { color: var(--home-signal); }
    & .demo-copy h2 { font-size: clamp(3.4rem,6.5vw,6.6rem); }
    & .demo-copy h2 span { color: var(--home-signal); }
    & .demo-copy .demo-intro { margin: 1.2rem 0 2rem; max-width: 37ch; color: var(--chapter-muted); font-size: 1.14rem; }
    & .demo-points { display: grid; list-style: none; margin: 0; padding: 0; gap: .6rem; max-width: 25rem; }
    & .demo-points li { display: flex; align-items: center; gap: .65rem; font-size: .94rem; color: var(--chapter-ink); }
    & .demo-points li::before { content: ""; display: block; width: .45rem; height: .45rem; border-radius: 0; background: var(--home-signal); }
    & .enquiry-form { width: 100%; min-width: 0; max-width: none; }
    & .enquiry-links { display: flex; align-items: center; gap: .8rem; }
    & .enquiry-links a { display: inline-flex; align-items: center; min-height: 44px; gap: .55rem; color: var(--home-paper); }
    & .enquiry-privacy { margin: .45rem 0 1.1rem; color: var(--chapter-muted); font-size: .88rem; }
    & .enquiry-privacy a { color: var(--home-signal); }
    & .enquiry-shell { border: 1px solid #62766d; border-radius: 3px; overflow: hidden; background: #06101a; }
    & .enquiry-shell iframe { display: block; width: 100%; height: var(--enquiry-height,780px); max-height: none; border: 0; background: #06101a; }
  }

  @media (max-width: 900px) {
    & :is(#arbeidsflyten,#for-hvem,#oppsett,#geodata,#nettsider,#sporsmal,#demo,.core-story) .container, & #kundehistorie .container { width: 90%; }
    & :is(#topp,.core-story).core-story { padding-inline: 5%; }
    & #arbeidsflyten .solution-layout { grid-template-columns: 1fr; }
    & #arbeidsflyten .solution-nav { position: static; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .5rem; }
    & #arbeidsflyten .solution-nav a { display: grid; align-content: start; gap: .25rem; }
    & #arbeidsflyten .workflow-counter { grid-column: 1/-1; }
    & #arbeidsflyten .workflow-progress { grid-column: 1/-1; margin: 0; }
    & #for-hvem .audience-stage, & #oppsett .two-column, & #oppsett .buyer-brief { gap: 2rem; }
    & #nettsider .container { grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); }
    & #demo .demo-layout { gap: 2rem; }
  }

  @media (max-width: 680px) {
    & :is(#arbeidsflyten,#kundehistorie,#for-hvem,#oppsett,#geodata,#nettsider,#sporsmal,#demo,.core-story) { padding-block: 3.6rem; }
    & :is(#arbeidsflyten,#for-hvem) .section-intro, & #kundehistorie .case-introduction, & #for-hvem .audience-stage, & #oppsett .two-column, & #oppsett .buyer-brief, & #geodata .development-heading, & #geodata .development-stories, & #nettsider .container, & #sporsmal .container, & #demo .demo-layout, & .core-story .core-intro { grid-template-columns: minmax(0,1fr); gap: 1.4rem; }
    & :is(#arbeidsflyten,#for-hvem) .section-intro .eyebrow, & #geodata .development-heading .eyebrow, & .core-story .core-kicker { margin: 0; }
    & :is(#arbeidsflyten,#for-hvem) .section-intro > p:last-child { margin: 0; }
    & .core-story .core-map { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
    & .core-story .core-field { grid-column: 1/-1; grid-row: auto; min-height: 20rem; }
    & .core-story .core-field img { object-position: 50% 32%; }
    & .core-story .core-static-hub { grid-column: 1/-1; grid-row: auto; }
    & .core-story .core-node-head { padding: 1rem; gap: .2rem; font-size: .65rem; }
    & .core-story .core-node-body { padding: .2rem 1rem 1.2rem; }
    & .core-story .core-node-body h3 { font-size: 1.4rem; }
    & .core-story .core-node-body p { font-size: .9rem; }
    & .core-story .core-foot { display: grid; justify-items: start; gap: .8rem; }
    & #arbeidsflyten .solution-nav { grid-template-columns: 1fr 1fr; }
    & #arbeidsflyten .solution-nav a { display: flex; gap: .5rem; }
    & #arbeidsflyten :is(#solution-panel-0,#solution-panel-1,#solution-panel-2,#solution-panel-3) { grid-template-columns: minmax(0,1fr); gap: 1.2rem; }
    & #arbeidsflyten .product-reading { grid-template-columns: 1fr; }
    & #arbeidsflyten .product-reading a + a { border-left: 0; border-top: 1px solid var(--chapter-rule); }
    & #kundehistorie .case-excerpts ol { grid-template-columns: 1fr; gap: 0; }
    & #for-hvem .audience-photo, & #oppsett .section-intro, & #sporsmal h2 { position: static; }
    & #for-hvem .audience-photo img { aspect-ratio: 1.4; }
    & #geodata .development-stories { gap: 1.5rem; }
    & #sporsmal h2 { max-width: 12ch; }
    & #sporsmal .container > .eyebrow, & #sporsmal .faq-help { grid-column: 1; margin: 0; }
    & #nettsider .digital-studio-preview { max-width: 28rem; justify-self: center; }
    & #nettsider .digital-studio-preview img { max-height: 36rem; }
    & #demo .closing-scene { width: 100%; height: 35%; }
  }

  @media (max-width: 420px) {
    & .core-story .core-map, & #arbeidsflyten #solution-panel-2 .execution-proof { grid-template-columns: 1fr; }
    & .core-story .core-offer, & .core-story .core-project { min-height: auto; }
    & .core-story .core-field { min-height: 16rem; }
    & #arbeidsflyten .execution-proof figure { min-height: 13rem; }
    & #arbeidsflyten .case-frame-heading { flex-wrap: wrap; }
  }

  @media (prefers-reduced-motion: reduce) {
    & :is(.core-story,#arbeidsflyten,#kundehistorie,#for-hvem,#oppsett,#geodata,#nettsider,#sporsmal,#demo) *, & :is(.core-story,#arbeidsflyten,#kundehistorie,#for-hvem,#oppsett,#geodata,#nettsider,#sporsmal,#demo) *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  }
}
