:root {
  --ink: #17221f;
  --muted: #53605c;
  --paper: #f5f3ed;
  --white: #ffffff;
  --green: #254f43;
  --green-dark: #16352d;
  --amber: #d67b2c;
  --amber-dark: #9b4b14;
  --sage: #dfe8df;
  --line: #cfd7d1;
  --max: 1180px;
  --shadow: 0 18px 50px rgba(18, 37, 31, .11);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.58; }
a { color: var(--amber-dark); text-decoration-thickness: .08em; text-underline-offset: .14em; }
a:hover { color: var(--green-dark); }
img { max-width: 100%; height: auto; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { max-width: 830px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: white; padding: 10px; z-index: 999; }
.skip-link:focus { left: 10px; top: 10px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245,243,237,.96); border-bottom: 1px solid rgba(37,79,67,.16); backdrop-filter: blur(10px); }
.site-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-branding { min-width: 270px; }
.campaign-mark { display: grid; grid-template-columns: auto 34px 1fr; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 800; line-height: 1.05; }
.campaign-mark__number { font-size: 1.22rem; color: var(--amber-dark); }
.campaign-mark__ring { width: 32px; height: 32px; border: 5px solid var(--amber); border-left-color: transparent; border-radius: 50%; transform: rotate(-18deg); }
.campaign-mark__words { max-width: 230px; }
.primary-nav ul { display: flex; align-items: center; gap: 22px; list-style: none; padding: 0; margin: 0; }
.primary-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .94rem; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--amber-dark); }
.menu-toggle { display: none; border: 1px solid var(--green); background: transparent; padding: 9px 14px; border-radius: 4px; font-weight: 700; }
.hero { position: relative; overflow: hidden; color: white; background: linear-gradient(130deg, var(--green-dark), #2b5b4d 68%, #346b5b); padding: 92px 0 70px; }
.hero__rings { position: absolute; width: 700px; height: 700px; right: -220px; top: -260px; border: 55px solid rgba(214,123,44,.30); border-radius: 50%; box-shadow: 0 0 0 65px rgba(255,255,255,.06), 0 0 0 135px rgba(214,123,44,.11); }
.hero__inner { position: relative; z-index: 2; }
.hero h1 { max-width: 920px; margin: 8px 0 16px; font-size: clamp(3rem, 7vw, 6.8rem); line-height: .95; letter-spacing: -.055em; }
.hero__strapline { max-width: 850px; margin: 0 0 24px; font-size: clamp(1.25rem, 2.5vw, 2rem); font-weight: 700; color: #f4c493; }
.hero__intro { max-width: 760px; font-size: 1.16rem; }
.eyebrow { margin: 0 0 8px; color: var(--amber-dark); font-weight: 900; text-transform: uppercase; letter-spacing: .13em; font-size: .78rem; }
.hero .eyebrow { color: #f7c999; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 2px solid transparent; border-radius: 3px; font-weight: 800; text-decoration: none; }
.button--primary { background: var(--amber); color: #17130f; }
.button--primary:hover { background: white; color: var(--ink); }
.button--ghost { color: white; border-color: rgba(255,255,255,.7); }
.button--ghost:hover { background: white; color: var(--ink); }
.button--light { background: white; color: var(--green-dark); }
.application-banner { display: flex; flex-wrap: wrap; gap: 18px 30px; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.28); font-size: .92rem; }
.application-banner a { color: white; }
.fact-band { background: var(--white); border-bottom: 1px solid var(--line); }
.fact-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.fact-grid article { min-height: 150px; display: flex; flex-direction: column; justify-content: center; padding: 25px; border-right: 1px solid var(--line); }
.fact-grid article:last-child { border-right: 0; }
.fact-grid strong { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; color: var(--green-dark); }
.fact-grid span { margin-top: 10px; color: var(--muted); font-weight: 700; }
.section { padding: 86px 0; }
.section h2 { margin: 0 0 20px; font-size: clamp(2.2rem, 4.5vw, 4.7rem); line-height: 1; letter-spacing: -.045em; }
.lead { font-size: 1.25rem; color: #33433e; }
blockquote { margin: 38px 0 0; padding: 24px 28px; border-left: 8px solid var(--amber); background: white; box-shadow: var(--shadow); font-size: 1.25rem; font-weight: 700; }
.section--tests { background: var(--green-dark); color: white; }
.section--tests .eyebrow { color: #f2ba82; }
.card-grid { display: grid; gap: 22px; }
.card-grid--tests { grid-template-columns: repeat(4,1fr); margin-top: 40px; }
.test-card { padding: 28px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); }
.test-card__number { color: #f1b57b; font-weight: 900; }
.test-card h3 { margin: 22px 0 10px; font-size: 1.45rem; }
.test-card p { margin: 0; color: #d9e3df; font-size: .98rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 35px; }
.text-link { font-weight: 900; }
.issue-grid { grid-template-columns: repeat(4,1fr); }
.issue-card { overflow: hidden; background: white; border: 1px solid var(--line); box-shadow: 0 8px 30px rgba(18,37,31,.05); }
.issue-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.issue-card__body { padding: 24px; }
.issue-card h2, .issue-card h3 { margin: 0 0 12px; font-size: 1.35rem; line-height: 1.15; }
.issue-card h2 a, .issue-card h3 a { color: var(--ink); text-decoration: none; }
.issue-card p { font-size: .96rem; color: var(--muted); }
.issue-card--placeholder { border-top: 6px solid var(--amber); }
.section--tracker { background: #e6ece7; }
.tracker-table-wrap { overflow-x: auto; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); }
.tracker-table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: .92rem; }
.tracker-table th, .tracker-table td { padding: 15px; text-align: left; border-bottom: 1px solid var(--line); }
.tracker-table thead th { background: var(--green-dark); color: white; }
.tracker-table tbody th { min-width: 210px; }
.tracker-status { display: inline-block; padding: 4px 8px; border-radius: 99px; font-size: .78rem; font-weight: 900; }
.status-yes { background: #d7ead9; color: #155126; }
.status-no { background: #f1d7d3; color: #84281e; }
.status-partial { background: #f5e8be; color: #765a05; }
.status-tbc { background: #e4e6e5; color: #4c5552; }
.tracker-empty { max-width: 760px; padding: 24px; background: white; border-left: 7px solid var(--amber); }
.attention-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.attention-sequence { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.attention-sequence div { min-height: 190px; display: flex; flex-direction: column; justify-content: center; padding: 25px; background: var(--green-dark); color: white; }
.attention-sequence strong { font-size: 2.5rem; line-height: 1; color: #f1b57b; }
.attention-sequence span { margin-top: 12px; font-weight: 700; }
.section--action { padding: 0; background: var(--amber); }
.action-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.action-grid article { padding: 52px 35px; border-right: 1px solid rgba(23,34,31,.25); }
.action-grid article:last-child { border-right: 0; }
.action-grid span { font-weight: 900; text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; }
.action-grid h2 { margin-top: 14px; font-size: 2rem; }
.site-footer { background: #111b18; color: #d9e1de; padding: 58px 0 28px; }
.site-footer a { color: white; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; }
.site-footer h2 { color: white; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 45px; padding-top: 22px; border-top: 1px solid #34423d; font-size: .85rem; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; padding: 0; }
.entry-header { margin-bottom: 36px; }
.entry-header h1, .archive-header h1 { font-size: clamp(2.6rem, 6vw, 5.8rem); line-height: .98; letter-spacing: -.05em; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { margin-top: 2.2em; font-size: 2.3rem; }
.entry-content h3 { margin-top: 1.8em; font-size: 1.5rem; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px; }
.featured-image { margin-bottom: 34px; }
.post-card { background: white; border: 1px solid var(--line); }
.post-card__body { padding: 24px; }
.content-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.post-meta { color: var(--muted); font-size: .85rem; }
.commitment-details { display: grid; gap: 1px; margin-top: 35px; background: var(--line); border: 1px solid var(--line); }
.commitment-details div { display: grid; grid-template-columns: 220px 1fr; background: white; }
.commitment-details dt, .commitment-details dd { margin: 0; padding: 14px; }
.commitment-details dt { font-weight: 900; background: #e8ece9; }
@media (max-width: 1040px) {
  .card-grid--tests, .issue-grid { grid-template-columns: repeat(2,1fr); }
  .fact-grid { grid-template-columns: repeat(2,1fr); }
  .fact-grid article:nth-child(2) { border-right: 0; }
  .fact-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .content-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 780px) {
  body { font-size: 17px; }
  .site-header__inner { min-height: 70px; }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 70px; display: none; padding: 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; }
  .hero { padding: 65px 0 50px; }
  .hero__rings { right: -430px; }
  .application-banner { flex-direction: column; gap: 8px; }
  .attention-grid, .site-footer__grid { grid-template-columns: 1fr; }
  .action-grid { grid-template-columns: 1fr; }
  .action-grid article { border-right: 0; border-bottom: 1px solid rgba(23,34,31,.25); }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .shell { width: min(calc(100% - 26px), var(--max)); }
  .campaign-mark__words { display: none; }
  .site-branding { min-width: auto; }
  .fact-grid, .card-grid--tests, .issue-grid, .attention-sequence, .content-grid { grid-template-columns: 1fr; }
  .fact-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .commitment-details div { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


/* Completed Appendix B evidence workstreams */
.appendix-b { margin-top: 42px; }
.appendix-b__intro { max-width: 900px; margin-bottom: 20px; }
.appendix-b__intro h3 { margin-bottom: 8px; font-size: clamp(1.35rem, 2vw, 1.75rem); }
.appendix-b__intro p { margin: 0; }
.evidence-workstream { margin: 12px 0; border: 1px solid var(--line); background: white; box-shadow: 0 8px 22px rgba(25,48,38,.07); }
.evidence-workstream summary { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; font-weight: 900; color: var(--green-dark); list-style: none; }
.evidence-workstream summary::-webkit-details-marker { display: none; }
.evidence-workstream summary::after { content: '+'; margin-left: auto; font-size: 1.5rem; line-height: 1; color: var(--amber-dark, #9b4a00); }
.evidence-workstream[open] summary::after { content: '−'; }
.evidence-workstream[open] summary { border-bottom: 1px solid var(--line); }
.evidence-workstream__number { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; background: var(--amber); color: #1f2e27; font-size: .82rem; }
.evidence-workstream__grid { margin: 0; }
.evidence-workstream__grid > div { display: grid; grid-template-columns: minmax(190px, 250px) 1fr; border-bottom: 1px solid var(--line); }
.evidence-workstream__grid > div:last-child { border-bottom: 0; }
.evidence-workstream__grid dt, .evidence-workstream__grid dd { margin: 0; padding: 16px 18px; }
.evidence-workstream__grid dt { font-weight: 900; background: #f1f4f2; color: var(--green-dark); }
.evidence-workstream__grid dd { line-height: 1.65; }
@media (max-width: 760px) {
  .evidence-workstream__grid > div { grid-template-columns: 1fr; }
  .evidence-workstream__grid dt { padding-bottom: 8px; }
  .evidence-workstream__grid dd { padding-top: 8px; }
}


/* Public promise/funding/security/delivery matrix */
.public-tracker { margin-top: 2rem; }
.public-tracker__intro { max-width: 920px; margin-bottom: 1rem; }
.public-tracker__intro h3 { margin-bottom: .55rem; }
.tracker-table--matrix { min-width: 1180px; }
.tracker-table--matrix th:first-child { min-width: 210px; }
.tracker-table--matrix th:last-child,
.tracker-table--matrix td:last-child { min-width: 300px; }
.public-tests {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 2px solid var(--mg-amber, #c96824);
  border-radius: 14px;
  background: #fff8f1;
}
.public-tests h3 { margin: .2rem 0 .45rem; }
.public-tests__stages {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .65rem;
  margin-top: 1rem;
}
.public-tests__stages span {
  display: block;
  padding: .8rem .55rem;
  text-align: center;
  font-weight: 700;
  border-radius: 999px;
  background: #23272a;
  color: #fff;
}
@media (max-width: 820px) {
  .public-tests__stages { grid-template-columns: 1fr 1fr; }
  .public-tests__stages span:last-child { grid-column: 1 / -1; }
}

/* v1.4 resident navigation, progressive disclosure and Mailchimp signup */
.resident-nav { position: sticky; top: 82px; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 8px 20px rgba(18,37,31,.05); }
.resident-nav__inner { display: flex; align-items: center; justify-content: center; gap: 8px 28px; min-height: 54px; overflow-x: auto; scrollbar-width: thin; }
.resident-nav a { flex: 0 0 auto; color: var(--green-dark); text-decoration: none; font-size: .88rem; font-weight: 900; }
.resident-nav a:hover, .resident-nav a:focus { color: var(--amber-dark); text-decoration: underline; }
.section--resident-route { padding-top: 22px; background: var(--white); }
.section--resident-route h2 { max-width: 900px; }
.resident-route-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 34px; }
.resident-route-grid article { padding: 26px; border-top: 6px solid var(--amber); background: var(--paper); }
.resident-route-grid span { color: var(--amber-dark); font-size: .8rem; font-weight: 900; letter-spacing: .12em; }
.resident-route-grid h3 { margin: 14px 0 10px; font-size: 1.35rem; line-height: 1.15; }
.resident-route-grid p { margin: 0; color: var(--muted); font-size: .95rem; }
.section-summary { max-width: 800px; margin: -4px 0 30px; color: #d9e3df; }
.content-disclosure { margin-top: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.78); box-shadow: 0 8px 24px rgba(18,37,31,.06); }
.content-disclosure > summary { display: flex; align-items: center; gap: 12px; padding: 20px 22px; cursor: pointer; list-style: none; color: var(--green-dark); font-weight: 900; }
.content-disclosure > summary::-webkit-details-marker { display: none; }
.content-disclosure > summary::after { content: '+'; margin-left: auto; color: var(--amber-dark); font-size: 1.5rem; }
.content-disclosure[open] > summary::after { content: '−'; }
.content-disclosure[open] > summary { border-bottom: 1px solid var(--line); }
.content-disclosure__body { padding: 0 20px 24px; }
.content-disclosure__body > :first-child { margin-top: 24px; }
.action-card--signup { grid-column: span 1; }
.campaign-signup { display: grid; gap: 13px; margin-top: 22px; }
.campaign-signup__field { display: grid; gap: 5px; }
.campaign-signup label { font-size: .86rem; font-weight: 900; }
.campaign-signup input[type="text"], .campaign-signup input[type="email"] { width: 100%; min-height: 46px; padding: 10px 12px; border: 2px solid rgba(23,34,31,.35); border-radius: 3px; background: white; color: var(--ink); font: inherit; }
.campaign-signup input:focus { outline: 3px solid rgba(37,79,67,.28); border-color: var(--green-dark); }
.campaign-signup__honeypot { position: absolute; left: -5000px; }
.campaign-signup__privacy { margin: 2px 0 4px; font-size: .78rem; line-height: 1.45; }
.campaign-signup__privacy a { color: var(--green-dark); }
.campaign-signup button { width: max-content; cursor: pointer; font: inherit; }
@media (max-width: 1040px) {
  .resident-route-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 780px) {
  .resident-nav { top: 70px; }
  .resident-nav__inner { justify-content: flex-start; }
  .content-disclosure__body { padding-inline: 10px; }
}
@media (max-width: 560px) {
  .resident-route-grid { grid-template-columns: 1fr; }
  .resident-nav__inner { width: 100%; padding-inline: 13px; }
}


/* v1.6 live application, countdown and scrutiny updates */
.button--outline { background: transparent; color: var(--green-dark); border: 2px solid var(--green); }
.button--outline:hover { background: var(--green); color: white; }
.application-live { padding: 34px 0; background: #fff7ed; border-bottom: 1px solid #e5c9aa; }
.application-live__grid { display: grid; grid-template-columns: 1fr 300px; gap: 34px; align-items: center; }
.application-live h2 { margin: 2px 0 10px; font-size: clamp(1.55rem,3vw,2.45rem); }
.application-live p { max-width: 850px; }
.application-live__privacy { margin: 18px 0 0; font-size: .9rem; color: var(--muted); }
.deadline-card { display: grid; gap: 5px; padding: 25px; background: var(--green-dark); color: white; border-radius: 8px; box-shadow: var(--shadow); }
.deadline-card__label { font-size: .82rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 900; color: #f7c68f; }
.deadline-card__count { font-size: clamp(1.65rem,4vw,2.65rem); line-height: 1.05; }
.deadline-card.is-closed { background: #5b2626; }
.section--live-scrutiny { background: #e8efeb; }
.scrutiny-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 30px; }
.scrutiny-grid article { padding: 24px; background: white; border-top: 5px solid var(--amber); box-shadow: 0 8px 20px rgba(18,37,31,.06); }
.scrutiny-grid h3 { margin-top: 0; }
.application-watch { display: grid; grid-template-columns: 2fr 1fr; gap: 1px; margin-top: 26px; background: var(--line); border: 1px solid var(--line); }
.application-watch > div { display: grid; gap: 6px; padding: 18px; background: white; }
.application-watch strong { color: var(--green-dark); }
.application-watch span { color: var(--muted); }
.monitoring-note { margin: 12px 0 0; font-size: .88rem; color: var(--muted); }
.action-card__secondary { display: inline-block; margin: 12px 0 0 10px; color: white; font-weight: 800; }
@media (max-width: 860px) {
  .application-live__grid, .scrutiny-grid, .application-watch { grid-template-columns: 1fr; }
}
