/* MotPark web. Light only. The identity is the Norwegian parking sign: sign blue, white border, white underskilt plates. */
/* MotPark Sans, built by scripts/font/build.py. SIL OFL, see fonts/OFL.txt. */
@font-face { font-family: "MotPark Sans"; font-weight: 400; font-display: swap; src: url(fonts/MotParkSans-Regular.woff2) format("woff2"); }
@font-face { font-family: "MotPark Sans"; font-weight: 500; font-display: swap; src: url(fonts/MotParkSans-Medium.woff2) format("woff2"); }
@font-face { font-family: "MotPark Sans"; font-weight: 600; font-display: swap; src: url(fonts/MotParkSans-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "MotPark Sans"; font-weight: 700; font-display: swap; src: url(fonts/MotParkSans-Display.woff2) format("woff2"); }
@font-face { font-family: "MotPark Tabell"; font-weight: 500; font-display: swap; src: url(fonts/MotParkTabell-Medium.woff2) format("woff2"); }
@font-face { font-family: "MotPark Tabell"; font-weight: 600; font-display: swap; src: url(fonts/MotParkTabell-SemiBold.woff2) format("woff2"); }
:root {
  color-scheme: light;
  --sign: #0A56B0;        /* parkeringsskilt-blå */
  --sign-deep: #083F82;
  --white: #FFFFFF;
  --ground: #F3F4F1;      /* lys betong */
  --ink: #0D1418;
  --dim: #58626A;
  --line: #D6DAD6;
  --red: #E0401F;         /* påslaget hos de store appene, ingenting annet */
  --green: #0B8A4E;       /* MotPark og gratis, ingenting annet */
  --mark: #FFE9A6;
  --wide: "MotPark Sans", ui-sans-serif, system-ui, sans-serif;
  --text: "MotPark Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "MotPark Tabell", ui-monospace, Menlo, monospace;
  --gutter: clamp(18px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--text); font-size: 18px; line-height: 1.55; }
a { color: inherit; }
svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.red { color: var(--red); }
.green { color: var(--green); }
.dim { color: var(--dim); }
.eyebrow { font: 600 12px var(--text); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.pad { padding-inline: var(--gutter); }
.xwide { font-family: var(--wide); font-weight: 800; letter-spacing: -.035em; line-height: .92; margin: 0; text-wrap: balance; }

/* Nav */
.nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px var(--gutter); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--wide); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.wordmark svg { width: 30px; height: 30px; flex: none; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (max-width: 700px) { .nav ul { gap: 16px; } .hide-sm { display: none; } }

/* Hero: the sign field */
.hero { background: var(--sign); color: var(--white); padding-bottom: clamp(40px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 80px); align-items: end; padding: clamp(40px, 8vw, 120px) var(--gutter) 0; }
.hero h1 { font-size: clamp(46px, 10.5vw, 188px); }
.hero .lede { font-size: clamp(18px, 1.6vw, 22px); max-width: 44ch; margin: clamp(22px, 3vw, 40px) 0 0; opacity: .92; }
.post { display: grid; gap: 8px; justify-items: stretch; width: clamp(170px, 20vw, 280px); }
.sign-p { aspect-ratio: 1; border: clamp(6px, .8vw, 10px) solid var(--white); border-radius: clamp(10px, 1.4vw, 18px); display: grid; place-items: center;
  font-family: var(--wide); font-weight: 700; font-size: clamp(110px, 14vw, 230px); line-height: 1; }
.plate { background: var(--white); color: var(--ink); border: 3px solid var(--ink); border-radius: 6px; padding: 8px 12px; font-weight: 700; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.25; text-align: center; }
.plate small { display: block; font-weight: 500; font-size: .82em; }
.plate .num { font-weight: 600; }
.hero-foot { display: flex; gap: 14px 28px; align-items: center; flex-wrap: wrap; padding: clamp(36px, 5vw, 64px) var(--gutter) 0; }
.btn { display: inline-block; font: 700 16px var(--text); text-decoration: none; border-radius: 999px; padding: 14px 24px; border: 2px solid currentColor; cursor: pointer; background: transparent; color: inherit; }
.btn.solid { background: var(--white); color: var(--sign); border-color: var(--white); }
.btn.ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.hero-foot .note { font-size: 14px; opacity: .8; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .post { grid-row: 1; width: 150px; }
  .sign-p { font-size: 96px; }
}

/* Landscape: turn the wheel like in the app, one turn is one hour */
.landscape { background: var(--white); display: grid; grid-template-columns: minmax(220px, 400px) 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; padding: clamp(40px, 8vh, 96px) var(--gutter); }
.dial { width: 100%; height: auto; display: block; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.dial:active { cursor: grabbing; }
.dial:focus { outline: none; }
.dial:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 50%; }
.dial .track { fill: none; stroke: var(--line); stroke-width: 22; }
.dial .arc { fill: none; stroke: var(--green); stroke-width: 22; stroke-dasharray: 0 60; }
.dial .ticks line { stroke: var(--ink); stroke-width: 2; opacity: .35; }
.dial .knob { fill: var(--white); stroke: var(--ink); stroke-width: 3; }
.dial .hours { font: 800 40px var(--wide); fill: var(--ink); letter-spacing: -.03em; }
.dial .dial-hint { font: 500 12px var(--mono); fill: var(--dim); }
.readout { display: grid; gap: 18px; }
.readout .eyebrow { margin: 0; }
.clock { font-family: var(--wide); font-weight: 800; letter-spacing: -.04em; font-size: clamp(56px, 9vw, 130px); line-height: .85; font-variant-numeric: tabular-nums; }
.readout .meta { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 15px; }
.readout .meta b { font-family: var(--mono); font-size: clamp(20px, 2.2vw, 30px); font-weight: 600; }
.ratio b { display: block; font-family: var(--wide); font-weight: 800; font-size: clamp(48px, 7vw, 110px); line-height: .85; color: var(--red); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ratio span { font-size: 14px; color: var(--dim); }
@media (max-width: 700px) {
  .landscape { grid-template-columns: 1fr; }
  .dial-wrap { width: min(78vw, 320px); margin: 0 auto; }
}

/* Sections on concrete */
.block { padding: clamp(72px, 10vw, 150px) var(--gutter); }
.block + .block { border-top: 1px solid var(--line); }
.block h2 { font-family: var(--wide); font-weight: 800; letter-spacing: -.035em; line-height: .95; font-size: clamp(34px, 5.6vw, 88px); margin: 0; max-width: 16ch; text-wrap: balance; }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .from-5 { grid-column: 5 / -1; } .from-6 { grid-column: 6 / -1; } .from-7 { grid-column: 7 / -1; }
@media (max-width: 860px) { .span-5, .span-6, .span-7, .from-5, .from-6, .from-7 { grid-column: 1 / -1; } }

/* Receipt */
.receipt-stage { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(40px, 6vw, 80px); }
.receipt { background: var(--white); color: var(--ink); font-family: var(--mono); font-size: 16px; padding: 30px 28px 36px; box-shadow: 0 30px 60px -36px rgba(13, 20, 24, .45); transform: rotate(-1.5deg);
  --edge: radial-gradient(circle at 7px 100%, transparent 6.5px, #000 7px) 0 100% / 14px 11px repeat-x;
  -webkit-mask: linear-gradient(#000, #000) 0 0 / 100% calc(100% - 10px) no-repeat, var(--edge);
  mask: linear-gradient(#000, #000) 0 0 / 100% calc(100% - 10px) no-repeat, var(--edge); }
.receipt .ln { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; transition: opacity .35s, transform .35s; }
.receipt .ln.hide { opacity: 0; transform: translateY(-6px); }
.receipt .hd { font-weight: 600; letter-spacing: .12em; border-bottom: 1px dashed #b9bdb9; padding-bottom: 12px; margin-bottom: 6px; }
.receipt .old { color: var(--red); position: relative; }
.receipt .old::after { content: ""; position: absolute; left: -5px; right: -5px; top: 50%; height: 3px; background: var(--ink); transform: scaleX(var(--strike, 1)); transform-origin: left; transition: transform .45s; }
.receipt .new { color: var(--green); font-weight: 600; margin-left: 12px; display: inline-block; transition: opacity .3s, transform .3s; }
.receipt .new.hide { opacity: 0; transform: scale(2); }
.receipt .sum { border-top: 1px dashed #b9bdb9; margin-top: 8px; padding-top: 12px; font-weight: 600; font-size: 19px; }
.receipt .sum s { color: #8b908c; font-weight: 500; margin-right: 12px; }
.receipt-copy .big { font-family: var(--wide); font-weight: 800; font-size: clamp(64px, 9vw, 150px); line-height: .85; letter-spacing: -.045em; color: var(--green); }
.receipt-copy p { max-width: 44ch; color: var(--dim); }
@media (max-width: 760px) { .receipt-stage { grid-template-columns: 1fr; } .receipt { transform: none; } }

/* Four parkings */
.rows { margin-top: clamp(40px, 6vw, 80px); border-top: 2px solid var(--ink); }
.row { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .7fr)) minmax(0, 1fr); gap: 16px; align-items: baseline; padding: clamp(16px, 2.4vw, 28px) 0; border-bottom: 1px solid var(--line); }
.row .what { font-weight: 700; font-size: clamp(17px, 1.6vw, 22px); }
.row .what small { display: block; font-weight: 400; color: var(--dim); font-size: 15px; }
.row .v { font-family: var(--mono); font-size: clamp(17px, 1.6vw, 22px); text-align: right; }
.row .x { font-family: var(--wide); font-weight: 800; letter-spacing: -.04em; font-size: clamp(40px, 6vw, 96px); line-height: .9; text-align: right; }
.row.head { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding-block: 12px; }
.row.head span { text-align: right; } .row.head span:first-child { text-align: left; }
.rows-note { font-size: 14px; color: var(--dim); margin-top: 16px; max-width: 70ch; }
@media (max-width: 640px) {
  .row { grid-template-columns: 1fr auto; row-gap: 4px; }
  .row .v { text-align: left; font-size: 15px; }
  .row .x { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .row.head { display: none; }
  .row .v.red::before { content: "De store "; color: var(--dim); font-family: var(--text); }
  .row .v.green::before { content: "MotPark "; color: var(--dim); font-family: var(--text); }
}

/* Letter */
.letter { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.65; max-width: 36em; }
.letter p { margin: 0 0 20px; }
.letter .sig { font-family: Georgia, serif; font-style: italic; font-size: 34px; color: var(--sign); margin-top: 30px; }

/* Questions */
.qs-head { position: sticky; top: 32px; align-self: start; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 2px solid var(--ink); }
summary { list-style: none; cursor: pointer; font-weight: 700; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.015em; line-height: 1.25; padding: 22px 0; display: flex; justify-content: space-between; gap: 24px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--wide); font-weight: 400; color: var(--sign); }
details[open] summary::after { content: "–"; }
details p { max-width: 58ch; margin: 0; padding: 0 0 26px; color: var(--dim); }
@media (max-width: 860px) { .qs-head { position: static; } }

/* Operators: back to the sign field */
.operators { background: var(--sign); color: var(--white); }
.operators h2 { color: var(--white); font-size: clamp(32px, 4.4vw, 68px); max-width: 14ch; }
.operators p { opacity: .92; max-width: 50ch; }
.operators .plates { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.operators .plate { text-align: left; }

/* Footer */
footer { background: var(--ground); padding: clamp(48px, 6vw, 80px) var(--gutter) 0; overflow: hidden; }
.foot { display: flex; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; font-size: 15px; color: var(--dim); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot p { margin: 0; max-width: 46ch; }
.giant { font-family: var(--wide); font-weight: 900; letter-spacing: -.06em; line-height: .78; font-size: 17vw; color: var(--sign); margin: clamp(40px, 6vw, 80px) 0 0 -.04em; white-space: nowrap; user-select: none; }

/* Legal pages */
.legal-top { background: var(--sign); color: var(--white); }
.legal-top .nav { padding-bottom: 0; }
.legal-top .title { padding: clamp(40px, 7vw, 100px) var(--gutter) clamp(36px, 5vw, 64px); }
.legal-top .eyebrow { opacity: .85; }
.legal-top h1 { font-size: clamp(38px, 6.4vw, 104px); max-width: 16ch; }
.legal-top .meta { font-family: var(--mono); font-size: 13px; margin: 22px 0 0; opacity: .85; }
.legal-page { padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(72px, 9vw, 120px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: clamp(24px, 5vw, 80px); }
.legal-page > .side { position: sticky; top: 24px; align-self: start; }
.legal-page > .body { max-width: 70ch; }
.legal-page h2 { font-size: 22px; letter-spacing: -.01em; margin: 48px 0 12px; display: flex; gap: 14px; align-items: baseline; line-height: 1.2; }
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page h2 .n { font-family: var(--mono); font-size: 14px; color: var(--sign); font-weight: 600; min-width: 1.8em; }
.legal-page ul { padding-left: 20px; }
.legal-page li { margin-bottom: 8px; }
.legal-page table { border-collapse: collapse; width: 100%; font-size: 15px; display: block; overflow-x: auto; margin: 8px 0; }
.legal-page th, .legal-page td { text-align: left; vertical-align: top; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--line); }
.legal-page th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.toc { list-style: none; padding: 0 !important; margin: 0; font-size: 15px; display: grid; gap: 6px; }
.toc a { text-decoration: none; color: var(--dim); }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.callout { background: var(--white); border-left: 6px solid var(--sign); padding: 6px 22px; margin: 0 0 40px; }
.fill { background: var(--mark); font-family: var(--mono); font-size: .86em; padding: 1px 6px; border-radius: 3px; }
@media (max-width: 860px) { .legal-page { grid-template-columns: 1fr; } .legal-page > .side { position: static; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Prisen er låst */
.lock-lede { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.55; max-width: 36em; margin: 0 0 32px; }
.locks { list-style: none; counter-reset: lock; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
/* The number hangs in the margin. Not a grid: every loose text run in the li
   would become its own grid cell and wrap one word per line. */
.locks li { counter-increment: lock; position: relative; padding: 20px 0 20px calc(2.2em + 14px); border-bottom: 1px solid var(--line); max-width: 60ch; }
.locks li::before { content: counter(lock, decimal-leading-zero); position: absolute; left: 0; top: 25px; font-family: var(--mono); font-size: 14px; color: var(--sign); font-weight: 600; }
.locks b { display: block; font-size: clamp(19px, 1.6vw, 24px); letter-spacing: -.015em; margin-bottom: 4px; }
.locks li { color: var(--dim); } .locks b { color: var(--ink); }

/* Operators: the offer */
.offer { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.4); max-width: 52ch; }
.offer li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.25); font-size: 17px; }
