:root {
  --page: #f3f0e8;
  --page-strong: #e6e0d3;
  --ink: #171817;
  --ink-soft: #5f635f;
  --ink-muted: #85887f;
  --panel: #191b1a;
  --panel-2: #202320;
  --panel-3: #292c27;
  --panel-line: rgba(255, 255, 255, 0.1);
  --line: rgba(23, 24, 23, 0.12);
  --line-strong: rgba(23, 24, 23, 0.2);
  --white: #fbfaf6;
  --white-soft: rgba(251, 250, 246, 0.72);
  --green: #8cffb4;
  --green-strong: #23cf76;
  --amber: #f2b84b;
  --blue: #7ab8ff;
  --rose: #ff8d9d;
  --shadow: 0 28px 90px rgba(20, 20, 18, 0.22);
  --header-height: 72px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.1) 34%, rgba(230, 224, 211, 0.7)),
    var(--page);
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

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

h1,
h2 {
  line-height: 1.02;
  font-weight: 800;
}

p {
  line-height: 1.65;
  color: var(--ink-soft);
}

.site-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 24, 23, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 24, 23, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black, transparent 78%);
}

.container,
.trust-strip,
.company-context,
.operating-section,
.integration-section,
.security-section,
.people-section,
.report-section,
.demo-section,
.footer-grid,
.policy-main {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 12px 16px auto;
  z-index: 40;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(251, 250, 246, 0.76);
  box-shadow: 0 16px 50px rgba(23, 24, 23, 0.12);
  backdrop-filter: blur(18px);
  transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 250, 246, 0.92);
  box-shadow: 0 12px 34px rgba(23, 24, 23, 0.14);
}

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

.brand-mark,
.workspace-logo,
.account-icon,
.rail-people span,
.profile-button span,
.person-node span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #092417;
  background: var(--green);
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.main-nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}

.main-nav a:hover {
  color: var(--ink);
  background: rgba(23, 24, 23, 0.06);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #111311;
  border-radius: 8px;
  color: var(--white);
  background: #111311;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  background: #232621;
}

.header-cta svg,
.panel-action svg,
.segment-button svg,
.task-stack svg,
.demo-form button svg {
  width: 17px;
  height: 17px;
}

.app-stage {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 16px;
  padding: calc(var(--header-height) + 30px) 16px 34px;
}

.side-rail,
.main-workspace {
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  color: var(--white);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.side-rail {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  height: calc(100svh - var(--header-height) - 64px);
  min-height: 640px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 18px;
  padding: 14px;
  overflow: hidden;
}

.workspace-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.workspace-logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #102016;
  background: var(--green);
}

.workspace-switcher strong,
.workspace-switcher small {
  display: block;
}

.workspace-switcher small,
.rail-meter small,
.sync-status small,
.metric-strip small,
.account-list small,
.activity-feed small,
.team-row small {
  color: rgba(251, 250, 246, 0.56);
  font-size: 0.78rem;
}

.rail-menu {
  display: grid;
  gap: 6px;
}

.rail-menu a {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 8px;
  color: rgba(251, 250, 246, 0.68);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 170ms ease, color 170ms ease, transform 170ms ease;
}

.rail-menu a:hover,
.rail-menu a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.rail-menu a:hover {
  transform: translateX(2px);
}

.rail-menu svg {
  width: 18px;
  height: 18px;
}

.rail-menu b {
  min-width: 26px;
  padding: 4px 6px;
  border-radius: 6px;
  color: #0c2115;
  background: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  text-align: center;
}

.rail-meter {
  align-self: end;
  padding: 12px;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(140, 255, 180, 0.13), rgba(255, 255, 255, 0.03)),
    var(--panel-2);
}

.rail-meter > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.rail-meter span {
  color: rgba(251, 250, 246, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
}

.rail-meter strong {
  font-family: "JetBrains Mono", monospace;
}

.meter-track,
.progress {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}

.meter-track span,
.progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.is-ready .meter-track span {
  width: var(--meter);
}

.rail-people {
  display: flex;
  align-items: center;
}

.rail-people span,
.rail-people button {
  width: 34px;
  height: 34px;
  margin-left: -6px;
  border: 2px solid var(--panel);
  border-radius: 8px;
}

.rail-people span:first-child {
  margin-left: 0;
}

.rail-people span {
  color: #0e1611;
  background: var(--white);
  font-size: 0.72rem;
}

.rail-people button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--panel-3);
}

