:root {
  --dark: #403227;
  --neutral: #a6998f;
  --accent: #f2c1ae;
  --action: #f20505;
  --action-deep: #8c0303;
  --cream: #fbf7f4;
  --paper: #fffdfb;
  --line: #e8ddd6;
  --ink-soft: #6f6259;
  --sage: #64766a;
  --steel: #435060;
  --shadow: 0 18px 48px rgba(64, 50, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px clamp(20px, 4vw, 64px);
  background: rgba(255, 253, 251, 0.9);
  border-bottom: 1px solid rgba(232, 221, 214, 0.86);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 218px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 600;
}

.nav-links a,
.nav-cta {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a:hover {
  color: var(--action-deep);
}

.nav-cta {
  border: 1px solid var(--dark);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-cta:hover {
  color: #fff;
  background: var(--dark);
}

main {
  overflow: hidden;
}

.section-band {
  background:
    linear-gradient(180deg, rgba(251, 247, 244, 0.96), rgba(255, 253, 251, 0.98)),
    radial-gradient(circle at 88% 16%, rgba(242, 193, 174, 0.32), transparent 28%);
}

.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(56px, 7vw, 98px) clamp(20px, 4vw, 64px) 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--action-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Manrope, Inter, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  font-size: clamp(3rem, 6vw, 6.8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 4.2rem);
  font-weight: 800;
}

h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.hero-lede,
.section-heading p,
.marketplace-copy p,
.security-card p,
.cta-section p,
.rich-copy p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.15vw, 1.15rem);
}

.hero-lede {
  max-width: 760px;
  margin: 26px 0 0;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--action);
  box-shadow: 0 14px 28px rgba(242, 5, 5, 0.18);
}

.button-primary:hover {
  background: var(--action-deep);
}

.button-secondary {
  color: var(--dark);
  border: 1px solid var(--dark);
  background: rgba(255, 253, 251, 0.62);
}

.button-secondary:hover {
  color: #fff;
  background: var(--dark);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
  margin: 46px 0 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 251, 0.78);
}

.hero-stats dt {
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  min-width: 0;
  perspective: 1200px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -8% 8% auto auto;
  width: 36%;
  height: 42%;
  border-radius: 8px;
  background: rgba(242, 193, 174, 0.32);
  transform: rotate(8deg);
}

.dashboard-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 2.5vw, 30px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(251, 247, 244, 0.72)),
    rgba(255, 255, 255, 0.68);
  box-shadow:
    0 34px 70px rgba(64, 50, 39, 0.18),
    0 12px 28px rgba(64, 50, 39, 0.1);
  backdrop-filter: blur(22px);
  transform: rotateX(4deg) rotateY(-7deg) rotateZ(1deg);
  transform-style: preserve-3d;
}

.dashboard-shell::before {
  content: "";
  position: absolute;
  inset: 14px -10px -18px 22px;
  z-index: -1;
  border-radius: 8px;
  background: rgba(64, 50, 39, 0.12);
  filter: blur(18px);
  transform: translateZ(-46px);
}

.dashboard-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.42), transparent 38%);
}

.dashboard-topbar,
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-topbar {
  padding-bottom: 22px;
  color: var(--steel);
}

.dashboard-topbar span {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--accent), rgba(166, 153, 143, 0.8));
}

.dashboard-topbar small {
  color: var(--sage);
  font-weight: 800;
}

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

.kpi-grid article,
.view-card {
  border: 1px solid rgba(232, 221, 214, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(251, 247, 244, 0.44)),
    rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 26px rgba(64, 50, 39, 0.05);
  backdrop-filter: blur(16px);
  transform: translateZ(18px);
}

.kpi-grid article {
  padding: 16px;
}

.kpi-grid span,
.workflow-card div,
.panel-heading span {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.kpi-grid strong {
  display: block;
  margin-top: 12px;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1.25rem, 2vw, 2rem);
}

.kpi-grid em {
  display: inline-block;
  margin-top: 6px;
  color: var(--action-deep);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.view-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 2px 0;
}

