:root {
  color-scheme: light;
  --ink: #0b1118;
  --muted: #414b57;
  --line: #d8dee6;
  --paper: #fbfcfe;
  --wash: #eef4f7;
  --teal: #117a7a;
  --teal-dark: #075d5f;
  --gold: #b77716;
  --red: #a33b3b;
  --green: #2d7a4f;
  --blue: #2e5f98;
  --shadow: 0 18px 50px rgba(23, 32, 42, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-theme="patriot"] {
  --ink: #0a1020;
  --muted: #424a5c;
  --line: #d9deea;
  --paper: #fbfcff;
  --wash: #edf2fb;
  --teal: #244f9e;
  --teal-dark: #173a78;
  --gold: #a96d18;
  --red: #b2313b;
  --green: #2f6f55;
  --blue: #244f9e;
  --shadow: 0 18px 50px rgba(21, 33, 59, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 252, 254, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

body[data-theme="patriot"] .topbar {
  border-bottom: 3px solid var(--red);
}

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

.brand-mark {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 6px;
  overflow: hidden;
  background: var(--teal);
  color: white;
  font-size: 0.82rem;
}

.brand-mark::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 18px solid white;
  border-right: 18px solid transparent;
  content: "";
}

.brand-mark span,
.brand-mark {
  isolation: isolate;
}

.brand-mark {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 1.8vw, 20px);
  justify-content: flex-end;
  color: var(--muted);
  font-size: clamp(0.82rem, 1.4vw, 0.95rem);
  font-weight: 650;
}

nav a {
  text-decoration: none;
}

.theme-toggle {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 12px;
  background: white;
  color: var(--teal-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
}

body[data-theme="patriot"] .theme-toggle {
  color: var(--red);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.share-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 30px rgba(23, 32, 42, 0.07);
}

.share-banner p {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.45;
}

.share-banner button {
  min-height: 36px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 7px;
  padding: 0 13px;
  background: var(--teal);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 850;
}

.prototype-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(183, 119, 22, 0.35);
  border-radius: 8px;
  background: #fff8eb;
}

.prototype-notice strong {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.prototype-notice p {
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
}

.hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: clamp(54px, 10vw, 100px) 0 40px;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.24rem);
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 7px;
  font-weight: 800;
  text-decoration: none;
}

.primary {
  background: var(--teal);
  color: white;
}

body[data-theme="patriot"] .primary {
  background: var(--blue);
}

.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
}

.impact-panel,
.detail-panel,
.filters,
.method-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.impact-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.impact-panel div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.impact-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.metric-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.impact-panel strong {
  font-size: 1.35rem;
}

.featured-analysis {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: stretch;
  margin: 0 0 24px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(23, 84, 58, 0.28);
  border-radius: 8px;
  background: #f2fbf7;
}

.featured-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
}

.featured-copy p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.featured-status {
  display: grid;
  gap: 12px;
  align-content: center;
}

.featured-status div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.featured-status span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-status strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}

.featured-status p {
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
}

.second-queue {
  background: #fbfdfc;
}

.queue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.queue-card {
  display: flex;
  min-height: 370px;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.queue-card.recommended {
  border-color: rgba(23, 84, 58, 0.35);
  background: #f2fbf7;
}

.queue-card > span {
  align-self: flex-start;
  border-radius: 999px;
  padding: 5px 9px;
  background: #eef4f1;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.queue-card h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
}

.queue-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.queue-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  line-height: 1.5;
}

.queue-card a {
  margin-top: auto;
  color: var(--teal-dark);
  font-weight: 900;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.compare-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.compare-card.recommended {
  border-color: rgba(23, 84, 58, 0.35);
  background: #f2fbf7;
}

.compare-card > span {
  align-self: flex-start;
  border-radius: 999px;
  padding: 5px 9px;
  background: #eef4f1;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.compare-card h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2;
}

.compare-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.compare-card dl div {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.compare-card dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.compare-card dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.compare-card dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
}

.compare-card a {
  margin-top: auto;
  color: var(--teal-dark);
  font-weight: 900;
}

.compare-takeaway {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(23, 84, 58, 0.25);
  border-radius: 8px;
  background: #f2fbf7;
}

.compare-takeaway strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
}

