:root {
  color-scheme: light;
  --page: #f6f8fb;
  --paper: #ffffff;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #d9e1ec;
  --blue: #1769e0;
  --cyan: #18c7d2;
  --green: #0a9f63;
  --red: #df3f54;
  --amber: #b7791f;
  --shadow: 0 24px 80px rgba(21, 33, 51, 0.14);
  font-family: Inter, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.landing-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(208px, auto) minmax(280px, 680px) minmax(208px, auto);
  align-items: center;
  gap: 12px;
  height: 54px;
  padding: 0 14px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  backdrop-filter: blur(18px);
}

.landing-topbar-left,
.landing-topbar-right {
  display: flex;
  align-items: center;
  min-width: 0;
}

.landing-topbar-right {
  justify-content: flex-end;
  gap: 8px;
}

.landing-topbar-brand,
.landing-trial-button,
.hero-actions a,
.text-action {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 760;
}

.landing-topbar-brand {
  appearance: none;
  gap: 8px;
  min-width: 0;
  padding: 0 4px;
  justify-content: flex-start;
  background: transparent;
  color: var(--blue);
  font-size: 21px;
  font-weight: 800;
  white-space: nowrap;
  transition: color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.landing-topbar-brand:hover {
  opacity: 0.82;
}

.landing-topbar-brand:active {
  transform: translateY(1px);
}

.landing-topbar-brand:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.landing-brand-logo {
  width: 28px;
  height: 28px;
}

.landing-brand-wordmark {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landing-search-box {
  width: 100%;
  min-width: 0;
  position: relative;
}

.landing-topbar-search {
  justify-self: stretch;
}

.landing-search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  border: 2px solid var(--muted);
  border-radius: 50%;
  opacity: 0.78;
  pointer-events: none;
}

.landing-search-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: -6px;
  bottom: -3px;
  border-radius: 999px;
  background: var(--muted);
  transform: rotate(45deg);
  transform-origin: left center;
}

.landing-search-box input[type="search"] {
  width: 100%;
  min-height: 38px;
  padding: 0 16px 0 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f8fafc;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.landing-search-box input[type="search"]:focus {
  background: #ffffff;
  border-color: rgba(23, 105, 224, 0.38);
  box-shadow: 0 0 0 3px rgba(23, 105, 224, 0.12);
}

.landing-topbar-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  color: #263242;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.landing-topbar-nav a,
.site-footer a,
.text-action {
  color: #1c5fc7;
}

.landing-topbar-nav a:hover,
.site-footer a:hover,
.text-action:hover {
  color: #0b3f91;
}

.landing-trial-button {
  flex: 0 0 auto;
  min-width: 112px;
  padding: 0 18px;
  background: #111827;
  color: #ffffff;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: calc(100vh - 54px);
  display: block;
  padding: clamp(34px, 4vw, 60px) 0 clamp(38px, 5vw, 68px);
  overflow: hidden;
  background: #f2f7fd;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(#d7e3f0 1px, transparent 1px),
    linear-gradient(90deg, #d7e3f0 1px, transparent 1px);
  background-size: 44px 44px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 48px));
  min-height: min(690px, calc(100vh - 154px));
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(560px, 1.22fr);
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  margin: 0 auto;
}

.hero-copy {
  container-type: inline-size;
  position: relative;
  z-index: 2;
  order: 1;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: #0f766e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(36px, 9.5cqw, 66px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-title-line {
  display: block;
}

.hero-title-line:first-child {
  white-space: nowrap;
}

.hero-title-accent {
  color: var(--blue);
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 32px;
  color: #344256;
}

.hero-lede p {
  margin: 0;
  color: #243653;
  font-size: 18px;
  font-weight: 560;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-main-actions {
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  width: auto;
  margin-bottom: 0;
}

.hero-main-actions a {
  width: auto;
  min-height: 58px;
  padding: 0 28px;
  font-size: 17px;
  line-height: 1;
}

.primary-action {
  padding: 0 22px;
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(23, 105, 224, 0.2);
}

.secondary-action {
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.92);
  color: #14345f;
  border: 1px solid #c7d4e4;
  box-shadow: 0 10px 24px rgba(15, 42, 76, 0.06);
}

.hero-main-actions .primary-action,
.hero-main-actions .secondary-action {
  min-width: 168px;
  padding: 0 28px;
}

.hero-main-actions .primary-action {
  gap: 13px;
}

.hero-main-actions .secondary-action {
  min-width: 178px;
}

.cta-arrow {
  position: relative;
  width: 17px;
  height: 14px;
  flex: 0 0 auto;
}

.cta-arrow::before,
.cta-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
}

.cta-arrow::before {
  width: 17px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform: translateY(-50%);
}

