:root {
  --bg: #f8f8f5;
  --paper: rgba(255, 255, 255, 0.82);
  --paper-strong: #ffffff;
  --ink: #11141c;
  --muted: #626b78;
  --line: rgba(72, 84, 102, 0.14);
  --line-strong: rgba(72, 84, 102, 0.24);
  --pastel-lilac: #d9dcff;
  --pastel-blue: #cde9ff;
  --pastel-aqua: #caf5ef;
  --pastel-peach: #ffe3d2;
  --pastel-mint: #d8f4df;
  --primary: #171a22;
  --shadow-lg: 0 24px 80px rgba(101, 115, 141, 0.14);
  --shadow-md: 0 18px 44px rgba(101, 115, 141, 0.1);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(205, 233, 255, 0.72), transparent 20%),
    radial-gradient(circle at 86% 12%, rgba(255, 227, 210, 0.6), transparent 18%),
    radial-gradient(circle at 45% 20%, rgba(217, 220, 255, 0.5), transparent 22%),
    linear-gradient(180deg, #fcfcfa 0%, #f5f7fa 100%);
}

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

button,
input,
select {
  font: inherit;
}

.page-shell {
  width: min(1260px, calc(100% - 28px));
  margin: 14px auto 28px;
  border: 1px solid rgba(96, 111, 133, 0.14);
  border-radius: 36px;
  background:
    radial-gradient(circle at top left, rgba(202, 245, 239, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 227, 210, 0.16), transparent 22%),
    rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.site-header,
.hero,
.section,
.trusted-strip {
  padding-left: clamp(22px, 4vw, 50px);
  padding-right: clamp(22px, 4vw, 50px);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  padding-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark,
.hero-badge-mark {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.hero-badge-mark {
  width: 38px;
  height: 38px;
}

.brand-mark-halo,
.hero-badge-halo {
  position: absolute;
  inset: -12px;
  border-radius: 44% 56% 53% 47% / 49% 42% 58% 51%;
  background:
    radial-gradient(circle at 30% 28%, rgba(144, 160, 255, 0.44), transparent 32%),
    radial-gradient(circle at 75% 35%, rgba(202, 245, 239, 0.52), transparent 30%),
    radial-gradient(circle at 72% 78%, rgba(255, 227, 210, 0.48), transparent 34%),
    radial-gradient(circle at 36% 80%, rgba(217, 220, 255, 0.44), transparent 28%);
  filter: blur(10px);
  animation: halo-drift 10s ease-in-out infinite alternate;
}

.brand-mark-core,
.hero-badge-core {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 44% 56% 53% 47% / 49% 42% 58% 51%;
  background:
    radial-gradient(circle at 28% 28%, rgba(135, 149, 255, 0.72), transparent 34%),
    radial-gradient(circle at 74% 28%, rgba(110, 217, 255, 0.32), transparent 42%),
    radial-gradient(circle at 72% 78%, rgba(255, 227, 210, 0.78), transparent 32%),
    linear-gradient(135deg, #d3d9ff 0%, #7fd5ff 34%, #a6efe6 72%, #fde6d7 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.52),
    0 10px 26px rgba(144, 177, 214, 0.24);
}

.brand-text {
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.98rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

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

.button-primary {
  background: var(--primary);
  color: white;
  box-shadow:
    0 14px 32px rgba(23, 26, 34, 0.16),
    0 0 0 8px rgba(214, 220, 255, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(96, 111, 133, 0.16);
  color: var(--ink);
}

.button-secondary:hover,
.platform-tab:hover,
.mini-switch:hover,
.document-filter:hover,
.timeline-filter:hover {
  box-shadow: 0 10px 28px rgba(129, 144, 173, 0.12);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: center;
  padding-top: 44px;
  padding-bottom: 74px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: -110px;
  top: -70px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(205, 233, 255, 0.92), transparent 34%),
    radial-gradient(circle at 70% 36%, rgba(202, 245, 239, 0.72), transparent 28%),
    radial-gradient(circle at 66% 72%, rgba(255, 227, 210, 0.74), transparent 32%),
    radial-gradient(circle at 44% 64%, rgba(217, 220, 255, 0.76), transparent 38%);
  filter: blur(32px);
  opacity: 0.95;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 9%;
  top: 18%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.64) 0 32%, transparent 60%);
  opacity: 0.34;
  pointer-events: none;
}

.hero-copy,
.hero-showcase {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.eyebrow,
.mini-label,
.copy-label,
.panel-label,
.workflow-step,
.showcase-label {
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  color: #5666df;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  min-height: 58px;
  padding: 10px 14px 10px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(96, 111, 133, 0.12);
  color: var(--muted);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.hero h1,
.section-heading h2,
.cta-copy h2 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.1rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.hero h1 span {
  display: block;
  background: linear-gradient(90deg, #666eea 0%, #56c9e4 46%, #f4b394 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text,
.section-heading p,
.platform-copy p,
.workflow-card p,
.proof-card p,
.cta-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.72;
}

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

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

.hero-stat,
.showcase-summary article,
.proof-card,
.workflow-card {
  border: 1px solid rgba(96, 111, 133, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-md);
}

.hero-stat {
  padding: 16px;
}

.hero-stat strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.hero-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
}

.hero-showcase {
  position: relative;
  display: flex;
  justify-content: flex-end;
  min-height: 640px;
  padding: 22px 0 24px;
}

.hero-query-window {
  position: relative;
  width: min(100%, 690px);
  padding: 22px;
  border-radius: 32px;
  border: 1px solid rgba(96, 111, 133, 0.12);
  background:
    radial-gradient(circle at top right, rgba(255, 227, 210, 0.22), transparent 24%),
    radial-gradient(circle at bottom left, rgba(202, 245, 239, 0.2), transparent 28%),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  will-change: transform;
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.hero-orbit-a {
  right: -30px;
  top: -10px;
  width: 160px;
  height: 160px;
  background:
    radial-gradient(circle at 35% 35%, rgba(217, 220, 255, 0.75), transparent 42%),
    radial-gradient(circle at 70% 60%, rgba(202, 245, 239, 0.72), transparent 40%);
  filter: blur(12px);
  opacity: 0.95;
}

.hero-orbit-b {
  left: 10px;
  bottom: 36px;
  width: 210px;
  height: 210px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 227, 210, 0.74), transparent 40%),
    radial-gradient(circle at 68% 64%, rgba(217, 220, 255, 0.58), transparent 42%);
  filter: blur(18px);
  opacity: 0.82;
}

.hero-playbook-chip {
  position: absolute;
  right: -10px;
  bottom: 0;
  width: 260px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(96, 111, 133, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
  z-index: 3;
  will-change: transform;
}

.hero-playbook-chip strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 1.12rem;
  line-height: 1.16;
}

.hero-playbook-chip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.56;
}

.query-prompt-card {
  margin-top: 18px;
  padding: 20px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(217, 220, 255, 0.74), rgba(202, 245, 239, 0.62));
}

.query-prompt-card h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 3.7vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.hero-answer-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 14px;
  margin-top: 14px;
}

.hero-answer-card,
.hero-kpi,
.hero-chart-card {
  border: 1px solid rgba(96, 111, 133, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(112, 128, 154, 0.07);
}

.hero-answer-card {
  padding: 18px;
}

.hero-answer-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.hero-kpi-stack {
  display: grid;
  gap: 12px;
}

.hero-kpi {
  padding: 16px;
}

.hero-kpi span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.42;
}

.hero-kpi strong {
  display: block;
  margin-top: 10px;
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.hero-chart-card {
  margin-top: 14px;
  padding: 18px;
}

.chart-card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.chart-card-top strong {
  display: block;
  margin-top: 8px;
  font-size: 1.22rem;
  line-height: 1.16;
}

.chart-note {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 227, 210, 0.7);
  color: #9b5f35;
  font-size: 0.82rem;
  font-weight: 800;
}

.exposure-chart {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  min-height: 230px;
  margin-top: 18px;
  padding: 18px 0 6px;
  border-bottom: 1px solid rgba(96, 111, 133, 0.08);
}

.chart-column {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.chart-bar {
  width: 100%;
  max-width: 74px;
  height: var(--bar);
  min-height: 42px;
  border-radius: 18px 18px 8px 8px;
  background:
    linear-gradient(180deg, rgba(217, 220, 255, 0.95), rgba(202, 245, 239, 0.72));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.44);
}

.chart-column.is-highlighted .chart-bar {
  background:
    linear-gradient(180deg, rgba(119, 132, 255, 0.92), rgba(244, 179, 148, 0.9));
}

.chart-label {
  color: rgba(17, 20, 28, 0.52);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chart-legend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.legend-dot.is-lilac {
  background: #8c93ff;
}

.legend-dot.is-peach {
  background: #f4b394;
}

.showcase-topbar,
.showcase-headline,
.showcase-summary,
.showcase-body,
.showcase-events,
.preview-top,
.preview-metrics,
.workflow-grid,
.proof-grid {
  display: grid;
  gap: 14px;
}

.showcase-topbar {
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: center;
}

.pill,
.preview-chip,
.event-chip,
.document-filter,
.focus-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
}

.pill-live {
  background: rgba(217, 220, 255, 0.64);
  color: #4b56d1;
}

.showcase-meta {
  color: rgba(17, 20, 28, 0.5);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.showcase-headline {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  margin-top: 18px;
}

.showcase-headline h2 {
  margin: 8px 0;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.showcase-headline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.showcase-side-stat {
  min-width: 150px;
  padding: 16px 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 249, 253, 0.94));
  border: 1px solid rgba(96, 111, 133, 0.1);
  text-align: left;
}

.showcase-side-stat span,
.showcase-summary span,
.metric-label {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.showcase-side-stat strong,
.showcase-summary strong {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.showcase-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.showcase-summary article {
  padding: 16px;
}

.showcase-body {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin-top: 14px;
}

.showcase-panel,
.platform-shell,
.preview-frame,
.demo-form,
.proof-shell {
  border: 1px solid rgba(96, 111, 133, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
}

.showcase-panel {
  padding: 18px;
}

.panel-label,
.copy-label,
.showcase-label,
.mini-label {
  color: rgba(17, 20, 28, 0.5);
}

.donut-card {
  display: grid;
  grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 14px;
}

.donut-graphic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.96) 0 35%, transparent 36%),
    conic-gradient(#27b85f 0 85%, #ffc445 85% 95%, #f35f76 95% 100%);
  box-shadow: inset 0 0 0 1px rgba(96, 111, 133, 0.08);
}

.donut-legend {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.donut-legend div {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 0;
  margin-top: 0.35em;
  border-radius: 50%;
}

.legend-dot.is-green {
  background: #27b85f;
}

.legend-dot.is-amber {
  background: #ffc445;
}

.legend-dot.is-red {
  background: #f35f76;
}

.alert-stack {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.alert-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(247, 249, 253, 0.86);
  border: 1px solid rgba(96, 111, 133, 0.08);
}

.alert-row strong,
.workflow-card h3,
.platform-copy h3,
.preview-frame h4 {
  margin: 0;
  display: block;
  font-size: 1.36rem;
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.alert-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.52;
}

.severity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.severity.high {
  background: rgba(243, 95, 118, 0.14);
  color: #d44862;
}

.severity.medium {
  background: rgba(255, 196, 69, 0.2);
  color: #a77406;
}

.showcase-events {
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  margin-top: 16px;
}

.event-chip {
  background: rgba(247, 249, 253, 0.94);
  border: 1px solid rgba(96, 111, 133, 0.08);
  color: var(--muted);
}

.trusted-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 18px;
  padding-bottom: 18px;
  border-top: 1px solid rgba(96, 111, 133, 0.1);
  border-bottom: 1px solid rgba(96, 111, 133, 0.1);
  background: rgba(250, 251, 255, 0.74);
  color: rgba(17, 20, 28, 0.7);
  font-weight: 700;
  line-height: 1.55;
}

.section {
  padding-top: 82px;
  padding-bottom: 82px;
}

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

.section-heading h2 {
  font-size: clamp(2.25rem, 5vw, 4.6rem);
}

.section-heading.compact {
  max-width: 840px;
  margin-bottom: 20px;
}

.platform-shell {
  padding: 18px;
  background:
    radial-gradient(circle at top left, rgba(217, 220, 255, 0.24), transparent 30%),
    radial-gradient(circle at bottom right, rgba(202, 245, 239, 0.2), transparent 28%),
    rgba(255, 255, 255, 0.78);
}

.platform-tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platform-tab {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(96, 111, 133, 0.12);
  background: rgba(255, 255, 255, 0.64);
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.platform-tab:hover {
  transform: translateY(-1px);
}

.platform-tab.is-active {
  background: linear-gradient(135deg, rgba(217, 220, 255, 0.84), rgba(202, 245, 239, 0.76));
  color: var(--ink);
}

.platform-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  margin-top: 18px;
}

.platform-copy-stack,
.platform-preview-stack {
  position: relative;
}

.platform-copy,
.preview-panel {
  display: none;
}

.platform-copy.is-active,
.preview-panel.is-active {
  display: block;
  animation: fade-up 260ms ease;
}

.platform-copy {
  padding: 8px 6px 8px 0;
}

.platform-copy h3 {
  margin: 8px 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

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

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.6;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8a91ff, #9ceae4);
}

.preview-frame {
  min-height: 430px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 249, 253, 0.94));
}