.view-tabs span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.view-tabs span::after {
  content: "";
  position: absolute;
  left: 19px;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--action);
  transform: scaleX(0);
  transform-origin: left;
  animation: tab-progress 16s infinite;
}

.view-tabs i {
  position: relative;
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.view-tabs i::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  background: var(--action);
  opacity: 0;
  animation: dot-active 16s infinite;
}

.view-tabs span:nth-child(2)::after {
  animation-delay: 4s;
}

.view-tabs span:nth-child(3)::after {
  animation-delay: 8s;
}

.view-tabs span:nth-child(4)::after {
  animation-delay: 12s;
}

.view-tabs span:nth-child(2) i::after {
  animation-delay: 4s;
}

.view-tabs span:nth-child(3) i::after {
  animation-delay: 8s;
}

.view-tabs span:nth-child(4) i::after {
  animation-delay: 12s;
}

@keyframes tab-progress {
  0% {
    transform: scaleX(0);
  }

  21% {
    transform: scaleX(1);
  }

  22%,
  100% {
    transform: scaleX(0);
  }
}

@keyframes dot-active {
  0%,
  21% {
    opacity: 1;
  }

  22%,
  100% {
    opacity: 0;
  }
}

.view-grid {
  position: relative;
  min-height: clamp(270px, 34vw, 350px);
  margin-top: 22px;
}

.view-card {
  position: absolute;
  inset: 0;
  padding: clamp(20px, 2.8vw, 30px);
  opacity: 0;
  transform: translateY(12px) translateZ(34px);
  border-color: rgba(242, 5, 5, 0.18);
  outline: 1px solid rgba(255, 255, 255, 0.72);
  outline-offset: -4px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 18px 42px rgba(64, 50, 39, 0.1),
    0 0 0 1px rgba(242, 193, 174, 0.18);
  animation: swap-view 16s infinite;
}

.view-card:nth-child(2) {
  animation-delay: 4s;
}

.view-card:nth-child(3) {
  animation-delay: 8s;
}

.view-card:nth-child(4) {
  animation-delay: 12s;
}

@keyframes swap-view {
  0%,
  21% {
    opacity: 1;
    transform: translateY(0) translateZ(34px);
  }

  25%,
  100% {
    opacity: 0;
    transform: translateY(-12px) translateZ(34px);
  }
}

.prompt-card {
  display: grid;
  align-content: center;
  gap: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(251, 247, 244, 0.48)),
    rgba(255, 255, 255, 0.58);
}

.prompt-card span {
  color: var(--action-deep);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.prompt-card p {
  overflow: hidden;
  margin: 0;
  color: var(--steel);
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1.05rem, 1.65vw, 1.45rem);
  font-weight: 800;
  line-height: 1.3;
}

.typing-text {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  border-right: 2px solid var(--action);
  white-space: nowrap;
  animation: prompt-type 16s steps(56, end) infinite, prompt-caret 760ms step-end infinite;
}

@keyframes prompt-type {
  0%,
  25% {
    width: 0;
  }

  43%,
  100% {
    width: 56ch;
  }
}

@keyframes prompt-caret {
  50% {
    border-color: transparent;
  }
}

.prompt-card strong {
  width: fit-content;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--action-deep);
  background: rgba(242, 193, 174, 0.34);
  font-size: 0.86rem;
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 10px;
  height: clamp(190px, 25vw, 260px);
  margin-top: 24px;
  padding: 12px 2px 0;
  border-bottom: 1px solid var(--line);
}

.chart-bars span {
  min-height: 42px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--action), var(--accent));
}

.chart-bars span:nth-child(even) {
  background: linear-gradient(180deg, var(--steel), var(--neutral));
}