.rail-people svg {
  width: 15px;
  height: 15px;
}

.main-workspace {
  min-width: 0;
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 30%),
    var(--panel);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.search-control {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 520px);
  padding: 0 12px;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  color: rgba(251, 250, 246, 0.54);
  background: rgba(255, 255, 255, 0.045);
}

.search-control svg {
  width: 18px;
  height: 18px;
}

.search-control input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
}

.search-control input::placeholder {
  color: rgba(251, 250, 246, 0.5);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button,
.profile-button,
.panel-action,
.segment-button,
.task-stack button,
.demo-form button {
  border: 1px solid transparent;
  border-radius: 8px;
}

.icon-button,
.profile-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 170ms ease, background-color 170ms ease;
}

.icon-button:hover,
.profile-button:hover,
.panel-action:hover,
.segment-button:hover,
.task-stack button:hover {
  transform: translateY(-1px);
}

.icon-button svg,
.profile-button svg {
  width: 18px;
  height: 18px;
}

.icon-button span {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--rose);
}

.icon-button.dark {
  background: var(--panel-3);
}

.profile-button {
  gap: 8px;
  min-width: 78px;
  padding: 0 10px;
}

.profile-button span {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: #0f1712;
  background: var(--green);
  font-size: 0.72rem;
}

.workspace-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 16px;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
}

.workspace-head h1 {
  max-width: 760px;
  color: var(--white);
  font-size: 2.9rem;
  line-height: 1.04;
}

.sync-status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  padding: 10px;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.sync-status > span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(140, 255, 180, 0.1);
  animation: pulse 1.8s ease-in-out infinite;
}

.sync-status strong,
.sync-status small {
  display: block;
}

.sync-status strong {
  font-size: 0.9rem;
}

.segment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.segment-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  color: rgba(251, 250, 246, 0.64);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 170ms ease, background-color 170ms ease, color 170ms ease;
}

.segment-button.active {
  color: #0f2116;
  background: var(--green);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.metric-strip article,
.panel,
.timeline-board article,
.team-table,
.report-layout,
.demo-section {
  border: 1px solid var(--panel-line);
  border-radius: 8px;
}

.metric-strip article {
  min-height: 116px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.metric-strip span,
.stage-row span,
.report-notes span {
  display: block;
  color: rgba(251, 250, 246, 0.56);
  font-size: 0.8rem;
  font-weight: 700;
}

.metric-strip strong {
  display: block;
  margin: 10px 0 5px;
  color: var(--white);
  font-family: "JetBrains Mono", monospace;
  font-size: 2rem;
}

.crm-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.04fr) minmax(360px, 1fr) minmax(300px, 0.78fr);
  gap: 14px;
}

.panel {
  min-width: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.panel-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-bottom: 1px solid var(--panel-line);
}

.panel-header h2 {
  color: var(--white);
  font-size: 1.35rem;
}

.panel-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 11px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  transition: transform 170ms ease, background-color 170ms ease;
}

.stage-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 14px;
}

.stage-row article {
  min-height: 92px;
  padding: 11px;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.12);
}

.stage-row strong {
  display: block;
  margin: 8px 0 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.55rem;
}

.account-list {
  display: grid;
  gap: 8px;
  padding: 0 14px 14px;
}

.account-row {
  width: 100%;
  min-height: 70px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.account-row:hover,
.account-row.active {
  transform: translateY(-2px);
  border-color: rgba(140, 255, 180, 0.42);
  background: rgba(140, 255, 180, 0.08);
}

.account-row strong,
.account-row small {
  display: block;
}

.account-row em {
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-style: normal;
  font-weight: 700;
}

.account-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #0e2015;
  background: var(--green);
  font-size: 0.75rem;
}

.account-icon.amber {
  background: var(--amber);
}

.account-icon.rose {
  background: var(--rose);
}

.health-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  color: #102016;
  background: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
}

