:root {
  color-scheme: light;
  --ink: #17211c;
  --muted: #607068;
  --line: #d8e1dc;
  --paper: #fbfcfa;
  --surface: #ffffff;
  --wash: #eef5f1;
  --green: #235f46;
  --green-2: #0f3f31;
  --mint: #bfe7d4;
  --amber: #c7781d;
  --coral: #b84a3b;
  --blue: #376c82;
  --shadow: 0 20px 60px rgba(23, 33, 28, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

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: 24px;
  min-height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(216, 225, 220, 0.72);
  background: rgba(251, 252, 250, 0.92);
  backdrop-filter: blur(18px);
}

.brand,
.header-action,
.primary-action,
.secondary-action,
.inline-command {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.brand {
  font-weight: 800;
  font-size: 18px;
}

.brand-mark,
.rail-logo {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--green-2);
  color: white;
  font-weight: 900;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

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

.header-action,
.secondary-action {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
}

.header-action svg,
.primary-action svg,
.secondary-action svg,
.inline-command svg,
.rail-icon svg,
.small-icon-button svg,
.tool-card svg,
.role-tab svg,
.check-list svg,
.price-card li svg,
.task-row svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: 44px;
  align-items: center;
  min-height: clamp(620px, calc(100vh - 250px), 760px);
  padding: 46px clamp(24px, 5vw, 72px) 24px;
  background:
    linear-gradient(90deg, rgba(238, 245, 241, 0.96), rgba(251, 252, 250, 0.8)),
    radial-gradient(circle at 84% 24%, rgba(191, 231, 212, 0.55), transparent 34%);
}

.hero-copy {
  max-width: 660px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.14;
}

.hero-lead {
  max-width: 560px;
  color: #34433b;
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.35;
}

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

.primary-action {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: var(--green-2);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.secondary-action {
  min-height: 48px;
}

.proof-strip {
  display: grid;
  grid-template-columns: 0.86fr 1.28fr 0.86fr;
  gap: 12px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.proof-strip div {
  min-width: 0;
}

.proof-strip dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.proof-strip dd {
  margin: 6px 0 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.product-stage {
  min-width: 0;
  max-width: 100%;
}

.app-window {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  min-height: 610px;
  overflow: hidden;
  max-width: 100%;
  border: 1px solid rgba(23, 33, 28, 0.12);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.app-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 18px 12px;
  background: #17211c;
}

.rail-logo {
  background: var(--mint);
  color: var(--green-2);
}

.rail-icon,
.small-icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.rail-icon.active {
  background: var(--mint);
  color: var(--green-2);
}

.app-main {
  padding: 22px;
  background: #f6f8f6;
}

.app-topbar,
.agent-head,
.task-row,
.pricing-controls,
.payment-band,
.demo-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.app-topbar {
  margin-bottom: 18px;
}

.tenant-label,
.role-kicker,
.plan-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.app-topbar strong {
  display: block;
  margin-top: 5px;
  font-size: 24px;
}

.small-icon-button {
  flex: 0 0 auto;
  border-color: var(--line);
  background: white;
  color: var(--ink);
}

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

.metric,
.agent-panel,
.task-list,
.tool-card,
.role-panel,
.price-card,
.demo-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.metric {
  min-height: 132px;
  padding: 16px;
}

.metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin: 14px 0 8px;
  font-size: 36px;
  line-height: 1;
}

.metric p,
.agent-panel p,
.tool-card p,
.role-panel p,
.plan-note,
.payment-band p,
.demo-copy p,
.section-intro p {
  color: var(--muted);
  line-height: 1.55;
}

.metric.danger strong {
  color: var(--coral);
}

.metric.warning strong {
  color: var(--amber);
}

.metric.good strong {
  color: var(--green);
}

.agent-panel {
  padding: 18px;
  margin-bottom: 14px;
}

.agent-head {
  justify-content: flex-start;
  margin-bottom: 14px;
}

.agent-head > svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 8px;
  background: var(--wash);
  color: var(--green);
}

.agent-head span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.inline-command {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 800;
}

.task-list {
  overflow: hidden;
}

.task-row {
  min-height: 58px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

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

.task-row span {
  flex: 1;
}

.task-row time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.task-row svg {
  color: var(--green);
}

.tool-section,
.workspace-section,
.pricing-section,
.demo-section {
  padding: 84px clamp(24px, 5vw, 72px);
}

.section-intro {
  max-width: 790px;
  margin-bottom: 34px;
}

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

.tool-card {
  min-height: 222px;
  padding: 24px;
}

.tool-card > svg {
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  color: var(--green);
}

.workspace-section {
  background: #17211c;
  color: white;
}

.workspace-section .eyebrow {
  color: var(--mint);
}

.workspace-section .section-intro p,
.role-panel p {
  color: rgba(255, 255, 255, 0.7);
}

.role-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.role-tabs {
  display: grid;
  gap: 10px;
}

.role-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 800;
  cursor: pointer;
}

.role-tab.active {
  background: var(--mint);
  color: var(--green-2);
}

.role-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  padding: 32px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.role-kicker {
  color: var(--mint);
}

.check-list,
.price-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.price-card li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-list svg {
  color: var(--mint);
}

.pricing-section {
  background: var(--wash);
}

.pricing-controls {
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.billing-toggle {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.billing-option {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.billing-option.active {
  background: var(--ink);
  color: white;
}

.employee-control {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 800;
}

.employee-control input {
  accent-color: var(--green);
}

.employee-control strong {
  min-width: 34px;
  color: var(--ink);
  text-align: right;
}

.price-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 460px;
  padding: 26px;
}

.price-card.featured {
  border: 2px solid var(--green);
  box-shadow: 0 18px 50px rgba(35, 95, 70, 0.18);
}

.price {
  margin: 0;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.price span:last-child {
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
}

.price-card li svg {
  color: var(--green);
}

.payment-band {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.payment-band h3 {
  margin-bottom: 6px;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.payment-methods span {
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--wash);
  color: var(--green-2);
  font-weight: 850;
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.58fr);
  align-items: center;
  background: var(--paper);
}

.demo-copy {
  max-width: 720px;
}

.demo-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.demo-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.demo-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
}

.pilot-shell {
  padding: 56px clamp(18px, 5vw, 72px) 86px;
}

.pilot-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.48fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}

.pilot-hero h1 {
  font-size: clamp(44px, 7vw, 84px);
}

.pilot-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.pilot-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.pilot-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

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

.pilot-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.pilot-workspace {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.pilot-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 8px;
  background: var(--green-2);
  color: white;
}

.pilot-sidebar .tenant-label,
.pilot-sidebar dt {
  color: rgba(255, 255, 255, 0.68);
}

.pilot-sidebar h2 {
  margin: 0;
  font-size: 28px;
}

.pilot-sidebar dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.pilot-sidebar dd {
  margin: 4px 0 0;
  font-weight: 850;
}

.pilot-sidebar .primary-action {
  background: var(--mint);
  color: var(--green-2);
}

.pilot-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

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

.check-control {
  display: flex !important;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
}

.check-control input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--green);
}

.pilot-results {
  display: grid;
  gap: 18px;
}

.pilot-result-head,
.pilot-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pilot-result-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.pilot-badge {
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--green-2);
  font-weight: 900;
}

