:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --text: #17212b;
  --muted: #667085;
  --line: #d9e1ea;
  --primary: #0f766e;
  --primary-dark: #0b5f59;
  --accent: #f59e0b;
  --danger: #c2410c;
  --ok: #16803c;
  --shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

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

button,
input {
  font: inherit;
}

.page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 248, 251, 0.96) 40%, #f7f8fb 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 72px;
  border-bottom: 1px solid rgba(217, 225, 234, 0.86);
  background: rgba(255, 255, 255, 0.91);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  max-width: 1180px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--primary);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 82px 28px;
}

.section.compact {
  padding-top: 54px;
  padding-bottom: 54px;
}

.section.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1fr);
  align-items: center;
  gap: 54px;
}

.section.split.home-hero {
  max-width: 1320px;
  grid-template-columns: minmax(360px, 0.56fr) minmax(780px, 1.44fr);
  gap: 36px;
  padding-top: 54px;
  padding-bottom: 58px;
}

.home-hero h1 {
  font-size: 48px;
}

.home-hero .product-shot-frame {
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: 860px;
}

.hero-lead-form {
  margin-top: 18px;
  max-width: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(16, 24, 40, 0.07);
  padding: 16px;
  display: grid;
  gap: 14px;
}

.hero-lead-form strong,
.demo-form strong {
  display: block;
  margin-bottom: 4px;
}

.hero-lead-form span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: center;
}

.lead-form-grid .button {
  grid-column: 1 / -1;
  width: 100%;
}

.lead-form-grid input,
.demo-form input,
.demo-form select {
  min-height: 42px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 10px 12px;
  font-size: 14px;
}

.lead-form-grid input::placeholder,
.demo-form input::placeholder {
  color: #8a97a8;
}

