:root {
  color-scheme: light;
  --ink: #0345d9;
  --muted: #576687;
  --line: #cdd1da;
  --paper: #ffffff;
  --mist: #eef1f7;
  --navy: #0345d9;
  --teal: #0da1db;
  --red: #dc2626;
  --gold: #facc15;
  --green: #16a34a;
  --steel: #9ca3b5;
  --cloud: #cdd1da;
  --shadow: 0 18px 42px rgba(3, 69, 217, 0.16);
  --field: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  font-weight: 760;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: white;
  background: var(--navy);
  border-radius: 8px;
  font-size: 13px;
}

.site-header nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.site-header nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(360px, 1.14fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: 54px 6vw 72px;
}

.hero-copy {
  max-width: 680px;
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.lede {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 760;
}

.button.primary {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
}

.button.secondary {
  background: white;
}

.hero-visual {
  margin: 0;
}

.portfolio-visual {
  min-height: 410px;
}

.portfolio-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  grid-template-rows: auto 1fr auto;
  gap: 18px 28px;
  min-height: 410px;
  padding: clamp(22px, 4vw, 40px);
  background:
    linear-gradient(rgba(3, 69, 217, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 69, 217, 0.04) 1px, transparent 1px),
    #ffffff;
  background-size: 38px 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.portfolio-summary {
  align-self: start;
}

.portfolio-summary h2 {
  margin: 6px 0 6px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.02;
}

.portfolio-summary p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.portfolio-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(28px, 1fr));
  align-items: end;
  gap: 11px;
  min-height: 170px;
  align-self: end;
}

.portfolio-bar-item {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 8px;
  min-width: 0;
  height: 100%;
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
  text-align: center;
}

.portfolio-bar {
  align-self: end;
  width: 100%;
  height: var(--height);
  min-height: 28px;
  background: var(--bar-color);
  border-radius: 7px;
}

.portfolio-donut {
  grid-column: 2;
  grid-row: 1 / span 2;
  place-self: center;
  display: grid;
  place-items: center;
  width: min(320px, 100%);
  aspect-ratio: 1;
  background: conic-gradient(var(--donut));
  border-radius: 50%;
  position: relative;
}

.portfolio-donut::before {
  content: "";
  position: absolute;
  inset: 32%;
  background: white;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
}

.portfolio-donut div {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.portfolio-donut strong {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 0.9;
}

.portfolio-donut span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 820;
}

.portfolio-legend {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 18px;
  color: #172554;
  font-size: 13px;
  font-weight: 760;
}

