/* Dansk Kemisortering – site stylesheet.
   Hand-written, no build step. No inline styles are used in templates,
   so the strict CSP (style-src 'self') keeps working. */

@font-face { font-family: "DejaVu Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/dejavu-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/instrument-sans-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ibm-plex-mono-700.woff2") format("woff2"); }

:root {
  --ground: #F4F2E9;
  --paper: #FFFFFF;
  --ink: #0E2A33;
  --muted: #3F565E;
  --muted-2: #4D646C;
  --teal: #00859B;
  --teal-deep: #0A6070;
  --deep: #0A4F5C;
  --signal: #E2D43B;
  --line: #D9D6C6;
  --sand: #E9E6D6;
  --tint: #DCEEF0;
  --panel: #143742;
  --f-display: "DejaVu Sans", Verdana, "Segoe UI", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .contact :focus-visible, .ai :focus-visible { outline-color: var(--signal); }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip-link:focus { left: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* typography helpers */
.eyebrow { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 20px; }
.h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; letter-spacing: -.005em; }
.sub { font-size: 19px; color: var(--muted); max-width: 38em; }

/* header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 10px; display: block; }
.brand span { font-family: var(--f-display); font-weight: 700; font-size: 17px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.site-nav a { text-decoration: none; }
.site-nav .btn-call { background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 999px; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; padding: 16px 28px; border-radius: 14px; min-height: 52px; }
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn svg { width: 18px; height: 18px; }

/* hero */
.hero { padding: 56px 0 88px; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-text { flex: 1 1 520px; min-width: 0; }
.hero h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 4vw, 54px); line-height: 1.12; letter-spacing: -.01em; margin-bottom: 24px; }
.hero .lead { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 34em; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; font-weight: 500; color: var(--muted); }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.hero-visual { flex: 1 1 420px; min-width: 0; }
.scan-card { background: var(--ink); border-radius: 28px; padding: clamp(16px, 2.5vw, 28px); aspect-ratio: 4 / 5; display: flex; align-items: center; }
.scan-card img { width: 100%; height: auto; display: block; border-radius: 16px; }