.compare-takeaway p {
  max-width: 900px;
  margin: 0;
  color: var(--ink);
  line-height: 1.65;
}

.mission-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 5vw, 54px);
  align-items: center;
  margin: 10px 0 24px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6fafb;
}

.mission-band h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.08;
}

.mission-band p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.filters {
  display: grid;
  grid-template-columns: minmax(180px, 230px) minmax(220px, 1fr) repeat(2, minmax(180px, 220px));
  gap: 16px;
  padding: 16px;
  margin: 12px 0 34px;
}

.data-status {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f6fafb;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.bill-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
  gap: 24px;
  align-items: start;
  padding-bottom: 56px;
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.section-note {
  max-width: 650px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.bill-list {
  display: grid;
  gap: 12px;
}

.bill-card {
  width: 100%;
  padding: 18px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  cursor: pointer;
}

.bill-card[aria-selected="true"] {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(17, 122, 122, 0.15);
}

.bill-card h3 {
  margin: 10px 0 8px;
  font-size: 1rem;
}

.bill-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  background: var(--wash);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.pill.positive {
  background: #e5f4ec;
  color: var(--green);
}

.pill.mixed {
  background: #fff2d9;
  color: var(--gold);
}

.pill.negative {
  background: #f8e7e7;
  color: var(--red);
}

.detail-panel {
  position: sticky;
  top: 84px;
  padding: clamp(20px, 3vw, 30px);
}

.detail-panel h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.detail-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.score-box {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.score-box span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.score-box strong {
  display: block;
  margin-top: 8px;
  font-size: 2.2rem;
}

.bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7ecf1;
}

.bar > span {
  display: block;
  height: 100%;
  background: var(--blue);
}

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

.official-record {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.official-grid {
  display: grid;
  gap: 16px;
}

.official-grid section {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.official-grid p {
  margin: 0;
}

.official-grid a {
  color: var(--teal-dark);
  font-weight: 800;
}

.loading-note {
  margin: 0;
  color: var(--muted);
}

.trust-checklist {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6fafb;
}

.trust-checklist h3 {
  margin-top: 0;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.trust-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.45;
}

.trust-dot {
  display: inline-grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: var(--teal);
  color: white;
  font-size: 0.75rem;
  font-weight: 900;
}

.workflow-status {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6fafb;
}

.workflow-status h3 {
  margin-top: 0;
}

.workflow-status p {
  margin: 12px 0 0;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.workflow-step {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 92px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--muted);
}

.workflow-step span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--wash);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.workflow-step strong {
  color: inherit;
  font-size: 0.86rem;
  line-height: 1.25;
}

.workflow-step.complete,
.workflow-step.current {
  border-color: rgba(17, 122, 122, 0.42);
  color: var(--ink);
}

.workflow-step.complete span,
.workflow-step.current span {
  background: var(--teal);
  color: white;
}

.workflow-step.current {
  box-shadow: 0 0 0 3px rgba(17, 122, 122, 0.14);
}

.status-pill {
  background: #e8f0fb;
  color: var(--blue);
}

.video-brief {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6fafb;
}

.avatar-host {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 999px;
  background: var(--teal);
  color: white;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(17, 122, 122, 0.2);
}

.video-brief h3 {
  margin-top: 0;
}

.brief-script {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.brief-script p {
  margin: 0;
}

.challenge-module {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.challenge-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.challenge-form textarea {
  width: 100%;
  min-height: 86px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.challenge-form button,
.vote-button {
  min-height: 38px;
  border: 0;
  border-radius: 7px;
  padding: 0 13px;
  background: var(--teal);
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.challenge-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.challenge-card {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.challenge-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

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

.community-votes {
  display: grid;
  gap: 8px;
}

.vote-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 2fr auto;
  gap: 10px;
  align-items: center;
}

.vote-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7ecf1;
}

.vote-track span {
  display: block;
  height: 100%;
  background: var(--teal);
}

.vote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.vote-button {
  min-height: 34px;
  background: var(--wash);
  color: var(--ink);
}

.detail-columns h3 {
  margin-bottom: 8px;
}

ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.trust-standard,
.flagship,
.second-dive,
.methodology,
.conversation,
.brand-lab,
.vision,
.sources {
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

.trust-standard {
  padding-top: 34px;
}

.flagship-card,
.second-dive-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.flagship-card h3,
.second-dive-card h3 {
  margin: 12px 0 8px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.flagship-card p,
.second-dive-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.flagship-card button,
.second-dive-card button {
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  padding: 0 15px;
  background: var(--teal);
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.flagship-detail,
.second-dive-detail {
  margin-top: 14px;
}

.second-analysis-grid {
  margin-top: 16px;
}

.light-audit {
  background: #f6fafb;
}

.conversation-signals .conversation-sources {
  background: white;
}

.flagship-at-glance {
  background: #f6fafb;
}

.glance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.glance-grid > div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.glance-grid h4 {
  margin: 0 0 8px;
}

.glance-grid p {
  margin: 0;
}

.source-mini {
  margin-top: 10px !important;
  font-size: 0.86rem;
}

.source-mini a {
  color: var(--teal-dark);
  font-weight: 850;
}

.glance-grid ul {
  margin: 0;
}

.deep-dive-grid,
.party-evidence,
.evidence-vote,
.source-audit,
.version-comparison,
.claim-audit,
.publication-readiness,
.shareable-summary,
.final-review-panel {
  background: #f6fafb;
}

.deep-grid,
.party-grid,
.audit-grid,
.version-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.version-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.deep-grid > div,
.party-grid > div,
.audit-grid > div,
.version-grid > div,
.evidence-panel {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.deep-grid h4,
.party-grid h4,
.audit-grid h4,
.version-grid h4 {
  margin: 0 0 8px;
}

.deep-grid p,
.party-grid p,
.audit-grid p,
.version-grid p,
.evidence-panel p {
  margin: 0;
}

.party-grid ul {
  margin: 0;
}

.evidence-panel strong {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: #fff2d9;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.evidence-panel span {
  font-weight: 850;
  color: var(--ink);
}

.evidence-vote-card > p {
  line-height: 1.6;
}

.evidence-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.evidence-breakdown > div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.evidence-breakdown h4 {
  margin: 0 0 6px;
}

.review-note {
  margin-top: 12px !important;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.section-note {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
}

.claim-audit-list {
  display: grid;
  gap: 12px;
}

.claim-audit-item {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.claim-audit-item h4 {
  margin: 8px 0 0;
}

.claim-audit-item p {
  margin: 0;
  line-height: 1.55;
}

.audit-status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.audit-status.verified {
  background: #e5f4ec;
  color: var(--green);
}

.audit-status.pending {
  background: #fff2d9;
  color: var(--gold);
}

.audit-status.qualified {
  background: #e8f0fb;
  color: var(--blue);
}

.comparison-rules {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.comparison-rules h4 {
  margin: 0 0 8px;
}

.comparison-rules ul {
  margin: 0;
}

.summary-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.summary-card > span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  margin-bottom: 10px;
  background: #e8f0fb;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.summary-card p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.65;
}

.summary-card ul {
  margin: 0;
}

.review-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.review-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.review-check input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--teal);
}

.review-outcome {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.review-outcome strong {
  display: block;
  margin-bottom: 6px;
}

.review-outcome p {
  margin: 0;
}

.review-outcome.ready {
  border-color: rgba(45, 122, 79, 0.45);
  background: #e5f4ec;
}

.review-outcome.published {
  border-color: rgba(23, 84, 58, 0.5);
  background: #dff1e8;
}

.review-outcome.hold {
  border-color: rgba(183, 119, 22, 0.35);
  background: #fff8eb;
}

.review-publish-button {
  margin-top: 12px;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  background: var(--green);
  color: white;
  font-weight: 900;
  cursor: pointer;
}

.review-publish-button:disabled {
  background: #c9d6d0;
  color: #4f6259;
  cursor: not-allowed;
}

.readiness-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.readiness-grid > div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.readiness-grid span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.readiness-grid .ready span {
  background: #e5f4ec;
  color: var(--green);
}

.readiness-grid .review span {
  background: #fff2d9;
  color: var(--gold);
}

.readiness-grid h4 {
  margin: 0 0 8px;
}

.readiness-grid p {
  margin: 0;
}

.method-grid,
.conversation-grid,
.trust-grid,
.vision-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.review-model {
  background: #fbfdfc;
}

.content-toggle {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.content-toggle summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: center;
  padding: 18px;
  cursor: pointer;
  list-style: none;
}

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

.content-toggle summary::after {
  width: 32px;
  min-height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--teal-dark);
  content: "+";
  font-size: 1.2rem;
  font-weight: 900;
}

.content-toggle[open] summary::after {
  content: "-";
}

.content-toggle summary .eyebrow {
  grid-column: 1;
  margin: 0;
}

.content-toggle summary strong {
  grid-column: 1;
  display: block;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.15;
}

.content-toggle summary small {
  grid-column: 1;
  max-width: 760px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.content-toggle > :not(summary) {
  margin: 0 18px 18px;
}

.review-model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.review-model-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.review-model-grid span {
  display: inline-flex;
  width: 32px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-weight: 900;
}

.review-model-grid h3 {
  margin: 14px 0 8px;
}

.review-model-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.review-pledge {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(23, 84, 58, 0.25);
  border-radius: 8px;
  background: #f2fbf7;
}

.review-pledge strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
}

.review-pledge p {
  max-width: 920px;
  margin: 0;
  color: var(--ink);
  line-height: 1.65;
}

.corrections-policy {
  background: #fbfdfc;
}

.policy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.92fr));
  gap: 14px;
}

.policy-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.policy-grid h3 {
  margin: 0 0 10px;
}

.policy-grid p,
.policy-grid ol {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.policy-grid ol {
  padding-left: 20px;
}

.policy-grid li + li {
  margin-top: 8px;
}

.cost-guardrails {
  background: #f6fafb;
}

.guardrail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.guardrail-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.guardrail-grid h3 {
  margin: 0 0 8px;
}

.guardrail-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.desk-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.desk-card {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.desk-card.active {
  border-color: rgba(23, 84, 58, 0.35);
  background: #f2fbf7;
}

.desk-card span {
  align-self: flex-start;
  border-radius: 999px;
  padding: 5px 9px;
  background: #eef4f1;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.desk-card.active span {
  background: #dff1e8;
}

.desk-card h3 {
  margin: 0;
}

.desk-card p,
.desk-card strong {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.desk-card strong {
  margin-top: auto;
  color: var(--ink);
  font-size: 0.9rem;
}

.conversation-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.signal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.signal-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.signal-grid span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  margin-bottom: 10px;
  background: #eef4f1;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.conversation-sources {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(23, 84, 58, 0.25);
  border-radius: 8px;
  background: #f2fbf7;
}

.conversation-sources strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
}

.conversation-sources p {
  max-width: 940px;
  margin: 0;
  color: var(--ink);
  line-height: 1.65;
}

.method-grid > div,
.conversation-grid > div,
.conversation-grid > article,
.trust-grid > div,
.vision-grid > div {
  padding: 20px;
  box-shadow: none;
}

.method-grid h3,
.conversation-grid h3,
.trust-grid h3,
.vision-grid h3 {
  margin: 0 0 8px;
}

.method-grid p,
.conversation-grid p,
.trust-grid p,
.vision-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.vision-lead {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.brief-signup {
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

.signup-form {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(360px, 1.2fr) auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  border: 1px solid rgba(23, 84, 58, 0.25);
  border-radius: 8px;
  background: #f2fbf7;
}

.signup-form fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.signup-form legend {
  width: 100%;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.signup-form fieldset label {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  background: white;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.signup-form input[type="checkbox"] {
  width: auto;
  min-height: auto;
  accent-color: var(--teal);
}

.signup-form button {
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  padding: 0 15px;
  background: var(--teal);
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.signup-status {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.brand-intro {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.logo-option {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.logo-option h3 {
  margin: 16px 0 8px;
}

.logo-option p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.logo-demo {
  position: relative;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: var(--teal);
  color: white;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(17, 122, 122, 0.2);
}

.logo-current::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 32px solid white;
  border-right: 32px solid transparent;
  content: "";
}

.logo-current span {
  position: relative;
}

.logo-bars {
  align-items: end;
  grid-template-columns: repeat(3, 10px);
  justify-content: center;
  gap: 6px;
  padding-bottom: 18px;
}

.logo-bars span {
  width: 10px;
  border-radius: 999px 999px 2px 2px;
  background: white;
}

.logo-bars span:nth-child(1) {
  height: 22px;
}

.logo-bars span:nth-child(2) {
  height: 38px;
}

.logo-bars span:nth-child(3) {
  height: 30px;
}

.logo-lens::before {
  width: 34px;
  height: 34px;
  border: 5px solid white;
  border-radius: 999px;
  content: "";
}

.logo-lens span {
  position: absolute;
  right: 17px;
  bottom: 16px;
  width: 20px;
  height: 5px;
  border-radius: 999px;
  background: white;
  transform: rotate(42deg);
  transform-origin: right center;
}

.logo-pulse span {
  width: 48px;
  height: 30px;
  background:
    linear-gradient(90deg, transparent 0 8px, white 8px 12px, transparent 12px 18px, white 18px 22px, transparent 22px 100%),
    linear-gradient(135deg, transparent 0 29%, white 30% 34%, transparent 35% 100%),
    linear-gradient(45deg, transparent 0 38%, white 39% 43%, transparent 44% 100%);
}

.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.source-list a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 13px;
  background: white;
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

body[data-theme="patriot"] .source-list a {
  color: var(--blue);
}

footer {
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.footer-nav {
  justify-content: center;
  margin-bottom: 12px;
}

footer p {
  margin: 6px 0;
}

@media (max-width: 900px) {
  .hero,
  .featured-analysis,
  .queue-grid,
  .compare-grid,
  .mission-band,
  .bill-layout,
  .filters,
  .method-grid,
  .trust-grid,
  .review-model-grid,
  .policy-grid,
  .guardrail-grid,
  .desk-grid,
  .conversation-grid,
  .signup-form,
  .vision-grid,
  .logo-grid {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 154px;
  }

  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  nav {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-start;
  }

  .theme-toggle {
    align-self: center;
    justify-self: end;
  }

  .share-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .share-banner button {
    width: 100%;
  }

  .prototype-notice {
    flex-direction: column;
  }

  .hero-copy h1 {
    font-size: 2.8rem;
  }

  .score-grid,
  .detail-columns,
  .trust-items {
    grid-template-columns: 1fr;
  }

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

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

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

  .evidence-breakdown {
    grid-template-columns: 1fr;
  }

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

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

  .workflow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .review-checks {
    grid-template-columns: 1fr;
  }

  .video-brief {
    grid-template-columns: 1fr;
  }

  .vote-row {
    grid-template-columns: 1fr;
  }
}
