:root {
  color-scheme: dark;
  --bg: #10100f;
  --ink: #f7f3ea;
  --muted: #a9aa9f;
  --line: #34352f;
  --panel: #181916;
  --panel-strong: #20221d;
  --teal: #39d3bb;
  --green: #78d071;
  --amber: #e8bd47;
  --red: #f06457;
  --blue: #78a8ff;
  --violet: #b78cff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(65, 77, 59, 0.28), transparent 260px),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.login-body {
  min-height: 100svh;
}

button,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.demo-shell {
  width: min(1180px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 24px 0 34px;
}

.demo-top,
.section-head,
.hume-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.demo-top {
  min-height: 66px;
}

.session-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.demo-top h1,
.hero-copy h2,
.section-head h2 {
  margin: 0;
  letter-spacing: 0;
}

.demo-top h1 {
  font-size: clamp(27px, 5vw, 48px);
  line-height: 0.96;
}

.eyebrow,
.kicker {
  margin: 0 0 7px;
  color: var(--muted);
  font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.icon-link,
.icon-button,
.vote-button,
.voice-button {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #171814;
}

.icon-link,
.icon-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.icon-link svg,
.icon-button svg,
.vote-button svg,
.voice-button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 18%, rgba(120, 231, 227, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(11, 16, 27, 0.94), rgba(16, 16, 15, 0.82)),
    #0b101b;
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  min-height: 100svh;
}

.login-visual {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-right: 1px solid rgba(120, 231, 227, 0.22);
  background: #05070d;
}

.login-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 54%, rgba(5, 7, 13, 0.68)),
    linear-gradient(0deg, rgba(5, 7, 13, 0.18), transparent 36%);
  pointer-events: none;
}

.login-visual img {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(0.9) contrast(1.08);
}

.login-panel {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: max(30px, env(safe-area-inset-top)) clamp(30px, 5.4vw, 58px) max(30px, env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, rgba(57, 211, 187, 0.12), transparent 46%),
    linear-gradient(135deg, rgba(8, 13, 10, 0.94), rgba(22, 24, 19, 0.98));
}

.login-panel h1 {
  margin: 0;
  max-width: 8ch;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.9;
  letter-spacing: 0;
}

.login-copy,
.login-status {
  margin: 0;
  color: var(--muted);
  line-height: 1.44;
}

.login-copy {
  max-width: 29rem;
  font-size: 18px;
}

.login-teaser {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 6px;
}

.login-teaser div {
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(120, 231, 227, 0.28);
  background: rgba(8, 18, 16, 0.58);
}

.login-teaser strong,
.login-teaser span {
  display: block;
}

.login-teaser strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.login-teaser span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.login-unlocks {
  display: grid;
  gap: 9px;
  margin: -2px 0 2px;
  padding: 0;
  list-style: none;
}

.login-unlocks li {
  border: 1px solid rgba(120, 231, 227, 0.22);
  background: rgba(8, 18, 16, 0.38);
  color: var(--muted);
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.3;
}

.login-panel form {
  display: grid;
  gap: 11px;
  margin-top: 12px;
}

.login-panel input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #3f463d;
  border-radius: 0;
  background: rgba(10, 12, 10, 0.88);
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
}

.login-panel input:focus {
  border-color: var(--blue);
  outline: 2px solid rgba(96, 165, 250, 0.58);
  outline-offset: 2px;
}

.login-submit {
  min-height: 52px;
  margin-top: 6px;
  border: 1px solid var(--teal);
  border-radius: 0;
  background: linear-gradient(180deg, #12332d, #10211d);
  color: var(--ink);
  font-weight: 800;
}

.login-submit:hover {
  background: linear-gradient(180deg, #17463e, #12302b);
}

.review-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 10%, rgba(120, 231, 227, 0.16), transparent 28%),
    linear-gradient(135deg, #080d12, #171812 62%, #10151c);
}

.review-shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) 0;
}

.review-hero {
  max-width: 760px;
}