.cta-arrow::after {
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.hero-scene {
  position: relative;
  z-index: 1;
  order: 2;
  display: flex;
  align-items: center;
  color: inherit;
  cursor: pointer;
  min-width: 0;
}

.workspace-preview {
  width: 100%;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(190, 204, 222, 0.96);
  border-radius: 18px;
  box-shadow: 0 26px 76px rgba(21, 33, 51, 0.16);
  transform: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hero-scene:hover .workspace-preview {
  transform: translateY(-2px);
  border-color: rgba(23, 105, 224, 0.28);
  box-shadow: 0 30px 86px rgba(21, 33, 51, 0.18);
}

.hero-scene:focus-visible {
  outline: none;
}

.hero-scene:focus-visible .workspace-preview {
  box-shadow: var(--shadow), 0 0 0 4px rgba(23, 105, 224, 0.22);
}

.workspace-preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 4px 12px;
}

.preview-title-stack {
  min-width: 0;
}

.preview-title-stack span,
.preview-panel-heading span,
.preview-insight-card span,
.preview-brief-card span {
  display: block;
  color: #637083;
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

.preview-title-stack strong {
  display: block;
  margin-top: 3px;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.1;
}

.preview-status-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.preview-status-pills span,
.preview-mode-pill {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #d7e1ee;
  border-radius: 999px;
  background: #f8fafc;
  color: #314158;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.preview-status-pills span:first-child {
  border-color: rgba(10, 159, 99, 0.22);
  background: #e9f9f1;
  color: #08784e;
}

.workspace-preview-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.34fr);
  gap: 12px;
}

.preview-main-panel,
.preview-side-rail,
.preview-flow-tape {
  min-width: 0;
}

.preview-main-panel {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #d7e1ee;
  border-radius: 14px;
}

.preview-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.preview-panel-heading strong {
  display: block;
  margin-top: 3px;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.16;
}

.workspace-heatmap-frame {
  flex: 1 1 auto;
  min-height: 285px;
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dbe5f1;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.workspace-heatmap-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: left center;
}

.preview-main-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.preview-main-stats span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 10px;
  background: #ffffff;
  border: 1px solid #d7e1ee;
  border-radius: 10px;
  color: #607086;
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.preview-main-stats strong {
  color: #0f172a;
  font-size: 14px;
  line-height: 1.1;
}

.preview-side-rail {
  display: grid;
  gap: 10px;
}

.preview-insight-card,
.preview-brief-card {
  min-width: 0;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #d7e1ee;
  border-radius: 12px;
}

.preview-insight-card {
  border-left: 4px solid #d7e1ee;
}

.preview-insight-positive {
  border-left-color: var(--green);
}

.preview-insight-neutral {
  border-left-color: var(--blue);
}

.preview-insight-negative {
  border-left-color: var(--red);
}

.preview-insight-card strong {
  display: block;
  margin: 4px 0 2px;
  color: #0f172a;
  font-size: 24px;
  line-height: 1;
}

.preview-insight-card small,
.preview-brief-card p {
  color: #526074;
  font-size: 12px;
  line-height: 1.35;
}

.preview-brief-card p {
  margin: 7px 0 0;
}

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

.flow-tape-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 8px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #d7e1ee;
  border-radius: 12px;
}

.flow-tape-item span {
  overflow: hidden;
  color: #0f172a;
  font-size: 13px;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flow-tape-item strong {
  color: #0f172a;
  font-size: 13px;
}

.flow-tape-item em {
  grid-column: 1 / -1;
  color: #607086;
  font-size: 11px;
  font-style: normal;
  font-weight: 760;
  text-transform: uppercase;
}

.flow-tape-buy em {
  color: #08784e;
}

.flow-tape-sell em {
  color: #b4233f;
}

.feature-band,
.thesis-band,
.workflow-band,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.feature-band {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 68px;
  padding: 92px 0 70px;
}

.section-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-copy p {
  color: #4c596b;
  font-size: 18px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-list article {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding-top: 18px;
  border-top: 3px solid #cad6e5;
}

.feature-list article:nth-child(1) {
  border-color: var(--green);
}

.feature-list article:nth-child(2) {
  border-color: var(--blue);
}

.feature-list article:nth-child(3) {
  border-color: var(--cyan);
}

.feature-index {
  color: #7b8797;
  font-size: 13px;
  font-weight: 820;
}

.feature-list h3 {
  margin: 10px 0 8px;
  font-size: 23px;
  line-height: 1.14;
}

.feature-list p {
  color: #4f5c6d;
}

.feature-list a {
  margin-top: auto;
  color: #145bbb;
  font-weight: 760;
}

.thesis-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  align-items: center;
  gap: 72px;
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.thesis-formula {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(199, 212, 228, 0.88);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(15, 42, 76, 0.08);
}

.thesis-formula::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--blue));
}

.formula-term,
.formula-result {
  display: flex;
  min-height: 56px;
  align-items: center;
  padding: 0 18px;
  background: #ffffff;
  border: 1px solid #cbd7e6;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  color: #07152b;
  font-size: 18px;
  font-weight: 840;
  line-height: 1.2;
}