.preview-toolbar,
.timeline-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.mini-switch,
.timeline-filter {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(96, 111, 133, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.mini-switch.is-active,
.timeline-filter.is-active {
  background: linear-gradient(135deg, rgba(217, 220, 255, 0.86), rgba(202, 245, 239, 0.76));
  color: var(--ink);
}

.preview-top {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.preview-top h4 {
  margin-top: 6px;
}

.preview-chip {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(96, 111, 133, 0.12);
  color: var(--muted);
}

.preview-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.preview-metrics > div,
.focus-card,
.issue-card,
.document-preview-row,
.proof-card,
.workflow-card {
  border: 1px solid rgba(96, 111, 133, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
}

.preview-metrics > div {
  padding: 16px;
}

.preview-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.preview-metrics strong {
  display: block;
  margin-top: 10px;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.preview-diligence-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
  margin-top: 16px;
}

.focus-card,
.issue-card {
  padding: 18px;
}

.diligence-panel {
  display: none;
}

.diligence-panel.is-active {
  display: block;
  animation: fade-up 240ms ease;
}

.focus-card {
  display: grid;
  gap: 10px;
}

.focus-pill {
  background: rgba(243, 246, 255, 0.96);
  color: var(--muted);
  border: 1px solid rgba(96, 111, 133, 0.08);
}

.issue-card {
  display: grid;
  gap: 12px;
}

.issue-card article {
  padding: 14px;
  border-radius: 16px;
  background: rgba(247, 249, 253, 0.86);
}

.issue-card strong {
  display: block;
  margin-bottom: 4px;
}

.issue-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.focus-insight-grid,
.handover-grid,
.documents-stage,
.timeline-stage,
.agent-grid,
.agent-feature-grid {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

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

.insight-card,
.handover-card,
.document-sidecard,
.timeline-sidecard,
.agent-feature-card,
.query-card,
.agent-summary-card,
.playbook-card,
.comms-card,
.message {
  border: 1px solid rgba(96, 111, 133, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
}

.insight-card,
.handover-card,
.document-sidecard,
.timeline-sidecard,
.agent-feature-card,
.query-card,
.agent-summary-card,
.playbook-card,
.comms-card {
  padding: 18px;
}

.insight-card strong,
.handover-card strong,
.timeline-sidecard strong {
  display: block;
  margin: 8px 0 8px;
  font-size: 1.08rem;
  line-height: 1.24;
}

.insight-card p,
.handover-card p,
.document-sidecard p,
.timeline-sidecard p {
  margin: 0;
  color: var(--muted);
  line-height: 1.56;
}

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

.document-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.document-filter {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(96, 111, 133, 0.08);
  background: rgba(243, 246, 255, 0.92);
  color: var(--muted);
  cursor: pointer;
  transition:
    background 180ms ease,
    transform 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.document-filter.is-active {
  background: linear-gradient(135deg, rgba(217, 220, 255, 0.88), rgba(202, 245, 239, 0.76));
  color: var(--ink);
}

.documents-stage {
  grid-template-columns: 220px minmax(0, 1fr);
}

.document-sidecards {
  display: grid;
  gap: 12px;
}

.document-sidecard span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.document-sidecard strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.document-preview-table {
  display: grid;
  gap: 8px;
}

.document-preview-row {
  display: grid;
  grid-template-columns: 2fr 0.8fr 0.8fr;
  gap: 10px;
  align-items: center;
  padding: 14px;
}

.document-preview-row span:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.document-preview-row-head {
  background: transparent;
  border-color: transparent;
  padding: 0 4px 6px;
  color: rgba(17, 20, 28, 0.46);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
}

.timeline-preview-list {
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 18px;
}

.timeline-preview-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(138, 145, 255, 0.34), rgba(96, 223, 229, 0.28));
}

.timeline-preview-list article {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.96);
  z-index: 1;
}

.timeline-dot.is-blue {
  background: #5e7cff;
}

.timeline-dot.is-amber {
  background: #ffc445;
}

.timeline-dot.is-cyan {
  background: #52d7dd;
}

.timeline-dot.is-green {
  background: #65c879;
}

.timeline-preview-list strong {
  display: block;
  margin-bottom: 4px;
}

.timeline-preview-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.56;
}

.timeline-stage {
  grid-template-columns: minmax(0, 1.1fr) 240px;
}

.timeline-sidecard strong {
  font-size: 1.3rem;
}

.agent-panel {
  display: none;
}

.agent-panel.is-active {
  display: block;
  animation: fade-up 240ms ease;
}

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

.query-card,
.agent-summary-card,
.playbook-card,
.comms-card {
  box-shadow: 0 12px 30px rgba(112, 128, 154, 0.06);
}

.query-bubble {
  margin-top: 12px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(217, 220, 255, 0.84), rgba(202, 245, 239, 0.72));
  font-weight: 700;
  line-height: 1.55;
}

.query-answer {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.query-answer article {
  padding: 14px;
  border-radius: 16px;
  background: rgba(247, 249, 253, 0.9);
}

.query-answer strong,
.playbook-card strong,
.agent-summary-card strong,
.message strong,
.agent-feature-card h3 {
  display: block;
  margin-bottom: 6px;
}

.query-answer p,
.agent-summary-card p,
.playbook-card p,
.message p,
.agent-feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.56;
}

.agent-summary-card strong {
  margin-top: 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.playbook-stack,
.comms-thread {
  display: grid;
  gap: 12px;
}

.playbook-meta {
  margin-top: 10px;
  color: rgba(17, 20, 28, 0.58);
  font-size: 0.88rem;
  font-weight: 700;
}

.message {
  padding: 14px;
}

.message-agent {
  background: rgba(247, 249, 253, 0.92);
}

.message-user {
  background: linear-gradient(135deg, rgba(217, 220, 255, 0.84), rgba(202, 245, 239, 0.68));
}

.workflow {
  background: rgba(250, 251, 255, 0.56);
}

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

.workflow-card,
.proof-card {
  padding: 22px;
}

.workflow-step {
  color: #5a67de;
}

.workflow-card h3 {
  margin: 12px 0 10px;
}

.proof-shell {
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(205, 233, 255, 0.3), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 227, 210, 0.22), transparent 26%),
    rgba(255, 255, 255, 0.78);
}

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

.proof-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.agent-section {
  padding-top: 12px;
}

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

.agent-feature-card {
  padding: 24px;
}

.agent-feature-card h3 {
  margin: 10px 0 10px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.14;
  letter-spacing: -0.05em;
}

.testimonial-section {
  padding-top: 10px;
}

.testimonial-shell {
  padding: 28px;
  border: 1px solid rgba(96, 111, 133, 0.12);
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(217, 220, 255, 0.3), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 227, 210, 0.24), transparent 24%),
    rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-md);
}

