:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #6e7886;
  --line: #e8e2dc;
  --paper: #fffdfb;
  --wash: #fbfaf8;
  --field: #f6f3ef;
  --navy: #3b5f82;
  --navy-soft: #edf3f8;
  --red: #c93636;
  --red-soft: #fff1ef;
  --accent: var(--red);
  --accent-soft: var(--red-soft);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(59, 95, 130, 0.035), rgba(59, 95, 130, 0) 260px),
    var(--wash);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.portfolioShell {
  padding-top: 22px;
}

.siteNav {
  display: grid;
  grid-template-columns: max-content minmax(160px, 1fr) auto;
  align-items: center;
  gap: 18px;
  position: sticky;
  top: 0;
  z-index: 50;
  margin-bottom: 42px;
  padding: 10px 0;
  background: rgba(251, 250, 248, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(232, 226, 220, 0.72);
}

.wordmark,
.navLinks button,
.navLinks a,
.primaryAction,
.quietAction {
  min-height: 40px;
  border-radius: 999px;
  font: inherit;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
}

.wordmarkText {
  display: grid;
  gap: 2px;
  max-width: 360px;
  text-align: left;
}

.wordmarkText strong {
  line-height: 1;
}

.wordmarkText small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}

.miniMark {
  position: relative;
  width: 42px;
  height: 24px;
  flex: 0 0 42px;
}

.miniMark i {
  position: absolute;
  display: block;
}

.miniCanton {
  top: 3px;
  left: 0;
  width: 16px;
  height: 12px;
  background: var(--navy);
}

.miniStripe {
  height: 3px;
  background: var(--red);
}

.miniStripeOne {
  top: 3px;
  left: 22px;
  right: 0;
}

.miniStripeTwo {
  top: 10px;
  left: 22px;
  right: 0;
}

.miniStripeThree {
  top: 17px;
  left: 0;
  right: 0;
}

.navLinks {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 251, 0.72);
}

.navMotto {
  grid-column: 2;
  justify-self: center;
  max-width: 430px;
  color: rgba(23, 32, 51, 0.82);
  font-family: "Snell Roundhand", "Apple Chancery", "Palatino Linotype", Georgia, serif;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.18;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.74);
}

.navLinks button,
.navLinks a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.navLinks button.active {
  background: var(--ink);
  color: white;
}

.siteFooter {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 34px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.personalHero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 22px;
}

.heroCopy,
.mascotCard,
.profilePanel,
.contactHero,
.contactCard,
.featuredProduct {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(23, 32, 51, 0.035);
}

.heroCopy {
  position: relative;
  padding: clamp(26px, 5vw, 52px);
  overflow: hidden;
}

.heroCopy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 168px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--navy) 0 34%, transparent 34% 42%, var(--red) 42%);
}

.heroCopy h1 {
  max-width: 820px;
  font-size: clamp(2.2rem, 5vw, 4.65rem);
  line-height: 0.99;
}

.heroLead {
  max-width: 680px;
  margin: 22px 0 0;
  color: #4f5a68;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.65;
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.primaryAction,
.quietAction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  text-decoration: none;
}

.primaryAction {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  cursor: pointer;
}

.primaryAction.small {
  min-height: 36px;
}

.quietAction {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
}

.quietAction.compact {
  min-height: 34px;
  padding: 0 12px;
  cursor: pointer;
}

.mascotCard {
  display: grid;
  align-content: end;
  padding: 24px;
  min-height: 430px;
}

.mascotCard h2 {
  margin-bottom: 8px;
}

.mascotCard p:last-child,
.profilePanel p {
  margin-bottom: 0;
  color: #4f5a68;
  line-height: 1.65;
}

.contactPage {
  display: grid;
  gap: 18px;
}

.contactHero {
  position: relative;
  padding: clamp(28px, 5vw, 54px);
  overflow: hidden;
}

.contactHero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 168px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--navy) 0 34%, transparent 34% 42%, var(--red) 42%);
}

.contactHero h1 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 4.75rem);
  line-height: 0.98;
}

.contactGrid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.9fr;
  gap: 18px;
}

.contactCard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 260px;
  padding: 24px;
}

.contactCard h2 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.08;
}

.contactCard p:not(.label) {
  margin: 0 0 22px;
  color: #4f5a68;
  line-height: 1.65;
}

.contactCard .primaryAction,
.contactCard .quietAction {
  margin-top: auto;
}

.primaryContactCard {
  background:
    linear-gradient(135deg, rgba(59, 95, 130, 0.08), rgba(201, 54, 54, 0.045)),
    var(--paper);
}

.resumeCard {
  background: rgba(246, 243, 239, 0.72);
}

.mascotTools {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0;
}

.mascotTools span {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.mascot {
  position: relative;
  width: 190px;
  height: 210px;
  margin: 10px auto 34px;
}

.mascotCard > .mascot {
  margin-bottom: 42px;
}

.compactMascot {
  width: 76px;
  height: 84px;
  margin: 0;
  flex: 0 0 76px;
}

.mascotPage {
  position: absolute;
  inset: 18px 34px 14px 24px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #fffaf6);
  box-shadow: 0 16px 34px rgba(23, 32, 51, 0.08);
}

.mascotFold {
  position: absolute;
  top: 20px;
  right: 34px;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #ece7e1 0 50%, transparent 50%);
  border-top-right-radius: 8px;
}

.mascotEye,
.mascotSmile,
.mascotBar,
.mascotGavel {
  position: absolute;
  display: block;
}

.mascotEye {
  top: 92px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ink);
}

.leftEye {
  left: 78px;
}

.rightEye {
  left: 112px;
}

