:root {
  --bg: #f6f8fb;
  --paper: #ffffff;
  --paper-soft: #f9fbfd;
  --ink: #171c25;
  --muted: #637085;
  --soft: #eef3f8;
  --line: #dde5ef;
  --dark: #10151d;
  --dark-2: #171d27;
  --green: #18a058;
  --green-dark: #0f7f45;
  --blue: #2563eb;
  --amber: #d97706;
  --red: #dc2626;
  --violet: #5b5ee6;
  --shadow: 0 24px 70px rgba(20, 27, 39, 0.12);
  --shadow-soft: 0 14px 34px rgba(20, 27, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Aptos, "Segoe UI", system-ui, -apple-system, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

p {
  color: var(--muted);
  line-height: 1.65;
}

strong {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(221, 229, 239, 0.82);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1200px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--dark);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(16, 21, 29, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #394556;
  font-size: 14px;
  font-weight: 720;
}

.nav-links a {
  transition: color 150ms ease;
}

.nav-links a:hover {
  color: var(--green-dark);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 24px rgba(24, 160, 88, 0.22);
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button.secondary:hover {
  border-color: #bdc9d8;
  box-shadow: 0 10px 20px rgba(20, 27, 39, 0.06);
}

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

.hero {
  position: relative;
  width: min(1440px, 100%);
  min-height: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, 0.86fr) minmax(640px, 1.14fr);
  gap: 44px;
  align-items: center;
  padding: 78px max(40px, calc((100vw - 1200px) / 2)) 34px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 248, 251, 0.96) 58%, rgba(236, 245, 240, 0.72) 100%),
    radial-gradient(circle at 84% 18%, rgba(24, 160, 88, 0.1), transparent 34%);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 580px;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: 82px;
  line-height: 0.95;
  font-weight: 900;
}

.hero-lead {
  max-width: 560px;
  margin: 0;
  color: #445267;
  font-size: 19px;
  line-height: 1.7;
}

.hero-buttons {
  flex-wrap: wrap;
  margin-top: 32px;
}

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

.hero-facts div,
.metric {
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid rgba(221, 229, 239, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 20px rgba(20, 27, 39, 0.04);
}

.hero-facts dt,
.metric strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.hero-facts dd,
.metric span {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.hero-stage {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.product-window {
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(64, 77, 96, 0.28);
  border-radius: 8px;
  background: var(--dark);
  box-shadow: var(--shadow);
}

.window-bar {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid #27303d;
  background: #111720;
}

.window-tools,
.window-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.app-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 11px;
  border: 1px solid rgba(34, 197, 94, 0.36);
  border-radius: 8px;
  background: rgba(24, 160, 88, 0.12);
  color: #b7f5d3;
  font-size: 11px;
  font-weight: 850;
}

.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #26d777;
}

.product-body {
  min-height: 476px;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
}

.chat-list {
  min-width: 0;
  border-right: 1px solid #27303d;
  background: #141a23;
}

.chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 18px 12px;
}

