.ask-hope-page {
  background: var(--paper);
}

.hope-hero {
  min-height: 790px;
  padding: clamp(4.8rem, 8vw, 8rem) clamp(1.5rem, 7vw, 8rem);
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(480px, 1fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
  color: white;
  background:
    radial-gradient(circle at 86% 24%, rgba(229,182,68,.12), transparent 25%),
    linear-gradient(135deg, var(--navy-950), #082c4b 68%, #0e4265);
  overflow: hidden;
}

.hope-hero-copy {
  position: relative;
  z-index: 2;
}

.hope-hero .eyebrow,
.ag-role .eyebrow,
.hope-closing .eyebrow {
  color: var(--gold);
}

.hope-hero h1 {
  max-width: 850px;
  font-size: clamp(3.8rem, 6vw, 6.6rem);
}

.hope-hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hope-hero .hero-lead {
  max-width: 760px;
}

.pilot-note {
  max-width: 700px;
  margin-top: 1.6rem;
  padding: 1rem 1.2rem;
  color: #f1e4bd;
  background: rgba(229,182,68,.08);
  border-left: 4px solid var(--gold);
  font-size: .8rem;
}

.hope-hero-visual {
  min-height: 620px;
  position: relative;
}

.hope-hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 5% 6%;
  border: 1px solid rgba(229,182,68,.28);
  box-shadow: 0 0 0 45px rgba(229,182,68,.025), 0 0 0 90px rgba(255,255,255,.018);
  transform: rotate(3deg);
}

.hope-hero-visual img {
  width: 100%;
  height: 620px;
  position: relative;
  z-index: 1;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 32px 75px rgba(0,0,0,.32);
}

.signal {
  padding: .65rem .85rem;
  position: absolute;
  z-index: 3;
  color: var(--navy-950);
  background: var(--gold);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.signal-one { left: -1rem; top: 14%; }
.signal-two { right: -1.2rem; top: 48%; }
.signal-three { left: 12%; bottom: 3%; }

.hope-truth-band {
  padding: 1.85rem clamp(1.5rem, 7vw, 8rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  color: var(--navy-950);
  background: var(--gold);
  text-align: center;
}

.hope-truth-band p,
.hope-truth-band strong {
  margin: 0;
}

.hope-truth-band p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 700;
}

.hope-truth-band strong {
  max-width: 600px;
  padding-left: clamp(1.5rem, 4vw, 4rem);
  border-left: 1px solid rgba(4,22,37,.3);
  font-size: .78rem;
  line-height: 1.65;
}

.capability-section,
.demonstration-section,
.workflow-section,
.uses-section,
.guardrail-section,
.nonpartisan-section,
.pilot-section,
.ag-role,
.source-section {
  padding: clamp(5rem, 9vw, 9rem) clamp(1.5rem, 7vw, 8rem);
}

.hope-heading {
  max-width: 1220px;
}

.hope-heading > p {
  font-size: 1rem;
  line-height: 1.75;
}

.capability-grid {
  max-width: 1220px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #c8c9c4;
  border: 1px solid #c8c9c4;
}

.capability-grid article {
  min-height: 440px;
  padding: clamp(2rem, 3vw, 3rem);
  background: white;
}

.capability-grid article > span {
  color: #916209;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 3rem 0 1.5rem;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  background: var(--gold);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
}

.capability-grid h3 {
  margin-bottom: 1rem;
  color: var(--navy-950);
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
}

.capability-grid p {
  color: var(--muted);
  font-size: .84rem;
}

.demonstration-section {
  color: white;
  background:
    radial-gradient(circle at 89% 18%, rgba(229,182,68,.1), transparent 27%),
    var(--navy-900);
}

.demo-heading {
  max-width: 880px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.demo-heading .eyebrow {
  color: var(--gold);
}

.demo-heading h2 {
  color: white;
}

.demo-heading > p:not(.eyebrow) {
  color: #c8d4dc;
}

.demo-shell {
  max-width: 1160px;
  margin: auto;
  color: var(--ink);
  background: #edf1f3;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 36px 90px rgba(0,0,0,.35);
}

.demo-topbar {
  min-height: 82px;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  color: white;
  background: var(--navy-950);
  border-bottom: 3px solid var(--gold);
}

.hope-dot {
  width: 34px;
  height: 34px;
  position: relative;
  flex: 0 0 auto;
  background: var(--gold);
  border-radius: 50%;
}

.hope-dot::after {
  content: "H";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  font-family: var(--serif);
  font-weight: 800;
}

.demo-topbar > div {
  display: grid;
  line-height: 1.15;
}

.demo-topbar strong {
  font-family: var(--serif);
  font-size: 1.1rem;
}

.demo-topbar small {
  margin-top: .25rem;
  color: #b9c8d2;
  font-size: .6rem;
}

.demo-status {
  margin-left: auto;
  padding: .45rem .65rem;
  color: #f5dda0;
  border: 1px solid rgba(229,182,68,.45);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.demo-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
}

.demo-choices {
  padding: 1rem;
  display: grid;
  align-content: start;
  gap: .5rem;
  background: #dfe7eb;
  border-right: 1px solid #c4cfd5;
}

.demo-choices button {
  width: 100%;
  padding: 1rem;
  color: var(--navy-800);
  background: transparent;
  border: 0;
  border-left: 4px solid transparent;
  font: inherit;
  font-size: .75rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.demo-choices button:hover,
.demo-choices button:focus,
.demo-choices button.is-active {
  color: var(--navy-950);
  background: white;
  border-left-color: var(--gold);
}

.demo-conversation {
  min-height: 620px;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.message {
  display: grid;
  gap: .45rem;
}

.message > span,
.demo-output > span {
  color: #6b7d8b;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.message p {
  margin: 0;
}

.message-user {
  width: min(85%, 620px);
  margin-left: auto;
}

.message-user > span {
  text-align: right;
}

.message-user p {
  padding: 1.15rem 1.3rem;
  color: white;
  background: var(--navy-700);
  border-radius: 16px 16px 2px 16px;
  font-size: .86rem;
}

.message-hope {
  width: min(95%, 760px);
}

.message-hope > div {
  padding: 1.35rem 1.45rem;
  background: white;
  border-left: 4px solid var(--gold);
  box-shadow: 0 8px 24px rgba(4,22,37,.08);
}

.message-hope p,
.message-hope li {
  color: #364d5e;
  font-size: .82rem;
}

.message-hope ul {
  margin: 1rem 0;
  padding-left: 1.25rem;
}

.demo-sources {
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  border-top: 1px solid #dfe3e5;
}

.demo-sources a {
  padding: .5rem .65rem;
  color: var(--navy-800);
  background: var(--cream);
  font-size: .62rem;
  font-weight: 800;
  text-decoration: none;
}

.demo-output {
  margin-top: auto;
  padding: 1.2rem 1.3rem;
  display: grid;
  gap: .4rem;
  background: #fff7df;
  border: 1px solid #e4c877;
}

.demo-output strong {
  color: var(--navy-950);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.workflow-section {
  background: var(--cream);
}

.workflow-list {
  max-width: 1220px;
  margin: auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  border-top: 1px solid #c7c6bf;
  border-left: 1px solid #c7c6bf;
}

.workflow-list li {
  min-height: 360px;
  padding: clamp(1.5rem, 2.7vw, 2.5rem);
  background: rgba(255,255,255,.44);
  border-right: 1px solid #c7c6bf;
  border-bottom: 1px solid #c7c6bf;
}

.workflow-list li > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  background: var(--gold);
  font-family: var(--serif);
  font-weight: 800;
}

.workflow-list h3 {
  margin: 3.4rem 0 1rem;
  color: var(--navy-950);
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
}

.workflow-list p {
  color: var(--muted);
  font-size: .8rem;
}

.uses-section {
  display: grid;
  grid-template-columns: minmax(400px, .8fr) minmax(580px, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.uses-copy {
  max-width: 620px;
  position: sticky;
  top: 3rem;
}

.uses-copy p:not(.eyebrow) {
  color: var(--muted);
}

.uses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #c8c9c4;
  border: 1px solid #c8c9c4;
}

.uses-grid article {
  min-height: 225px;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  background: white;
}

.uses-grid strong {
  display: block;
  margin-bottom: 1rem;
  color: var(--navy-950);
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.1;
}

.uses-grid p {
  color: var(--muted);
  font-size: .82rem;
}

.guardrail-section {
  color: white;
  background: var(--navy-950);
}

.guardrail-copy {
  max-width: 920px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.guardrail-copy .eyebrow {
  color: var(--gold);
}

.guardrail-copy h2 {
  color: white;
}

.guardrail-copy p:not(.eyebrow) {
  color: #c5d2da;
}

.guardrail-grid {
  max-width: 1220px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.15);
}

.guardrail-grid article {
  min-height: 310px;
  padding: clamp(2rem, 3.5vw, 3.2rem);
  background: var(--navy-800);
}

.guardrail-grid span {
  color: var(--gold);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.guardrail-grid h3 {
  margin: 3rem 0 1rem;
  color: white;
  font-size: clamp(1.8rem, 2.7vw, 2.5rem);
}

.guardrail-grid p {
  color: #cbd6de;
  font-size: .84rem;
}

.nonpartisan-section {
  display: grid;
  grid-template-columns: minmax(220px, .45fr) minmax(600px, 1.55fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  background: var(--paper);
}

.nonpartisan-seal {
  width: min(100%, 270px);
  margin: auto;
}

.nonpartisan-seal svg {
  width: 100%;
  filter: drop-shadow(0 18px 25px rgba(4,22,37,.16));
}

.nonpartisan-section > div:last-child {
  max-width: 920px;
}

.nonpartisan-section p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1rem;
}

.pilot-section {
  background: var(--cream);
}

.pilot-phases {
  max-width: 1220px;
  margin: auto;
  padding: 0;
  list-style: none;
  border-top: 1px solid #bfc0bb;
}

.pilot-phases li {
  min-height: 165px;
  padding: 2.1rem 0;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  border-bottom: 1px solid #bfc0bb;
}

.pilot-phases b {
  color: #926309;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.pilot-phases h3 {
  margin: 0 0 .7rem;
  color: var(--navy-950);
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
}

.pilot-phases p {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.ag-role {
  color: white;
  background: var(--navy-800);
  text-align: center;
}

.ag-role h2,
.ag-role > p:not(.eyebrow) {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.ag-role h2 {
  color: white;
}

.ag-role > p:not(.eyebrow) {
  color: #d0dbe2;
  font-size: 1rem;
}

.ag-role > p:last-child {
  max-width: 890px;
  margin-top: 2rem;
  padding-top: 2rem;
  color: var(--gold-light);
  border-top: 1px solid rgba(255,255,255,.16);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.source-section {
  background: var(--paper);
}

.source-section > h2,
.source-section > .eyebrow {
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
}

.source-grid {
  max-width: 1220px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #c9c9c3;
  border: 1px solid #c9c9c3;
}

.source-grid a {
  min-height: 155px;
  padding: 1.7rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  background: white;
  text-decoration: none;
}

.source-grid a:hover,
.source-grid a:focus {
  background: #fffaf0;
}

.source-grid strong {
  font-family: var(--serif);
  font-size: 1.35rem;
}

.source-grid span {
  color: #7e5a10;
  font-size: .7rem;
  font-weight: 800;
}

.hope-closing {
  background:
    radial-gradient(circle at 50% 110%, rgba(229,182,68,.11), transparent 42%),
    var(--navy-950);
}

@media (max-width: 1120px) {
  .hope-hero,
  .uses-section,
  .nonpartisan-section {
    grid-template-columns: 1fr;
  }

  .hope-hero-visual {
    width: min(100%, 780px);
  }

  .capability-grid,
  .workflow-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-list li:last-child {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .uses-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .hope-hero {
    min-height: 0;
    padding-top: 4.5rem;
    gap: 3.5rem;
  }

  .hope-hero h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .hope-hero-visual,
  .hope-hero-visual img {
    min-height: 0;
    height: 72vw;
  }

  .signal {
    font-size: .52rem;
  }

  .signal-one { left: -.5rem; }
  .signal-two { right: -.5rem; }

  .hope-truth-band {
    padding-top: 2.1rem;
    padding-bottom: 2.1rem;
    display: block;
    text-align: left;
  }

  .hope-truth-band strong {
    margin-top: 1.1rem;
    padding: 1.1rem 0 0;
    display: block;
    border-top: 1px solid rgba(4,22,37,.3);
    border-left: 0;
  }

  .capability-grid,
  .workflow-list,
  .uses-grid,
  .guardrail-grid,
  .source-grid,
  .demo-layout {
    grid-template-columns: 1fr;
  }

  .capability-grid article,
  .workflow-list li,
  .workflow-list li:last-child {
    min-height: 0;
    grid-column: auto;
  }

  .demo-heading,
  .guardrail-copy,
  .ag-role,
  .hope-closing {
    text-align: left;
  }

  .demo-choices {
    grid-template-columns: 1fr 1fr;
    border-right: 0;
    border-bottom: 1px solid #c4cfd5;
  }

  .demo-choices button {
    padding: .75rem;
    border-left: 0;
    border-bottom: 3px solid transparent;
    font-size: .66rem;
  }

  .demo-choices button:hover,
  .demo-choices button:focus,
  .demo-choices button.is-active {
    border-left-color: transparent;
    border-bottom-color: var(--gold);
  }

  .demo-status {
    display: none;
  }

  .demo-conversation {
    min-height: 700px;
  }

  .message-user,
  .message-hope {
    width: 100%;
  }

  .pilot-phases li {
    grid-template-columns: 1fr;
    gap: .8rem;
  }

  .nonpartisan-seal {
    width: 165px;
  }

  .centered {
    justify-content: stretch;
  }
}

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