.mascotSmile {
  top: 112px;
  left: 87px;
  width: 28px;
  height: 12px;
  border-bottom: 2px solid var(--red);
  border-radius: 0 0 999px 999px;
}

.mascotBar {
  left: 58px;
  right: 58px;
  height: 4px;
  border-radius: 999px;
}

.redBar {
  top: 64px;
  background: var(--red);
}

.brieflyPanel {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(59, 95, 130, 0.055), rgba(255, 255, 255, 0) 52%),
    var(--paper);
}

.brieflyTop {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.brieflyTop h2 {
  font-size: 1.06rem;
}

.brieflyMessage {
  margin: 0 0 14px;
  color: #3d4654;
  line-height: 1.55;
}

.brieflyActions {
  display: grid;
  gap: 8px;
}

.brieflyActions button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.brieflyActions button:hover {
  border-color: rgba(59, 95, 130, 0.34);
  background: #fff;
  transform: translateX(2px);
}

.aiPolicyTrackerPanel {
  background:
    linear-gradient(135deg, rgba(201, 54, 54, 0.045), rgba(59, 95, 130, 0.04)),
    var(--paper);
}

.aiPolicyTrackerPanel h2 {
  margin-bottom: 10px;
  font-size: 1.06rem;
}

.aiPolicyTrackerPanel p:not(.label) {
  margin-bottom: 14px;
  color: #3d4654;
  line-height: 1.55;
}

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

.aiTopicGrid button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--navy);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.aiTopicGrid button:hover {
  border-color: rgba(201, 54, 54, 0.28);
  background: #fff;
}

.frameHero {
  border-color: rgba(59, 95, 130, 0.18);
}

.frameHero h1 {
  max-width: 820px;
}

.frameStatus strong {
  font-size: 1.05rem;
}

.frameStats {
  margin-bottom: 20px;
}

.frameWorkspace {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 20px;
}

.framePanel {
  border-color: rgba(59, 95, 130, 0.15);
  background:
    linear-gradient(135deg, rgba(59, 95, 130, 0.04), transparent 42%),
    var(--paper);
}

.frameCatalogHeader {
  align-items: start;
}

.frameCategoryBar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 14px 0 16px;
  padding: 10px;
  border: 1px solid rgba(232, 226, 220, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
}

.frameCategoryBar > span {
  flex: 0 0 auto;
  margin-right: 2px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.frameCategoryBar button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--navy);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}

.frameCategoryBar button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.frameCategoryBar button:hover:not(.active) {
  border-color: rgba(59, 95, 130, 0.32);
  background: #fff;
}

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

.frameIssueCard {
  display: grid;
  gap: 7px;
  min-height: 132px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.frameIssueCard.active {
  border-color: rgba(201, 54, 54, 0.34);
  background: #fff8f7;
  box-shadow: inset 3px 0 0 var(--red);
}

.frameIssueCard span,
.frameDetailBlock span,
.frameQuickPick > span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.frameIssueCard strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.frameIssueCard small {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.issueDetailPanel h2 {
  margin-bottom: 12px;
}

.issueDetailPanel > p:not(.label) {
  color: #3d4654;
  font-size: 1.04rem;
  line-height: 1.6;
}

.frameDetailBlock {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
}

.frameDetailBlock p {
  margin: 7px 0 0;
  color: #3d4654;
  line-height: 1.55;
}

.frameDetailBlock.conflict {
  border-color: rgba(201, 54, 54, 0.18);
  background: rgba(255, 241, 239, 0.55);
}

.comparisonFramePanel {
  margin-bottom: 20px;
}

.institutionSelectRow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.institutionSelectRow label {
  display: grid;
  gap: 6px;
}

.institutionSelectRow label span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.institutionSelectRow select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font: inherit;
}

.institutionCards,
.frameTwoColumn {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.institutionFrameCard {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.institutionFrameCard.relevant {
  border-color: rgba(59, 95, 130, 0.24);
  box-shadow: inset 3px 0 0 var(--navy);
}

.institutionFrameCard > span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.institutionFrameCard h3 {
  margin: 7px 0 9px;
}

.institutionFrameCard p,
.institutionFrameCard dd {
  color: #3d4654;
  line-height: 1.55;
}

.institutionFrameCard dl {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
}

.institutionFrameCard dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.institutionFrameCard dd {
  margin: 0;
}

.frameQuickPick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  align-items: center;
}

.frameQuickPick button,
.issueMap button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.framingMatrix {
  margin-bottom: 20px;
}

.scoreGrid {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.scoreRow {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 42px;
  gap: 12px;
  align-items: center;
}

.scoreRow span {
  color: #3d4654;
  font-weight: 850;
}

.scoreRow div {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef1f4;
}

.scoreRow i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--navy), var(--red));
}

.scoreRow strong {
  color: var(--ink);
  font-size: 0.92rem;
  text-align: right;
}

.frameTimelineItem {
  background: rgba(255, 255, 255, 0.66);
}