.formula-term:nth-child(1) {
  border-left-color: var(--cyan);
}

.formula-term:nth-child(3) {
  border-left-color: var(--green);
}

.formula-operator {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 18px;
  background: #eef6ff;
  border: 1px solid #c7dcf6;
  border-radius: 8px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 860;
  line-height: 1;
}

.formula-result {
  min-height: 64px;
  background: #07152b;
  border-color: #07152b;
  border-left-color: var(--green);
  color: #ffffff;
  font-size: 20px;
}

.workflow-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
  align-items: center;
  gap: 72px;
  padding: 76px 0 92px;
  border-top: 1px solid var(--line);
}

.workflow-steps {
  display: grid;
  gap: 16px;
}

.workflow-steps article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  column-gap: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(199, 212, 228, 0.88);
  border-radius: 8px;
}

.workflow-steps span {
  width: 42px;
  height: 42px;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #cbd7e6;
  border-radius: 8px;
  color: #124c9f;
  font-weight: 840;
}

.workflow-steps h3 {
  grid-column: 2;
  margin-bottom: 4px;
  font-size: 22px;
  line-height: 1.16;
}

.workflow-steps p {
  grid-column: 2;
  margin-bottom: 0;
  color: #566274;
  font-size: 16px;
  line-height: 1.55;
}

.section-copy-narrow {
  align-self: center;
}

.text-action {
  justify-content: flex-start;
  color: #145bbb;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 36px;
  border-top: 1px solid var(--line);
  color: #596678;
  font-size: 14px;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

@media (max-width: 1060px) {
  .landing-topbar {
    grid-template-columns: minmax(170px, auto) minmax(220px, 1fr) auto;
    padding: 0 14px;
  }

  .landing-topbar-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 34px 0;
  }

  .hero-inner {
    width: min(760px, calc(100% - 40px));
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-copy {
    order: 1;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .hero-scene {
    order: 2;
    width: 100%;
    margin: 0;
  }

  .workspace-preview {
    width: 100%;
    transform: none;
  }

  .hero-scene:hover .workspace-preview {
    transform: translateY(-2px);
  }

  .workspace-preview-body {
    grid-template-columns: 1fr;
  }

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

  .preview-brief-card {
    grid-column: 1 / -1;
  }

  .feature-band,
  .thesis-band,
  .workflow-band {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .thesis-formula {
    order: 2;
  }

  .workflow-band {
    align-items: stretch;
  }

  .section-copy-narrow {
    order: 1;
  }

  .workflow-steps {
    order: 2;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .landing-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 64px;
    height: auto;
    gap: 14px;
    padding: 10px 16px;
  }

  .landing-topbar-left {
    min-width: 0;
  }

  .landing-topbar-brand {
    min-width: 0;
    font-size: 16px;
  }

  .landing-brand-logo {
    width: 26px;
    height: 26px;
  }

  .landing-topbar-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .landing-trial-button {
    width: 62px;
    min-width: 62px;
    min-height: 34px;
    padding: 0;
    font-size: 0;
    white-space: nowrap;
  }

  .landing-trial-button::after {
    content: "Trial";
    font-size: 13px;
  }

  .hero-copy {
    width: calc(100% - 32px);
    min-width: 0;
    padding-top: 42px;
  }

  .hero-scene {
    width: calc(100% - 32px);
  }

  h1 {
    font-size: 42px;
  }

  .hero-lede {
    overflow-wrap: anywhere;
  }

  .hero-lede p {
    font-size: 17px;
  }

  .hero-actions a {
    width: auto;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .workspace-preview {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 10px;
    border-radius: 14px;
    overflow: hidden;
  }

  .workspace-preview-topbar,
  .preview-panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .preview-status-pills {
    justify-content: flex-start;
  }

  .preview-main-panel {
    padding: 10px;
  }

  .workspace-heatmap-frame {
    min-height: 190px;
  }

  .preview-main-stats {
    grid-template-columns: 1fr;
  }

  .preview-side-rail,
  .preview-flow-tape {
    grid-template-columns: 1fr;
  }

  .preview-insight-card strong {
    font-size: 21px;
  }

  .feature-band,
  .thesis-band,
  .workflow-band,
  .site-footer {
    width: calc(100% - 32px);
  }

  .feature-band {
    padding-top: 58px;
  }

  .thesis-band {
    padding: 56px 0;
  }

  .thesis-formula {
    padding: 18px;
  }

  .formula-term,
  .formula-result {
    min-height: 50px;
    padding: 0 14px;
    font-size: 16px;
  }

  .formula-result {
    min-height: 58px;
    font-size: 18px;
  }

  .workflow-band {
    padding-bottom: 56px;
  }

  .workflow-steps article {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 16px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}