.testimonial-shell blockquote {
  margin: 16px 0 22px;
  max-width: 960px;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(217, 220, 255, 0.96), rgba(202, 245, 239, 0.86));
  font-weight: 800;
}

.testimonial-meta strong {
  display: block;
  margin-bottom: 4px;
}

.testimonial-meta span {
  color: var(--muted);
  line-height: 1.5;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 22px;
  align-items: start;
}

.cta-note {
  display: inline-flex;
  margin-top: 20px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(217, 220, 255, 0.72), rgba(202, 245, 239, 0.6));
  color: var(--ink);
  font-weight: 700;
}

.demo-form {
  padding: 22px;
}

.demo-form {
  display: grid;
  gap: 14px;
}

.demo-form label {
  display: grid;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 700;
}

.demo-form input,
.demo-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(96, 111, 133, 0.16);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
}

.demo-form input:focus,
.demo-form select:focus {
  outline: 2px solid rgba(137, 145, 255, 0.22);
  border-color: rgba(137, 145, 255, 0.34);
}

.button-submit {
  width: 100%;
  margin-top: 4px;
}

.form-footnote,
.form-success {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-success {
  color: #5a67de;
  font-weight: 700;
}

@keyframes halo-drift {
  from {
    transform: translate3d(-3px, 0, 0) scale(0.98);
  }
  to {
    transform: translate3d(4px, -3px, 0) scale(1.03);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .hero,
  .platform-stage,
  .cta-section,
  .workflow-grid,
  .proof-grid,
  .trusted-strip {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    justify-content: stretch;
    min-height: auto;
    padding-bottom: 110px;
  }

  .hero-query-window {
    width: 100%;
  }
}

@media (max-width: 920px) {
  .page-shell {
    width: calc(100% - 16px);
    margin: 8px auto 18px;
    border-radius: 24px;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.9rem;
  }

  .showcase-headline,
  .showcase-body,
  .preview-diligence-grid,
  .cta-section,
  .focus-insight-grid,
  .handover-grid,
  .documents-stage,
  .timeline-stage,
  .agent-grid,
  .agent-feature-grid,
  .hero-answer-strip {
    grid-template-columns: 1fr;
  }

  .showcase-summary,
  .preview-metrics,
  .hero-stat-row,
  .proof-grid,
  .workflow-grid,
  .exposure-chart {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .donut-card {
    grid-template-columns: 1fr;
  }

  .showcase-events {
    grid-template-columns: 1fr;
  }

  .hero-playbook-chip {
    position: static;
    width: 100%;
    margin-top: 16px;
  }
}

@media (max-width: 640px) {
  .site-nav {
    display: none;
  }

  .hero,
  .section {
    padding-top: 42px;
    padding-bottom: 44px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button,
  .button-submit {
    width: 100%;
  }

  .hero-stat-row,
  .showcase-summary,
  .preview-metrics,
  .workflow-grid,
  .proof-grid,
  .trusted-strip,
  .document-preview-row,
  .focus-insight-grid,
  .handover-grid,
  .agent-feature-grid,
  .exposure-chart {
    grid-template-columns: 1fr;
  }

  .document-preview-row-head {
    display: none;
  }

  .platform-tab-row {
    display: grid;
  }

  .platform-tab {
    justify-content: flex-start;
  }

  .brand-text {
    font-size: 2.2rem;
  }

  .showcase-window,
  .hero-query-window,
  .preview-frame,
  .platform-shell,
  .proof-shell,
  .demo-form {
    padding: 18px;
  }
}