.issueMap {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.issueMap button:first-child {
  border-color: rgba(201, 54, 54, 0.25);
  background: var(--red-soft);
  color: var(--red);
}

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

.docGrid a {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.docGrid a:hover {
  border-color: rgba(59, 95, 130, 0.28);
  background: #fff;
  transform: translateY(-1px);
}

.docGrid strong,
.docGrid span,
.docGrid small {
  display: block;
}

.docGrid strong {
  margin-top: 7px;
  color: var(--ink);
  line-height: 1.35;
}

.docGrid span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.docGrid small {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.frameExplanation {
  margin-top: 20px;
}

.trialHero {
  border-color: rgba(201, 54, 54, 0.16);
}

.trialHero h1 {
  max-width: 860px;
}

.trialStatus strong {
  font-size: 1.08rem;
}

.trialStats {
  margin-bottom: 20px;
}

.trialPresetLibrary {
  margin-bottom: 20px;
}

.trialPresetLibrary .sectionHeader p:not(.label) {
  max-width: 620px;
  margin: 6px 0 0;
  color: #4f5a68;
  line-height: 1.55;
}

.presetGrid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.presetCard {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 170px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 251, 0.78);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.presetCard span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.presetCard strong {
  font-size: 0.98rem;
  line-height: 1.15;
}

.presetCard p {
  margin: 0;
  color: #4f5a68;
  font-size: 0.84rem;
  line-height: 1.42;
}

.presetCard.active {
  border-color: rgba(23, 32, 51, 0.72);
  background:
    linear-gradient(135deg, rgba(59, 95, 130, 0.12), rgba(201, 54, 54, 0.05)),
    var(--paper);
  box-shadow: inset 0 0 0 1px rgba(23, 32, 51, 0.08);
}

.trialWorkspace {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 20px;
}

.trialPanel {
  border-color: rgba(201, 54, 54, 0.15);
  background:
    linear-gradient(135deg, rgba(201, 54, 54, 0.04), transparent 34%),
    var(--paper);
}

.trialControls > div:first-child p {
  margin: 8px 0 0;
  color: #4f5a68;
  line-height: 1.55;
}

.trialField,
.trialSlider {
  display: grid;
  gap: 7px;
  margin-top: 16px;
}

.trialField span,
.trialSlider span,
.strategyPicker > span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trialField select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font: inherit;
}

.trialGridInputs,
.strategyGrid,
.argumentGrid,
.comparisonCards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

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

.trialSlider {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.trialSlider strong {
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
}

.trialSlider input {
  width: 100%;
  accent-color: var(--red);
}

.trialSlider small {
  color: var(--muted);
  line-height: 1.35;
}

.strategyPicker {
  display: grid;
  gap: 8px;
}

.strategyPicker div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.strategyPicker button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 850;
  cursor: pointer;
}

.strategyPicker button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.trialToggle {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid rgba(201, 54, 54, 0.18);
  border-radius: 8px;
  background: rgba(255, 241, 239, 0.5);
  color: #3d4654;
  font-weight: 850;
}

.trialToggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}

.trialOutcome > p:not(.label),
.trialComparison > p {
  color: #3d4654;
  line-height: 1.58;
}

.trialOutcome {
  display: flex;
  flex-direction: column;
}

.trialMeterGrid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.trialMeter {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}

.trialMeter div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.trialMeter span {
  color: #3d4654;
  font-weight: 850;
}

.trialMeter strong {
  color: var(--ink);
}

.trialMeter i {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef1f4;
}

.trialMeter b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--navy), var(--red));
}

.trialMeter b.danger {
  background: linear-gradient(90deg, #d6b06c, var(--red));
}

.trialDisclaimer {
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(59, 95, 130, 0.18);
  border-radius: 8px;
  background: rgba(237, 243, 248, 0.52);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.45;
}

.trialOutputNotes {
  margin-top: auto;
  padding-top: 38px;
}

.trialMethodologyCard {
  margin-top: 0;
  padding: 14px;
  border: 1px solid rgba(47, 125, 107, 0.18);
  border-radius: 8px;
  background: rgba(245, 249, 247, 0.86);
}

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

.trialMethodologyCard p {
  margin: 0;
  color: #344251;
  font-size: 0.9rem;
  line-height: 1.5;
}

.argumentGrid article {
  min-height: 180px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}

.argumentGrid span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.argumentGrid p {
  color: #3d4654;
  line-height: 1.55;
}

.argumentGrid strong {
  display: block;
  color: var(--ink);
  line-height: 1.35;
}

.modelExplanationPanel {
  margin-bottom: 20px;
}

.modelExplanationPanel .sectionHeader p:not(.label) {
  max-width: 720px;
  margin: 8px 0 0;
  color: #4f5a68;
  line-height: 1.55;
}

.modelFinalScore {
  min-width: 132px;
  padding: 14px 16px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  text-align: right;
}

.modelFinalScore strong,
.modelFinalScore span {
  display: block;
}

.modelFinalScore strong {
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
}

.modelFinalScore span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.modelRows {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.modelRow {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(0, 1.4fr) 70px;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}

.modelRow span {
  color: var(--ink);
  font-weight: 900;
}

.modelRow i {
  color: #4f5a68;
  font-style: normal;
  line-height: 1.4;
}

.modelRow strong {
  justify-self: end;
  font-size: 1.05rem;
}

.modelRow strong.positive {
  color: #166534;
}

.modelRow strong.negative {
  color: var(--red);
}

.modelNote {
  margin: 14px 0 0;
  color: #3d4654;
  line-height: 1.55;
}

.trialComparison {
  margin-bottom: 20px;
}

.trialExplanation {
  margin-top: 20px;
}

.blueBar {
  top: 76px;
  background: var(--navy);
}

.mascotGavel {
  right: 18px;
  bottom: 28px;
  width: 52px;
  height: 8px;
  border-radius: 999px;
  background: var(--navy);
  transform: rotate(-28deg);
}

.mascotGavel::before {
  content: "";
  position: absolute;
  right: -9px;
  top: -8px;
  width: 18px;
  height: 24px;
  border-radius: 5px;
  background: var(--red);
}

.compactMascot .mascotPage {
  inset: 7px 13px 6px 9px;
  border-width: 1px;
  border-radius: 5px;
  box-shadow: 0 10px 22px rgba(23, 32, 51, 0.08);
}

.compactMascot .mascotFold {
  top: 8px;
  right: 13px;
  width: 13px;
  height: 13px;
  border-top-right-radius: 5px;
}

.compactMascot .mascotEye {
  top: 35px;
  width: 4px;
  height: 4px;
}

.compactMascot .leftEye {
  left: 30px;
}

.compactMascot .rightEye {
  left: 43px;
}

.compactMascot .mascotSmile {
  top: 43px;
  left: 33px;
  width: 11px;
  height: 5px;
  border-bottom-width: 1px;
}

.compactMascot .mascotBar {
  left: 22px;
  right: 22px;
  height: 2px;
}

.compactMascot .redBar {
  top: 25px;
}

.compactMascot .blueBar {
  top: 30px;
}

.compactMascot .mascotGavel {
  right: 7px;
  bottom: 11px;
  width: 20px;
  height: 4px;
}

.compactMascot .mascotGavel::before {
  right: -4px;
  top: -4px;
  width: 8px;
  height: 10px;
  border-radius: 3px;
}

@keyframes brieflyFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -4px;
  }
}