.portfolio-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.portfolio-legend i {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  background: var(--legend-color);
  border-radius: 3px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.metrics div {
  padding: 28px 6vw;
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics span {
  display: block;
  font-size: 42px;
  font-weight: 820;
  line-height: 1;
}

.metrics p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.section-block {
  padding: 74px 6vw;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.cluster-card {
  min-height: 206px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cluster-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cluster-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.16;
}

.cluster-count {
  min-width: 48px;
  color: white;
  background: var(--navy);
  border-radius: 8px;
  padding: 6px 9px;
  text-align: center;
  font-weight: 820;
}

.examples {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.tech-play-overview {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.section-heading p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.tech-play-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tech-taxonomy {
  margin: -12px 0 22px;
  padding: 14px 16px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tech-taxonomy summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 820;
}

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

.taxonomy-grid div {
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.taxonomy-grid h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 14px;
}

.taxonomy-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.tech-cluster-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.tech-cluster-top h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.16;
}

.tech-cluster-top p,
.primary-play {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.tech-cluster-top > span {
  flex: 0 0 auto;
  max-width: 148px;
  padding: 6px 8px;
  color: white;
  background: var(--navy);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 820;
  line-height: 1.25;
}

.tech-family-bars {
  display: flex;
  height: 10px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--cloud);
}

.tech-family-bars span {
  flex: var(--size, 1);
  min-width: 3px;
}

.tech-family-bars span:nth-child(1) {
  background: #0345d9;
}

.tech-family-bars span:nth-child(2) {
  background: #0da1db;
}

.tech-family-bars span:nth-child(3) {
  background: #78d9e8;
}

.tech-family-bars span:nth-child(4) {
  background: #576687;
}

.tech-family-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-family-legend span {
  padding: 5px 7px;
  color: #35415c;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 760;
}

.primary-play b {
  color: var(--ink);
}

.top-play-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-play-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #172554;
  font-size: 13px;
}

.top-play-list b {
  min-width: 28px;
  padding: 3px 6px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-align: center;
}

.account-section {
  background: var(--mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.toolbar {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

label span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

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

.table-wrap {
  overflow: auto;
  max-height: 680px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--cloud);
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  z-index: 2;
  color: white;
  background: var(--navy);
  font-size: 13px;
}

td {
  color: #172554;
  font-size: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.pill.focus {
  color: #0345d9;
  background: #eef1f7;
  border: 1px solid #cdd1da;
  white-space: normal;
}

.table-action {
  min-height: 32px;
  padding: 0 12px;
  color: white;
  background: var(--navy);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 780;
  cursor: pointer;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(23, 37, 84, 0.3);
  opacity: 0;
  transition: opacity 180ms ease;
}

.account-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  width: min(620px, 100vw);
  height: 100vh;
  overflow: auto;
  padding: 28px;
  background: white;
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 60px rgba(3, 69, 217, 0.18);
  transform: translateX(100%);
  transition: transform 180ms ease;
}

.drawer-open .drawer-backdrop {
  opacity: 1;
}

.drawer-open .account-drawer {
  transform: translateX(0);
}

.drawer-close {
  float: right;
  min-height: 34px;
  padding: 0 12px;
  color: var(--navy);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.account-drawer h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.panel-summary {
  max-width: 980px;
  color: #172554;
  font-size: 17px;
}

.panel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 22px;
}

.panel-meta span {
  padding: 7px 10px;
  color: #35415c;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 780;
}

.panel-section {
  margin-top: 20px;
}

.panel-section h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 16px;
}

.panel-section ul {
  margin: 0;
  padding-left: 20px;
  color: #172554;
}

.panel-section li {
  margin-bottom: 7px;
}

.panel-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.panel-section-header h4 {
  margin: 0;
}

.panel-section-header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

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

.org-chart-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  color: #172554;
  text-decoration: none;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.org-chart-card:hover {
  border-color: var(--teal);
  box-shadow: 0 12px 28px rgba(3, 69, 217, 0.12);
}

.org-chart-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.org-chart-card strong {
  color: var(--ink);
  font-size: 14px;
}

.org-chart-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

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

.entity-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.entity-card strong {
  color: var(--ink);
  font-size: 14px;
}

.entity-card span {
  color: #172554;
  font-size: 13px;
  font-weight: 780;
}

.entity-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.tech-play-grid {
  display: grid;
  gap: 10px;
}

.tech-play-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(3, 69, 217, 0.08);
}

.tech-play-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tech-play-card strong {
  color: var(--ink);
  font-size: 15px;
}

.tech-play-card em {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: #0345d9;
  background: #eef1f7;
  border: 1px solid #cdd1da;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.tech-play-card p {
  margin: 0;
  color: #172554;
  font-size: 14px;
  line-height: 1.45;
}

.tech-play-card b {
  color: #0345d9;
}

.product-source-section details {
  padding: 12px 14px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-source-section summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.product-source-section ul {
  margin-top: 10px;
}

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

.signal-grid div {
  padding: 12px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.signal-grid strong,
.signal-grid span {
  display: block;
}

.signal-grid span {
  margin-top: 5px;
  color: #172554;
}

.source-list a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  word-break: break-word;
}

.note-path {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  word-break: break-word;
}

.context-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  padding: 72px 6vw;
  background: var(--navy);
  color: white;
}

.context-band p {
  color: #eef1f7;
}

.context-band .eyebrow {
  color: #dff8fc;
}

.context-list {
  display: grid;
  gap: 10px;
  align-content: start;
}

.context-list span {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .hero,
  .context-band {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 20px;
  }

  .hero {
    min-height: auto;
    padding: 38px 20px 56px;
  }

  h1 {
    font-size: 44px;
  }

  .metrics,
  .cluster-grid,
  .tech-play-overview-grid,
  .taxonomy-grid,
  .toolbar,
  .org-chart-grid,
  .entity-grid,
  .signal-grid,
  .portfolio-card,
  .portfolio-legend {
    grid-template-columns: 1fr;
  }

  .portfolio-donut {
    grid-column: 1;
    grid-row: auto;
    width: min(260px, 100%);
  }

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-block,
  .context-band {
    padding: 56px 20px;
  }

  .tech-play-card div {
    align-items: flex-start;
    flex-direction: column;
  }
}
