/* Green Factor: plain HTML/CSS/JS
   Clean neumorphism with light and dark modes
*/

:root {
  --green: #00796b;
  /* Brand green and all CTAs */
  /* Brand green and all CTAs */

  --radius-xl: 16px;
  --radius-lg: 14px;
  --radius-md: 12px;
  --radius-sm: 10px;

  --max: 1100px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

/* Themes */
html[data-theme="light"] {
  --bg: #e9eef3;
  --bg-grad: linear-gradient(180deg, #f2f5f9 0%, #e9eef3 100%);
  --surface: #e9eef3;
  --surface-2: #eef3f7;

  --text: rgba(13, 18, 24, 0.92);
  --muted: rgba(13, 18, 24, 0.62);

  --shadow-dark: rgba(163, 177, 198, 0.55);
  --shadow-light: rgba(255, 255, 255, 0.95);

  --raised: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--shadow-light);
  --raised-sm: 5px 5px 12px var(--shadow-dark), -5px -5px 12px var(--shadow-light);
  --inset: inset 6px 6px 12px rgba(163, 177, 198, 0.45), inset -6px -6px 12px rgba(255, 255, 255, 0.9);

  --ring: rgba(0, 121, 107, 0.25);

  --brand-green: var(--green);
  --brand-factor: rgba(13, 18, 24, 0.92);
}

html[data-theme="dark"] {
  --bg: #141b24;
  --bg-grad: linear-gradient(180deg, #1a2230 0%, #141b24 100%);
  --surface: #141b24;
  --surface-2: #131a22;

  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.70);

  --shadow-dark: rgba(0, 0, 0, 0.60);
  --shadow-light: rgba(255, 255, 255, 0.06);

  --raised: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--shadow-light);
  --raised-sm: 5px 5px 12px var(--shadow-dark), -5px -5px 12px var(--shadow-light);
  --inset: inset 6px 6px 12px rgba(0, 0, 0, 0.55), inset -6px -6px 12px rgba(255, 255, 255, 0.05);

  --ring: rgba(0, 121, 107, 0.22);

  --brand-green: var(--green);
  --brand-factor: rgba(255, 255, 255, 0.92);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 15px;
  font-family: var(--font);
  background: var(--bg-grad, var(--bg));
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.92;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: #fff;
  color: #000;
  padding: 9px 11px;
  border-radius: 10px;
  z-index: 9999;
}

.skip-link:focus {
  left: 12px;
}

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

.muted {
  color: var(--muted);
}

.small {
  font-size: 12px;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spread {
  justify-content: space-between;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  box-shadow: var(--raised-sm);
}

.header-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-transform: lowercase;
}

.brand .brand-green {
  color: var(--brand-green);
}

.brand .brand-factor {
  color: var(--brand-factor);
}

.nav-desktop {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--raised-sm);
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.active {
  color: var(--text);
  box-shadow: var(--inset);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
}

.icon-btn {
  border: 0;
  background: var(--surface);
  box-shadow: var(--raised-sm);
  color: var(--text);
  border-radius: 999px;
  padding: 9px 11px;
  cursor: pointer;
}

.icon-btn:active {
  box-shadow: var(--inset);
}

.icon-btn:focus {
  outline: none;
  box-shadow: var(--raised-sm), 0 0 0 4px var(--ring);
}

.icon {
  font-size: 14px;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 11px 14px;
  cursor: pointer;
  font-weight: 750;
  letter-spacing: 0.2px;
  background: #00796b;
  color: #ffffff;
  box-shadow: var(--raised-sm);
}

.btn:hover {
  filter: brightness(1.02);
}

.btn:active {
  box-shadow: var(--inset);
}

.btn:focus {
  outline: none;
  box-shadow: var(--raised-sm), 0 0 0 4px var(--ring);
}

.btn.ghost {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--raised-sm);
}

.main {
  width: min(var(--max), calc(100% - 32px));
  margin: 18px auto 42px auto;
}

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.page-head h1 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.2px;
  font-weight: 520;
}

.page-head p {
  margin: 6px 0 0 0;
}

/* Cards */
.card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--raised);
  padding: 14px;
}

.card h2,
.card h3 {
  margin: 0;
  font-weight: 520;
}

.section-title {
  font-weight: 520;
  font-size: 16px;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--raised-sm);
  padding: 14px;
}

.stat-num {
  font-weight: 400;
  font-size: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--inset);
  color: var(--muted);
  font-size: 12px;
  font-weight: 520;
}

