/* dochecklist.com - overrides on top of Bulma 1.0.2 (loaded from CDN before this file).
   Light theme only. Mobile-first: base rules target 360px, wider layouts at 480 / 768 / 1024. */

:root {
  color-scheme: only light;
  --green: #5fa336;
  --green-dark: #3b7d1e;
  --green-deep: #2f6a17;
  --ink: #2b2b2b;
  --text: #2e3136;
  --muted: #555a5f;
  --tint: #f3f7ee;
  --grey: #efefef;
  --line: #dfe6d6;
  --pale: #e6f2da;
  --white: #ffffff;
  --f-head: "Francois One", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-sub: "Fjalla One", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --radius: 6px;
  --radius-lg: 12px;
}

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

html {
  background-color: #ffffff;
  color: #2b2b2b;
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background-color: #ffffff;
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  min-width: 0;
  overflow-x: hidden;
}

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

img,
video {
  height: auto;
}

[x-cloak] {
  display: none !important;
}

a {
  color: var(--green-deep);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

/* ---------- Reading progress ---------- */

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: transparent;
  z-index: 100;
  pointer-events: none;
}

.read-progress span {
  display: block;
  height: 100%;
  width: 0;
  background-color: var(--green);
  transition: width 0.1s linear;
}

/* ---------- Masthead ---------- */

.masthead {
  background-color: #ffffff;
  color: var(--ink);
  padding: 28px 16px 8px;
  text-align: center;
}

.masthead__label {
  display: inline-block;
  margin: 0;
  padding: 6px 14px 5px;
  background-color: #eaf4e1;
  color: var(--green-deep);
  font-family: var(--f-sub);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
}

