:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-soft: #eef5f1;
  --ink: #17202a;
  --muted: #5f6f7b;
  --line: #dbe3ea;
  --brand: #126653;
  --brand-dark: #0d473c;
  --accent: #e0a13a;
  --danger: #b42318;
  --warning: #9a5b00;
  --success: #1f7a4d;
  --shadow: 0 18px 45px rgba(23, 32, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: var(--brand);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-content,
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.brand-name {
  font-size: 1.05rem;
}

.header-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: stretch;
  padding: 48px 0 32px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro-text {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 24px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.primary-link:hover,
.primary-link:focus-visible {
  background: var(--brand-dark);
}

.progress-panel,
.category-card,
.disclaimer {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.progress-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
}

.progress-topline,
.readiness-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.progress-topline span,
.readiness-row span {
  color: var(--muted);
  font-size: 0.95rem;
}

#progressPercentage {
  font-size: 2.2rem;
  line-height: 1;
}

.progress-bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7edf2;
}

.progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
  transition: width 180ms ease;
}

.readiness-low {
  color: var(--danger);
}

.readiness-medium {
  color: var(--warning);
}

.readiness-high {
  color: var(--success);
}

.reset-button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.reset-button:hover,
.reset-button:focus-visible {
  background: var(--brand-dark);
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 28px;
}

.category-card {
  padding: 20px;
}

.category-card h2 {
  margin: 0 0 14px;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.checklist-items {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist-item label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #293845;
  cursor: pointer;
}

.checklist-item input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--brand);
}

.checklist-item span {
  overflow-wrap: anywhere;
}

.disclaimer {
  margin: 0 0 42px;
  padding: 18px 20px;
  background: var(--surface-soft);
  box-shadow: none;
}

.disclaimer p {
  margin: 0;
  color: #33443d;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer a {
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 920px) {
  .intro,
  .checklist-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .header-content,
  .footer-content {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .header-label {
    font-size: 0.9rem;
  }

  .intro {
    padding-top: 34px;
  }

  .progress-panel,
  .category-card {
    padding: 18px;
  }
}