/* Inputs */
.input {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 11px 12px;
  background: var(--surface);
  box-shadow: var(--inset);
  color: var(--text);
  font-size: 14px;
}

textarea.input {
  border-radius: var(--radius-lg);
  min-height: 100px;
  resize: vertical;
}

.input:focus {
  outline: none;
  box-shadow: var(--inset), 0 0 0 4px var(--ring);
}

.field-label {
  font-size: 12px;
  font-weight: 520;
  color: var(--muted);
  margin-bottom: 6px;
}

/* Accordion */
details.accordion {
  background: var(--surface-2);
  border-radius: var(--radius-xl);
  box-shadow: var(--raised-sm);
  overflow: hidden;
}

details.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 14px;
  font-weight: 520;
}

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

.accordion-body {
  padding: 0 14px 14px 14px;
}

/* Guidance item typography (fix bold) */
details.guidance-item summary {
  font-weight: 520;
}

/* Pills */
.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.pill {
  border: 0;
  cursor: pointer;
  padding: 9px 11px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--raised-sm);
  color: var(--muted);
  font-weight: 520;
  white-space: nowrap;
}

.pill.active {
  color: var(--text);
  box-shadow: var(--inset), 0 0 0 3px rgba(0, 121, 107, 0.35), 0 0 18px rgba(0, 121, 107, 0.22);
}

.pill:focus {
  outline: none;
  box-shadow: var(--raised-sm), 0 0 0 4px var(--ring);
}

/* Green checks */
.check-card {
  background: var(--surface-2);
  border-radius: var(--radius-xl);
  box-shadow: var(--raised-sm);
  padding: 14px;
}

.check-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.check-number {
  font-weight: 520;
  color: var(--muted);
  font-size: 12px;
}

.check-statement {
  margin: 6px 0 0 0;
  font-weight: 520;
  line-height: 1.45;
}

.info-btn {
  border: 0;
  border-radius: 999px;
  padding: 9px 11px;
  cursor: pointer;
  background: var(--surface);
  box-shadow: var(--raised-sm);
  color: var(--text);
}

.info-btn:active {
  box-shadow: var(--inset);
}

.choice-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.choice {
  border: 0;
  cursor: pointer;
  padding: 9px 11px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--raised-sm);
  color: var(--muted);
  font-weight: 520;
}

.choice.selected {
  box-shadow: var(--inset);
  color: var(--text);
}

.choice.selected.choice-agree {
  color: var(--green);
}

.progress-line {
  height: 10px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--inset);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: #00796b;
}

.pager {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* Table */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.table th,
.table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(127, 127, 127, 0.14);
}

.table th {
  color: var(--muted);
  font-weight: 520;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* Custom dropdown */
.dropdown {
  position: relative;
}

.dropdown-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 11px 12px;
  background: var(--surface);
  box-shadow: var(--inset);
  color: var(--text);
  cursor: pointer;
  font-weight: 520;
}

.dropdown-btn:focus {
  outline: none;
  box-shadow: var(--inset), 0 0 0 4px var(--ring);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--raised);
  padding: 8px;
  display: none;
  z-index: 20;
}

.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-item {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 9px 11px;
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  color: var(--muted);
  font-weight: 520;
}

.dropdown-item:hover {
  background: var(--surface-2);
  color: var(--text);
}

.dropdown-item.active {
  background: var(--surface-2);
  box-shadow: var(--inset);
  color: var(--text);
}

/* Drawer (burger menu) */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 60;
}

.drawer-backdrop.open {
  display: block;
}

.drawer {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(340px, 86vw);
  background: var(--surface);
  box-shadow: var(--raised);
  padding: 14px;
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
}

.drawer .nav-link {
  display: flex;
  justify-content: space-between;
}

/* Dialog */
dialog.dialog {
  border: none;
  padding: 0;
  background: transparent;
}

