/* Tavleo marketing site — tokens */
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('/assets/fonts/SchibstedGrotesk-latin.woff2') format('woff2');
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Martian Mono';
  src: url('/assets/fonts/MartianMono-latin.woff2') format('woff2');
  font-weight: 300 800; font-style: normal; font-display: swap;
}

:root {
  --bg: #F3F5F0;
  --bg-2: #E8ECE4;
  --ink: #0F1F19;
  --moss: #586860;
  --line: #D3D9CF;
  --tavle: #163A2E;
  --tavle-2: #1D483A;
  --kritt: #F7F3E6;
  --kritt-dim: rgba(247, 243, 230, .62);
  --amber: #F0B23C;
  --error: #9B2A1C;
  --sans: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Martian Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --r: 10px;
  --r-lg: 14px;
  --wrap: 1180px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55;
  font-feature-settings: 'ss01', 'kern';
}
img, svg { display: block; }
figure { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .14em; }
h1, h2, h3, p, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -3rem; background: var(--ink); color: var(--kritt); padding: .5rem .9rem; border-radius: 0 0 var(--r) var(--r); z-index: 20; }
.skip:focus { top: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.section-dark :focus-visible { outline-color: var(--amber); }

/* Brand: «tavle» + an o drawn as a screen with one lit pixel */
.brand { display: inline-flex; align-items: baseline; gap: .05em; text-decoration: none; font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; line-height: 1; }
.brand-word { display: inline-block; }
.brand-o { width: .6em; height: .6em; align-self: center; transform: translateY(.07em); }
.brand-o rect { fill: none; stroke: currentColor; stroke-width: 4.4; }
.brand-dot { fill: var(--amber); }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.top-nav { display: flex; gap: 1.4rem; margin-left: auto; font-weight: 500; font-size: .98rem; }
.top-nav a { text-decoration: none; color: var(--moss); white-space: nowrap; }
.top-nav a:hover { color: var(--ink); }
/* Norsk / English: the other language's version of the page. On the legal pages it follows the logo alone. */
.lang-switch { font-weight: 600; font-size: .92rem; color: var(--moss); text-decoration: none; white-space: nowrap; padding: .45rem 0; min-width: 24px; text-align: center; }
.lang-switch:hover { color: var(--ink); text-decoration: underline; }
.top-row > .brand + .lang-switch { margin-left: auto; }
@media (min-width: 801px) { .top-nav + .lang-switch { padding-left: 1.5rem; border-left: 1px solid var(--line); } }
.lang-switch .ls-short { display: none; }
@media (max-width: 379px) { .top-row { gap: 1rem; } }
/* Short label only where the switch shares the bar with the button (not on the legal pages); the full word fits from 360 px */
@media (max-width: 359px) {
  .top .btn-small { padding-inline: .75rem; }
  .lang-switch:not(:last-child) .ls-short { display: inline; }
  .lang-switch:not(:last-child) .ls-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.top .btn-small { transition: opacity .2s ease, visibility .2s; }
.top .btn-small.is-hidden { opacity: 0; visibility: hidden; }
@media (max-width: 800px) { .top-nav { display: none; } .top .btn-small, .top .lang-switch { margin-left: auto; } .top .lang-switch + .btn-small { margin-left: 0; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--ink); color: var(--kritt); border: 2px solid var(--ink);
  border-radius: 8px; padding: .8rem 1.25rem; font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .12s ease, background .15s ease;
}
.btn:hover { background: var(--tavle); border-color: var(--tavle); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: .55rem 1rem; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--ink); }

.eyebrow { font-weight: 600; font-size: .95rem; color: var(--moss); text-wrap: balance; }

/* Hero: one column, the screen at full width */
.hero { padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 7vw, 6rem); }
.hero-wrap { display: grid; gap: clamp(2.5rem, 4vw, 3.5rem); }
.hero-wrap > * { min-width: 0; }
/* Norwegian compounds («personopplysningssikkerheten») must break on narrow phones instead of widening the page. */
h1, h2, h3, .h2 { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 12 5 5; }
.hero-copy > * + * { margin-top: 1.25rem; }
.nobr { white-space: nowrap; }
h1 .eyebrow { display: block; margin-bottom: 1.25rem; line-height: 1.55; letter-spacing: normal; }
@media (min-width: 861px) { .hero-copy h1.has-eyebrow { margin-top: 0; } h1 .eyebrow { margin-bottom: 1rem; } }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.02; letter-spacing: -.02em; font-weight: 800; max-width: 26ch; text-wrap: balance; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.45; max-width: 40ch; }
@media (min-width: 861px) {
  .hero-copy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  .hero-copy > * + * { margin-top: 0; }
  .hero-copy .eyebrow { grid-column: 1 / -1; grid-row: 1; }
  .hero-copy h1 { grid-column: 1 / -1; grid-row: 2; margin-top: 1rem; }
  .hero-copy .lede { grid-column: 1; grid-row: 3 / span 2; margin-top: 1.4rem; }
  .hero-copy .start-form { grid-column: 2; grid-row: 3; margin-top: 1.4rem; }
  .hero-copy .start-note { grid-column: 2; grid-row: 4; margin-top: .8rem; }
}

