/* =============================================================================
   Layout of the public site. Colours, font and roundness come from theme.css.
   Phone first: the base rules are for a phone, the media queries widen.
   ============================================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px; /* the sticky header must not cover a section title */
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* "hidden" always wins, also over a display: grid or flex further down. */
[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  line-height: 1.1;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--surface);
  font-weight: 700;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 700px) {
  .wrap {
    padding: 0 36px;
  }
}

/* Pages that are mostly reading or filling in stay narrow. */
.wrap-narrow {
  max-width: 900px;
}

.page-bottom {
  padding-bottom: 72px;
}

.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Test site only -------------------------------------------------------- */

.test-band {
  padding: 6px 16px;
  background: #ffd400;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
}

.preview-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 8px 16px;
  background: #1a1a1a;
  color: #fff;
  font-size: 13px;
}

.preview-bar a {
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
}

.preview-bar a[aria-current='true'] {
  background: #ffd400;
  color: #1a1a1a;
  font-weight: 700;
}

/* A value the staff still have to decide, visible on the test site only. */
.is-placeholder {
  outline: 2px dashed #e0a800;
  outline-offset: 2px;
  background: rgba(255, 212, 0, 0.18);
  border-radius: 4px;
}

/* ---- Buttons ----------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 5px 0 var(--red-shadow);
  color: var(--accent-ink);
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 0 var(--red-shadow);
}

.button:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--red-shadow);
}

.button .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

.button-small {
  padding: 10px 18px;
  font-size: 14px;
  box-shadow: 0 4px 0 var(--red-shadow);
}

.button-block {
  width: 100%;
}

.button-quiet {
  background: var(--surface);
  box-shadow: inset 0 0 0 2px var(--line);
  color: var(--ink);
}

.button-quiet:hover,
.button-quiet:active {
  box-shadow: inset 0 0 0 2px var(--ink);
}

.button[aria-disabled='true'] {
  opacity: 0.55;
  pointer-events: none;
}

/* ---- Header ------------------------------------------------------------------ */

.bar-outer {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--page) 92%, transparent);
  backdrop-filter: blur(8px);
}

.bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  text-decoration: none;
}

.brand-dww {
  width: auto;
  height: 40px;
}

.brand-x {
  font-weight: 700;
  opacity: 0.45;
}

.brand-ksa {
  display: flex;
  flex-direction: column;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
}

.brand-ksa small {
  display: none;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  opacity: 0.8;
}

.cta-long {
  display: none;
}

.burger {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(11, 42, 107, 0.07);
  color: inherit;
  cursor: pointer;
}

/* On a phone the menu folds open under the bar. */
.menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  flex-direction: column;
  padding: 8px 20px 18px;
  background: var(--page);
  box-shadow: 0 16px 24px rgba(11, 42, 107, 0.12);
}

.menu.is-open {
  display: flex;
}

.menu a {
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.menu a:last-child {
  border-bottom: 0;
}

.menu a[aria-current='page'] {
  color: var(--accent);
}

@media (min-width: 560px) {
  .brand-dww {
    height: 48px;
  }

  .brand-ksa {
    font-size: 23px;
  }

  .brand-ksa small {
    display: block;
  }

  .cta-long {
    display: inline;
  }

  .cta-short {
    display: none;
  }
}

@media (min-width: 960px) {
  .bar {
    gap: 26px;
    min-height: 84px;
  }

  .burger {
    display: none;
  }

  .menu,
  .menu.is-open {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 24px;
    padding: 0;
    background: none;
    box-shadow: none;
  }

  .menu a {
    padding: 0;
    border: 0;
    font-size: 15px;
    font-weight: 600;
    opacity: 0.85;
  }

  .menu a:hover,
  .menu a[aria-current='page'] {
    opacity: 1;
  }
}

/* ---- Home: the top block ------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
}

/* On a phone the flame sits low, behind the panel, whatever the length of the
   text above it. */
.hero-flame {
  position: absolute;
  right: -150px;
  bottom: -40px;
  width: 400px;
  height: auto;
  transform: rotate(8deg);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 34px;
  padding-top: 26px;
  padding-bottom: 64px;
}

@media (min-width: 960px) {
  .hero-flame {
    right: -30px;
    top: 24px;
    bottom: auto;
    width: 450px;
  }

  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    align-items: center;
    gap: 56px;
    padding-top: 52px;
    padding-bottom: 88px;
  }
}

.kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* The title as two stickers, like the labels in the logo of De Warmste Week. */
.sticker-title {
  margin: 0;
  font-size: clamp(44px, 13vw, 100px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.sticker-title span {
  display: table;
  padding: 0.04em 0.2em 0.08em;
  border-radius: 0.1em;
  box-shadow: 0 0.07em 0 rgba(11, 42, 107, 0.18);
  color: var(--white);
}

.sticker-title span:first-child {
  background: var(--blue);
  transform: rotate(-3deg);
}

.sticker-title span:last-child {
  margin: 0.02em 0 0 0.35em;
  background: var(--red);
  transform: rotate(2deg);
}

@media (min-width: 960px) {
  .sticker-title {
    font-size: clamp(56px, 7.4vw, 100px);
  }
}

.lead {
  margin: 30px 0 24px;
  font-size: 19px;
  /* Justified, with automatic hyphenation so a narrow phone screen does not
     get wide gaps between long Dutch words. */
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  list-style: none;
}

.facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---- Home: the panel with the target, the counter or the result ----------------- */

.panel {
  position: relative;
  min-height: 330px;
  padding: 24px;
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow);
}

@media (min-width: 560px) {
  .panel {
    padding: 32px;
  }
}

.panel-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.big-number {
  margin: 10px 0 6px;
  font-size: clamp(54px, 15vw, 92px);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}

@media (min-width: 960px) {
  .big-number {
    font-size: clamp(56px, 6.4vw, 88px);
  }
}

.big-number .unit {
  margin-left: 0.2em;
  font-size: 0.38em;
  letter-spacing: 0;
}

.panel-note {
  margin: 0 0 22px;
  color: var(--muted);
}

.panel-line {
  margin: 0 0 8px;
  font-weight: 600;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #e8f0ff;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
}

.chip-good {
  background: #e3f6e8;
  color: #16723a;
}

.chip-hot {
  background: #ffe6e6;
  color: #b3141c;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(230, 35, 35, 0.25);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(230, 35, 35, 0);
  }
}

.countdown-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.countdown {
  display: flex;
  gap: 8px;
  margin: 0 0 24px;
}

.countdown > div {
  flex: 1;
  max-width: 84px;
  padding: 10px 0 8px;
  border-radius: 12px;
  background: var(--cream-deep);
  text-align: center;
}

.countdown b {
  display: block;
  font-size: 26px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.countdown small {
  font-size: 12px;
  color: var(--muted);
}

.progress {
  height: 14px;
  margin: 16px 0 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #f2e8da;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  transition: width 0.8s ease;
}

.blackout-number {
  display: inline-block;
  margin: 12px 0 14px;
  padding: 6px 22px 10px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--yellow);
  font-size: clamp(48px, 12vw, 76px);
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
}

.waiting-dots {
  display: flex;
  gap: 12px;
  margin: 26px 0 26px;
}

.waiting-dots span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  animation: bounce 1.2s infinite ease-in-out;
}

.waiting-dots span:nth-child(2) {
  animation-delay: 0.15s;
  background: var(--blue);
}

.waiting-dots span:nth-child(3) {
  animation-delay: 0.3s;
  background: var(--yellow);
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-14px);
  }
}

/* ---- Sections ----------------------------------------------------------------- */

.section {
  padding: 64px 0;
}

@media (min-width: 700px) {
  .section {
    padding: 80px 0;
  }
}

.section-white {
  background: var(--surface);
}

.section-title {
  margin: 0 0 30px;
  font-size: clamp(32px, 6vw, 50px);
  font-weight: 900;
}

.section-intro {
  max-width: 60ch;
  margin: -12px 0 30px;
  font-size: 18px;
}

.cards {
  display: grid;
  gap: 18px;
}

