:root {
  --bg: #f7f9fc;
  --paper: #ffffff;
  --ink: #141820;
  --muted: #5f6b7a;
  --soft: #eef2f7;
  --line: #dbe2eb;
  --dark: #0f1319;
  --dark-2: #171c24;
  --green: #16a34a;
  --blue: #2563eb;
  --amber: #d97706;
  --red: #dc2626;
  --violet: #5b5ee6;
  --shadow: 0 24px 70px rgba(20, 24, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 226, 235, 0.78);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  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: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--dark);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(15, 19, 25, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #384252;
  font-size: 14px;
  font-weight: 650;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

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

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

.hero {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #f4f7fb;
}

.hero-stage {
  position: absolute;
  top: 108px;
  right: max(24px, calc((100vw - 1360px) / 2));
  bottom: 46px;
  left: auto;
  width: min(760px, calc(100vw - 680px));
  opacity: 0.96;
}

.product-window {
  height: 100%;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(88, 104, 124, 0.24);
  border-radius: 8px;
  background: var(--dark);
  box-shadow: var(--shadow);
}

.window-bar {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  border-bottom: 1px solid #252b36;
  background: #11161d;
}

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

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

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

.status-pill {
  padding: 6px 10px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 8px;
  color: #a7f3d0;
  font-size: 11px;
  font-weight: 800;
}

.product-body {
  height: calc(100% - 42px);
  display: grid;
  grid-template-columns: 300px 1fr;
}

.chat-list {
  border-right: 1px solid #252b36;
  background: #151a22;
}

.chat-head {
  padding: 18px 18px 14px;
  border-bottom: 1px solid #252b36;
}

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

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

.search-line {
  width: 100%;
  height: 34px;
  margin-top: 14px;
  border: 1px solid #303846;
  border-radius: 8px;
  background: #1b212b;
}

.filter-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.filter-row span {
  height: 24px;
  padding: 5px 8px;
  border: 1px solid #303846;
  border-radius: 6px;
  color: #9aa7ba;
  font-size: 11px;
  font-weight: 700;
}

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

.mock-chat.active {
  background: #1e2530;
}

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

.avatar.green {
  background: #0f8f54;
}

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

.avatar.orange {
  background: #d97706;
}

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

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

.mock-chat span {
  max-width: 170px;
  overflow: hidden;
  color: #8ea0b8;
  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;
  background: #f8fafc;
}

.workspace-card {
  position: absolute;
  top: 20%;
  left: 12%;
  width: min(440px, 76%);
  padding: 28px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(36, 48, 66, 0.12);
}

.workspace-card small {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e7f7ee;
  color: #0f8f54;
  font-weight: 850;
}

.workspace-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.workspace-card p {
  margin: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 78vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 84px 0 92px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #314154;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

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

h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.96;
}

.hero-text p {
  max-width: 510px;
  margin: 22px 0 0;
  color: #415066;
  font-size: 18px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.metric {
  min-width: 142px;
  padding: 14px 16px;
  border: 1px solid rgba(219, 226, 235, 0.85);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.metric strong {
  display: block;
  font-size: 22px;
}

.metric span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.section {
  padding: 78px 0;
}

.section.alt {
  background: #fff;
}

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

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

.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.section-head p {
  margin: 14px 0 0;
  font-size: 17px;
}

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

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

.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 30px rgba(20, 24, 32, 0.06);
}

.feature {
  padding: 22px;
}

.feature-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e8f3ff;
  color: var(--blue);
  font-weight: 900;
}

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

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

.feature h3,
.tariff h3,
.step h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

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

.tariff {
  padding: 24px;
}

.tariff.featured {
  border-color: rgba(22, 163, 74, 0.48);
  box-shadow: 0 18px 46px rgba(22, 163, 74, 0.14);
}

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

.label {
  padding: 6px 10px;
  border-radius: 999px;
  background: #e7f7ee;
  color: #0f8f54;
  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: 700;
}

.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 {
  padding: 22px;
}

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

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

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

.cta-band {
  padding: 46px;
  border-radius: 8px;
  background: var(--dark);
  color: #fff;
}

.cta-band h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
}

.cta-band p {
  max-width: 680px;
  color: #b8c2d0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cta-band .button.secondary {
  border-color: #303846;
  background: #171c24;
  color: #fff;
}

.page-hero {
  padding: 78px 0 54px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.page-hero h1 {
  max-width: 840px;
  font-size: clamp(38px, 5vw, 68px);
}

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

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

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

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

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

.legal-content {
  padding: 28px;
}

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

.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: #f4f7fb;
}

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

.contact-card {
  padding: 24px;
}

.contact-card h2 {
  margin: 0 0 10px;
}

.state-page {
  min-height: calc(100vh - 68px);
  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: 36px 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: 700;
}

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

@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;
  }

  .hero-stage {
    inset: auto 16px 24px 16px;
    width: auto;
    height: 330px;
    opacity: 0.52;
  }

  .hero-copy {
    align-items: flex-start;
    min-height: 740px;
    padding-top: 74px;
  }

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

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

  .legal-nav {
    position: static;
  }

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

@media (max-width: 620px) {
  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  .button {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    min-height: 690px;
    padding-bottom: 360px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-text p,
  .page-hero p {
    font-size: 16px;
  }

  .hero-stage {
    height: 300px;
    bottom: 24px;
  }

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

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

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

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

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

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

  .workspace-card h3 {
    font-size: 18px;
  }

  .section {
    padding: 54px 0;
  }

  .cta-band {
    padding: 28px;
  }

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

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