.mini-table {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.mini-table div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(232, 221, 214, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.mini-table span {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

.mini-table strong {
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.1rem;
}

.workflow-card {
  display: grid;
  align-content: center;
  gap: 12px;
}

.workflow-card div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  border: 1px solid rgba(232, 221, 214, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.status-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--sage);
}

.status-alert {
  background: var(--action);
}

.status-muted {
  background: var(--neutral);
}

.split-section,
.capabilities,
.intelligence-section,
.security-section,
.cta-section,
.distributor-section,
.marketplace-section {
  padding: clamp(70px, 8vw, 120px) clamp(20px, 4vw, 64px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.rich-copy {
  display: grid;
  gap: 18px;
}

.rich-copy p {
  margin: 0;
}

.section-heading {
  max-width: 820px;
}

.section-heading.narrow {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p {
  margin: 20px 0 0;
}

.benefit-grid,
.capability-grid,
.governance-grid {
  display: grid;
  gap: 16px;
}

.benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
}

.benefit-grid article,
.capability-grid article,
.governance-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(64, 50, 39, 0.06);
}

.benefit-grid article {
  padding: 24px;
}

.benefit-grid strong,
.governance-grid strong {
  display: block;
  margin-bottom: 10px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.03rem;
}

.benefit-grid span,
.governance-grid span,
.capability-grid p,
.timeline p {
  color: var(--ink-soft);
}

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

.capability-grid article {
  padding: 28px;
}

.icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  border-radius: 8px;
  color: var(--action-deep);
  background: rgba(242, 193, 174, 0.42);
  font-size: 0.82rem;
  font-weight: 900;
}

.capability-grid p {
  margin: 14px 0 0;
}

.marketplace-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
}

.marketplace-copy p {
  margin: 22px 0 0;
}

.marketplace-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.board-column {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 8px;
  background: var(--cream);
}

.board-column strong {
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.08rem;
}

.board-column span {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-soft);
  background: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.timeline {
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
}

.timeline article {
  position: relative;
  padding: 30px 28px;
  border-top: 3px solid var(--action);
  background: var(--cream);
}

.timeline span {
  display: block;
  width: 12px;
  height: 12px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--action);
  box-shadow: 0 0 0 8px rgba(242, 5, 5, 0.08);
}

.timeline strong {
  display: block;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.3rem;
}

.security-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
  gap: 18px;
  background: var(--dark);
  color: #fff;
}

.security-card {
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(242, 193, 174, 0.24);
  border-radius: 8px;
}

.security-card .eyebrow,
.cta-section .eyebrow {
  color: var(--accent);
}

.security-card p {
  color: rgba(255, 255, 255, 0.76);
}

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

.governance-grid article {
  padding: 26px;
  border-color: rgba(242, 193, 174, 0.2);
  background: rgba(255, 253, 251, 0.06);
  box-shadow: none;
}

.governance-grid span {
  color: rgba(255, 255, 255, 0.72);
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--action-deep), var(--dark));
}

.cta-section h2 {
  max-width: 900px;
}

.cta-section p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.cta-section .button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: transparent;
}

.cta-section .button-secondary:hover {
  color: var(--dark);
  background: #fff;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 28px clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-footer img {
  width: 190px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--action-deep);
  font-weight: 800;
}

.site-footer a:hover {
  color: var(--action);
}

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

  .nav-links {
    display: none;
  }

  .hero,
  .split-section,
  .marketplace-section,
  .security-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .marketplace-board {
    max-width: 760px;
  }

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

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

  .cta-actions {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 16px;
    padding: 14px 18px;
  }

  .brand img {
    width: 166px;
  }

  .nav-cta {
    padding: 9px 12px;
    font-size: 0.82rem;
  }

  .hero {
    padding: 42px 18px 36px;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.8rem);
  }

  .hero-stats,
  .kpi-grid,
  .view-tabs,
  .benefit-grid,
  .capability-grid,
  .marketplace-board,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .split-section,
  .capabilities,
  .intelligence-section,
  .security-section,
  .cta-section,
  .distributor-section,
  .marketplace-section {
    padding: 62px 18px;
  }

  .section-heading.narrow {
    text-align: left;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}