dialog.dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.dialog-card {
  width: min(620px, calc(100vw - 32px));
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--raised);
  padding: 14px;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dialog-body {
  margin-top: 10px;
  background: var(--surface);
  box-shadow: var(--inset);
  border-radius: var(--radius-lg);
  padding: 12px;
  color: var(--text);
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 980px) {
  .nav-desktop {
    display: none;

    .header-actions {
      margin-left: auto !important;
    }
  }

  .menu-btn {
    display: inline-flex;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 981px) {
  .menu-btn {
    display: none;
  }
}

/* Selected state: coloured glows for clarity */
.choice.selected.choice-agree {
  box-shadow: var(--inset), 0 0 0 3px rgba(0, 121, 107, 0.35), 0 0 18px rgba(0, 121, 107, 0.25);
  color: var(--text);
}

.choice.selected.choice-partly {
  box-shadow: var(--inset), 0 0 0 3px rgba(245, 158, 11, 0.35), 0 0 18px rgba(245, 158, 11, 0.22);
  color: var(--text);
}

.choice.selected.choice-disagree {
  box-shadow: var(--inset), 0 0 0 3px rgba(239, 68, 68, 0.35), 0 0 18px rgba(239, 68, 68, 0.22);
  color: var(--text);
}

.choice.selected.choice-na {
  box-shadow: var(--inset), 0 0 0 3px rgba(59, 130, 246, 0.35), 0 0 18px rgba(59, 130, 246, 0.22);
  color: var(--text);
}

/* Guidance list inside category accordion (no nested accordions) */
.guidance-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.guidance-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--raised-sm);
}

.guidance-row button {
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 520;
  line-height: 1.45;
}

.guidance-row .why {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 9px 11px;
  cursor: pointer;
  background: var(--surface);
  box-shadow: var(--raised-sm);
  color: var(--muted);
}

.guidance-row .why:active {
  box-shadow: var(--inset);
}

@media (max-width: 560px) {
  .header-inner {
    padding: 10px 0;
  }

  .brand {
    font-size: 16px;
  }

  .icon-btn {
    padding: 9px 11px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .row.wrap {
    flex-wrap: wrap;
  }
}

strong {
  font-weight: inherit;
}

h1,
h2,
h3 {
  font-weight: 520;
}

.wrap {
  flex-wrap: wrap;
}

/* ---- Typography overrides (regular everywhere except logo + CTAs) ---- */
body {
  font-weight: 400;
}

h1,
h2,
h3 {
  font-weight: 400;
}

.section-title,
.page-head h1,
.nav-link,
.badge,
.field-label,
.choice,
.pill,
.check-number,
.check-statement,
.table th,
details.accordion summary,
.guidance-row button {
  font-weight: 400;
}

strong {
  font-weight: inherit;
}

/* keep only brand + CTA bold */
.brand {
  font-weight: 800;
}

.btn {
  font-weight: 700;
}

/* ---- Type scale ---- */
h1 {
  font-size: 24px;
  line-height: 1.2;
}

h2 {
  font-size: 20px;
  line-height: 1.25;
}

h3 {
  font-size: 16px;
  line-height: 1.3;
}

.section-title {
  font-size: 14px;
}

.small {
  font-size: 12px;
}

/* ---- Weight policy: regular everywhere except logo + CTAs ---- */
body {
  font-weight: 400;
}

* {
  font-weight: inherit;
}

h1,
h2,
h3 {
  font-weight: 400;
}

strong {
  font-weight: inherit;
}

.brand {
  font-weight: 800;
}

.btn {
  font-weight: 700;
  background: #00796b;
}

/* ---- Final overrides to avoid duplicate block conflicts ---- */
.header-inner {
  justify-content: flex-start !important;
}

.nav-desktop {
  margin-left: auto !important;
}

.header-actions {
  margin-left: 10px !important;
}

:root {
  --green: #00796b;
}

.btn {
  background: var(--green) !important;
  color: #fff !important;
  font-weight: 700 !important;
}

.brand {
  font-weight: 800 !important;
}

body,
p,
span,
div,
li,
a,
summary,
label,
input,
textarea {
  font-weight: 400 !important;
}

h1,
h2,
h3 {
  font-weight: 400 !important;
}

.section-title,
.badge,
.nav-link,
.table th,
.stat-num,
.check-number,
.check-statement,
.guidance-row button {
  font-weight: 400 !important;
}

body {
  background: var(--bg-grad, var(--bg)) !important;
}

/* ---- Button text alignment ---- */
.btn,
.btn.ghost,
.choice,
.pill,
.dropdown-btn,
.dropdown-item,
.icon-btn,
.info-btn,
.why {
  text-align: center;
}

.btn,
.btn.ghost,
.choice,
.pill,
.dropdown-btn,
.dropdown-item,
.icon-btn,
.info-btn,
.why {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Guidance statement rows stay left aligned for readability */
.guidance-row button {
  justify-content: flex-start;
  text-align: left;
}

/* Mobile header actions right-aligned */
@media (max-width: 980px) {
  .nav-desktop {
    display: none !important;
  }

  .header-actions {
    margin-left: auto !important;
  }
}

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


/* ---- Footer (simple, no card) ---- */
.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 28px auto 24px auto;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.site-footer .footer-inner {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

@media (min-width: 981px) {
  #menuToggle {
    display: none !important;
  }
}

/* ---- Home layout ---- */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(0, 121, 107, 0.22), transparent 55%),
    radial-gradient(900px 520px at 80% 30%, rgba(120, 102, 255, 0.10), transparent 60%);
  pointer-events: none;
}