#org-title,
#lead-name,
#champion-name,
#tech-name,
#risk-name,
#account-insight,
#health-pill {
  transition: opacity 160ms ease, transform 160ms ease;
}

.is-swapping {
  opacity: 0.2;
  transform: translateY(4px);
}

.org-map {
  position: relative;
  min-height: 350px;
  margin: 14px;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    rgba(0, 0, 0, 0.1);
  background-size: 30px 30px;
  overflow: hidden;
}

.map-link {
  position: absolute;
  left: 24%;
  top: 47%;
  height: 2px;
  width: 42%;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(140, 255, 180, 0.05), rgba(140, 255, 180, 0.9), rgba(140, 255, 180, 0.05));
  transform-origin: left center;
  animation: data-flow 2.6s linear infinite;
}

.link-one {
  transform: rotate(-27deg);
}

.link-two {
  transform: rotate(17deg);
}

.link-three {
  width: 30%;
  transform: rotate(61deg);
}

.person-node {
  position: absolute;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px 10px;
  align-items: center;
  min-width: 150px;
  max-width: 190px;
  min-height: 64px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: var(--white);
  background: rgba(26, 28, 26, 0.92);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease;
}

.person-node:hover {
  transform: translateY(-3px);
  border-color: rgba(140, 255, 180, 0.52);
}

.person-node span {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #112117;
  background: var(--green);
  font-size: 0.72rem;
}

.person-node strong,
.person-node small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.person-node small {
  color: rgba(251, 250, 246, 0.55);
}

.node-lead {
  left: 8%;
  top: 38%;
}

.node-champ {
  right: 7%;
  top: 18%;
}

.node-tech {
  right: 11%;
  bottom: 31%;
}

.node-risk {
  left: 28%;
  bottom: 6%;
}

.insight-line {
  display: flex;
  gap: 10px;
  margin: 0 14px 14px;
  padding: 12px;
  border: 1px solid rgba(140, 255, 180, 0.22);
  border-radius: 8px;
  background: rgba(140, 255, 180, 0.08);
}

.insight-line svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--green);
}

.insight-line p {
  color: rgba(251, 250, 246, 0.78);
  font-size: 0.92rem;
}

.action-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.activity-feed {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 238px;
  padding: 14px;
}

.activity-feed article {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--panel-line);
  animation: feed-in 420ms ease both;
}

.activity-feed article:last-child {
  border-bottom: 0;
}

.activity-dot {
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 99px;
}

.activity-dot.green {
  background: var(--green);
}

.activity-dot.amber {
  background: var(--amber);
}

.activity-dot.blue {
  background: var(--blue);
}

.task-stack {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--panel-line);
}

.task-stack button {
  min-height: 48px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
  transition: transform 170ms ease, background-color 170ms ease;
}

.task-stack span {
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 18px 54px rgba(23, 24, 23, 0.1);
}

.trust-strip > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  min-height: 94px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.trust-strip span {
  width: 100%;
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.trust-strip strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 0.86rem;
}

.operating-section,
.company-context,
.integration-section,
.security-section,
.people-section,
.report-section,
.demo-section {
  padding: 74px 0;
}

.section-copy {
  max-width: 660px;
  margin-bottom: 26px;
}

.section-copy h2,
.demo-copy h2,
.policy-content h1 {
  font-size: 2.7rem;
}

.section-copy p:last-child {
  margin-top: 12px;
  font-size: 1.02rem;
}

.company-context {
  padding: 68px 0 42px;
}

.context-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 18px 54px rgba(23, 24, 23, 0.12);
}

.context-grid article {
  min-height: 210px;
  padding: 22px;
  background: var(--white);
}

.context-grid span {
  display: block;
  margin-bottom: 38px;
  color: var(--ink-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.context-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.25rem;
}

.context-grid p {
  max-width: 32ch;
}

.timeline-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 18px 54px rgba(23, 24, 23, 0.14);
}

.timeline-board article {
  min-height: 240px;
  padding: 22px;
  border: 0;
  background: var(--white);
}

.timeline-board span {
  display: block;
  margin-bottom: 58px;
  color: var(--ink-muted);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
}