@keyframes brieflyBlink {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }

  95% {
    transform: scaleY(0.15);
  }
}

@keyframes brieflyGavel {
  0%,
  86%,
  100% {
    transform: rotate(-28deg);
  }

  91% {
    transform: rotate(-18deg) translateY(-1px);
  }
}

@keyframes brieflyProfileBob {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-3px) rotate(-0.8deg);
  }
}

@keyframes brieflyLinePulse {
  0%,
  100% {
    opacity: 0.82;
  }

  50% {
    opacity: 1;
  }
}

.profileMascot {
  animation: brieflyProfileBob 6.5s ease-in-out infinite;
  transform-origin: center bottom;
}

.mascotPage {
  animation: brieflyFloat 5.5s ease-in-out infinite;
}

.mascotEye {
  animation: brieflyBlink 6.5s ease-in-out infinite;
  transform-origin: center;
}

.mascotGavel {
  animation: brieflyGavel 7s ease-in-out infinite;
  transform-origin: 74% 50%;
}

.profileMascot .mascotBar {
  animation: brieflyLinePulse 4.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .profileMascot,
  .mascotPage,
  .mascotEye,
  .mascotGavel,
  .profileMascot .mascotBar {
    animation: none;
  }

  .brieflyActions button {
    transition: none;
  }
}

.portfolioGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
  gap: 20px;
  margin-bottom: 20px;
}

.profilePanel,
.featuredProduct {
  padding: 24px;
}

.profilePanel h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

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

.cleanList li {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: #3d4654;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.35;
}

.cleanList li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.experiencePanel {
  margin-bottom: 20px;
}

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

.experienceList article {
  min-height: 150px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 251, 0.72);
}

.experienceList span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.experienceList strong {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.18;
}

.experienceList p {
  margin: 8px 0 0;
  color: #4f5a68;
  line-height: 1.5;
}

.scopeList {
  display: grid;
  gap: 10px;
  margin: 14px 0 22px;
  padding: 0;
  list-style: none;
}

.scopeList:last-child {
  margin-bottom: 0;
}

.scopeList li {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: #3d4654;
  line-height: 1.45;
}

.scopeList li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.scopeList.quiet li {
  color: var(--muted);
}

.scopePanel h2 + .scopeList {
  margin-top: 12px;
}

.featuredProduct {
  margin-bottom: 20px;
}

.productIdentity {
  align-items: stretch;
  margin-bottom: 20px;
}

.productThesisPanel {
  min-height: auto;
}

.productThesisPanel h2 {
  max-width: 680px;
}

.productThesisPanel p:not(.label) {
  max-width: 760px;
}

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

.productIdentity .compactPanel {
  display: flex;
  flex-direction: column;
}

.productIdentity .compactPanel .cleanList {
  display: grid;
  gap: 0;
  margin-top: 4px;
  margin-bottom: 14px;
}

.productIdentity .compactPanel .cleanList li {
  display: block;
  min-height: 0;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: #3d4654;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: left;
  white-space: normal;
}

.productIdentity .compactPanel .cleanList li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.productIdentity .identityLaunch {
  min-height: 34px;
  align-self: flex-start;
  margin-top: 0;
}

.builtForBlock span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.builtForBlock ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.builtForBlock li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 850;
  white-space: nowrap;
}

.identityLaunch {
  width: fit-content;
  margin-top: 16px;
}

.aiHomeFeature,
.credibilityStrip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(23, 32, 51, 0.045);
}

.aiHomeFeature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 20px;
  align-items: center;
  padding: 24px;
  margin-bottom: 20px;
  background:
    linear-gradient(135deg, rgba(59, 95, 130, 0.06), rgba(201, 54, 54, 0.035)),
    var(--paper);
}

.aiHomeFeature h2 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.aiHomeFeature p {
  max-width: 760px;
  margin-bottom: 0;
  color: #4f5a68;
  line-height: 1.65;
}

.aiHomeStats {
  display: grid;
  gap: 10px;
}

.credibilityStrip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  margin-bottom: 20px;
}

.insightStrip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.roadmapList {
  columns: 2;
  column-gap: 24px;
  margin: 0;
  padding-left: 18px;
  color: #3d4654;
  line-height: 1.8;
}

.productShowcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 14px;
  margin-top: 18px;
}