.chat-head strong {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.chat-head span {
  display: block;
  margin-top: 3px;
  color: #8391a6;
  font-size: 12px;
}

.chat-head b {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #202842;
  color: #cfd9ff;
  font-size: 12px;
}

.search-line {
  height: 34px;
  margin: 0 18px 12px;
  border: 1px solid #303a4b;
  border-radius: 8px;
  background: #1b222d;
}

.filter-row {
  display: flex;
  gap: 8px;
  margin: 0 18px 14px;
}

.filter-row span {
  height: 24px;
  padding: 5px 8px;
  border: 1px solid #303a4b;
  border-radius: 6px;
  color: #a5b2c6;
  font-size: 11px;
  font-weight: 760;
  white-space: nowrap;
}

.mock-chat {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 13px 18px;
  border-top: 1px solid rgba(48, 58, 75, 0.55);
}

.mock-chat.active {
  background: #202833;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #2d3645;
}

.avatar.green {
  background: #18a058;
}

.avatar.blue {
  background: #2563eb;
}

.avatar.orange {
  background: #d97706;
}

.avatar.red {
  background: #e31d36;
}

.mock-chat strong,
.mock-chat span {
  display: block;
}

.mock-chat strong {
  color: #f8fafc;
  font-size: 13px;
  font-weight: 850;
}

.mock-chat span {
  max-width: 170px;
  margin-top: 4px;
  overflow: hidden;
  color: #93a2b8;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badge {
  min-width: 28px;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}

.workspace {
  position: relative;
  min-width: 0;
  background:
    linear-gradient(135deg, rgba(24, 160, 88, 0.08), transparent 38%),
    #f8fafc;
}

.workspace-card {
  position: absolute;
  top: 24%;
  left: 14%;
  width: min(440px, 72%);
  padding: 28px;
  border: 1px solid #dfe7f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(34, 48, 69, 0.12);
}

.workspace-card small {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #e8f8ef;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
}

.workspace-card h2 {
  margin: 0 0 10px;
  font-size: 27px;
  line-height: 1.16;
}

.workspace-card p {
  margin: 0;
}

.proof-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.proof-strip article {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(221, 229, 239, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.proof-strip strong {
  display: block;
  font-size: 17px;
  font-weight: 900;
}

.proof-strip span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: #fff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2,
.split-section h2,
.cta-band h2 {
  margin-bottom: 14px;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 900;
}

.section-head p,
.split-section p,
.cta-band p {
  margin: 0;
  font-size: 17px;
}

.feature-grid,
.tariff-grid,
.steps-grid {
  display: grid;
  gap: 16px;
}

.feature-grid,
.tariff-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(20, 27, 39, 0.055);
}

.feature,
.tariff,
.step,
.contact-card {
  padding: 24px;
}

.feature-icon,
.step-number {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-weight: 900;
}

.feature-icon {
  background: #e9f3ff;
  color: var(--blue);
}

.feature:nth-child(2) .feature-icon {
  background: #e9f8ef;
  color: var(--green-dark);
}

.feature:nth-child(3) .feature-icon {
  background: #fff2de;
  color: var(--amber);
}

.feature h3,
.tariff h3,
.step h3,
.contact-card h2 {
  margin: 18px 0 9px;
  font-size: 21px;
  line-height: 1.2;
}

.feature p,
.tariff p,
.step p,
.contact-card p {
  margin: 0;
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-dark h2 {
  color: #fff;
}

.section-dark p {
  max-width: 660px;
  color: #b9c5d6;
}

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

.flow-card {
  display: grid;
  gap: 10px;
}

.flow-step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border: 1px solid #2d3746;
  border-radius: 8px;
  background: #171d27;
}

.flow-step span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.flow-step strong {
  color: #fff;
}

.tariff.featured {
  border-color: rgba(24, 160, 88, 0.48);
  box-shadow: 0 20px 52px rgba(24, 160, 88, 0.14);
}

.tariff-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.label {
  padding: 6px 10px;
  border-radius: 999px;
  background: #e8f8ef;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
}

.price {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 34px;
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.check-list {
  min-height: 174px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 11px 0;
  padding-left: 22px;
  color: #445064;
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.step-number {
  background: var(--dark);
  color: #fff;
}

.notice {
  padding: 22px;
  border: 1px solid #f0c46d;
  border-radius: 8px;
  background: #fff8e8;
}

.notice p {
  margin: 0;
  color: #6f4b12;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 38px;
  border: 1px solid #d8e5dd;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f5fbf7 100%);
  box-shadow: var(--shadow-soft);
}

.cta-band p {
  max-width: 700px;
}

.cta-band .button.secondary {
  background: #fff;
}

.page-hero {
  padding: 78px 0 54px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, #ffffff 0%, #f6f9fc 100%);
}

.page-hero .eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: 58px;
  line-height: 1;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  font-size: 18px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 96px;
  padding: 16px;
}

.legal-nav a {
  display: block;
  padding: 10px 0;
  color: #445064;
  font-weight: 760;
}

.legal-nav a:hover {
  color: var(--green-dark);
}

.legal-content {
  padding: 30px;
}

.legal-content h2 {
  margin: 32px 0 10px;
  font-size: 27px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin: 24px 0 8px;
}

.legal-content p,
.legal-content li {
  color: #445064;
  line-height: 1.7;
}

.legal-content ul,
.legal-content ol {
  padding-left: 22px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-table th,
.info-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0;
}

.info-table th {
  width: 32%;
  background: var(--paper-soft);
}

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

.state-page {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 48px 16px;
}

.state-card {
  width: min(620px, 100%);
  padding: 36px;
  text-align: center;
}

.state-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 8px;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.state-mark.ok {
  background: var(--green);
}

.state-mark.fail {
  background: var(--red);
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #445064;
  font-size: 14px;
  font-weight: 760;
}

.footer-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 62px;
  }

  .hero-text {
    max-width: 780px;
  }

  h1 {
    font-size: 68px;
  }

  .hero-stage {
    width: 100%;
  }

  .product-window {
    min-height: 470px;
  }

  .product-body {
    min-height: 426px;
  }

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

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 12px;
  }

  .nav-links,
  .nav-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .feature-grid,
  .tariff-grid,
  .steps-grid,
  .proof-strip,
  .legal-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
  }

  .section-head h2,
  .split-section h2,
  .cta-band h2 {
    font-size: 36px;
  }

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

  .product-body {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .container,
  .nav {
    width: min(100% - 28px, 1200px);
  }

  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  .nav-actions .button,
  .hero-buttons .button,
  .cta-actions .button,
  .tariff .button {
    width: 100%;
  }

  .hero {
    padding: 44px 14px 28px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-lead,
  .page-hero p,
  .section-head p {
    font-size: 16px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .product-window {
    min-height: 390px;
  }

  .product-body {
    grid-template-columns: 1fr;
    min-height: 346px;
  }

  .product-body .workspace {
    display: none;
  }

  .chat-list {
    border-right: 0;
  }

  .window-status {
    display: none;
  }

  .app-icon {
    width: 29px;
    height: 29px;
  }

  .chat-head,
  .search-line,
  .filter-row {
    margin-left: 12px;
    margin-right: 12px;
  }

  .chat-head {
    padding: 14px 12px 10px;
  }

  .chat-head b,
  .filter-row span:nth-child(n + 2) {
    display: none;
  }

  .mock-chat {
    grid-template-columns: 34px 1fr;
    padding: 12px;
  }

  .mock-chat span {
    max-width: none;
  }

  .mock-chat .badge {
    display: none;
  }

  .avatar {
    width: 34px;
    height: 34px;
  }

  .workspace-card {
    left: 14px;
    width: calc(100% - 28px);
    padding: 18px;
  }

  .workspace-card h2 {
    font-size: 20px;
  }

  .section {
    padding: 56px 0;
  }

  .section-head h2,
  .split-section h2,
  .cta-band h2 {
    font-size: 30px;
  }

  .cta-band {
    padding: 24px;
  }

  .page-hero {
    padding: 54px 0 38px;
  }

  .page-hero h1 {
    font-size: 38px;
    overflow-wrap: anywhere;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

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