/* problem / solution */
.compare-section { padding: 24px 0 96px; }
.compare-section .h2 { max-width: 18em; margin-bottom: 12px; }
.compare-section .sub { margin-bottom: 40px; }
.compare { display: flex; flex-wrap: wrap; gap: 24px; }
.compare-card { flex: 1 1 440px; min-width: 0; border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.compare-card--flat { background: var(--sand); }
.compare-card--brand { background: var(--deep); color: #fff; }
.compare-card .label { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.compare-card--brand .label { color: var(--signal); }
.compare-card h3 { font-family: var(--f-display); font-weight: 700; font-size: 23px; line-height: 1.25; }
.compare-card p { color: var(--muted); }
.compare-card--brand p { color: #D6E8EB; }
.compare-card img { width: 92px; height: auto; margin-top: 8px; }

/* AI / plant */
.ai { background: var(--ink); color: #fff; padding: 96px 0; }
.ai-grid { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.ai-text { flex: 1 1 480px; min-width: 0; }
.ai-flow-wrap { flex: 1 1 440px; min-width: 0; }
.tag-signal { display: inline-block; background: var(--signal); color: var(--ink); font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 6px; margin-bottom: 18px; }
.ai h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; letter-spacing: -.005em; margin-bottom: 24px; }
.ai p { font-size: 19px; color: #CFE3E7; }
.flow { background: var(--panel); border-radius: 24px; padding: 28px; }
.flow-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #9FBDC4; margin-bottom: 18px; }
.flow-step { background: var(--ink); border-radius: 14px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
.flow-num { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: #2B5560; display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 14px; }
.flow-step strong { font-weight: 700; }
.flow-step small { display: block; font-size: 15px; color: #B9D1D6; }
.flow-step--active { background: var(--signal); color: var(--ink); }
.flow-step--active .flow-num { background: var(--ink); color: #fff; }
.flow-step--active small { color: var(--ink); }
.flow-line { width: 2px; height: 18px; background: #3C6671; margin-left: 33px; }
.flow-outs { display: flex; flex-wrap: wrap; gap: 10px; }
.flow-out { flex: 1 1 180px; min-width: 0; background: var(--ink); border-radius: 14px; padding: 14px 16px; font-size: 15px; }
.flow-out strong { display: block; font-weight: 700; }
.flow-out span { color: #B9D1D6; }

/* supply: where do the fractions go */
.supply-section { padding: 96px 0; }
.supply { background: var(--tint); border-radius: 28px; padding: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.supply-text { flex: 1 1 420px; min-width: 0; }
.supply-text .h2 { margin-bottom: 20px; }
.supply-lead { font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1.35; margin-bottom: 16px; }
.supply-text p:last-child { font-size: 17px; color: var(--muted); }
.supply-flow { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; align-items: stretch; }
.tile-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tile { min-width: 0; background: #fff; border: 1px solid #C9DFE2; border-radius: 18px; padding: 16px 20px; }
.tile-row .tile { flex: 1 1 150px; }
.tile .label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.tile strong { font-weight: 700; font-size: 17px; }
.tile--dark { background: var(--ink); color: #fff; border: 0; padding: 22px; }
.tile--dark strong { font-family: var(--f-display); font-size: 21px; line-height: 1.25; }
.arrow { display: flex; justify-content: center; padding: 6px 0; }
.arrow svg { width: 24px; height: 32px; }

/* benefits */
.benefits-section { padding: 0 0 96px; }
.benefits-section .h2 { margin-bottom: 40px; }
.benefits { display: flex; flex-wrap: wrap; gap: 20px; }
.benefit { flex: 1 1 300px; min-width: 0; border-top: 3px solid var(--ink); padding-top: 20px; }
.benefit h3 { font-family: var(--f-display); font-weight: 700; font-size: 19px; line-height: 1.3; margin-bottom: 10px; }
.benefit p { color: var(--muted); }

/* UN Sustainable Development Goals (official goal colours) */
.sdg-section { padding: 0 0 96px; }
.sdg-section .h2 { margin-bottom: 12px; }
.sdg-section .sub { margin-bottom: 40px; }
.sdg-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.sdg-card { --sdg: var(--ink); flex: 1 1 300px; min-width: 0; background: #fff; border: 1px solid #E3E0D0; border-top: 4px solid var(--sdg); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.sdg-card--12 { --sdg: #BF8B2E; }
.sdg-card--9 { --sdg: #FD6925; }
.sdg-card--3 { --sdg: #4C9F38; }
.sdg-head { display: flex; align-items: center; gap: 14px; }
.sdg-num { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 16px; background: var(--sdg); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 700; font-size: 26px; }
.sdg-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.sdg-card h3 { font-family: var(--f-display); font-weight: 700; font-size: 19px; line-height: 1.3; }
.sdg-card p { font-size: 16px; color: var(--muted); }
.sdg-card .sdg-target { margin-top: auto; align-self: flex-start; background: var(--tint); color: var(--teal-deep); font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; padding: 5px 10px; border-radius: 6px; }

/* FAQ */
.faq { background: #fff; padding: 96px 0; }
.faq-grid { display: flex; flex-wrap: wrap; gap: 48px; }
.faq-head { flex: 1 1 300px; min-width: 0; }
.faq-list { flex: 2 1 520px; min-width: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--f-display); font-weight: 700; font-size: 17px; line-height: 1.4; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* contact */
.contact { background: var(--deep); color: #fff; padding: 96px 0; }
.contact-grid { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-main { flex: 1 1 400px; min-width: 0; }
.contact h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; letter-spacing: -.005em; margin-bottom: 16px; }
.contact-lead { font-size: 19px; color: #D6E8EB; max-width: 28em; margin-bottom: 32px; }
.contact-actions { display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.btn-lg { justify-content: center; font-size: 20px; padding: 18px 24px; min-height: 56px; }
.btn--outline-light { border: 1.5px solid #fff; color: #fff; font-size: 18px; font-weight: 700; padding: 16px 24px; }
.btn-lg svg { width: 20px; height: 20px; }
.addresses { flex: 1 1 400px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; align-items: stretch; align-content: start; }
.address-card { background: var(--ink); border-radius: 20px; padding: 24px; }
.address-card .label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--signal); margin-bottom: 10px; }
.address-card address { color: #E3EFF1; }
.address-card strong { font-weight: 700; }

/* footer */
.site-footer { background: var(--ink); color: #B9D1D6; padding: 40px 0; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; }
.site-footer a { text-decoration: underline; }

@media (max-width: 700px) {
  .scan-card { aspect-ratio: auto; }
}
@media (max-width: 520px) {
  .site-nav .nav-link { display: none; }
  .compare-card { padding: 28px; }
}