.wordmark {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 14px auto 0;
  color: #1a1a1a;
  font-family: var(--f-head);
  font-size: clamp(34px, 9vw, 52px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.wordmark span {
  color: var(--green);
}

.wordmark:hover {
  color: var(--green-deep);
}

.main-nav {
  max-width: 1100px;
  margin: 18px auto 0;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  min-height: 48px;
  margin: 0 auto;
  padding: 0 18px;
  background-color: #ffffff;
  color: var(--ink);
  border: 1px solid #d3d3d3;
  border-radius: var(--radius);
  font-family: var(--f-head);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background-color: var(--grey);
  border-color: #b5b5b5;
}

.nav-toggle__bars {
  position: relative;
  width: 20px;
  height: 14px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.nav-toggle__bars::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background-color: currentColor;
}

.nav-menu {
  display: none;
  list-style: none;
  margin: 8px auto 0;
  padding: 0;
  max-width: 320px;
}

.nav-menu.is-open {
  display: block;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 12px;
  color: var(--ink);
  font-family: var(--f-head);
  font-size: 21px;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius);
}

.nav-link:hover {
  background-color: var(--tint);
  color: var(--green-deep);
}

.nav-inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 10px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

/* ---------- Title block ---------- */

.titlebar {
  background-color: #ffffff;
  color: var(--ink);
  padding: 40px 16px 0;
  text-align: center;
}

.headline {
  max-width: 900px;
  margin: 0 auto;
  color: var(--ink);
  font-family: var(--f-head);
  font-weight: 400;
  font-size: clamp(28px, 5.4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0.02em;
  overflow-wrap: break-word;
}

.rule {
  display: block;
  width: 90px;
  height: 3px;
  margin: 26px auto;
  background-color: var(--green);
  border-radius: 2px;
}

.dek {
  max-width: 740px;
  margin: 0 auto;
  color: var(--ink);
  font-family: var(--f-sub);
  font-weight: 400;
  font-size: clamp(19px, 3.2vw, 26px);
  line-height: 1.38;
}

.byline {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- Media ---------- */

.lead-block {
  display: block;
  background-color: #ffffff;
  padding: 30px 16px 0;
}

.media {
  display: block;
  align-items: initial;
  max-width: 680px;
  margin: 0 auto;
  padding: 0;
  border: 0;
}

.media--wide {
  max-width: 920px;
}

.media__frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: #e4e6df;
}

.media__frame img,
.media__frame video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
}

.media--hero .media__frame video {
  object-position: 38% 50%;
}

.media--left .media__frame video {
  object-position: 36% 50%;
}

.media--portrait .media__frame video {
  object-position: 50% 38%;
}

/* ---------- CTA (option-row treatment) ---------- */

.cta-block {
  max-width: 680px;
  margin: 10px auto 0;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 60px;
  padding: 10px 16px;
  background-color: var(--grey);
  color: var(--ink);
  border-radius: var(--radius);
  font-family: var(--f-sub);
  font-size: clamp(19px, 2.6vw, 23px);
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.item--tint .cta-row {
  background-color: #ffffff;
  box-shadow: inset 0 0 0 1px #d3dcc9;
}

.item--tint .cta-row:hover {
  background-color: var(--green-dark);
  box-shadow: none;
}

.cta-row__box {
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background-color: #ffffff;
  color: var(--green-dark);
  border: 1px solid #cdcdcd;
  border-radius: 5px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.cta-row__label {
  flex: 1;
  min-width: 0;
}

.cta-row:hover {
  background-color: var(--green-dark);
  color: #ffffff;
}

.cta-row:hover .cta-row__box {
  border-color: #ffffff;
  transform: translateX(3px);
}

.cta-row:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 3px;
}

.exit-note {
  max-width: 600px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

/* ---------- Article sections ---------- */

.item {
  background-color: #ffffff;
  color: var(--text);
  padding: 56px 16px;
}

.item--tint {
  background-color: var(--tint);
}

.item--intro {
  padding-top: 48px;
  padding-bottom: 0;
}

.item--intro + .item {
  padding-top: 44px;
}

.wrap {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.wrap--text {
  max-width: 680px;
}

.item__count {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
  color: var(--green-deep);
  font-family: var(--f-head);
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.1em;
}

.item__count::after {
  content: "";
  flex: 1;
  height: 2px;
  background-color: #c9dfb6;
  border-radius: 2px;
}

.item__title {
  margin: 0 0 20px;
  color: var(--ink);
  font-family: var(--f-sub);
  font-weight: 400;
  font-size: clamp(26px, 4.2vw, 38px);
  line-height: 1.16;
  overflow-wrap: break-word;
}

.prose {
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.prose p + p {
  margin-top: 1.1em;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose .lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
}

.prose + .media,
.prose + .steps,
.prose + .checklist-grid,
.prose + .plain-list,
.steps + .media,
.checklist-grid + .prose,
.plain-list + .prose {
  margin-top: 32px;
}

.prose + .prose {
  margin-top: 1.1em;
}

.media + .prose {
  margin-top: 32px;
}

.wrap--text + .media {
  margin-top: 40px;
}

.checklist-grid + .wrap {
  margin-top: 36px;
}

.wrap + .cta-block,
.prose + .cta-block {
  margin-top: 28px;
}

/* Steps (how it works) */

.steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 0 0 28px 56px;
  counter-increment: step;
  font-size: 17px;
  line-height: 1.65;
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--green-dark);
  color: #ffffff;
  font-family: var(--f-head);
  font-size: 18px;
  line-height: 36px;
  text-align: center;
}

.steps li::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 44px;
  bottom: 8px;
  width: 2px;
  background-color: #c5dcb0;
}

.steps li:last-child::after {
  display: none;
}

.steps strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-family: var(--f-sub);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.3;
}

/* Split layout (text + portrait loop) */

.item-split {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0;
}

.item-split > .column {
  padding: 0;
  min-width: 0;
}

.item-split .media {
  max-width: 420px;
  margin: 0 auto;
}

.item-split .media__frame {
  aspect-ratio: 1 / 1;
}

/* Checklist cards */

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.check-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  column-gap: 16px;
  row-gap: 2px;
  padding: 18px 18px;
  background-color: #ffffff;
  color: var(--ink);
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(30, 50, 20, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.check-card:hover {
  transform: translateY(-2px);
  border-color: #b9d3a2;
  box-shadow: 0 10px 26px rgba(30, 50, 20, 0.1);
}

.check-card__icon {
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 56px;
  height: 56px;
  background-color: var(--pale);
  color: var(--green-dark);
  border-radius: 50%;
}

.check-card__title {
  margin: 0;
  color: var(--ink);
  font-family: var(--f-sub);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
}

.check-card__text {
  grid-column: 2;
  max-width: 330px;
  margin: 0;
  color: #44494f;
  font-size: 15.5px;
  line-height: 1.5;
}

.check-card__title {
  grid-column: 2;
}

/* Plain list (honest picture) */

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

.plain-list li {
  position: relative;
  padding-left: 32px;
  font-size: 17px;
  line-height: 1.65;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background-color: var(--green);
}

.plain-list strong {
  color: var(--ink);
  font-weight: 600;
}

/* FAQ accordion */

.faq {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
}

.faq__item {
  background-color: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq__item:hover {
  border-color: #b9d3a2;
}

.faq__item[open] {
  border-color: #b9d3a2;
  box-shadow: 0 8px 22px rgba(30, 50, 20, 0.08);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 14px 18px 14px 20px;
  color: var(--ink);
  font-family: var(--f-sub);
  font-size: 20px;
  line-height: 1.25;
  list-style: none;
  cursor: pointer;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: "";
  flex: 0 0 30px;
  height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(var(--green-dark), var(--green-dark)) center / 12px 2px no-repeat,
    linear-gradient(var(--green-dark), var(--green-dark)) center / 2px 12px no-repeat,
    var(--pale);
}

.faq__item[open] > .faq__q::after {
  background:
    linear-gradient(var(--green-dark), var(--green-dark)) center / 12px 2px no-repeat,
    var(--pale);
}

.faq__a {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
}

/* Closing band (item 7 + final CTA) */

.closing-band {
  background-color: var(--green-dark);
  color: #ffffff;
  padding: 64px 16px 72px;
  text-align: left;
}

.closing-band .item__count {
  color: #f1f9ea;
}

.closing-band .item__count::after {
  background-color: rgba(255, 255, 255, 0.4);
}

.closing-band .item__title {
  color: #ffffff;
  font-family: var(--f-head);
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.closing-band .prose {
  color: #ffffff;
  margin-bottom: 32px;
}

.closing-band .prose p {
  color: #ffffff;
}

.closing-band .cta-row {
  background-color: #ffffff;
  color: #1f2a17;
}

.closing-band .cta-row:hover {
  background-color: #e8f4dd;
  color: #1f2a17;
}

.closing-band .cta-row:focus-visible {
  outline-color: #ffffff;
}

.closing-band .exit-note {
  color: #ffffff;
}

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

.bottom {
  background-color: #ffffff;
  color: var(--muted);
  padding: 48px 16px 44px;
  font-family: var(--f-body);
  font-size: 13px;
  line-height: 1.65;
}

.bottom__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.imprint {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.imprint p {
  margin: 0;
  color: var(--muted);
}

.imprint strong {
  color: #3d4247;
  font-weight: 600;
}

.links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
  align-content: start;
}

.links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #3d4247;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #b9c2b0;
}

.links a:hover {
  color: var(--green-deep);
  text-decoration-color: var(--green-deep);
}

.closing_note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* ---------- Legal and about pages ---------- */

.legal {
  background-color: #ffffff;
  color: var(--text);
  padding: 40px 16px 72px;
}

.legal .headline {
  max-width: 760px;
  text-align: center;
}

.masthead .wordmark:first-child {
  margin-top: 0;
}

.prose a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.legal .prose ul + p,
.legal .prose address + p {
  margin-top: 1.1em;
}

.nav-inline .nav-link {
  min-height: 44px;
  padding: 0 6px;
  font-size: 19px;
}

.dateline {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.legal .rule {
  margin: 24px auto 36px;
}

.legal .prose h2 {
  margin: 40px 0 12px;
  color: var(--ink);
  font-family: var(--f-sub);
  font-weight: 400;
  font-size: clamp(22px, 3.4vw, 28px);
  line-height: 1.2;
}

.legal .prose h2:first-child {
  margin-top: 0;
}

.legal .prose ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.legal .prose li {
  position: relative;
  padding-left: 28px;
}

.legal .prose li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background-color: var(--green);
}

.legal .prose address {
  margin: 14px 0 0;
  padding: 0 0 0 16px;
  border-left: 3px solid var(--green);
  font-style: normal;
  color: var(--ink);
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 36px;
  color: var(--green-deep);
  font-family: var(--f-sub);
  font-size: 19px;
  text-decoration: none;
}

.back-link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- 480px and up ---------- */

@media (min-width: 480px) {
  .media__frame {
    aspect-ratio: 16 / 9;
  }

  .media--hero .media__frame {
    aspect-ratio: 2 / 1;
  }

  .nav-inline {
    gap: 0 26px;
  }

  .nav-inline .nav-link {
    font-size: 21px;
  }
}

/* ---------- 768px and up ---------- */

@media (min-width: 768px) {
  body {
    font-size: 18px;
  }

  .masthead {
    padding-top: 36px;
  }

  .main-nav {
    margin-top: 22px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 26px;
    max-width: none;
    margin: 0 auto;
  }

  .nav-link {
    min-height: 48px;
    padding: 0 6px;
    font-size: 20px;
    background-color: transparent;
  }

  .titlebar {
    padding-top: 56px;
  }

  .rule {
    margin: 32px auto;
  }

  .lead-block {
    padding-top: 40px;
  }

  .media--hero .media__frame {
    aspect-ratio: 2.2 / 1;
  }

  .media--wide .media__frame {
    aspect-ratio: 1.9 / 1;
  }

  .item {
    padding: 80px 24px;
  }

  .item--intro {
    padding-top: 64px;
    padding-bottom: 0;
  }

  .item--intro + .item {
    padding-top: 56px;
  }

  .prose,
  .steps li,
  .plain-list li,
  .faq__a {
    font-size: 18px;
  }

  .prose .lede {
    font-size: 21px;
  }

  .item-split {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }

  .item-split__media {
    flex: 0 0 38%;
    order: -1;
  }

  .item-split__text {
    flex: 1 1 0;
  }

  .item-split .media {
    max-width: none;
  }

  .item-split .media__frame {
    aspect-ratio: 4 / 5;
  }

  .checklist-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .check-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 230px;
    padding: 30px 28px;
    text-align: center;
  }

  .check-card__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 6px;
  }

  .faq__q {
    font-size: 22px;
    padding: 16px 22px 16px 26px;
  }

  .faq__a {
    padding: 0 26px 24px;
  }

  .closing-band {
    padding: 88px 24px 96px;
  }

  .bottom {
    padding: 64px 24px 56px;
  }

  .bottom__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px 48px;
  }

  .closing_note {
    grid-column: 1 / -1;
  }

  .legal {
    padding-top: 56px;
  }
}

/* ---------- 1024px and up ---------- */

@media (min-width: 1024px) {
  .nav-menu {
    gap: 4px 38px;
  }

  .nav-link {
    font-size: 22px;
  }

  .item {
    padding: 96px 24px;
  }

  .item--intro {
    padding-top: 72px;
    padding-bottom: 0;
  }

  .item--intro + .item {
    padding-top: 64px;
  }

  .check-card {
    min-height: 255px;
  }

  .item-split {
    gap: 72px;
  }
}
