:root {
  --canvas: #080b09;
  --surface: #101512;
  --raised: #161d18;
  --line: #293630;
  --green: #4af194;
  --green-dark: #087140;
  --white: #fff;
  --soft: #e4e8e5;
  --muted: #c2cac5;
  --radius: 18px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background: var(--canvas);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul { margin: 0; }
body { line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
section[id], div[id] { scroll-margin-top: 32px; }

.wrap { width: min(1240px, calc(100% - 92px)); margin-inline: auto; }
.skip {
  position: absolute;
  left: 18px;
  top: 12px;
  z-index: 5;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--green-dark);
  transform: translateY(-160%);
}
.skip:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid #222c26; background: #080c09; }
.header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.header-row { min-height: 74px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img { width: 143px; }
.header-nav { display: flex; align-items: center; gap: 30px; }
.header-nav a { color: var(--soft); font-size: 14px; font-weight: 600; }
.header-nav a:hover, .text-link:hover { color: var(--white); text-decoration: underline; text-underline-offset: 5px; }
.panel-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-weight: 650;
  font-size: 13px;
}
.panel-link:hover, .button--outline:hover { border-color: #779487; background: #18201b; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 79% 38%, #143424 0, #0d1c13 25%, transparent 62%), var(--canvas);
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image: linear-gradient(#99d8b10a 1px, transparent 1px), linear-gradient(90deg, #99d8b10a 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(90deg, transparent 25%, #000 60%, transparent 100%);
}
.hero-row {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(34px, 5vw, 74px);
  min-height: 585px;
  padding-block: 70px 76px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .12em;
  font-weight: 720;
  text-transform: uppercase;
  color: var(--soft);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
h1 {
  max-width: 560px;
  margin-block: 19px;
  font-size: clamp(43px, 5vw, 75px);
  line-height: .99;
  font-weight: 760;
  letter-spacing: -.066em;
  text-wrap: balance;
}
.hero-copy > p:not(.eyebrow) { max-width: 478px; font-size: clamp(16px, 1.4vw, 19px); color: var(--soft); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  min-height: 47px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 690;
  font-size: 14px;
  white-space: nowrap;
}
.button--green { border-color: #228553; background: var(--green-dark); }
.button--green:hover { background: #096339; }
.button--outline { border-color: var(--line); background: #0e160f; }

.preview {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #395247;
  border-radius: var(--radius);
  background: #0d1410;
  box-shadow: 0 22px 65px #0009, 0 0 45px #32d67b12;
}
.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 51px;
  padding: 10px 15px;
  border-bottom: 1px solid var(--line);
  background: #141d17;
  font-size: 12px;
}
.preview-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 720; }
.preview-brand img { width: 23px; height: 23px; }
.preview-note { color: var(--soft); text-align: right; }
.preview-main { display: grid; grid-template-columns: 122px minmax(0, 1fr); min-height: 360px; }
.tabs {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 15px 9px;
  border-right: 1px solid var(--line);
  background: #0b110e;
}
.tab {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 9px 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 12px;
  font-weight: 630;
}
.tab[aria-selected="true"] { border-color: #2b6044; background: #163322; }
.tab[aria-selected="false"]:hover { background: #1a281f; }
.tab-icon { display: block; width: 8px; height: 8px; flex: 0 0 8px; border: 1px solid #a9c2b3; border-radius: 2px; }
.tab[aria-selected="true"] .tab-icon { border-color: var(--green); background: var(--green); }
.tab.text-flow .tab-icon { transform: rotate(45deg); border-radius: 1px; }
.tab.text-crm .tab-icon { border-radius: 50%; }
.tab.text-chat .tab-icon { border-radius: 3px 3px 0 3px; }
.demo-panel { min-width: 0; padding: 23px 20px; }
.demo-panel h2 { font-size: 20px; line-height: 1.22; letter-spacing: -.035em; }
.demo-panel .caption { margin: 6px 0 17px; color: var(--soft); font-size: 12px; }
.demo-stack { display: grid; gap: 8px; }
.agent-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #32453a;
  border-radius: 9px;
  background: #151f18;
}
.agent-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #3f7654;
  border-radius: 8px;
  background: #193824;
  font-size: 13px;
  font-weight: 700;
}
.agent-row strong, .chat-meta strong, .flow-node strong { display: block; font-size: 13px; line-height: 1.4; }
.agent-row small, .chat-meta small, .flow-node small { display: block; color: var(--soft); font-size: 11px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border: 1px solid #35674b;
  border-radius: 20px;
  background: #132c1d;
  white-space: nowrap;
  font-size: 10px;
}
.pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.demo-foot { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.demo-foot span { padding: 3px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--soft); font-size: 10px; }
.chat-demo { display: grid; gap: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #101813; }
.chat-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 9px; }
.bubble { width: fit-content; max-width: 92%; padding: 8px 11px; border-radius: 8px; background: #242e28; font-size: 12px; }
.bubble.reply { justify-self: end; background: #1b472e; }
.pipeline-demo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.pipeline-col { min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: #131c16; }
.pipeline-col h3 { font-size: 11px; line-height: 1.3; margin-bottom: 7px; }
.pipeline-col p { padding: 7px 6px; border-left: 2px solid #4ebd7a; border-radius: 3px; background: #202d25; font-size: 11px; overflow-wrap: anywhere; }
.flow { position: relative; display: grid; gap: 12px; }
.flow::before { position: absolute; content: ""; left: 14px; top: 20px; bottom: 20px; width: 1px; background: #4d966b; }
.flow-node { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 10px; }
.flow-node > span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #4d966b; border-radius: 7px; background: #193927; font-size: 12px; }

.modules { padding-block: 76px 82px; border-top: 1px solid #26352c; }
.section-head { display: grid; gap: 10px; max-width: 700px; margin-bottom: 30px; }
.section-head h2, .offer h2 { font-size: clamp(34px, 4vw, 50px); font-weight: 740; line-height: 1.04; letter-spacing: -.055em; text-wrap: balance; }
.section-head > p:not(.eyebrow), .offer-description { max-width: 625px; color: var(--soft); font-size: 16px; }
.module-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.module {
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(165deg, #152018, #101512 75%);
}
.module .shape {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 13px;
  border: 1px solid #37634a;
  border-radius: 8px;
  background: #193624;
  font-size: 17px;
  line-height: 1;
}
.module h3 { margin-bottom: 6px; font-size: 16px; letter-spacing: -.022em; }
.module p { color: var(--soft); font-size: 14px; }

.offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(25px, 5vw, 66px);
  margin-bottom: 72px;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid #37634a;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 100% 0%, #1d4e31 0%, transparent 64%), #111c15;
}
.offer h2 { margin: 10px 0 12px; }
.included { display: grid; gap: 7px; margin-top: 18px; padding-left: 19px; color: var(--soft); font-size: 14px; }
.included li::marker { color: var(--green); }
.price-area { min-width: 233px; padding-left: 27px; border-left: 1px solid #39604a; }
.price { display: flex; align-items: baseline; gap: 7px; margin-bottom: 3px; white-space: nowrap; }
.price strong { font-size: clamp(38px, 5.1vw, 62px); line-height: 1.05; letter-spacing: -.063em; }
.price span { color: var(--soft); font-size: 16px; }
.price-area p { color: var(--soft); font-size: 14px; }
.price-area .button { margin-top: 16px; }
.price-area .purchase-status { margin-top: 14px; color: var(--white); font-size: 13px; }

.site-footer { padding: 22px 0; border-top: 1px solid #222c26; }
.footer-row { flex-wrap: wrap; }
.footer-row .brand img { width: 122px; }
.footer-row p, .text-link { color: var(--muted); font-size: 13px; }

@media (max-width: 1080px) {
  .hero-row { gap: 32px; }
  .wrap { width: min(1240px, calc(100% - 58px)); }
  .module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .preview-main { grid-template-columns: 106px minmax(0, 1fr); }
  .tabs { padding-inline: 7px; }
  .demo-panel { padding-inline: 15px; }
}
@media (max-width: 820px) {
  .hero-row { grid-template-columns: minmax(0, 1fr); gap: 33px; padding-block: 57px 52px; }
  .hero-copy { max-width: 625px; }
  h1 { font-size: clamp(47px, 8vw, 72px); }
  .preview { max-width: 670px; }
  .preview-main { grid-template-columns: 115px minmax(0, 1fr); min-height: 325px; }
  .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modules { padding-block: 52px 56px; }
  .offer { margin-bottom: 52px; }
}
@media (max-width: 580px) {
  .wrap { width: calc(100% - 34px); }
  .header-row { min-height: 63px; }
  .header-row .brand img { width: 130px; }
  .header-nav { display: none; }
  .panel-link { gap: 6px; padding-inline: 10px; }
  .hero-row { padding-block: 47px 42px; }
  .hero-actions { margin-top: 23px; gap: 8px; }
  .button { min-height: 45px; padding-inline: 13px; gap: 7px; }
  h1 { font-size: clamp(40px, 11vw, 54px); }
  .preview-top { padding-inline: 12px; }
  .preview-main { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
    padding: 7px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .tab { justify-content: center; padding: 8px 2px; font-size: 11px; }
  .tab-icon { display: none; }
  .demo-panel { min-height: 285px; padding: 16px 12px; }
  .pipeline-col { padding: 6px; }
  .module-grid { gap: 8px; }
  .module { padding: 13px 12px; }
  .module h3 { font-size: 15px; }
  .module p { font-size: 13px; }
  .offer { grid-template-columns: minmax(0, 1fr); }
  .price-area { min-width: 0; padding: 17px 0 0; border: 0; border-top: 1px solid #39604a; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
@media (forced-colors: active) {
  .tab[aria-selected="true"] { border-color: Highlight; }
}