.timeline-board strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.integration-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 16px;
}

.sync-board,
.system-stack,
.security-grid article {
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.sync-board {
  overflow: hidden;
  color: var(--white);
  background: var(--panel);
}

.sync-board header,
.sync-board article {
  display: grid;
  grid-template-columns: 1fr 120px 110px;
  gap: 16px;
  align-items: center;
  min-height: 64px;
  padding: 0 18px;
  border-bottom: 1px solid var(--panel-line);
}

.sync-board header {
  min-height: 48px;
  color: rgba(251, 250, 246, 0.55);
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.04);
}

.sync-board article:last-child {
  border-bottom: 0;
}

.sync-board article > span:last-child {
  color: rgba(251, 250, 246, 0.58);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.86rem;
}

.system-stack {
  display: grid;
  align-content: stretch;
  overflow: hidden;
  color: var(--white);
  background: var(--panel);
}

.system-stack article {
  display: flex;
  gap: 14px;
  min-height: 118px;
  padding: 18px;
  border-bottom: 1px solid var(--panel-line);
}

.system-stack article:last-child {
  border-bottom: 0;
}

.system-stack svg,
.security-grid svg {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  color: var(--green);
}

.system-stack strong,
.security-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
}

.system-stack p,
.security-grid p {
  color: rgba(251, 250, 246, 0.62);
  font-size: 0.92rem;
}

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

.security-grid article {
  min-height: 224px;
  padding: 18px;
  color: var(--white);
  background: var(--panel);
}

.security-grid strong {
  margin-top: 44px;
  font-size: 1.05rem;
}

.team-table {
  overflow: hidden;
  color: var(--white);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.team-row {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.6fr 0.7fr;
  gap: 16px;
  align-items: center;
  min-height: 72px;
  padding: 0 18px;
  border-bottom: 1px solid var(--panel-line);
}

.team-row:last-child {
  border-bottom: 0;
}

.team-row.table-head {
  min-height: 48px;
  color: rgba(251, 250, 246, 0.55);
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.04);
}

.team-row b,
.team-row small {
  display: block;
}

.team-row small {
  margin-top: 4px;
}

.status {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  font-weight: 800;
}

.status.good {
  color: #0e2115;
  background: var(--green);
}

.status.warn {
  color: #2c1d05;
  background: var(--amber);
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 1px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.forecast-chart {
  min-height: 360px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  padding: 22px;
  background: var(--panel);
}

.forecast-chart span {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.forecast-chart span::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 0;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--green), var(--green-strong));
  transition: height 1000ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.forecast-chart.is-visible span::before,
.reveal.is-visible .forecast-chart span::before {
  height: var(--bar);
}

.forecast-chart b {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  color: rgba(251, 250, 246, 0.76);
  font-size: 0.78rem;
}

.report-notes {
  display: grid;
  align-content: center;
  gap: 1px;
  background: var(--ink);
}

.report-notes article {
  min-height: 180px;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 24px;
  color: var(--white);
  background: var(--panel-2);
}

.report-notes svg {
  width: 24px;
  height: 24px;
  color: var(--green);
}

.report-notes strong {
  display: block;
  margin-bottom: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.8rem;
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  margin-bottom: 28px;
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(140, 255, 180, 0.18), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
}

.demo-copy h2 {
  max-width: 780px;
  color: var(--white);
}

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

.demo-form input {
  min-height: 52px;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  outline: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.demo-form input::placeholder {
  color: rgba(251, 250, 246, 0.52);
}

.demo-form button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  color: #102016;
  background: var(--green);
  font-weight: 800;
}

.form-message {
  grid-column: 1 / -1;
  min-height: 22px;
  color: rgba(251, 250, 246, 0.72);
  font-size: 0.92rem;
}

.form-message.error {
  color: var(--rose);
}

.form-message.success {
  color: var(--green);
}

