:root {
  --ink: #0b1220;
  --navy: #111827;
  --charcoal: #1f2937;
  --muted: #4b5563;
  --line: #d9dee8;
  --line-soft: #edf0f5;
  --paper: #f7f8fb;
  --white: #ffffff;
  --teal: #1f8f84;
  --teal-bright: #2cb5a5;
  --teal-soft: #ddf7f4;
  --orange: #c95f17;
  --red: #c2413d;
  --green: #167a42;
  --shadow: 0 18px 48px rgba(11, 18, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  color: var(--white);
  background: rgba(11, 18, 32, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.04;
}

.brand strong {
  color: var(--white);
  font-size: 19px;
  font-weight: 850;
}

.brand span {
  margin-top: 3px;
  color: var(--teal-bright);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--teal-bright);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  cursor: pointer;
}

.mobile-toggle svg {
  width: 20px;
  height: 20px;
}

.mobile-menu {
  display: none;
  padding: 10px 20px 20px;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu a {
  display: block;
  padding: 13px 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.btn-primary {
  color: var(--white);
  background: var(--teal);
}

.btn-primary:hover {
  background: #176f67;
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: transparent;
}

.btn-dark {
  color: var(--white);
  background: var(--ink);
}

.hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #111827 0%, #0b1220 100%);
  background-size: 84px 84px, auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-grid {
  min-height: calc(100vh - 72px);
  max-height: 860px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: clamp(36px, 5vw, 66px);
  align-items: center;
  padding: clamp(52px, 6vw, 86px) 0;
}

.hero h1 {
  max-width: 660px;
  margin: 0 0 22px;
  font-size: clamp(44px, 5.5vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 880;
}

.hero-copy {
  max-width: 548px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.77);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.58;
}

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

.integration-strip {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.integration-strip p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.integration-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.integration-tags span {
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.product-shell {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.product-top {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  background: #0a1423;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.product-grid {
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 500px;
}

.product-side {
  padding: 18px 14px;
  background: var(--ink);
}

.product-mark {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: 12px;
  font-weight: 850;
}

.product-mark img {
  width: 28px;
  height: 28px;
}

.product-side a,
.product-side div:not(.product-mark) {
  display: block;
  margin-bottom: 4px;
  padding: 9px 10px;
  color: rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 650;
}

.product-side .active {
  color: var(--teal-bright);
  background: rgba(44, 181, 165, 0.16);
}

.product-main {
  padding: 18px;
  color: var(--navy);
  background: #f6f8fb;
}

.product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.product-head h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: 0;
}

.select-pill {
  padding: 7px 10px;
  color: #5d6676;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

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

.metric {
  min-height: 94px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.metric span,
.chart-card span,
.table-card span {
  display: block;
  color: #697386;
  font-size: 11px;
  font-weight: 750;
}

.metric strong {
  display: block;
  margin: 8px 0 5px;
  font-size: 25px;
  letter-spacing: 0;
}

.metric em {
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.metric.warn em {
  color: var(--orange);
}

.hero-dashboard {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
}

.chart-card,
.table-card,
.activity-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.chart-card {
  padding: 14px;
}

.chart-card svg {
  width: 100%;
  height: 148px;
  margin-top: 8px;
}

.activity-card {
  padding: 14px;
}

.activity-card ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.activity-card li {
  color: #465264;
  font-size: 12px;
  line-height: 1.35;
}

.activity-card li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.table-card {
  grid-column: 1 / -1;
  overflow: hidden;
  margin-top: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 10px 12px;
  text-align: right;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  white-space: nowrap;
}

th:first-child,
td:first-child {
  text-align: left;
}

th {
  color: #697386;
  background: #fafbfc;
  font-weight: 750;
}

td {
  color: var(--charcoal);
  background: var(--white);
}

.positive {
  color: var(--green);
  font-weight: 850;
}

.negative {
  color: var(--red);
  font-weight: 850;
}

.section {
  padding: clamp(66px, 8vw, 104px) 0;
}

.section-soft {
  background: var(--paper);
}

.section-dark {
  color: var(--white);
  background: var(--ink);
}

.section-head {
  max-width: 680px;
  margin-bottom: 38px;
}

.section-head h2,
.split-copy h2,
.demo-copy h2,
.pricing-copy h2,
.about h2,
.cta h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 860;
}

.section-head p,
.split-copy p,
.demo-copy p,
.pricing-copy p,
.about p,
.cta p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.section-dark .section-head p,
.section-dark .split-copy p,
.demo-copy p,
.cta p {
  color: rgba(255, 255, 255, 0.72);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pain-item {
  min-height: 174px;
  padding: 22px 20px;
  background: var(--white);
  border-right: 1px solid var(--line);
}

.pain-item:last-child {
  border-right: 0;
}

.pain-item strong {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 13px;
}

.pain-item p {
  margin: 0;
  color: #374151;
  font-size: 14px;
  line-height: 1.5;
}

.statement {
  max-width: 900px;
  margin-top: 34px;
  padding: 0 0 0 22px;
  border-left: 3px solid var(--teal);
  color: var(--ink);
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.3;
  font-weight: 820;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.module-card {
  min-height: 190px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.module-card img {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
}

.module-card h3 {
  margin: 0 0 9px;
  font-size: 18px;
}

.module-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

.split-list {
  display: grid;
  gap: 12px;
}

.value-card {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.value-card.dark {
  color: var(--white);
  background: var(--navy);
  border-color: rgba(255, 255, 255, 0.08);
}

.value-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.56;
}

.value-card.dark p {
  color: rgba(255, 255, 255, 0.72);
}

.two-column-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 12px;
  margin-top: 16px;
}

.two-column-list span {
  color: inherit;
  font-size: 13px;
  font-weight: 700;
}

.two-column-list span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--teal-bright);
}

.ops-panel {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
  align-items: center;
}

.phone {
  width: min(280px, 100%);
  margin: 0 auto;
  padding: 18px 14px 22px;
  color: var(--white);
  background: #0b1220;
  border: 9px solid #1f2937;
  border-radius: 34px;
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.28);
}

.phone-notch {
  width: 84px;
  height: 5px;
  margin: 0 auto 16px;
  background: #374151;
  border-radius: 999px;
}

.phone-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.phone-head span:last-child {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
}

.bubble {
  margin-bottom: 10px;
  padding: 13px;
  background: #1f2937;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.45;
}

.bubble strong {
  color: var(--teal-bright);
}

.rollout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 22px;
  align-items: center;
}

.stack-list {
  display: grid;
  gap: 10px;
}

.stack-item {
  padding: 17px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stack-item h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.stack-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
}

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}

.price-card {
  padding: 34px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.price-card small {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 10px 0;
}

.price strong {
  font-size: clamp(48px, 7vw, 64px);
  line-height: 0.95;
}

.price span {
  color: rgba(255, 255, 255, 0.63);
}

.about {
  max-width: 860px;
}

.about-note {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.about-note div {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.cta {
  color: var(--white);
  background: var(--teal);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.demo {
  color: var(--white);
  background: var(--ink);
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 1.14fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}

.demo-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.demo-list span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.demo-list span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--teal-bright);
}

.form-card {
  padding: clamp(22px, 3vw, 34px);
  color: var(--navy);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  color: var(--navy);
  background: #fafbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.error {
  min-height: 16px;
  margin-top: 5px;
  color: var(--red);
  font-size: 12px;
}

.success {
  display: none;
  padding: 30px 8px;
  text-align: center;
}

.success.active {
  display: block;
}

.success-mark {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: 50%;
  font-size: 32px;
  font-weight: 900;
}

.footer {
  padding: 48px 0 34px;
  color: rgba(255, 255, 255, 0.66);
  background: #0a1423;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.8fr) repeat(3, 1fr);
  gap: 30px;
}

.footer h3,
.footer h4 {
  margin: 0 0 14px;
  color: var(--white);
}

.footer p {
  max-width: 340px;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.footer a {
  display: block;
  margin: 9px 0;
  color: inherit;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.43);
  font-size: 13px;
}

@media (max-width: 1040px) {
  .hero-grid,
  .split,
  .ops-panel,
  .rollout-grid,
  .pricing,
  .demo-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    max-height: none;
  }

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

  .product-side {
    display: none;
  }

  .pain-grid,
  .module-grid,
  .about-note {
    grid-template-columns: repeat(2, 1fr);
  }

  .pain-item:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 780px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .mobile-menu.active {
    display: block;
  }

  .container {
    width: min(100% - 32px, 1180px);
  }

  .hero {
    background-size: 60px 60px, auto;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .metric-grid,
  .hero-dashboard,
  .pain-grid,
  .module-grid,
  .two-column-list,
  .about-note,
  .field-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pain-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pain-item:last-child {
    border-bottom: 0;
  }

  .product-main {
    padding: 14px;
  }

  .table-card {
    overflow-x: auto;
  }

  .table-card table {
    min-width: 580px;
  }

  .price-card {
    padding: 26px;
  }
}
