/* The landing page at skjemavelde.no (R3): the app's colours and fonts
   (webapp/static/app.css; fonts.css and fonts/ are mounted from
   webapp/static by docker-compose.staging.yml), no scripts, no third party.
   Works at 390 px. */
@import url("fonts.css");

:root {
  --ink: #132A40; --ink-2: #5D6E7E; --rule: #DDE5EB; --bg: #FFFFFF; --bg-2: #F4F7F9;
  --red: #C4321F; --red-2: #A82815;
  --sans: "Schibsted Grotesk", -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
a { color: var(--ink); }
a:hover { color: var(--red); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(38px, 7vw, 68px); line-height: 1.03; font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.muted { color: var(--ink-2); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

.top { border-bottom: 1px solid var(--rule); }
.bar { display: flex; align-items: center; gap: 24px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; text-decoration: none; }
.mark { width: 22px; height: 22px; border: 2.5px solid var(--red); border-radius: 4px; transform: rotate(-6deg); position: relative; display: inline-block; }
.mark::after { content: ""; position: absolute; left: 3px; right: 3px; top: 4px; bottom: 4px; border-top: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); }
.links { margin-left: auto; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.links a:not(.btn) { text-decoration: none; color: var(--ink-2); font-weight: 500; }

.btn, .btn2 { display: inline-block; border-radius: 8px; font-weight: 700; text-decoration: none; padding: 11px 20px; border: 2px solid var(--red); }
.btn { background: var(--red); color: #fff; }
.btn:hover { background: var(--red-2); border-color: var(--red-2); color: #fff; }
.btn2 { background: #fff; color: var(--red); }
.btn2:hover { background: var(--bg-2); color: var(--red-2); }
.btn.sm { padding: 7px 14px; }
.lg { padding: 14px 26px; font-size: 17px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.hero { padding-top: 88px; padding-bottom: 72px; }
.eyebrow, .stepno { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--red); font-weight: 600; }
.hero h1 { margin-top: 16px; max-width: 14ch; }
.lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--ink-2); max-width: 40ch; margin-top: 24px; }
.lead2 { font-size: 18px; color: var(--ink-2); max-width: 60ch; margin-top: 14px; }

.facts { background: var(--ink); color: #fff; padding: 48px 0 28px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px; }
.num { font-size: 52px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.unit { font-family: var(--mono); font-size: 15px; margin-left: 8px; color: #C9D4DD; }
.facts p { margin-top: 10px; color: #DDE5EB; }
.source { font-size: 13px; color: #9FB0BF; margin-top: 28px; }

.block { padding-top: 80px; padding-bottom: 80px; }
.cards { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.cards li { border: 1px solid var(--rule); border-top: 3px solid var(--ink); border-radius: 6px; padding: 20px 22px; }
.cards p { color: var(--ink-2); margin-top: 8px; }
.note { margin-top: 26px; color: var(--ink-2); }

.band { background: var(--bg-2); }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.steps h3 { margin-top: 8px; font-size: 21px; }
.steps p { margin-top: 10px; color: var(--ink-2); }

.points { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px 40px; }
.points li { display: flex; gap: 16px; }
.pno { font-family: var(--mono); font-weight: 600; color: var(--red); padding-top: 2px; }
.points p { color: var(--ink-2); margin-top: 6px; }

.cta { padding-top: 40px; padding-bottom: 96px; border-top: 1px solid var(--rule); }
.cta h2 { margin-top: 40px; }

.foot { border-top: 1px solid var(--rule); padding: 28px 0 40px; font-size: 14px; }
.foot p + p { margin-top: 4px; }

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 56px; padding-bottom: 48px; }
  .links { gap: 14px; }
  .links a[href^="#"] { display: none; }
  .actions .lg { flex: 1 1 100%; text-align: center; }
  .block { padding-top: 56px; padding-bottom: 56px; }
  .points { grid-template-columns: 1fr; }
}