.review-session {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: clamp(24px, 5vw, 46px);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(120, 231, 227, 0.22);
  color: var(--muted);
  font: 800 12px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.review-session a,
.review-session button {
  color: var(--ink);
  text-decoration: none;
}

.review-session span {
  flex: 1 1 280px;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: center;
}

.review-session button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(120, 231, 227, 0.36);
  background: rgba(8, 16, 18, 0.68);
  cursor: pointer;
}

.review-session button:hover,
.review-session button:focus-visible {
  border-color: var(--teal);
  background: rgba(12, 31, 29, 0.86);
}

.review-hero h1 {
  margin: 0;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.92;
  letter-spacing: 0;
}

.review-hero p:last-child {
  max-width: 42rem;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(26px, 5vw, 46px);
}

.review-work-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.review-section-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 100%;
  padding: 16px;
  border: 1px solid rgba(120, 231, 227, 0.24);
  background:
    linear-gradient(180deg, rgba(120, 231, 227, 0.08), transparent 44%),
    rgba(7, 13, 15, 0.72);
}

.review-section-label {
  color: var(--teal);
  font: 900 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.review-section-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.18;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.review-section-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
}

.review-section-receipt {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(239, 193, 91, 0.22);
  background: rgba(8, 16, 18, 0.58);
}

.review-section-receipt div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 8px;
}

