/* stafet.net (ST-216): the frontpage and /privatliv, as the design canvas draws them. Light only, Danish only.
   Every style lives here, none inline: the site's Content-Security-Policy allows styles from this host alone. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --paper: #F7F7F5;
  --navy: #102A43;
  --ink: #0B1B2B;
  --muted: #4b5b6b;
  --body: #2c3e50;
  --link: #1f5f8b;
  --line: #dddbd3;
  --line-soft: #efede8;
  --sand: #efede8;
  --mist: #E3EAF1;
  --white: #FFFFFF;
  --orange: #F2542D;
  --orange-text: #B8401A;
  --orange-tint: #fce7df;
  --green: #1f7a4c;
  --green-tint: #e1f1e7;
  --red: #a63d2f;
  --red-tint: #f8e4e0;
  --critical: #a3146b;
  --pebble: #bdbbb1;
  --field: #8c8a81;
  --shadow: 0 2px 4px rgba(16, 42, 67, 0.05), 0 12px 32px rgba(16, 42, 67, 0.07);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: "Manrope", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-hyphens: auto;
  hyphens: auto;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; -webkit-hyphens: manual; hyphens: manual; }
p { margin: 0; text-wrap: pretty; }
img { display: block; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
html { scroll-behavior: smooth; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 20; background: var(--navy); color: var(--white); padding: 12px 16px; border-radius: 8px; }
.skip:focus { top: 12px; color: var(--white); }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none;
  border: 2px solid var(--navy); cursor: pointer; -webkit-hyphens: none; hyphens: none; white-space: nowrap;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--ink); color: var(--white); }
.btn-primary[disabled] { opacity: 0.7; cursor: progress; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--mist); color: var(--navy); }
.btn-small { min-height: 44px; }
.navlink {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--navy);
  text-decoration: none; font-weight: 600; font-size: 15px; -webkit-hyphens: none; hyphens: none; white-space: nowrap;
}
.navlink:hover { color: var(--link); text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(247, 247, 245, 0.94); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.site-header-plain { position: static; background: var(--paper); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; }
.brand img { width: 120px; height: auto; }
.site-nav { display: flex; gap: 24px; align-items: center; }
.header-actions { display: flex; gap: 12px; align-items: center; }

/* Sections */
.band { padding: 112px 0; scroll-margin-top: 72px; }
.band-white { background: var(--white); border-block: 1px solid var(--line); }
.band-dark { background: var(--navy); color: var(--paper); }
.band-mist { background: var(--mist); }
.band-problem { padding: 96px 0; }
.stack { display: flex; flex-direction: column; }
.gap-40 { gap: 40px; }
.gap-48 { gap: 48px; }
.gap-56 { gap: 56px; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.section-head-wide { max-width: 760px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.band-dark .eyebrow { color: #A9B8C6; }
.h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.02em; }
.lead { color: var(--muted); font-size: 19px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split > * { min-width: 0; }

/* Hero */
.hero { padding: 88px 0 96px; }
.hero .split { align-items: center; }
.hero-text { flex: 1 1 440px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 68px); font-weight: 800; letter-spacing: -0.03em; }
.hero-lead { font-size: 21px; color: var(--muted); max-width: 36ch; }
.buttons { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 8px; }

/* The relay on the hero: one row per role, each leg starting when the one before it ends */
.relay { flex: 1 1 520px; margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.relay-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.relay-title { font-weight: 800; font-size: 17px; }
.relay-weeks { font-size: 14px; color: var(--muted); }
.relay-rows { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; }
.relay-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: center; }
.relay-role { font-size: 14px; font-weight: 700; }
.relay-track { position: relative; height: 44px; }
.leg {
  position: absolute; top: 0; bottom: 0; border-radius: 22px; font-size: 14px; font-weight: 700; display: flex;
  align-items: center; gap: 10px; padding: 0 16px; white-space: nowrap; overflow: hidden; -webkit-hyphens: none; hyphens: none;
}
.leg-done { left: 0; width: 34%; background: #E7ECF1; color: var(--navy); }
.leg-ready { left: 28%; width: 38%; background: var(--green-tint); color: var(--green); }
.leg-running { left: 28%; width: 40%; background: var(--orange-tint); color: var(--orange-text); padding-left: 10px; }
.leg-waiting { left: 60%; width: 40%; background: var(--red-tint); color: var(--red); }
.dot { flex: none; width: 14px; height: 14px; border-radius: 7px; background: var(--orange); }
.relay figcaption { font-size: 14px; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line-soft); margin-top: 18px; }

/* Columns of points, steps and cards */
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.point { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 3px solid var(--navy); }
.point h3 { font-size: 21px; font-weight: 700; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.step-number { font-size: 44px; font-weight: 800; color: var(--navy); line-height: 1; }
.steps h3 { font-size: 22px; font-weight: 700; }

/* The views, as tabs */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.tab {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--pebble); background: var(--white);
  color: var(--navy); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.tabpanel { display: flex; flex-direction: column; gap: 20px; }
.tabpanel[hidden] { display: none; }

.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.column { background: var(--sand); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.column-running { border-top: 4px solid var(--orange); }
.column-name { font-weight: 800; font-size: 15px; }
.ticket { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.ticket-key { font-size: 13px; color: var(--muted); font-weight: 700; }
.ticket-title { font-weight: 700; font-size: 16px; }
.badge { font-size: 13px; font-weight: 700; border-radius: 999px; padding: 2px 10px; align-self: flex-start; }
.badge-ready { color: var(--green); background: var(--green-tint); }
.badge-waiting { color: var(--red); background: var(--red-tint); }
.badge-running { color: var(--orange-text); background: var(--orange-tint); }

.timeline { border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.timeline-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 12px; align-items: center; }
.timeline-name { font-size: 14px; font-weight: 700; }
.timeline-track { position: relative; height: 28px; }
.tl-bar { position: absolute; top: 4px; bottom: 4px; border-radius: 10px; background: var(--navy); }
.tl-bar-done { left: 0; width: 22%; background: #bdc8d3; }
.tl-bar-bank { left: 22%; width: 30%; box-shadow: inset 6px 0 0 var(--orange); }
.tl-bar-accruals { left: 22%; width: 20%; }
.tl-bar-approve { left: 52%; width: 18%; }
.critical { outline: 2px solid var(--critical); outline-offset: 2px; }
.milestone { position: absolute; left: 70%; width: 4px; top: 2px; bottom: 2px; background: var(--navy); }
.milestone-label { position: absolute; left: calc(70% + 12px); top: 2px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.legend { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.legend-swatch { display: inline-block; flex: none; width: 18px; height: 10px; border-radius: 4px; outline: 2px solid var(--critical); }

.network { border: 1px dashed var(--field); border-radius: 12px; padding: 32px; display: flex; gap: 20px; align-items: center; justify-content: center; flex-wrap: wrap; }
.node { border: 1px solid var(--pebble); border-radius: 10px; padding: 10px 16px; font-weight: 700; font-size: 15px; background: var(--white); }
.node.critical { border: 2px solid var(--critical); outline: none; }
.arrow { color: var(--muted); }
.strong { color: var(--navy); font-weight: 800; }

/* People and agents */
.agents-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }
.agents-text p { color: #C3CFDA; font-size: 19px; }
.agents-list { flex: 1 1 420px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.agents-list li { background: #163654; border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.agents-list h3 { font-size: 19px; font-weight: 700; color: var(--white); }
.agents-list p { color: #C3CFDA; }

/* Who it is for */
.audiences { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.audience { padding: 36px; gap: 16px; }
.audience h3 { font-size: 24px; font-weight: 800; }
.audience ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* Where Stafet is today */
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.roadmap li { padding: 24px 24px 24px 0; border-top: 4px solid var(--pebble); display: flex; flex-direction: column; gap: 10px; }
.roadmap .live { border-top-color: var(--navy); }
.roadmap .now { border-top-color: var(--orange); }
.roadmap h3 { font-size: 20px; font-weight: 700; }
.roadmap p:last-child { color: var(--muted); font-size: 16px; }
.stage { font-size: 14px; font-weight: 800; color: var(--muted); }
.live .stage { color: var(--green); }
.now .stage { color: var(--orange-text); }

/* Price */
.pricing { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-end; justify-content: space-between; }
.pricing .section-head { flex: 1 1 520px; min-width: 0; }

/* The waitlist form */
.waitlist-text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 20px; }
.panel { flex: 1 1 440px; min-width: 0; background: var(--white); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow); }
.panel[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; }
label { font-weight: 700; font-size: 15px; }
input, textarea {
  font: inherit; font-size: 16px; color: var(--navy); background: var(--white); border: 1px solid var(--field);
  border-radius: 8px; padding: 12px 14px; width: 100%; min-height: 48px;
}
textarea { resize: vertical; }
.hint { font-size: 14px; color: var(--muted); }
.alert { background: var(--red-tint); color: var(--red); border-radius: 10px; padding: 14px 16px; font-size: 16px; font-weight: 600; }
.alert[hidden] { display: none; }
.alert a { color: var(--red); }
/* The honeypot (ST-217, ST-235): a field no person sees, so only a robot fills it in. */
.hp { display: none; }
.panel .btn { align-self: flex-start; }
.thanks { padding: 40px 32px; gap: 12px; }
.thanks h3 { font-size: 24px; font-weight: 800; }
.tick { width: 48px; height: 48px; border-radius: 24px; background: var(--green-tint); color: var(--green); font-size: 24px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* Questions */
.faq-title { flex: 1 1 300px; }
.faq-list { flex: 2 1 560px; }
details { border-top: 1px solid var(--line); padding: 8px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style-position: inside; min-height: 44px; padding: 8px 0; display: list-item; }
details p { color: var(--muted); padding: 4px 0 12px; max-width: 64ch; }

/* Footer */
.site-footer { background: var(--ink); color: #C3CFDA; padding: 64px 0 48px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start; }
.footer-about { display: flex; flex-direction: column; gap: 16px; max-width: 360px; font-size: 16px; }
.footer-about img { width: 120px; height: auto; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(140px, auto)); gap: 0 48px; font-size: 16px; }
.footer-nav a, .footer-links a { color: var(--paper); display: inline-flex; align-items: center; min-height: 44px; }
.footer-nav a:hover, .footer-links a:hover { color: var(--white); }
.legal { font-size: 14px; border-top: 1px solid #1d3a57; padding-top: 24px; }
.site-footer-short { padding: 48px 0; }
.site-footer-short .wrap { flex-direction: row; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.site-footer-short .legal { border: 0; padding: 0; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 16px; }

/* The privacy page and the page that is not found */
.doc-main { padding: 72px 0 112px; }
.doc { max-width: 760px; display: flex; flex-direction: column; gap: 20px; line-height: 1.6; }
.doc h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.doc h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; padding-top: 16px; line-height: 1.2; }
.doc h3 { font-size: 19px; font-weight: 700; line-height: 1.2; }
.doc p, .doc li { color: var(--body); }
.doc .intro { font-size: 20px; color: var(--muted); }
.doc .updated { font-size: 15px; color: var(--muted); }
.doc ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.table-scroll { overflow-x: auto; }
.doc table { border-collapse: collapse; width: 100%; font-size: 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 700; background: var(--line-soft); }

/* A narrow screen: the header's menu goes, the bands tighten and the drawings rearrange to fit */
@media (max-width: 860px) {
  .site-nav { display: none; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .band { padding: 72px 0; }
  .band-problem { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .split { gap: 40px; }
  .doc-main { padding: 48px 0 80px; }
}

@media (max-width: 600px) {
  .site-header { position: static; background: var(--paper); }
  .site-header .bar { gap: 12px; min-height: 64px; }
  .brand img { width: 96px; }
  .header-actions { gap: 8px; }
  .header-actions .login-link { display: none; }
  .header-actions .btn { padding: 0 16px; font-size: 15px; }
  .band { scroll-margin-top: 0; }
  .hero-lead { font-size: 19px; }
  .relay { padding: 20px 16px; }
  .relay-row { grid-template-columns: 1fr; gap: 6px; }
  .leg { font-size: 13px; padding: 0 14px; }
  .leg-ready, .leg-running { left: 14%; width: auto; right: 0; }
  .leg-done { width: auto; right: 30%; }
  .leg-waiting { left: 30%; width: auto; right: 0; }
  .card { padding: 24px; }
  .audience { padding: 28px 24px; }
  .board { grid-template-columns: 1fr; }
  .timeline { padding: 16px; }
  .timeline-row { grid-template-columns: 1fr; gap: 4px; }
  .network { flex-direction: column; padding: 24px 16px; gap: 12px; }
  .arrow { transform: rotate(90deg); }
  .roadmap li { padding-right: 0; }
  .panel { padding: 24px 20px; }
  .thanks { padding: 32px 20px; }
  .footer-nav { grid-template-columns: 1fr; }
}

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