.site-footer {
  padding: 30px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-grid p,
.footer-grid a:not(.brand) {
  display: block;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-grid p {
  margin-top: 10px;
}

.footer-links {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

.reveal,
.reveal-on-load {
  opacity: 0;
  transform: translateY(18px);
}

body.is-ready .reveal-on-load {
  animation: rise-in 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

body.is-ready .reveal-on-load:nth-child(2) {
  animation-delay: 80ms;
}

.reveal {
  transition: opacity 720ms ease, transform 720ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.policy-main {
  padding-top: calc(var(--header-height) + 64px);
  padding-bottom: 64px;
}

.policy-content {
  max-width: 820px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
}

.policy-content h1 {
  margin-bottom: 14px;
}

.policy-content h2 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: 1.55rem;
}

.policy-content p + p {
  margin-top: 10px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.64;
    transform: scale(0.84);
  }
}

@keyframes data-flow {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 280px 0;
  }
}

@keyframes feed-in {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .reveal-on-load {
    opacity: 1;
    transform: none;
  }

  .progress span,
  .meter-track span,
  .forecast-chart span::before {
    transition: none;
  }
}

@media (max-width: 1220px) {
  .app-stage {
    grid-template-columns: 1fr;
  }

  .side-rail {
    position: static;
    min-height: 0;
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-items: stretch;
  }

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

  .rail-meter {
    align-self: stretch;
    min-width: 220px;
  }

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

  .action-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: auto;
    min-height: var(--header-height);
  }

  .main-nav {
    display: none;
  }

  .app-stage {
    padding-top: calc(var(--header-height) + 38px);
  }

  .side-rail {
    grid-template-columns: 1fr;
    order: 2;
  }

  .main-workspace {
    order: 1;
  }

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

  .rail-meter {
    min-width: 0;
  }

  .workspace-head,
  .metric-strip,
  .crm-grid,
  .trust-strip,
  .context-grid,
  .timeline-board,
  .integration-layout,
  .security-grid,
  .report-layout,
  .demo-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .workspace-head h1 {
    font-size: 2.25rem;
  }

  .sync-status {
    min-width: 0;
  }

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

  .team-row {
    grid-template-columns: 1fr 0.8fr;
    min-height: auto;
    padding: 14px;
  }

  .team-row.table-head {
    display: none;
  }

  .footer-links {
    justify-items: start;
  }
}

@media (max-width: 680px) {
  .container,
  .company-context,
  .operating-section,
  .people-section,
  .report-section,
  .demo-section,
  .footer-grid,
  .policy-main {
    width: min(100% - 24px, var(--max-width));
  }

  .site-header {
    inset: 10px 10px auto;
    padding: 8px;
  }

  .brand span:last-child {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 10px;
  }

  .header-cta span {
    display: none;
  }

  .app-stage {
    gap: 10px;
    padding-inline: 10px;
    padding-bottom: 24px;
  }

  .main-workspace,
  .side-rail {
    padding: 10px;
  }

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

  .topbar-actions {
    justify-content: flex-end;
  }

  .workspace-head h1 {
    font-size: 1.85rem;
  }

  .section-copy h2,
  .demo-copy h2,
  .policy-content h1 {
    font-size: 2rem;
  }

  .metric-strip,
  .stage-row,
  .context-grid,
  .rail-menu,
  .sync-board header,
  .sync-board article,
  .demo-form {
    grid-template-columns: 1fr;
  }

  .trust-strip > div,
  .sync-board header,
  .sync-board article {
    align-items: start;
  }

  .sync-board header {
    display: none;
  }

  .sync-board article {
    gap: 8px;
    padding: 14px;
  }

  .account-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .account-row em {
    grid-column: 2;
  }

  .org-map {
    min-height: 430px;
  }

  .person-node {
    min-width: 142px;
  }

  .node-lead {
    left: 7%;
    top: 10%;
  }

  .node-champ {
    right: 6%;
    top: 34%;
  }

  .node-tech {
    right: 8%;
    bottom: 18%;
  }

  .node-risk {
    left: 6%;
    bottom: 8%;
  }

  .map-link {
    left: 20%;
    top: 38%;
    width: 54%;
  }

  .link-three {
    width: 44%;
  }

  .forecast-chart {
    min-height: 300px;
    gap: 8px;
    padding: 14px;
  }

  .forecast-chart span {
    min-height: 220px;
  }

  .demo-section {
    padding: 18px;
  }
}