@media (min-width: 620px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.card {
  padding: 26px;
  border-radius: var(--radius-medium);
  background: var(--page);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.25;
}

.card p {
  margin: 0;
  font-size: 15.5px;
  opacity: 0.85;
  /* Justified like the introduction, with hyphenation against wide gaps. */
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.tile {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 15px;
  color: var(--white);
}

.tile .icon {
  width: 26px;
  height: 26px;
}

.tile-blue {
  background: var(--blue);
}

.tile-red {
  background: var(--red);
}

.tile-yellow {
  background: var(--yellow);
  color: var(--navy);
}

.tile-pink {
  background: var(--pink);
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.more-link .icon {
  width: 20px;
  height: 20px;
}

.more-link:hover {
  text-decoration: underline;
}

/* "Kom supporteren" */
.visit {
  display: grid;
  gap: 26px;
}

@media (min-width: 860px) {
  .visit {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

.visit-text .section-title {
  margin-bottom: 18px;
}

.visit-text p {
  max-width: 44ch;
  margin: 0 0 8px;
  font-size: 18px;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}


.info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: grid;
  gap: 2px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.info-list li:first-child {
  border-top: 1px solid var(--line);
}

@media (min-width: 460px) {
  .info-list li {
    grid-template-columns: 140px 1fr;
    gap: 16px;
  }
}

.info-list b {
  font-weight: 800;
}

.info-list span {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* ---- Logos --------------------------------------------------------------------- */

.logos-title {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  opacity: 0.7;
}

/* Every logo gets the same box and is scaled to fit inside it, so wide and
   square logos carry the same weight (scope §4). */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 620px) {
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1040px) {
  .logo-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.logo-grid-large {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 620px) {
  .logo-grid-large {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1040px) {
  .logo-grid-large {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.logo-box {
  display: grid;
  place-items: center;
  aspect-ratio: 2 / 1;
  padding: 14% 12%;
  border-radius: var(--radius-small);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: #8b94ae;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.section-white .logo-box {
  background: var(--page);
  box-shadow: none;
}

.logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-grid:not([hidden]) + .logo-invite {
  margin-top: 20px;
}

.logo-invite {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding: 12px 14px 12px 24px;
  border-radius: var(--radius-medium);
  background: var(--page);
}

.logo-invite p {
  flex: 1 1 320px;
  margin: 0;
}

/* A slimmer button, so the bar stays low. */
.logo-invite .button {
  padding: 9px 20px;
  font-size: 15px;
}

/* ---- Subpages: the heading --------------------------------------------------------- */

.page-head {
  padding-top: 34px;
  padding-bottom: 40px;
}

@media (min-width: 700px) {
  .page-head {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

.page-title {
  margin: 0 0 16px;
  font-size: clamp(38px, 8vw, 68px);
  font-weight: 900;
}

.page-title .sticker {
  display: inline-block;
  padding: 0.02em 0.18em 0.1em;
  line-height: 1;
  border-radius: 0.1em;
  background: var(--red);
  color: var(--white);
  transform: rotate(-2deg);
}

.page-intro {
  max-width: 58ch;
  margin: 0;
  font-size: 19px;
}

/* ---- Sponsor page: one box with three tabs ------------------------------------------------ */

.support-box {
  overflow: hidden;
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(11, 42, 107, 0.08);
}

/* Instead of the form, when the price or the account cannot be read (sponsor.js). */
.support-unavailable {
  margin: 0;
  padding: 28px 24px;
  font-weight: 600;
  text-align: center;
}

.tabs {
  display: flex;
  gap: 6px;
  padding: 8px;
  background: #f6ecdc;
}

.tab {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 10px 8px;
  border: 0;
  border-radius: 14px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.tab .icon {
  width: 20px;
  height: 20px;
}

.tab:hover {
  color: var(--ink);
}

.tab[aria-selected='true'] {
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(11, 42, 107, 0.12);
  color: var(--ink);
}

.tab[aria-selected='true'] .icon {
  color: var(--accent);
}

.tab-long {
  display: none;
}

/* On a phone: the icon above a short word, so three tabs fit side by side. */
@media (max-width: 639px) {
  .tab {
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
  }
}

@media (min-width: 640px) {
  .tab {
    font-size: 16px;
  }

  .tab-long {
    display: inline;
  }

  .tab-short {
    display: none;
  }
}

.tab-panel {
  padding: 26px 20px 28px;
}

@media (min-width: 700px) {
  .tab-panel {
    padding: 34px 40px 38px;
  }
}

.panel-intro {
  margin: 0 0 20px;
}

.perks {
  display: grid;
  gap: 16px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.perks-title {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 800;
}

.perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.perks p {
  margin: 0;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.perks strong {
  font-weight: 800;
}

.perks .icon {
  flex: none;
  width: 26px;
  height: 26px;
  padding: 4px;
  border-radius: 50%;
  background: #e3f6e8;
  color: #16723a;
  stroke-width: 3;
}

/* ---- The three steps, below each other ---------------------------------------------------- */

.sp-step + .sp-step {
  margin-top: 34px;
}

@media (min-width: 560px) {
  .sp-step {
    position: relative;
    padding-left: 54px;
  }

  .sp-step .step-number {
    position: absolute;
    left: 0;
    top: -2px;
  }

  /* The thin line from one step to the next. */
  .sp-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 44px;
    bottom: -26px;
    width: 2px;
    border-radius: 2px;
    background: var(--line);
  }
}

.step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 800;
}

.step-number {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px #e8f0ff;
  color: var(--white);
  font-size: 16px;
  font-weight: 900;
}

.step-hint {
  margin: -6px 0 16px;
  color: var(--muted);
  font-size: 16.5px;
}

.choose-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
}

.bonus-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: #ffe9a8;
  color: #7a4a00;
  font-size: 14px;
  font-weight: 800;
  transform: rotate(-1.5deg);
}

.bonus-pill .icon {
  width: 18px;
  height: 18px;
}

/* Kilometers or euro: a small switch. */
.mode-switch {
  display: inline-flex;
  margin: 0;
  padding: 4px;
  border-radius: 999px;
  background: #f6ecdc;
}

.mode-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mode-switch span {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

.mode-switch input:checked + span {
  background: var(--surface);
  box-shadow: 0 2px 6px rgba(11, 42, 107, 0.12);
  color: var(--ink);
}

.mode-switch input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* Three ready-made choices and one to type in, as four equal tiles. */
.choices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

@media (max-width: 479px) {
  .choices {
    grid-template-columns: repeat(2, 1fr);
  }
}

.choice > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 72px;
  padding: 8px 10px;
  border-radius: 16px;
  background: var(--page);
  box-shadow: inset 0 0 0 2px var(--line);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.choice > span:hover {
  transform: translateY(-1px);
}

.choice b {
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}

.choice small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.choice > input:checked + span small {
  color: rgba(255, 255, 255, 0.9);
}

.choice > input:checked + span {
  background: var(--navy);
  box-shadow: 0 6px 14px rgba(11, 42, 107, 0.25);
  color: var(--white);
}

.choice > input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.own-input {
  width: 3.4em;
  min-width: 0;
  padding: 2px 0;
  border: 0;
  border-bottom: 2px solid currentColor;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
  outline: none;
}

.own-input::placeholder {
  color: inherit;
  opacity: 0.55;
}

/* What it comes to: "Jij betaalt € 20 → Wij lopen extra 11 km", as a dark ticket. */
.quote {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 4px 12px;
  padding: 22px 18px 20px;
  border-radius: 20px;
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(11, 42, 107, 0.25);
  color: var(--white);
  text-align: center;
}

.quote-label {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-value {
  display: block;
  font-size: clamp(30px, 7.5vw, 42px);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.quote-part-km .quote-value {
  color: var(--yellow);
}

.quote-arrow {
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  color: var(--orange);
  stroke-width: 2.5;
}

.quote-fun {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.3);
  font-size: 19px;
  font-weight: 800;
}

.quote-note {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 700;
}

.quote-fun:empty,
.quote-note:empty {
  display: none;
}

.problem {
  margin: 12px 0 0;
  color: #b3141c;
  font-weight: 700;
}

/* The name, with "Liever anoniem" beside it on a laptop. */
.name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}

.name-row .input {
  flex: 1 1 260px;
}

.input {
  width: 100%;
  max-width: 460px;
  min-height: 52px;
  padding: 10px 16px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.input:focus {
  border-color: var(--blue);
  outline: none;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
}

.checkbox input {
  width: 20px;
  height: 20px;
  accent-color: var(--navy);
}

/* Paying: one calm "receipt". On a laptop the QR code sits next to it; on a
   phone below it, because you cannot scan your own screen (scope §5). */
.receipt {
  display: grid;
  gap: 22px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--page);
  box-shadow: inset 0 0 0 1px var(--line);
}

@media (pointer: fine) and (min-width: 760px) {
  .receipt {
    grid-template-columns: 1fr 190px;
    align-items: center;
    gap: 32px;
    padding: 22px 26px;
  }
}

.receipt-qr {
  justify-self: center;
}

.qr-box {
  width: 100%;
  max-width: 190px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.qr-box svg,
.qr-box img {
  width: 100%;
  height: auto;
}

.qr-caption {
  max-width: 210px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.qr-caption-laptop {
  display: none;
}

@media (pointer: fine) and (min-width: 760px) {
  .qr-caption-phone {
    display: none;
  }

  .qr-caption-laptop {
    display: block;
  }
}

.copy-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.copy-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}

.copy-row:first-child {
  padding-top: 0;
}

.copy-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.copy-what {
  grid-column: 1;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 700;
}

.copy-value {
  grid-column: 1;
  min-width: 0;
  font-size: 17px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.copy-button {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 88px;
  min-height: 40px;
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  background: #e8f0ff;
  color: var(--blue);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.copy-button.is-done {
  background: #e3f6e8;
  color: #16723a;
}

.note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
}

@media (max-width: 479px) {
  .tab-panel {
    padding: 22px 16px 24px;
  }

  .receipt {
    padding: 16px 14px;
  }

  .copy-value {
    font-size: 16px;
  }

  .copy-button {
    min-width: 0;
    padding: 6px 12px;
  }
}

.closed-message {
  margin-bottom: 20px;
  padding: 24px;
  border-radius: var(--radius-large);
  background: var(--cream-deep);
}

.closed-message h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.closed-message p {
  margin: 0;
}

/* Parts that depend on whether sponsoring is still open. */
body[data-sponsoring='closed'] [data-when='open'],
body:not([data-sponsoring='closed']) [data-when='closed'] {
  display: none !important;
}

/* ---- Sponsors page: the names ---------------------------------------------------------- */

.names {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.names li {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 700;
}

.names li:nth-child(4n + 1) {
  box-shadow: inset 0 0 0 2px rgba(10, 90, 235, 0.35);
}

.names li:nth-child(4n + 3) {
  box-shadow: inset 0 0 0 2px rgba(230, 35, 35, 0.3);
}

.names li.empty {
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--muted);
  font-weight: 600;
}

/* ---- Q&A -------------------------------------------------------------------------------- */

.qa-group {
  margin: 0 0 44px;
}

.qa-group h2 {
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 900;
}

.qa {
  margin: 0 0 10px;
  border-radius: var(--radius-small);
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(11, 42, 107, 0.06);
}

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary::after {
  content: '+';
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--page);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.qa[open] summary::after {
  content: '–';
}

.qa-answer {
  padding: 0 20px 20px;
}

.qa-answer p {
  max-width: 68ch;
  margin: 0 0 10px;
}

.qa-answer p:last-child {
  margin-bottom: 0;
}

.qa-contact {
  padding: 26px;
  border-radius: var(--radius-medium);
  background: var(--surface);
}

.qa-contact h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.qa-contact p {
  margin: 0;
}

/* ---- Footer ------------------------------------------------------------------------------ */

.foot {
  padding: 28px 0;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
}

.foot p {
  margin: 0;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

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

/* ---- Running text is justified on every page (Sander's choice) --------------------------
   With hyphenation, and &shy; break points in long words in the pages themselves,
   because Chrome on Windows cannot hyphenate Dutch on its own. */

.page-intro,
.section-intro,
.step-hint,
.note,
.closed-message p,
.panel-intro,
.logo-invite p,
.qa-answer p,
.qa-contact p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