.review-section-receipt dt,
.review-section-receipt dd {
  margin: 0;
  font: 800 11px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.review-section-receipt dt {
  color: var(--amber);
}

.review-section-receipt dd {
  color: rgba(248, 245, 237, 0.78);
}

.review-section-status {
  display: block;
  padding: 9px 10px;
  border-left: 3px solid var(--teal);
  background: rgba(120, 231, 227, 0.08);
  color: rgba(248, 245, 237, 0.86);
  font: 800 11px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.review-section-packet {
  padding: 10px 12px;
  border: 1px solid rgba(232, 189, 71, 0.22);
  background: rgba(43, 34, 12, 0.22);
  color: rgba(248, 245, 237, 0.84) !important;
  font: 800 12px/1.36 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.review-readiness {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(120, 231, 187, 0.18);
  background: rgba(8, 16, 18, 0.52);
}

.review-readiness strong,
.review-readiness span,
.review-readiness small {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.review-readiness strong {
  color: var(--teal);
  font-size: 12px;
  line-height: 1.2;
}

.review-readiness span {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.review-readiness small {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.35;
}

.review-readiness[data-readiness-stage*="required"],
.review-readiness[data-readiness-stage*="withheld"] {
  border-color: rgba(240, 100, 87, 0.28);
  background:
    linear-gradient(180deg, rgba(240, 100, 87, 0.08), transparent 58%),
    rgba(8, 16, 18, 0.54);
}

.review-readiness[data-readiness-stage*="required"] strong,
.review-readiness[data-readiness-stage*="withheld"] strong {
  color: var(--red);
}

.review-work-lanes {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.review-work-lanes li {
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid rgba(120, 231, 227, 0.16);
  background: rgba(8, 16, 18, 0.5);
}

.review-work-lanes strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.review-work-lanes span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.review-lane-packet {
  display: grid;
  gap: 6px;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(248, 245, 237, 0.12);
}

.review-lane-packet p {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 8px;
  margin: 0;
}

.review-lane-packet b,
.review-lane-packet span {
  font: 800 10.5px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.review-lane-packet b {
  color: var(--amber);
}

.review-lane-packet span {
  color: rgba(248, 245, 237, 0.74);
}

.review-section-plan {
  border: 1px solid rgba(248, 245, 237, 0.14);
  background: rgba(8, 16, 18, 0.42);
}

.review-section-plan summary {
  cursor: pointer;
  padding: 11px 12px;
  color: var(--ink);
  font: 900 12px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.review-section-plan ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0 12px 12px;
  list-style: none;
}

.review-section-plan li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
}

.review-section-plan strong,
.review-section-plan span {
  font: 800 11px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.review-section-plan strong {
  color: var(--amber);
}

.review-section-plan span {
  color: rgba(248, 245, 237, 0.78);
}

.review-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 210px;
  padding: 16px;
  border: 1px solid rgba(120, 231, 227, 0.28);
  background: rgba(8, 16, 18, 0.78);
  color: var(--ink);
  text-decoration: none;
}

.review-card:hover,
.review-card:focus-visible {
  border-color: var(--teal);
  background: rgba(12, 31, 29, 0.86);
}

.review-card span {
  color: var(--teal);
  font: 800 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.review-card strong {
  font-size: 22px;
  line-height: 1.05;
}

.review-card em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.35;
}

.review-card-meta {
  align-self: end;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(120, 231, 227, 0.18);
  color: #f8f5ed;
  font: 800 11px/1.25 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.review-handoff-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.review-handoff-band div {
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px solid rgba(232, 189, 71, 0.24);
  background: rgba(8, 16, 18, 0.54);
}

.review-handoff-band span {
  color: var(--amber);
  font: 900 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.review-handoff-band strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.review-handoff-band p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.38;
}

.review-cadence-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 12px;
  border: 1px solid rgba(120, 231, 187, 0.22);
  background: rgba(120, 231, 187, 0.22);
}

.review-cadence-strip div {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 14px;
  background: rgba(7, 13, 15, 0.88);
}

.review-cadence-strip div:last-child {
  background:
    linear-gradient(180deg, rgba(240, 100, 87, 0.12), transparent 56%),
    rgba(7, 13, 15, 0.9);
}

.review-cadence-strip span {
  color: var(--teal);
  font: 900 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.review-cadence-strip div:last-child span {
  color: var(--red);
}

.review-cadence-strip strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.18;
}

.review-cadence-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.38;
}

.review-checklist {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(248, 245, 237, 0.14);
  background: rgba(8, 16, 18, 0.54);
}

.review-checklist h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.1;
}

.review-checklist ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.review-checklist li {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(120, 231, 187, 0.18);
  background: rgba(7, 13, 15, 0.7);
}

.review-checklist strong {
  color: var(--amber);
  font: 900 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.review-checklist span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.38;
}

.review-order {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(216, 180, 86, 0.22);
  background:
    linear-gradient(180deg, rgba(216, 180, 86, 0.08), transparent 60%),
    rgba(8, 16, 18, 0.58);
}

.review-order h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.1;
}

.review-order ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: review-order;
}

.review-order li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 10px;
  align-items: start;
  min-height: 118px;
  padding: 12px;
  border: 1px solid rgba(248, 245, 237, 0.12);
  background: rgba(7, 13, 15, 0.7);
  counter-increment: review-order;
}

.review-order li::before {
  content: counter(review-order);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(216, 180, 86, 0.52);
  color: var(--amber);
  font: 900 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.review-order strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.review-order span {
  grid-column: 2;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.38;
}

.review-packets {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(120, 231, 187, 0.2);
  background:
    linear-gradient(180deg, rgba(120, 231, 187, 0.07), transparent 62%),
    rgba(8, 16, 18, 0.58);
}

.review-packets h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.1;
}

.review-packets > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.review-packets article {
  display: grid;
  gap: 9px;
  min-height: 172px;
  padding: 12px;
  border: 1px solid rgba(248, 245, 237, 0.12);
  background: rgba(7, 13, 15, 0.72);
}

.review-packets article > span {
  color: var(--teal);
  font: 900 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.review-packets strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.review-packets p {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 9px;
  margin: 0;
  align-items: baseline;
}

.review-packets b {
  color: var(--amber);
  font: 900 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.review-packets em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  line-height: 1.38;
}

.review-agenda {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(142, 120, 206, 0.24);
  background:
    linear-gradient(180deg, rgba(142, 120, 206, 0.08), transparent 62%),
    rgba(8, 16, 18, 0.58);
}

.review-agenda h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.1;
}

.review-agenda > div {
  display: grid;
  gap: 8px;
}

.review-agenda article {
  display: grid;
  grid-template-columns: 104px minmax(180px, 1fr) minmax(0, 1.2fr);
  gap: 10px 14px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(248, 245, 237, 0.12);
  background: rgba(7, 13, 15, 0.72);
}

.review-agenda article > span {
  color: var(--violet);
  font: 900 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.review-agenda strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.24;
}

.review-agenda p {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  align-items: baseline;
}

.review-agenda b {
  color: var(--amber);
  font: 900 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.review-agenda em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  line-height: 1.38;
}

.review-briefs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.review-briefs article {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(248, 245, 237, 0.14);
  background:
    linear-gradient(180deg, rgba(120, 231, 187, 0.08), transparent 64%),
    rgba(8, 16, 18, 0.68);
}

.review-briefs span {
  color: var(--teal);
  font: 900 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.review-briefs p {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  align-items: baseline;
}

.review-briefs b {
  color: var(--amber);
  font: 900 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.review-briefs em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  line-height: 1.38;
}

@media (max-width: 860px) {
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-work-grid,
  .review-handoff-band,
  .review-cadence-strip,
  .review-order ol,
  .review-packets > div,
  .review-agenda article,
  .review-briefs,
  .review-checklist ul {
    grid-template-columns: 1fr;
  }

  .review-agenda p {
    grid-template-columns: 58px minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .review-session {
    align-items: stretch;
  }

  .review-session span {
    flex-basis: 100%;
    order: 3;
    text-align: left;
  }

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

  .review-card {
    min-height: 0;
  }
}

.hero-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 330px);
  gap: 22px;
  align-items: stretch;
  margin-top: 24px;
  padding: clamp(22px, 5vw, 42px);
  min-height: 286px;
  border: 1px solid #3e4236;
  background:
    linear-gradient(120deg, rgba(57, 211, 187, 0.12), transparent 42%),
    linear-gradient(90deg, #191a16, #22241d);
}

.hero-copy h2 {
  max-width: 780px;
  font-size: clamp(38px, 8vw, 82px);
  line-height: 0.9;
}

.hero-copy p:last-child {
  max-width: 690px;
  color: #d5d0c3;
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.34;
  cursor: pointer;
}

.score-stack {
  display: grid;
  align-content: end;
  gap: 10px;
}

.score-stack span {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: baseline;
  gap: 10px;
  min-height: 62px;
  padding: 12px 14px;
  border: 1px solid #44483d;
  background: rgba(12, 13, 11, 0.58);
  color: var(--muted);
  cursor: pointer;
}

.score-stack b {
  color: var(--ink);
  font-size: 32px;
}

.candidate-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.candidate-card {
  min-height: 132px;
  padding: 15px;
  border: 1px solid var(--line);
  background: #171813;
  color: var(--ink);
  text-align: left;
}

.candidate-card[aria-pressed="true"] {
  border-color: var(--teal);
  background: #16211d;
  box-shadow: inset 0 0 0 1px rgba(57, 211, 187, 0.32);
}

.candidate-card strong {
  display: block;
  font-size: 17px;
  line-height: 1.16;
}

.candidate-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 16px;
  align-items: start;
}

.evidence-panel,
.feedback-panel,
.session-band {
  border: 1px solid var(--line);
  background: var(--panel);
}

.evidence-panel,
.session-band {
  padding: 18px;
}

.feedback-panel {
  padding: 18px;
  display: grid;
  gap: 16px;
}

#reviewStatus {
  padding: 7px 10px;
  border: 1px solid #4c5145;
  color: #d8d5ca;
  font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

#evidenceCanvas {
  display: block;
  width: 100%;
  aspect-ratio: 1.55;
  margin-top: 16px;
  border: 1px solid #2d3029;
  background: #0c0d0b;
}