html[data-theme="light"] .home-hero::before {
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(0, 121, 107, 0.14), transparent 55%),
    radial-gradient(900px 520px at 80% 30%, rgba(120, 102, 255, 0.08), transparent 60%);
}

.home-hero>* {
  position: relative;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  align-items: start;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--raised-sm);
  color: var(--muted);
  font-size: 13px;
}

.home-title {
  margin: 0;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.6px;
}

.home-title .accent {
  color: var(--green);
}

.home-sub {
  margin: 0;
  max-width: 70ch;
  line-height: 1.55;
}

.home-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.home-stat {
  background: var(--surface);
  box-shadow: var(--raised-sm);
  border-radius: var(--radius-lg);
  padding: 14px;
}

.home-stat .num {
  font-size: 18px;
  color: var(--text);
}

.home-stat .label {
  color: var(--muted);
  margin-top: 4px;
  font-size: 12px;
}

.home-section {
  margin-top: 16px;
}

.home-section h2 {
  margin: 0;
  font-size: 22px;
}

.home-section p {
  margin: 8px 0 0 0;
}

.home-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 12px;
}

.home-card {
  padding: 18px;
}

.home-card p {
  margin: 10px 0 0 0;
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--green);
}

.home-link:hover {
  opacity: 0.9;
}

.how-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.how-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--raised-sm);
}

.how-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  margin-top: 6px;
  box-shadow: 0 0 0 4px rgba(0, 121, 107, 0.18);
}

.how-item .t {
  margin: 0;
}

.how-item .d {
  margin: 6px 0 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.preview-footer .btn {
  min-width: 260px;
}

/* Responsive */
@media (max-width: 980px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-title {
    font-size: 21px;
  }

  .home-stats {
    grid-template-columns: 1fr;
  }

  .home-two {
    grid-template-columns: 1fr;
  }

  .preview-footer .btn {
    width: 100%;
  }
}


/* ---- Home: quote block ---- */
.home-quote {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--inset);
}

.home-quote .q {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.home-quote .a {
  margin: 8px 0 0 0;
  font-size: 12px;
  color: var(--muted);
}

/* ---- About: trust and transparency metrics ---- */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.impact-card {
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--raised-sm);
  padding: 14px;
  text-align: center;
}

.impact-title {
  font-size: 13px;
  color: var(--muted);
}

.impact-value {
  font-size: 22px;
  margin-top: 10px;
}

.impact-link {
  margin-top: 12px;
  width: 100%;
}

@media (max-width: 980px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }
}


/* Green Checks pager UX */
.pager {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.pager .btn {
  min-width: 120px;
}

.btn:disabled,
.btn[disabled],
.icon-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.15);
}

.btn:disabled:hover {
  filter: grayscale(0.15);
}

@media (max-width: 560px) {
  .pager {
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .pager .btn {
    min-width: 0;
    flex: 1 1 auto;
  }
}


/* Home section spacing */
.home-section {
  margin-top: 18px;
}

@media (max-width: 560px) {
  .home-section {
    margin-top: 16px;
  }
}


/* ---- Home: stronger section separation ---- */
main .home-section {
  margin-top: 28px !important;
}

@media (max-width: 560px) {
  main .home-section {
    margin-top: 22px !important;
  }
}

/* Resources */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.resource-card {
  display: block;
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--raised-sm);
  padding: 14px;
}

.resource-source {
  font-size: 12px;
  color: var(--muted);
}

.resource-title {
  margin-top: 8px;
  line-height: 1.4;
}

.resource-cta {
  margin-top: 10px;
  color: var(--green);
  font-size: 12px;
}

.resource-card:hover {
  filter: brightness(1.02);
}

/* Disabled buttons */
.btn:disabled,
.btn[disabled],
.icon-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.15);
}

.btn:disabled:hover {
  filter: grayscale(0.15);
}

/* Sticky footer via layout */
html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.site-footer {
  margin-top: auto;
}

.site-footer .footer-inner {
  background: transparent;
  box-shadow: none;
  padding: 0;
}