.pilot-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pilot-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.35;
}

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

.pilot-demo-intro {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-bottom: 24px;
}

.tenant-context {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-bottom: 24px;
  border-color: rgba(35, 95, 70, 0.28);
  background: #f4faf6;
}

.tenant-context h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 3.2vw, 40px);
}

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

.tenant-id-pill {
  max-width: min(360px, 42vw);
  overflow-wrap: anywhere;
  padding: 10px 12px;
  border: 1px solid rgba(35, 95, 70, 0.28);
  border-radius: 8px;
  background: white;
  color: var(--green-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
}

.pilot-demo-intro h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 3.6vw, 44px);
}

.pilot-demo-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.insight-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 150px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.insight-card span,
.source-badge {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.insight-card strong {
  font-size: 17px;
}

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

.insight-card.found {
  border-color: rgba(35, 95, 70, 0.32);
}

.insight-card.assumed {
  border-color: rgba(199, 120, 29, 0.38);
}

.insight-card.confirm {
  border-color: rgba(55, 108, 130, 0.35);
}

.pilot-progress {
  display: grid;
  gap: 8px;
}

.pilot-progress > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.pilot-progress > div {
  height: 8px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--wash);
}

.pilot-progress > div > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 180ms ease;
}

.question-control label {
  display: grid;
  gap: 8px;
  max-width: 520px;
}

.choice-grid,
.pilot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.choice-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 150px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.choice-button.active {
  border-color: var(--green);
  background: var(--mint);
  color: var(--green-2);
}

.choice-button svg {
  width: 18px;
  height: 18px;
}

.pilot-actions {
  justify-content: space-between;
}

.generation-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 24px;
}

.generation-list li {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.generation-list li.done {
  color: var(--green);
}

.next-action-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(35, 95, 70, 0.28);
  border-radius: 8px;
  background: #f4fbf7;
}

.next-action-card span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.next-action-card h3 {
  margin: 6px 0 8px;
}

.next-action-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

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

.incident-mini-form {
  display: grid;
  gap: 12px;
}

.incident-mini-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.requirement-demo {
  display: grid;
  gap: 12px;
}

.requirement-demo p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.source-badge {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--wash);
  color: var(--green-2);
}

@media (max-width: 1100px) {
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .product-stage {
    max-width: 820px;
  }

  .tool-grid,
  .price-grid,
  .pilot-columns,
  .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .site-nav {
    display: none;
  }

  .header-action span {
    display: none;
  }

  .hero-section {
    padding: 42px 18px 28px;
  }

  .proof-strip,
  .metric-grid,
  .tool-grid,
  .role-layout,
  .role-panel,
  .price-grid,
  .demo-section,
  .pilot-hero,
  .tenant-context,
  .pilot-demo-intro,
  .pilot-workspace,
  .pilot-result-head,
  .pilot-columns,
  .pilot-columns.two,
  .question-grid,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .app-window {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .app-rail {
    flex-direction: row;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .tool-section,
  .workspace-section,
  .pricing-section,
  .demo-section {
    padding: 64px 18px;
  }

  .payment-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .payment-methods {
    justify-content: flex-start;
  }

  .pilot-sidebar {
    position: static;
  }

  .next-action-card {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-copy,
  .product-stage {
    width: 100%;
    max-width: 354px;
    margin-inline: 0;
  }

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

  .hero-actions .primary-action,
  .hero-actions .secondary-action,
  .demo-form .primary-action {
    width: 100%;
  }

  .eyebrow {
    font-size: 11px;
    line-height: 1.25;
    overflow-wrap: break-word;
  }

  .metric,
  .tool-card,
  .price-card {
    min-height: auto;
  }

  .app-main {
    padding: 16px;
  }

  .price {
    font-size: 36px;
  }
}