.evidence-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.evidence-chip {
  min-height: 96px;
  padding: 11px;
  border: 1px solid #33372f;
  background: var(--panel-strong);
  color: var(--ink);
  text-align: left;
}

.evidence-chip[aria-pressed="true"] {
  border-color: var(--teal);
  background: #16211d;
}

.evidence-chip strong,
.refinement-box strong,
.hume-row strong {
  display: block;
  line-height: 1.24;
}

.evidence-chip span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.28;
}

.vote-row,
.target-vote-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.vote-button,
.voice-button,
.target-vote-button {
  height: 74px;
  border-radius: 0;
}

.target-vote-button {
  display: inline-grid;
  place-items: center;
  border: 1px solid #44483d;
  background: #171814;
  color: var(--ink);
}

.target-vote-button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vote-button.is-up {
  color: var(--green);
  border-color: var(--green);
}

.vote-button.is-down {
  color: var(--red);
  border-color: var(--red);
}

.voice-button.is-listening {
  color: var(--teal);
  border-color: var(--teal);
  background: #0f201d;
}

.target-vote-button.is-good {
  color: var(--green);
  border-color: var(--green);
}

.target-vote-button.is-bad {
  color: var(--red);
  border-color: var(--red);
}

.target-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 164px;
  gap: 12px;
  padding: 14px;
  border: 1px solid #3f463d;
  background:
    linear-gradient(120deg, rgba(57, 211, 187, 0.09), transparent 54%),
    #151713;
}