.section-title {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-title.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

h1 {
  margin-bottom: 20px;
  font-size: 58px;
  line-height: 1.02;
  max-width: 760px;
}

h2 {
  margin-bottom: 14px;
  font-size: 38px;
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.18;
}

.lead {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
  max-width: 660px;
}

.copy {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.fine {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 15px;
  background: #fff;
  color: var(--text);
  cursor: default;
  font-weight: 700;
  font-size: 14px;
}

.button.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.button.dark {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.button.ghost {
  background: transparent;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.proof-row {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 710px;
}

.proof {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px 14px;
  box-shadow: 0 10px 25px rgba(16, 24, 40, 0.05);
}

.proof strong {
  display: block;
  margin-bottom: 5px;
  font-size: 19px;
}

.proof span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.app-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-shot-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.home-hero .current-app-frame {
  display: none;
}

.current-app-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.current-app-shell {
  min-height: 560px;
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
}

.current-sidebar {
  background: #17212b;
  color: #f7fafc;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.current-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.current-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--primary);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}

.current-nav {
  display: grid;
  gap: 6px;
}

.current-nav span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 9px 10px;
  border-radius: 8px;
  color: #d7dee8;
  font-size: 13px;
}

.current-nav span.active {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.current-nav svg,
.topbar-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.current-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.current-topbar {
  height: 64px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  backdrop-filter: blur(12px);
}

.current-content {
  padding: 24px;
  display: grid;
  gap: 18px;
}

.current-page-title {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.current-page-title h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.current-page-title p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.current-grid {
  display: grid;
  gap: 14px;
}

.current-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.current-grid.cols-2 {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
}

.current-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.current-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.current-card.metric {
  min-height: 128px;
}

.current-card.metric strong {
  display: block;
  font-size: 26px;
  margin: 8px 0 4px;
}

.current-card.metric span {
  display: block;
  font-size: 12px;
}

.current-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.current-table td {
  padding: 9px 6px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.current-app-frame .badge {
  font-size: 11px;
  padding: 3px 7px;
}

.current-table tr:last-child td {
  border-bottom: 0;
}

.current-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  background: #fff;
  color: var(--text);
  opacity: 0.55;
  font-size: 13px;
}

.mock-app {
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  min-height: 470px;
}

.mock-sidebar {
  background: var(--text);
  color: #f7fafc;
  padding: 18px 14px;
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  font-weight: 700;
}

.mock-brand .brand-mark {
  width: 30px;
  height: 30px;
}

.mock-nav {
  display: grid;
  gap: 8px;
  color: #d7dee8;
  font-size: 12px;
}

.mock-nav span {
  min-height: 32px;
  padding: 9px 8px;
  border-radius: 8px;
}

.mock-nav span.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.mock-main {
  min-width: 0;
  background: var(--bg);
}

.mock-topbar {
  height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-content {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.mock-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.mock-title strong {
  display: block;
  font-size: 20px;
  margin-bottom: 4px;
}

.mock-title span {
  color: var(--muted);
  font-size: 12px;
}

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

.mini-card,
.panel,
.price-card,
.feature-card,
.flow-step,
.message-card,
.comparison {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
}

.mini-card {
  padding: 12px;
}

.mini-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.mini-card strong {
  display: block;
  margin-top: 7px;
  font-size: 22px;
}

.panel {
  padding: 16px;
}

.row-list {
  display: grid;
  gap: 8px;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

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

.muted {
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.badge.ok {
  background: #dcfce7;
  color: var(--ok);
}

.badge.warn {
  background: #ffedd5;
  color: var(--danger);
}

.badge.teal {
  background: #ccfbf1;
  color: var(--primary-dark);
}

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

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

.kanban-col {
  min-height: 150px;
  background: #edf2f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.kanban-col strong {
  font-size: 12px;
}

.deal-card {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  line-height: 1.35;
}

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

.message-card {
  padding: 16px;
}

.message-bubble {
  max-width: 86%;
  margin: 10px 0;
  padding: 11px 12px;
  border-radius: 8px;
  background: #edf2f7;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.message-bubble.out {
  margin-left: auto;
  background: #ccfbf1;
}

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

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

.leak-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  min-height: 230px;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
}

.leak-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: #ffedd5;
  color: var(--danger);
  font-size: 12px;
  font-weight: 700;
}

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

.feature-card {
  padding: 22px;
}

.feature-card .icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #ccfbf1;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 18px;
}

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

.feature-card li,
.price-card li,
.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.feature-card li::before,
.price-card li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--primary);
}

.band {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.flow-step {
  padding: 18px;
  min-height: 184px;
}

.step-num {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--text);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

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

.price-card {
  padding: 24px;
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 22px 54px rgba(15, 118, 110, 0.16);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 18px 0 4px;
}

.price strong {
  font-size: 42px;
  line-height: 1;
}

.revenue-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #17212b;
  color: #fff;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 34px;
  align-items: center;
  box-shadow: var(--shadow);
}

.revenue-panel h2 {
  margin-bottom: 12px;
}

.revenue-panel .copy {
  color: #d7dee8;
  max-width: 720px;
}

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

.revenue-metrics div {
  min-height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 18px;
}

.revenue-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 38px;
  line-height: 1;
}

.revenue-metrics span {
  color: #d7dee8;
  font-size: 13px;
  font-weight: 700;
}

.vertical-hero {
  min-height: 650px;
}

.vertical-hero h1 {
  font-size: 52px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.metric-strip .proof {
  min-height: 98px;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.comparison > div {
  padding: 24px;
}

.comparison > div:first-child {
  background: #fbfcfe;
  border-right: 1px solid var(--line);
}

.integration-wall {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.integration-wall span {
  min-height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.cta-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--text);
  color: #fff;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.cta-panel p {
  color: #d7dee8;
}

.demo-conversion-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.56fr);
  gap: 34px;
  align-items: start;
  box-shadow: var(--shadow);
}

.demo-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  padding: 18px;
  display: grid;
  gap: 10px;
}

.demo-form .button {
  width: 100%;
}

.page-footer {
  padding: 30px 28px 54px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

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

  .section,
  .section.compact {
    padding: 48px 18px;
  }

  .section.split {
    grid-template-columns: 1fr;
  }

  h1,
  .vertical-hero h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .proof-row,
  .tiles,
  .leak-grid,
  .workflow,
  .plans,
  .metric-strip,
  .message-grid,
  .comparison,
  .integration-wall,
  .lead-form-grid,
  .revenue-panel,
  .revenue-metrics,
  .demo-conversion-panel {
    grid-template-columns: 1fr;
  }

  .section.split.home-hero {
    grid-template-columns: 1fr;
  }

  .home-hero .product-shot-frame {
    justify-self: stretch;
    max-width: none;
  }

  .mock-app {
    grid-template-columns: 1fr;
  }

  .mock-sidebar {
    display: none;
  }

  .mini-grid,
  .kanban {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}