.start-label { display: block; font-weight: 600; margin-bottom: .6rem; font-size: 1.02rem; text-wrap: balance; }
.start { display: flex; gap: .5rem; padding: .35rem; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; box-shadow: 0 1px 0 rgba(15,31,25,.04), 0 12px 30px -18px rgba(15,31,25,.35); }
.start:focus-within { border-color: var(--ink); }
.start:has([aria-invalid="true"]) { border-color: var(--error); }
.start input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .7rem 1rem; font-size: 1.05rem; text-overflow: ellipsis; }
.start input::placeholder { color: #62706A; }
.start input:focus-visible { outline: none; }
.start .btn { flex: none; }
.start-error { margin-top: .6rem; font-size: .95rem; font-weight: 600; color: var(--error); }
.start-error:empty { margin-top: 0; }
.start-note { font-size: .92rem; color: var(--moss); margin-top: .8rem; text-wrap: balance; }
@media (max-width: 560px) {
  .start { flex-direction: column; padding: .5rem; }
  .start input { padding: .8rem .9rem; }
  .start .btn { width: 100%; }
}

/* The screen that writes itself */
.say { font-size: clamp(1rem, 1.5vw, 1.3rem); color: var(--moss); margin: 0 0 1rem .2rem; text-wrap: balance; }
.say-label { font-weight: 600; margin-right: .25rem; }
.say-text { color: var(--ink); font-weight: 600; }
.say.typing [data-rest] { visibility: hidden; }
[data-typed]::after { content: ''; display: inline-block; width: 2px; height: 1em; background: var(--ink); margin-left: 2px; vertical-align: -.15em; opacity: 0; }
.say.typing [data-typed]::after { opacity: 1; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.tv { aspect-ratio: 16 / 9; background: #0B1512; border-radius: 12px; padding: 7px; box-shadow: 0 30px 60px -30px rgba(15,31,25,.55), 0 2px 0 rgba(255,255,255,.4) inset; }
.screen { --sc-bg: var(--tavle); --sc-card: var(--tavle-2); --sc-fg: var(--kritt); --sc-dim: var(--kritt-dim); --sc-acc: var(--amber); --sc-line: rgba(247,243,230,.14); --sc-tag: var(--sc-dim); --sc-tagline: rgba(247,243,230,.22);
  width: 100%; height: 100%; background: var(--sc-bg); border-radius: 6px; overflow: hidden; color: var(--sc-fg); display: grid; grid-template-rows: auto 1fr auto; container-type: inline-size; transition: background .5s ease; }
.js .tv:not(.on) .screen { background: #000; }
.js .screen > *, .js .s-card { opacity: 0; transform: translateY(4px); transition: opacity .45s ease, transform .45s ease; }
.js .s-events li { opacity: 0; transform: translateX(-6px); transition: opacity .4s ease, transform .4s ease; }
.js .screen .show, .js .tv.static .screen > *, .js .tv.static .s-card, .js .tv.static .s-events li { opacity: 1; transform: none; }

.s-top { display: flex; justify-content: space-between; align-items: flex-start; padding: 4.2cqw 4.5cqw 0; }
.s-name { font-size: 3.2cqw; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 1.4cqw; }
.s-tag { font-family: var(--mono); font-size: max(1.2cqw, 9px); font-weight: 400; color: var(--sc-tag); border: 1px solid var(--sc-tagline); border-radius: 4px; padding: .15cqw 1cqw; }
.s-clock { text-align: right; }
.s-time { display: block; font-family: var(--mono); font-size: 3.8cqw; font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.s-date { display: block; font-size: 1.9cqw; color: var(--sc-dim); margin-top: .6cqw; }

.s-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3cqw; padding: 3cqw 4.5cqw 0; min-height: 0; overflow: hidden; }
.s-main { position: relative; min-height: 0; overflow: hidden; }
.s-h { font-family: var(--mono); font-size: 1.7cqw; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--sc-dim); margin-bottom: 1.4cqw; }
.s-events li { display: grid; grid-template-columns: 11cqw 1fr; grid-template-areas: 'when what' 'when where'; column-gap: 2cqw; padding: 1.3cqw 0; border-top: 1px solid var(--sc-line); }
.s-when { grid-area: when; font-family: var(--mono); font-size: 1.75cqw; color: var(--sc-dim); padding-top: .45cqw; }
.s-what { grid-area: what; font-size: 2.8cqw; font-weight: 600; line-height: 1.2; }
.s-where { grid-area: where; font-size: 1.75cqw; color: var(--sc-dim); margin-top: .35cqw; }

.s-side { display: grid; gap: 1.5cqw; align-content: start; }
.s-card { background: var(--sc-card); border-radius: 1.2cqw; padding: 1.6cqw 2.2cqw; }
.s-weather { display: flex; align-items: center; gap: 2cqw; }
.s-weather svg { width: 6cqw; height: 6cqw; color: var(--sc-fg); flex: none; }
.s-weather strong { display: block; font-size: 3.4cqw; line-height: 1; letter-spacing: -.02em; }
.s-weather span { display: block; font-size: 1.75cqw; color: var(--sc-dim); margin-top: .5cqw; }
.s-bus-h { font-family: var(--mono); font-size: 1.5cqw; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--sc-dim); margin-bottom: 1.2cqw; }
.s-bus li { display: grid; grid-template-columns: auto 1fr auto; gap: 1.6cqw; align-items: center; font-size: 1.9cqw; padding: .45cqw 0; }
.s-line { font-family: var(--mono); font-size: 1.6cqw; background: var(--sc-fg); color: var(--sc-bg); border-radius: .5cqw; padding: .2cqw .8cqw; font-weight: 600; box-sizing: content-box; min-width: 3ch; text-align: center; }
.s-min { font-family: var(--mono); font-size: 1.8cqw; color: var(--sc-acc); }

.s-foot { display: flex; justify-content: space-between; align-items: center; gap: 3cqw; padding: 1.6cqw 4.5cqw 2cqw; font-size: 1.6cqw; color: var(--sc-dim); font-family: var(--mono); }
.s-msg { font-family: var(--sans); font-size: 2cqw; font-weight: 600; color: var(--sc-fg); }
/* the guest language, as the TV shows it: a second line in smaller type */
.s-msg-2 { display: block; font-weight: 400; font-size: .8em; opacity: .75; }
.s-made { display: inline-flex; align-items: center; gap: 1.4cqw; white-space: nowrap; }
.s-qr { width: 5.5cqw; height: 5.5cqw; background: #fff; padding: .4cqw; border-radius: .4cqw; }

.tv[data-theme="nord"] .screen { --sc-bg: #F7F7F4; --sc-card: #E4E9E1; --sc-fg: #14201B; --sc-dim: #5F6A64; --sc-acc: #1F4F3F; --sc-line: rgba(20,32,27,.14); --sc-tagline: rgba(20,32,27,.22); }
.tv[data-theme="varm"] .screen { --sc-bg: #F4E9D8; --sc-card: #E8D6BC; --sc-fg: #2A1B12; --sc-dim: #725A49; --sc-acc: #9A4520; --sc-line: rgba(42,27,18,.14); --sc-tagline: rgba(42,27,18,.22); }
.tv[data-theme="puls"] .screen { --sc-bg: #0B0B0D; --sc-card: #1B1D21; --sc-fg: #F6F6F2; --sc-dim: #9A9AA3; --sc-acc: #FF4B2B; --sc-line: rgba(246,246,242,.14); --sc-tagline: rgba(246,246,242,.22); }
.tv[data-theme="puls"] .s-line { background: var(--sc-acc); color: var(--sc-bg); }
.tv[data-theme="puls"] .s-min { color: var(--sc-fg); }
.s-events.s-menu li { grid-template-columns: 1fr auto; grid-template-areas: 'what when' 'where when'; }
.s-menu .s-when { color: var(--sc-fg); text-align: right; }
.s-wifi { display: flex; align-items: center; gap: 2cqw; }
.s-wifi svg { width: 7cqw; height: 7cqw; flex: none; background: #fff; color: #111; padding: .5cqw; border-radius: .4cqw; }
.s-wifi strong { display: block; font-size: 2.2cqw; line-height: 1.15; }
.s-wifi span { display: block; font-size: 1.6cqw; color: var(--sc-dim); margin-top: .5cqw; }
.s-mini li { display: grid; grid-template-columns: auto 1fr; gap: 1.6cqw; align-items: baseline; font-size: 1.9cqw; padding: .5cqw 0; }
.s-mini .s-when { grid-area: auto; font-size: 1.5cqw; padding-top: 0; min-width: 14ch; }
.s-board li { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: none; gap: 2.4cqw; align-items: center; padding: 1.8cqw 0; font-size: 2.6cqw; }
.s-board .s-line { font-size: 2cqw; padding: .35cqw 1cqw; }
.s-board .s-dest { font-weight: 600; }
.s-board .s-min { font-size: 2.4cqw; }

/* On phones the example is the portrait screen, one column, legible sizes */
.tv-note { display: none; margin-top: .9rem; font-size: .92rem; color: var(--moss); text-align: center; }
/* English pages always say why the example is Norwegian; the portrait remark only matters on phones */
html[lang="en"] .tv-note { display: block; }
.tv-note-portrait { display: none; }
@media (max-width: 560px) {
  .tv { aspect-ratio: auto; max-width: 360px; margin-inline: auto; }
  .tv-note { display: block; }
  .tv-note-portrait { display: inline; }
  html[lang="en"] .tv-note { text-align: left; }
  .s-top { padding: 5cqw 5cqw 0; gap: 3cqw; }
  .s-name { font-size: 5cqw; gap: 1cqw 2cqw; flex: 1 1 auto; flex-wrap: wrap; }
  .s-name strong, .s-date { white-space: nowrap; }
  .s-tag { font-size: max(2.6cqw, 10px); padding: .3cqw 1.4cqw; }
  .s-clock { flex: none; }
  .s-time { font-size: 6.5cqw; }
  .s-date { font-size: 3cqw; margin-top: 1cqw; }
  .s-body { grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 4cqw; padding: 4.5cqw 5cqw 0; }
  .s-h { font-size: 3cqw; margin-bottom: 2cqw; }
  .s-events li { grid-template-columns: 21cqw 1fr; column-gap: 3cqw; padding: 2.2cqw 0; }
  .s-when, .s-where { font-size: 3.4cqw; }
  .s-what { font-size: 4.4cqw; }
  .s-side { grid-template-columns: 1fr; gap: 2.5cqw; }
  .s-card { padding: 3cqw 3.5cqw; border-radius: 2.2cqw; }
  .s-weather { gap: 3cqw; }
  .s-weather svg { width: 9cqw; height: 9cqw; }
  .s-weather strong { font-size: 6cqw; }
  .s-weather span { font-size: 3.2cqw; }
  .s-bus-h { font-size: 2.8cqw; margin-bottom: 1.8cqw; }
  .s-bus li { font-size: 3.4cqw; gap: 2cqw; padding: .8cqw 0; }
  .s-line { font-size: 3cqw; padding: .4cqw 1.2cqw; }
  .s-min { font-size: 3.4cqw; }
  .s-foot { font-size: 3.1cqw; padding: 5cqw 5cqw 4cqw; flex-wrap: wrap; gap: 1.5cqw 3cqw; }
  .s-msg { font-size: 3.8cqw; }
  .s-qr { width: 8cqw; height: 8cqw; }
  .say-label { display: block; margin: 0 0 .1rem; }
  .s-wifi svg { width: 12cqw; height: 12cqw; }
  .s-wifi strong { font-size: 4cqw; }
  .s-wifi span { font-size: 3.1cqw; }
  .s-mini li { font-size: 3.4cqw; gap: 2.5cqw; padding: .9cqw 0; }
  .s-mini .s-when { font-size: 3cqw; }
  .s-board li { grid-template-columns: auto 1fr auto; font-size: 4.4cqw; gap: 3cqw; padding: 2.6cqw 0; }
  .s-board .s-line { font-size: 3.4cqw; padding: .5cqw 1.4cqw; }
  .s-board .s-min { font-size: 4cqw; }
}

/* Band with the live figure */
.band { background: var(--bg-2); color: var(--ink); padding: clamp(3rem, 6vw, 5rem) 0; }
.band-lede { font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.22; letter-spacing: -.02em; font-weight: 600; max-width: 24ch; text-wrap: balance; }
.band-num { display: inline-block; padding: .06em .3em .1em; border-radius: 6px; background: var(--tavle); color: var(--amber); font-family: var(--mono); font-size: .92em; font-weight: 600; line-height: 1.1; letter-spacing: -.03em; white-space: nowrap; }
.band-sub { margin-top: 1.5rem; max-width: 62ch; color: var(--moss); font-size: 1.05rem; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--bg-2); }
.section-dark { background: var(--tavle); color: var(--kritt); }
.section:not(.section-alt):not(.section-dark) + .section:not(.section-alt):not(.section-dark),
.section-alt + .section-alt { padding-top: 0; }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.08; letter-spacing: -.025em; font-weight: 800; text-wrap: balance; }
.p-lede { font-size: 1.15rem; line-height: 1.5; margin-top: 1rem; max-width: 46ch; color: var(--moss); }
.section-dark .p-lede { color: var(--kritt-dim); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.steps li { border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.step-n { color: var(--moss); margin-right: .1em; }
.steps h3 { font-size: 1.35rem; letter-spacing: -.015em; font-weight: 700; }
.steps p { margin-top: .6rem; color: var(--moss); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 1.5rem; } }

.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
.blocks div { border-top: 1px solid var(--line); padding-top: .9rem; }
.blocks dt { font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.blocks dd { margin: .3rem 0 0; color: var(--moss); font-size: .98rem; }
@media (max-width: 560px) { .blocks { grid-template-columns: 1fr; } }

.chat { display: grid; gap: 1.1rem; max-width: 560px; }
.chat .say { margin: 0; font-size: 1.15rem; line-height: 1.45; text-wrap: pretty; }
.chat .say-text { font-weight: 500; }
.chat .say-reply { padding-left: 1.1rem; border-left: 2px solid var(--tavle); }
.chip { display: inline-block; margin-left: .4rem; vertical-align: middle; font-family: var(--mono); font-size: .78rem; background: #fff; border: 1px solid var(--line); color: var(--ink); border-radius: 4px; padding: .2rem .6rem; }

.fresh { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem 3rem; margin-top: 2.2rem; font-size: 1.25rem; line-height: 1.35; letter-spacing: -.01em; font-weight: 500; }
.fresh li { border-top: 1px solid rgba(247,243,230,.22); padding-top: .8rem; text-wrap: balance; }
.fresh li:last-child { grid-column: 1 / -1; margin-top: 1rem; padding-top: 1.1rem; border-top: 2px solid var(--kritt); font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; padding-right: max(0px, 100% - 26ch); text-wrap: balance; }
@media (max-width: 680px) { .fresh { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; margin-top: 2.2rem; max-width: 900px; }
.plan { border-top: 2px solid var(--ink); padding-top: 1.4rem; display: flex; flex-direction: column; gap: 1.1rem; }
.plan h3 { font-size: 1.05rem; font-weight: 600; color: var(--moss); }
.plan-price strong { display: block; font-size: 2.6rem; letter-spacing: -.03em; line-height: 1; font-weight: 800; }
.plan-price span { display: block; margin-top: .4rem; color: var(--moss); }
.plan ul { display: grid; gap: .55rem; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: .2rem; }
.plan li + li { border-top: 1px solid var(--line); padding-top: .6rem; }
.plan .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 680px) { .plans { grid-template-columns: 1fr; } }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 3rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--moss); font-size: .98rem; }
.trust strong { display: block; color: var(--ink); font-weight: 700; margin-bottom: .2rem; }
@media (max-width: 680px) { .trust { grid-template-columns: 1fr; } }

.faq-wrap > * { max-width: 820px; }
.faq { margin-top: 1.8rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.2rem 1.1rem 0; font-weight: 600; font-size: 1.12rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: .4rem; top: 50%; width: .6rem; height: .6rem; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 1.2rem; color: var(--moss); max-width: 68ch; }

.cta-end .start-form { margin-top: 1.6rem; max-width: 720px; }

.foot { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; color: var(--moss); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 2rem; }
.foot p { margin-top: .6rem; max-width: 46ch; }
.brand-foot { color: var(--ink); }
.foot-src { font-size: .85rem; }
.foot-h { font-weight: 600; color: var(--ink); }
.foot-links { display: grid; gap: .35rem; margin-top: .6rem; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; color: var(--ink); }
.foot-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .screen > *, .js .s-card, .js .s-events li, .screen { transition: none; }
  .say.typing [data-typed]::after { animation: none; }
}

/* Privacy page: a plain document */
.legal .wrap { max-width: 720px; }
.legal h2 { font-size: 1.3rem; letter-spacing: -.01em; font-weight: 700; margin: 2.2rem 0 .6rem; }
.legal p { color: var(--ink); margin-top: .7rem; max-width: 66ch; }
.legal p, .legal li { text-wrap: pretty; }
@counter-style legal-alpha { system: extends lower-alpha; suffix: ") "; }
.legal-list { list-style: lower-alpha; list-style-type: legal-alpha; padding-left: 1.6rem; margin-top: .7rem; max-width: 66ch; }
.legal-list li { margin-top: .35rem; padding-left: .2rem; }
.legal-list li::marker { color: var(--moss); }
.legal-date { color: var(--moss); font-size: .95rem; margin-top: .6rem; }
.legal-summary { margin-top: 2rem; padding: 1.4rem 1.6rem; background: var(--bg-2); border-radius: var(--r-lg); }
.legal-summary h2 { margin-top: 0; }
.legal-summary li { padding-left: 1.2rem; position: relative; margin-top: .45rem; }
.legal-summary li::before { content: ''; position: absolute; left: 0; top: .6em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--tavle); }

/* Price with the trust column (homepage) */
.plans-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
.plans-3 > .trust { grid-template-columns: 1fr; align-content: start; gap: 1.1rem; margin-top: 0; max-width: none; padding-top: 1.4rem; border-top: 2px solid var(--line); }
@media (max-width: 980px) { .plans-3 { grid-template-columns: 1fr 1fr; } .plans-3 > .trust { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .plans-3 { grid-template-columns: 1fr; } .plans-3 > .trust { grid-template-columns: 1fr; } }
.fresh-h { max-width: 30ch; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
.legal-table { overflow-x: auto; margin-top: .8rem; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: .6rem .8rem .6rem 0; border-top: 1px solid var(--line); }
.legal-table th { font-weight: 700; color: var(--ink); }
@media (max-width: 600px) {
  .legal-table thead { display: none; }
  .legal-table table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; }
  .legal-table tr { border-top: 1px solid var(--line); padding: .7rem 0; }
  .legal-table td { border-top: 0; padding: .15rem 0; }
  .legal-table td:first-child { font-weight: 700; color: var(--ink); }
  .legal-table td[data-label]::before { content: attr(data-label); display: block; margin-top: .4rem; font-size: .85rem; font-weight: 600; color: var(--moss); }
}
.price-solo { margin-top: 1.4rem; max-width: 46ch; }
.eyebrow a { color: inherit; text-decoration-color: color-mix(in srgb, var(--moss) 45%, transparent); }
.eyebrow a:hover { color: var(--ink); text-decoration-color: currentColor; }
@media (max-width: 389px) { h1 { font-size: 2.15rem; } }
/* Consent box: small, bottom left, both answers equally easy (Datatilsynet). */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: .9rem; max-width: 29rem; padding: .75rem .9rem .75rem 1rem; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 28px rgba(15, 31, 25, .14); font-size: .9rem; line-height: 1.45; }
.consent p { margin: 0; flex: 1; }
.consent a { color: inherit; }
.consent-btns { display: flex; gap: .4rem; }
.consent button { font: inherit; font-weight: 600; min-width: 3.2rem; min-height: 2.4rem; padding: .35rem .8rem; border: 1px solid var(--ink); border-radius: 6px; background: transparent; color: var(--ink); cursor: pointer; }
.consent button:hover { background: var(--ink); color: var(--bg); }
.consent button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 480px) { .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
/* Guests' page behind the screen's QR (tavleo.no/e/<code>): a phone page, the screen's green on top. */
.guest { background: var(--bg); }
.guest-top { background: var(--tavle); color: var(--kritt); padding: 1.6rem 0 1.4rem; }
.guest-from { font-size: .9rem; color: var(--kritt-dim); margin-bottom: .35rem; }
.guest-h { font-size: clamp(1.9rem, 7vw, 2.6rem); line-height: 1.05; letter-spacing: -.02em; font-weight: 800; }
.guest-main { padding-top: 1rem; padding-bottom: 2.5rem; max-width: 46rem; }
.guest-status { color: var(--moss); margin: 1.2rem 0; }
.guest-day { margin-top: 1.6rem; }
.guest-day-h { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.guest-list { list-style: none; padding: 0; margin: 0; }
.guest-ev { display: grid; grid-template-columns: 6.5rem 1fr; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.guest-ev { position: relative; }
.guest-ev.no-img { grid-template-columns: 1fr; }
.guest-img { width: 6.5rem; height: 6.5rem; object-fit: cover; border-radius: 8px; background: var(--bg-2); }
.guest-body { min-width: 0; }
.guest-when { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); font-size: .95rem; }
.guest-here { display: inline-block; margin-left: .3rem; padding: .05rem .45rem; border-radius: 4px; background: var(--amber); color: var(--ink); font-size: .78rem; font-weight: 700; vertical-align: .08em; }
.guest-title { font-size: 1.08rem; line-height: 1.25; font-weight: 700; margin-top: .2rem; overflow-wrap: break-word; }
.guest-where { color: var(--moss); font-size: .92rem; margin-top: .2rem; }
.guest-blurb { font-size: .92rem; margin-top: .35rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.guest-link { color: inherit; text-decoration: none; }
.guest-link::after { content: ""; position: absolute; inset: 0; border-radius: 8px; }
.guest-link:focus-visible { outline: none; }
.guest-link:focus-visible::after { outline: 2px solid var(--ink); outline-offset: 2px; }
.guest-link:active::after { background: rgba(15, 31, 25, .06); }
.guest-more { display: inline-block; margin-top: .4rem; font-size: .92rem; font-weight: 600; color: var(--ink); text-decoration: underline; }
.guest-own { color: var(--ink); }
.guest-own .brand { vertical-align: middle; margin-right: .4rem; }
.guest-foot { border-top: 1px solid var(--line); padding: 1.4rem 0 2.2rem; font-size: .9rem; color: var(--moss); }
.guest-foot p + p { margin-top: .6rem; }
.guest-foot a { color: var(--ink); }
.guest-foot .brand { vertical-align: middle; margin-right: .4rem; }
.guest-legal a { color: var(--moss); }
@media (max-width: 480px) {
  .consent { gap: .6rem; padding: .6rem .65rem .6rem .85rem; font-size: .85rem; line-height: 1.4; }
  .consent button { min-width: 2.8rem; padding: .3rem .6rem; }
}
.guest-own { text-decoration: none; }
.guest-own [data-own-text] { text-decoration: underline; }
.guest-ticket { position: relative; z-index: 1; display: inline-block; margin: .4rem 0 0 .9rem; font-size: .92rem; font-weight: 600; color: var(--ink); }

/* 404: the English part under the Norwegian one */
.lost-en { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
/* no single word alone on the last line */
.steps h3, summary, dt { text-wrap: balance; }
.lede, .p-lede, .steps p, .faq p, .band-lede { text-wrap: pretty; }