.target-panel strong {
  display: block;
  line-height: 1.18;
}

.target-panel span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.32;
}

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

.target-chip {
  min-height: 68px;
  padding: 10px;
  border: 1px solid #33372f;
  background: #141611;
  color: var(--ink);
  text-align: left;
}

.target-chip[aria-pressed="true"] {
  border-color: var(--teal);
  background: #10211d;
}

.target-chip strong {
  display: block;
  font-size: 13px;
  line-height: 1.16;
}

.target-chip span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.24;
}

.field-label {
  color: var(--muted);
  font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

textarea {
  width: 100%;
  min-height: 176px;
  resize: vertical;
  border: 1px solid #454940;
  background: #11120f;
  color: var(--ink);
  padding: 13px;
  line-height: 1.42;
}

textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.hume-row,
.refinement-box {
  padding: 14px;
  border: 1px solid #383c34;
  background: #151713;
}

.hume-row strong {
  color: var(--blue);
}

.small-action {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #484d42;
  background: #20221d;
  color: var(--ink);
  text-decoration: none;
}

.refinement-box strong {
  color: var(--amber);
}

.session-band {
  margin-top: 16px;
}

.timeline {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  min-height: 52px;
  padding: 11px;
  border: 1px solid #33372f;
  background: #151713;
}

.timeline b {
  color: var(--teal);
  font: 800 12px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.timeline span {
  color: #d8d5ca;
  line-height: 1.35;
}

@media (max-width: 860px) {
  .demo-shell {
    width: min(100vw - 20px, 620px);
  }

  .hero-band,
  .workbench,
  .login-shell,
  .candidate-strip {
    grid-template-columns: 1fr;
  }

  .hero-band {
    min-height: 0;
  }

  .login-visual {
    min-height: 138px;
    border-right: 0;
    border-bottom: 1px solid rgba(120, 231, 227, 0.22);
  }

  .login-visual img {
    min-height: 138px;
  }

  .login-panel {
    align-content: start;
    min-height: calc(100svh - 138px);
    padding: 26px 18px max(26px, env(safe-area-inset-bottom));
  }

  .login-panel h1 {
    max-width: 10ch;
    font-size: 46px;
  }

  .login-copy {
    font-size: 16px;
  }

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

@media (max-width: 520px) {
  .login-teaser {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .login-teaser div {
    min-height: 66px;
    padding: 10px 8px;
  }

  .login-teaser strong {
    font-size: 20px;
  }

  .login-teaser span {
    font-size: 11px;
  }

  .demo-top {
    grid-template-columns: 44px 1fr 44px;
  }

  .icon-link,
  .icon-button {
    width: 42px;
    height: 42px;
  }

  .hero-band,
  .evidence-panel,
  .feedback-panel,
  .session-band {
    padding: 14px;
  }

  .score-stack span,
  .target-panel,
  .timeline li {
    grid-template-columns: 1fr;
  }

  .evidence-list,
  .target-lane {
    grid-template-columns: 1fr;
  }
}