.projectCard {
  display: grid;
  min-height: 180px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.projectCard span {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.projectCard strong {
  align-self: center;
  max-width: 520px;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1;
}

.projectCard small {
  align-self: end;
  max-width: 560px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.activeProject {
  border-color: rgba(201, 54, 54, 0.45);
  background: linear-gradient(180deg, #fffafa, #fffdfb);
}

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

.topbar,
.billStrip,
.sectionHeader,
.layout,
.metrics,
.diffTop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.topbar {
  align-items: center;
  position: relative;
  margin-bottom: 28px;
  padding-top: 8px;
}

.topbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 168px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--navy) 0 34%, transparent 34% 42%, var(--red) 42%);
}

.statusFlag {
  position: relative;
  float: right;
  width: 54px;
  height: 32px;
  margin: 0 0 8px 12px;
  opacity: 0.9;
}

.flagCanton,
.flagStripe {
  position: absolute;
  display: block;
}

.flagCanton {
  top: 7px;
  left: 0;
  width: 21px;
  height: 15px;
  background: var(--navy);
}

.flagStripe {
  height: 3px;
  background: var(--red);
}

.stripeOne {
  top: 7px;
  left: 27px;
  right: 0;
}

.stripeTwo {
  top: 15px;
  left: 27px;
  right: 0;
}

.stripeThree {
  top: 24px;
  left: 0;
  right: 0;
}

.eyebrow,
.label,
.date {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 1.12rem;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  letter-spacing: 0;
}

.status,
.metric,
.panel,
.billStrip,
.summaryPanel,
.catalogPanel,
.networkSection {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(23, 32, 51, 0.035);
}

.status {
  min-width: 210px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  background: rgba(255, 253, 251, 0.82);
  backdrop-filter: blur(12px);
}

.status strong,
.status span {
  display: block;
}

.status strong {
  margin-top: 4px;
  color: var(--ink);
}

.billStrip,
.catalogPanel {
  align-items: center;
  padding: 24px;
  margin-bottom: 20px;
}

.summaryPanel {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px 24px;
  margin-bottom: 20px;
  background:
    linear-gradient(90deg, rgba(59, 95, 130, 0.045), rgba(255, 255, 255, 0) 38%),
    var(--paper);
}

.summaryPanel h2 {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.summaryPanel p:last-child {
  margin-bottom: 0;
  color: #3d4654;
  font-size: 1.02rem;
  line-height: 1.65;
}

.catalogHeader {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.searchBox {
  display: grid;
  gap: 6px;
}

.searchBox span,
.catalogControls span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.searchBox input:focus,
.catalogControls select:focus {
  border-color: var(--navy);
  outline: 2px solid var(--navy-soft);
}

.catalogControls {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, minmax(140px, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.catalogControls.noPartyFilter {
  grid-template-columns: 1.25fr repeat(5, minmax(132px, 1fr));
}

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

.quickLenses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.quickLenses button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
}

.quickLenses button:hover {
  border-color: rgba(59, 95, 130, 0.32);
  background: #fff;
}

.catalogControls label {
  display: grid;
  gap: 6px;
}

.catalogControls select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 16px) 18px / 5px 5px no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 11px) 18px / 5px 5px no-repeat,
    rgba(255, 255, 255, 0.72);
  padding-right: 30px;
}

.catalogControls select:disabled {
  color: #9aa3af;
  cursor: not-allowed;
}

.focusCorpusNote,
.diffReadyStrip {
  display: grid;
  gap: 12px;
  padding: 14px;
  margin: 0 0 16px;
  border: 1px solid rgba(59, 95, 130, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.focusCorpusNote {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) auto;
  align-items: center;
}

.focusCorpusNote h3,
.diffReadyStrip h3 {
  margin-bottom: 0;
  font-size: 1rem;
}

.focusCorpusNote p:not(.label) {
  margin: 0;
  color: #4f5a68;
  font-size: 0.92rem;
  line-height: 1.5;
}

.diffReadyStrip {
  background:
    linear-gradient(135deg, rgba(22, 101, 52, 0.045), rgba(255, 255, 255, 0) 56%),
    rgba(255, 255, 255, 0.64);
}

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

.diffReadyActions button,
.filterDiffsButton {
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.diffReadyActions button.active {
  border-color: rgba(22, 101, 52, 0.34);
  background: #f0fdf4;
}

.diffReadyActions span {
  display: block;
  color: #166534;
  font-size: 0.76rem;
  font-weight: 900;
}

.diffReadyActions strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filterDiffsButton {
  align-self: stretch;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 900;
  text-align: center;
}

.lawmakerPanel {
  display: grid;
  gap: 14px;
  padding: 16px;
  margin: 0 0 16px;
  border: 1px solid rgba(59, 95, 130, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(59, 95, 130, 0.045), rgba(255, 255, 255, 0) 56%),
    rgba(255, 255, 255, 0.58);
}

.lawmakerHeader {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.lawmakerHeader h3 {
  margin-bottom: 0;
  font-size: 1rem;
}

.roleToggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.roleToggle button {
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.roleToggle button.active {
  background: var(--ink);
  color: white;
}

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

.lawmakerStats .metric {
  min-height: 72px;
  padding: 12px;
  box-shadow: none;
}

.selectedLawmaker {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.selectedLawmaker span,
.selectedLawmaker small,
.lawmakerHint {
  color: var(--muted);
  font-size: 0.82rem;
}

.selectedLawmaker span {
  font-weight: 900;
  text-transform: uppercase;
}

.selectedLawmaker strong {
  color: var(--ink);
}

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

.topLawmakers button {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.topLawmakers span {
  overflow: hidden;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topLawmakers strong {
  color: var(--red);
}

.lawmakerHint {
  margin: 0;
  line-height: 1.5;
}

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

.billCard {
  display: grid;
  min-height: 136px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.billCard:hover {
  border-color: rgba(59, 95, 130, 0.45);
  transform: translateY(-1px);
}

.billCard.active {
  border-color: var(--red);
  background: linear-gradient(180deg, #fffafa, #fffdfb);
  box-shadow: inset 0 0 0 1px rgba(201, 54, 54, 0.35);
}

.billCard span {
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
}

.billCard strong {
  align-self: start;
  line-height: 1.25;
}

.billCard small {
  align-self: end;
  color: var(--muted);
  font-size: 0.82rem;
}

.billCard small:first-letter {
  text-transform: uppercase;
}

.timelineList {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.caseBriefPanel {
  margin-bottom: 20px;
}

.justicePanel {
  overflow: hidden;
  margin-bottom: 20px;
  border-color: rgba(59, 95, 130, 0.18);
  background:
    linear-gradient(135deg, rgba(59, 95, 130, 0.055), transparent 36%),
    var(--paper);
}

.justiceHeader {
  align-items: flex-start;
}

.justiceHeader p:not(.label) {
  max-width: 680px;
  margin: 8px 0 0;
  color: #4f5a68;
  line-height: 1.55;
}

.voteCountBadge {
  min-width: 132px;
  padding: 14px 16px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  text-align: right;
}

.voteCountBadge strong,
.voteCountBadge span {
  display: block;
}

.voteCountBadge strong {
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
}

.voteCountBadge span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.voteSplitBar {
  display: flex;
  width: 100%;
  height: 12px;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 999px;
  background: #eef1f4;
}

.voteSegment {
  min-width: 2px;
}

.majoritySegment {
  background: var(--navy);
}

.concurrenceSegment {
  background: #6f7d8e;
}

.dissentSegment {
  background: var(--red);
}

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

.justiceBloc {
  min-height: 168px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}

.justiceBloc > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.justiceBloc span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.justiceBloc strong {
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
}

.justiceBloc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.justiceBloc li {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 999px;
  background: #fff;
  color: #3d4654;
  font-size: 0.8rem;
  font-weight: 800;
}

.justiceBloc.majority {
  border-color: rgba(23, 32, 51, 0.16);
}

.justiceBloc.majority strong {
  color: var(--navy);
}

.justiceBloc.concurrence {
  border-color: rgba(59, 95, 130, 0.2);
}

.justiceBloc.concurrence strong {
  color: #3b5f82;
}

.justiceBloc.dissent {
  border-color: rgba(201, 54, 54, 0.2);
}

.justiceBloc.dissent strong {
  color: var(--red);
}

.justiceBloc.neutral strong {
  color: var(--muted);
}

.alignmentNote {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #3d4654;
  line-height: 1.55;
}

.pathFinderPanel {
  margin-bottom: 20px;
  border-color: rgba(201, 54, 54, 0.16);
  background:
    linear-gradient(135deg, rgba(201, 54, 54, 0.045), transparent 34%),
    var(--paper);
}

.pathHeader {
  align-items: flex-start;
}

.pathHeader p:not(.label) {
  max-width: 720px;
  margin: 8px 0 0;
  color: #4f5a68;
  line-height: 1.55;
}

.pathBadge {
  min-width: 110px;
  padding: 14px 16px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  text-align: right;
}

.pathBadge strong,
.pathBadge span {
  display: block;
}

.pathBadge strong {
  color: var(--red);
  font-size: 1.8rem;
  line-height: 1;
}

.pathBadge span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.pathControls label {
  display: grid;
  gap: 6px;
}

.pathControls label span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pathControls select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font: inherit;
}

.pathPresets {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 8px;
}

.pathPresets button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.pathRail {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 18px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.pathNode {
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 190px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  text-align: left;
}

.pathNode.clickable {
  cursor: pointer;
}

.pathNode:disabled {
  cursor: default;
}

.pathNode strong {
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.25;
}

.pathNode span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.pathConnector {
  align-self: center;
  flex: 0 0 auto;
  min-width: 84px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.pathConnector.citation {
  background: var(--navy);
}

.pathConnector.downstream {
  border-color: rgba(59, 95, 130, 0.22);
  background: var(--navy-soft);
  color: var(--navy);
}

.pathConnector.overruling {
  background: var(--red);
}

.pathConnector.same {
  background: var(--muted);
}

.pathExplanation {
  margin: 14px 0 0;
  color: #3d4654;
  line-height: 1.55;
}

.pathOpenButton {
  margin-top: 12px;
}

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

.briefGrid article {
  min-height: 150px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.briefGrid span {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.briefGrid p {
  margin-bottom: 0;
  color: #3d4654;
  line-height: 1.5;
}

.relationshipPanel p {
  margin-bottom: 0;
  color: #3d4654;
  line-height: 1.55;
}

.relationshipList {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.relationshipList li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.relationshipList li:last-child {
  border-bottom: 0;
}

.relationshipList strong {
  color: var(--red);
  font-size: 1.35rem;
}

.relationshipList span {
  color: #4f5a68;
  font-size: 0.9rem;
  line-height: 1.35;
}

.caseEmpty {
  grid-column: 1 / -1;
}

.caseEmpty .quietAction {
  width: fit-content;
}

.timelineItem {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.timelineItem > strong {
  color: var(--red);
  font-size: 1.08rem;
}

.timelineItem h3 {
  margin-bottom: 4px;
}

.timelineItem p {
  margin-bottom: 0;
  color: #4f5a68;
  line-height: 1.5;
}

.focusPanel .cleanList li {
  padding-top: 2px;
}

.sourceNote,
.refreshNote,
.resultNote {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.refreshNote {
  max-width: 720px;
  color: #6f7d8e;
  line-height: 1.5;
}

.resultNote {
  padding-top: 12px;
}

.resultFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
}

.resultFooter .resultNote {
  padding-top: 0;
}

.billStrip h2 {
  margin-bottom: 6px;
  font-size: 1.5rem;
}

.billStrip p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.metadataPills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 720px;
  margin-top: 12px;
}

.metadataPills span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}

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

.infoPanel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(23, 32, 51, 0.032);
}

.infoPanel h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.infoPanel p:not(.label) {
  margin-bottom: 0;
  color: #3d4654;
  line-height: 1.55;
}

.infoPanel dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.infoPanel dl div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

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

.infoPanel dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.infoPanel dd {
  margin: 0;
  color: #3d4654;
  line-height: 1.45;
}

.infoPills {
  margin-top: 14px;
  margin-bottom: 16px;
}

.officialLink {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  margin-top: 2px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.advancedFlags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.advancedFlags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.advancedFlags span.available {
  border-color: rgba(22, 101, 52, 0.24);
  background: #f0fdf4;
  color: #166534;
}

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

.projectExplanation article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(23, 32, 51, 0.032);
}

.projectExplanation h2 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.projectExplanation p:not(.label) {
  margin-bottom: 0;
  color: #3d4654;
  line-height: 1.55;
}

.metrics {
  align-items: stretch;
}

.metric {
  min-width: 132px;
  padding: 14px;
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  font-size: 1.45rem;
  color: var(--navy);
}

.metric span {
  color: var(--muted);
  font-size: 0.82rem;
}

.layout {
  align-items: stretch;
}

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

.sideColumn {
  flex: 0 0 360px;
}

.panel,
.networkSection {
  padding: 22px;
  margin-bottom: 20px;
}

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

.tabs button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  cursor: pointer;
}

.tabs button.active {
  border-color: var(--navy);
  background: var(--navy-soft);
  color: var(--navy);
}

.versionBody {
  display: block;
  margin-top: 24px;
}

.billText {
  margin-bottom: 0;
  color: #3d4654;
  font-size: 1.05rem;
  line-height: 1.7;
}

.comparisonPanel {
  border-color: rgba(59, 95, 130, 0.18);
}

.comparisonBadge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.comparisonBadge.real {
  border-color: rgba(22, 101, 52, 0.26);
  background: #f0fdf4;
  color: #166534;
}

.commitHeader {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #f7f8fa;
}

.commitHeader strong,
.commitHeader small,
.commitEyebrow {
  display: block;
}

.commitHeader strong {
  margin-top: 3px;
  color: var(--ink);
  font-size: 0.98rem;
}

.commitHeader small,
.commitEyebrow {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.commitEyebrow {
  text-transform: uppercase;
}

.diffStats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.diffStats span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.addedStat {
  color: #166534;
}

.removedStat {
  color: #991b1b;
}

.githubDiff {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  background: #fff;
}

.diffFileHeader {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: #3d4654;
  font-size: 0.84rem;
  font-weight: 800;
}

.diffFileHeader strong {
  color: var(--muted);
  font-size: 0.78rem;
}

.diffRows {
  max-height: 320px;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.84rem;
  line-height: 1.55;
}

.diffRow {
  display: grid;
  grid-template-columns: 42px 42px 22px minmax(0, 1fr);
  min-height: 28px;
  border-bottom: 1px solid rgba(236, 231, 225, 0.58);
}

.diffRow:last-child {
  border-bottom: 0;
}

.lineNumber,
.linePrefix,
.lineText {
  padding: 4px 8px;
}

.lineNumber {
  border-right: 1px solid rgba(236, 231, 225, 0.86);
  color: #8a94a3;
  text-align: right;
  user-select: none;
}

.linePrefix {
  color: #64748b;
  font-weight: 900;
  text-align: center;
}

.lineText {
  color: #273244;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.diffRow.removed {
  background: #fff1f1;
}

.diffRow.removed .lineNumber,
.diffRow.removed .linePrefix {
  background: #ffdada;
  color: #991b1b;
}

.diffRow.removed .lineText {
  color: #7f1d1d;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.diffRow.added {
  background: #effdf3;
}

.diffRow.added .lineNumber,
.diffRow.added .linePrefix {
  background: #d8f7df;
  color: #166534;
}

.diffRow.added .lineText {
  color: #14532d;
}

.diffUnavailable {
  display: grid;
  gap: 12px;
}

.diffJump {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(22, 101, 52, 0.22);
  border-radius: 8px;
  background: linear-gradient(180deg, #f7fff9, #fff);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.diffJump span {
  color: #166534;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.diffJump strong {
  color: var(--ink);
}

.diffJump small {
  color: var(--muted);
  line-height: 1.35;
}

.diffLegend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.84rem;
}

.diffLegend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.diffLegend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.emptyState {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px dashed rgba(111, 125, 142, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.46);
  color: #4f5a68;
}

.emptyState strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.emptyState p {
  margin: 0;
  line-height: 1.55;
}

.removedSwatch {
  background: #fee2e2;
}

.addedSwatch {
  background: #dcfce7;
}

.networkSection {
  padding-bottom: 10px;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: flex-end;
  max-width: 420px;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.8rem;
}

.legend i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.network {
  height: 500px;
  margin-top: 12px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(59, 95, 130, 0.035), rgba(255, 255, 255, 0) 32%),
    linear-gradient(180deg, rgba(201, 54, 54, 0.026), rgba(255, 255, 255, 0) 36%);
}

.network svg {
  width: 100%;
  height: 100%;
}

.network line {
  stroke: #d7d0c9;
  stroke-opacity: 0.9;
}

.network text {
  fill: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.loading {
  padding: 32px;
  color: var(--muted);
}

@media (max-width: 920px) {
  .topbar,
  .billStrip,
  .summaryPanel,
  .catalogHeader,
  .layout,
  .sectionHeader,
  .personalHero,
  .portfolioGrid,
  .productShowcase {
    display: grid;
  }

  .commitHeader {
    display: grid;
    align-items: start;
  }

  .diffStats {
    justify-content: flex-start;
  }

  .personalHero,
  .portfolioGrid,
  .experienceList,
  .productShowcase,
  .contactGrid,
  .summaryPanel,
  .billInfoGrid,
  .briefGrid,
  .justiceGrid,
  .focusCorpusNote,
  .projectExplanation,
  .aiHomeFeature,
  .credibilityStrip,
  .insightStrip,
  .catalogHeader {
    grid-template-columns: 1fr;
  }

  .frameWorkspace,
  .trialWorkspace,
  .presetGrid,
  .institutionCards,
  .frameTwoColumn,
  .docGrid {
    grid-template-columns: 1fr;
  }

  .sideColumn {
    flex-basis: auto;
  }

  .metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

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

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

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

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

  .frameIssueGrid,
  .institutionSelectRow,
  .trialGridInputs,
  .strategyGrid,
  .argumentGrid,
  .comparisonCards {
    grid-template-columns: 1fr;
  }

  .lawmakerHeader {
    display: grid;
  }

  .roleToggle {
    width: 100%;
    overflow-x: auto;
  }

  .lawmakerStats,
  .topLawmakers,
  .diffReadyActions,
  .pathControls {
    grid-template-columns: 1fr;
  }

  .voteCountBadge {
    text-align: left;
  }

  .pathBadge {
    text-align: left;
  }

  .infoPanel dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .mascotCard {
    min-height: auto;
  }

}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

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

  .siteNav {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
  }

  .navMotto {
    grid-column: 1;
    justify-self: stretch;
    max-width: none;
    padding: 2px 0 0;
    font-size: 1rem;
    text-align: center;
  }

  .navLinks {
    grid-column: 1;
    justify-self: stretch;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
    padding: 3px;
    width: 100%;
    overflow: visible;
    border-radius: 16px;
  }

  .navLinks button {
    width: 100%;
    min-height: 36px;
    padding: 0 6px;
    font-size: 0.76rem;
  }

  .navLinks a {
    width: 100%;
    min-height: 36px;
    padding: 0 6px;
    font-size: 0.76rem;
  }

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

  .wordmarkText small {
    display: none;
  }

  .roadmapList {
    columns: 1;
  }

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

  .catalogControls.noPartyFilter {
    grid-template-columns: 1fr;
  }

  .catalogControls.precedentControls {
    grid-template-columns: 1fr;
  }

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

  .scoreRow {
    grid-template-columns: 1fr 42px;
  }

  .scoreRow span {
    grid-column: 1 / -1;
  }

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

  .modelRow strong {
    justify-self: start;
  }

  .personalHero {
    gap: 14px;
  }

  .heroCopy h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .heroLead {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .heroActions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 22px;
  }

  .heroActions .primaryAction,
  .heroActions .quietAction {
    width: 100%;
    padding: 0 10px;
  }

  .productShowcase {
    gap: 12px;
  }

  .projectCard {
    min-height: auto;
    padding: 16px;
  }

  .projectCard strong {
    margin: 42px 0;
    font-size: clamp(2.25rem, 12vw, 3.55rem);
  }

  .projectCard small {
    align-self: auto;
  }

  .activeProject {
    order: 1;
  }

  .courtmapStats {
    order: 2;
  }

  .projectCard:not(.activeProject) {
    order: 3;
  }

  .trialsimStats {
    order: 4;
  }

  .heroCopy,
  .profilePanel,
  .featuredProduct,
  .contactHero,
  .contactCard,
  .mascotCard {
    padding: 16px;
  }

  .panel,
  .billStrip,
  .summaryPanel,
  .catalogPanel,
  .networkSection {
    padding: 16px;
  }

  .network {
    height: 420px;
  }
}

/* Professional polish overrides */
body {
  background:
    radial-gradient(circle at top left, rgba(59, 95, 130, 0.07), transparent 360px),
    linear-gradient(180deg, rgba(59, 95, 130, 0.035), rgba(59, 95, 130, 0) 260px),
    var(--wash);
}

.heroCopy,
.mascotCard,
.profilePanel,
.featuredProduct,
.contactHero,
.contactCard,
.status,
.metric,
.panel,
.billStrip,
.summaryPanel,
.catalogPanel,
.networkSection {
  box-shadow: 0 20px 60px rgba(23, 32, 51, 0.045);
}

.credentialStrip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.credentialStrip span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

.profilePanel,
.featuredProduct,
.projectCard,
.billCard {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.profilePanel:hover,
.featuredProduct:hover,
.projectCard:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 70px rgba(23, 32, 51, 0.06);
}

.activeProject {
  background:
    linear-gradient(135deg, rgba(201, 54, 54, 0.06), rgba(59, 95, 130, 0.035)),
    #fffdfb;
}

.productHero {
  padding: 26px 0 4px;
}

.productLead {
  max-width: 760px;
  margin: 18px 0 0;
  color: #4f5a68;
  font-size: 1.08rem;
  line-height: 1.6;
}

.billCard {
  min-height: 126px;
}

.catalogPanel,
.summaryPanel,
.networkSection,
.panel {
  backdrop-filter: blur(10px);
}
