/* DANMARK TV – light Nordic editorial. No external fonts, no JS. */
:root {
  --red: #C8102E;
  --red-dark: #9B0C23;
  --ink: #16161A;
  --text: #2B2B31;
  --muted: #5E5E66;
  --paper: #FBF8F4;
  --white: #FFFFFF;
  --blush: #FBEAEC;
  --line: #E6DFD7;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(22, 22, 26, .06), 0 8px 24px rgba(22, 22, 26, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.65 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, .h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.2rem); margin-top: 0; }
h3, .h3 { font-size: 1.22rem; letter-spacing: -.01em; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .35em; }
code { font-family: ui-monospace, Consolas, monospace; background: var(--blush); color: var(--red-dark); padding: .1em .4em; border-radius: 6px; font-size: .95em; }
strong { color: var(--ink); }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 820px; }
.small { font-size: .92rem; }
.muted { color: var(--muted); }
.lead { font-size: 1.18rem; color: var(--text); max-width: 64ch; }
.center { text-align: center; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: .75em 1.4em; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.2; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; text-align: center; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--red-dark); }
.btn-light:hover { background: var(--blush); color: var(--red-dark); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .85); }
.btn-outline-light:hover { background: #fff; color: var(--red-dark); }
.btn-small { min-height: 40px; padding: .5em 1.1em; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5em 0 1em; }
.center-row { justify-content: center; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 244, .96); border-bottom: 1px solid var(--line); }
.site-header::before { content: ""; display: block; height: 4px; background: var(--red); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.25rem; letter-spacing: .04em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo b { color: var(--red); }
.logo:hover { color: var(--ink); }
.logo-mark { position: relative; width: 34px; height: 34px; border-radius: 9px; background: var(--red); flex: none; }
.logo-mark::before { content: ""; position: absolute; left: 7px; top: 8px; width: 20px; height: 14px; border: 3px solid #fff; border-radius: 3px; }
.logo-mark::after { content: ""; position: absolute; left: 12px; bottom: 6px; width: 10px; height: 3px; border-radius: 2px; background: #fff; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; padding: .5em .75em; border-radius: 8px; }
.nav a:not(.btn):hover { background: var(--blush); color: var(--red-dark); }
.nav a[aria-current="page"] { color: var(--red-dark); box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.nav .btn { margin-left: 8px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: .45em 1.1em; min-height: 44px; display: flex; align-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -4px 0 0 10px; }
.menu[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.menu-links { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; display: grid; gap: 2px; }
.menu-links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; padding: .7em .9em; border-radius: 10px; }
.menu-links a:not(.btn):hover, .menu-links a[aria-current="page"] { background: var(--blush); color: var(--red-dark); }
.menu-links .btn { margin-top: 8px; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red-dark); border-left: 4px solid var(--red); padding-left: 10px; margin-bottom: 1em; }
.hero-img { border-radius: 24px; box-shadow: var(--shadow); }

/* ---------- facts ---------- */
.facts-band { background: var(--ink); color: #E9E6E1; }
.facts { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.facts li { margin: 0; padding-left: 16px; border-left: 3px solid var(--red); font-size: .95rem; }
.facts strong { display: block; color: #fff; font-size: 1.12rem; }

/* ---------- sections ---------- */
.section { padding: clamp(48px, 6vw, 84px) 0; }
.section-alt { background: var(--white); border-block: 1px solid var(--line); }
.section-inner { margin-top: clamp(40px, 5vw, 64px); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rounded { border-radius: 20px; box-shadow: var(--shadow); }
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.section-alt .card { background: var(--paper); }

.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--red); }
.checks li::after { content: ""; position: absolute; left: 7px; top: calc(.45em + 4px); width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.steps { list-style: none; padding: 0; margin: 1.5em 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { margin: 0; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 1.8em 0 1.2em; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px 22px; box-shadow: var(--shadow); }
.plan.best { border: 2px solid var(--red); }
.plan .tag { position: absolute; top: -14px; left: 22px; margin: 0; background: var(--red); color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .03em; padding: 4px 12px; border-radius: 999px; }
.plan h2, .plan h3 { font-size: 1.25rem; margin-bottom: .3em; }
.price { font-size: 2.6rem; font-weight: 900; color: var(--ink); letter-spacing: -.04em; line-height: 1; margin: .1em 0 .2em; }
.per { color: var(--muted); font-size: .95rem; font-weight: 600; margin-bottom: 1em; }
.plan .checks { font-size: .95rem; flex: 1; }
.plan .btn { width: 100%; margin-top: 8px; }
.more { display: inline-block; margin-top: 12px; font-weight: 600; font-size: .95rem; }
.plan .more { text-align: center; }
.card-buy .btn-row { margin-bottom: .6em; }

/* ---------- page head, crumbs ---------- */
.page-head { padding: clamp(32px, 5vw, 60px) 0 clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--blush), var(--paper)); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .92rem; color: var(--muted); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--muted); }
.meta { color: var(--muted); font-size: .92rem; }

/* ---------- prose ---------- */
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.8em; }
.prose h2:first-child, .prose > .note:first-child + h2 { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.cols .prose { max-width: none; }
.aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.aside .btn { width: 100%; }
.note { background: var(--blush); border-left: 4px solid var(--red); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 0 0 1.5em; }
.note p:last-child { margin: 0; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 2em; }
.toc ul { margin: .5em 0 0; }
.toc p { margin: 0; }

.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .98rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--ink); color: #fff; font-weight: 700; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { color: var(--ink); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; margin: 1.2em 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.section-alt .faq details { background: var(--paper); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); padding: 16px 52px 16px 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--blush); color: var(--red-dark); display: grid; place-items: center; font-weight: 800; line-height: 1; }
.faq details[open] summary::after { content: "–"; background: var(--red); color: #fff; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .answer { padding: 14px 20px 4px; }

/* ---------- CTA ---------- */
.cta { background: var(--red); color: #fff; border-radius: 28px; padding: clamp(32px, 5vw, 56px); text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .1); }
.cta h2 { color: #fff; }
.cta p { max-width: 60ch; margin-inline: auto; }
.cta .btn-row { justify-content: center; }
.cta a:not(.btn) { color: #fff; }

/* ---------- guides ---------- */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-list h2 { font-size: 1.25rem; }
.post-list h2 a { color: var(--ink); text-decoration: none; }
.post-list h2 a:hover { color: var(--red-dark); text-decoration: underline; }

/* ---------- 404 ---------- */
.notfound { padding: clamp(60px, 10vw, 120px) 0; text-align: center; }
.notfound .lead { margin-inline: auto; }
.big-404 { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 900; color: var(--red); line-height: 1; letter-spacing: -.05em; margin: 0 0 .1em; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #D9D5CF; padding: 56px 0 28px; margin-top: 0; }
.site-footer .logo { color: #fff; }
.site-footer .logo:hover { color: #fff; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #FFD3DA; }
.site-footer h2 { color: #fff; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .8em; }
.site-footer ul { list-style: none; padding: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-grid p { margin-top: 1em; }
.legal { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 28px; padding-top: 20px; font-size: .88rem; color: #B9B4AD; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu { display: block; }
  .plans { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .cols { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .grid-3, .steps, .post-list { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .plans { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 14px; padding: 22px 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .aside { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .logo { font-size: 1.1rem; }
  th, td { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
