/* Group C pages: Om, Priser, Spørgsmål, Demo, Kontakt, Privatliv, Cookies, Viden and 404.
   Builds on base.css (tokens, type, header, buttons, questions list, closing band, footer); nothing here changes those. */
[hidden]{display:none!important}

/* ---------- Page head: light, as on the front page. One statement in two tones and its line ---------- */
.c-top{position:relative;overflow:hidden;background:linear-gradient(180deg,#fff 0%,#fff 40%,var(--is) 100%);color:var(--nat);padding:clamp(44px,5vw,80px) 0 clamp(48px,5vw,80px)}
.c-top>.ramme{position:relative;z-index:1}
.c-top h1{font-weight:600;font-size:var(--t-h1);line-height:1.03;letter-spacing:-.04em;max-width:15em;text-wrap:balance}
.c-top h1 span:not(.sol,.sol-ord){color:var(--daempet)}
.c-top h1 .sol{width:.17em;height:.17em}
.c-top__ingress{margin-top:clamp(18px,2vw,24px);max-width:33em;font-size:var(--t-ingress);line-height:1.5;color:var(--daempet);text-wrap:pretty}
.c-top__ingress a{color:var(--kobolt-dyb);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.22em;text-decoration-color:rgba(36,73,214,.4)}
.c-top__ingress a:hover{text-decoration-color:currentColor}
.c-top .knapper{margin-top:clamp(20px,2vw,28px)}
/* The legal pages and the article list: reading starts at once, so the head ends on a hairline */
.c-top--lys{background:#fff;border-bottom:1px solid var(--linje)}

/* A link that leads on: text and a chevron that moves on hover */
.c-videre{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--kobolt-dyb)}
.c-videre::after{content:"";width:7px;height:7px;border-right:1.75px solid currentColor;border-top:1.75px solid currentColor;rotate:45deg;transition:translate .25s var(--ud)}
.c-videre:hover::after{translate:3px 0}






/* Read by a screen reader, not shown */
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}





/* Steps in order: Priser and Demo tell what comes next the same way */
.c-trin{list-style:none;counter-reset:t;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:var(--sp);row-gap:28px;margin-top:var(--luft-ind)}
.c-trin li{counter-increment:t;padding-top:14px;border-top:2px solid var(--nat)}
.c-trin li::before{content:counter(t);display:block;margin-bottom:clamp(16px,2vw,28px);font-size:15px;font-weight:600;color:var(--kobolt-dyb)}
.c-trin h3{font-size:var(--t-h3)}
.afsnit .c-trin p{margin-top:8px;font-size:var(--t-broed);max-width:26em}
@media (max-width:760px){.c-trin{grid-template-columns:minmax(0,1fr)}.c-trin li::before{margin-bottom:8px}}

/* Rows that lead somewhere: what it is, one line on it, and a chevron */
.c-raekker{list-style:none;border-bottom:1px solid var(--linje)}
.c-raekker li{border-top:1px solid var(--linje)}
.c-raekker a{position:relative;display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:64px;height:100%;padding:12px 28px 12px 0;transition:color .15s}
.c-raekker a::after{content:"";position:absolute;right:6px;top:50%;width:8px;height:8px;margin-top:-4px;border-right:1.75px solid var(--daempet);border-top:1.75px solid var(--daempet);rotate:45deg;transition:translate .2s var(--ud),border-color .15s}
.c-raekker b{font-size:clamp(17px,1.25vw,18px);font-weight:600;letter-spacing:-.012em;line-height:1.3}
.c-raekker span{font-size:15px;line-height:1.4;color:var(--daempet);text-wrap:pretty}
.c-raekker a:hover b{color:var(--kobolt-dyb)}
.c-raekker a:hover::after{translate:3px 0;border-color:var(--kobolt-dyb)}
@media (prefers-reduced-motion:reduce){.c-raekker a::after{transition:none}}

/* Touch: every link and control reaches at least 44 px. The negative margin keeps the running text's lines where they are */
@media (max-width:999px){
  main .tekstlink,.demo-send a,.demo-ok a,.demo-uden a:not(.knap),.c-videre,.faq5__under a,.faq__ingen a,.faq__slut a,.spm__liste p a,.om-aabning__note a,.ik__mail a,.jura__kort a,.tekst a:not(.knap),.v-spor a,.c-top__ingress a{display:inline-flex;align-items:center;min-height:44px;margin-block:-12px;max-width:100%}
  .jura__indeks a{min-height:44px;display:flex;align-items:center;padding-block:6px}
  .demo-dage button,.demo-tider label,.knap--lille.kontakt__kopi{min-height:44px}
  .demo-dage button,.demo-tider label{height:44px}
}
