:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  --navy: #0b1f3a;
  --navy-2: #102b50;
  --blue: #165dcc;
  --green: #168267;
  --green-dark: #116650;
  --red: #c83b3b;
  --bg: #f3f6f9;
  --surface: #ffffff;
  --line: #d9e0e8;
  --text: #1f2933;
  --muted: #5e6b78;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--surface); font-size: 16px; line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; height: 72px; border-bottom: 1px solid rgba(217, 224, 232, .9); background: rgba(255, 255, 255, .96); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 6px; color: #fff; background: var(--navy); font-size: 23px; font-weight: 800; }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font-size: 22px; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: #334155; text-decoration: none; font-size: 14px; font-weight: 700; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--blue); }
.main-nav .nav-contact { padding: 9px 14px; border: 1px solid var(--navy); border-radius: 6px; color: var(--navy); }
.menu-button { display: none; width: 40px; height: 40px; padding: 9px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.menu-button span { display: block; height: 2px; margin: 4px 0; background: var(--navy); }
.hero { min-height: calc(100vh - 72px); max-height: 860px; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--navy); }
.hero-grid { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 56px; padding-top: 50px; padding-bottom: 68px; }
.eyebrow { margin: 0 0 10px; color: var(--green); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.hero .eyebrow { color: #66d4b8; }
h1, h2, h3, p { letter-spacing: 0; }
h1 { margin: 0; font-size: clamp(68px, 8vw, 112px); line-height: .9; }
.hero-lead { max-width: 560px; margin: 22px 0 10px; font-size: clamp(26px, 3vw, 40px); font-weight: 700; line-height: 1.14; }
.hero-text { max-width: 590px; margin: 0; color: #cbd5e1; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 17px; border: 1px solid transparent; border-radius: 6px; text-decoration: none; font-weight: 700; }
.button.primary { background: var(--green); color: #fff; }
.button.primary:hover, .button.primary:focus-visible { background: var(--green-dark); }
.button.secondary { border-color: #6b7e95; color: #fff; }
.button.secondary:hover, .button.secondary:focus-visible { background: rgba(255,255,255,.08); }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 28px 0 0; padding: 0; color: #dbe5ef; list-style: none; font-size: 13px; }
.hero-points li::before { content: ""; width: 7px; height: 7px; display: inline-block; margin-right: 8px; border-radius: 50%; background: #66d4b8; }
.product-preview { min-width: 680px; overflow: hidden; border: 1px solid #45617f; border-radius: 8px; background: #eef2f7; box-shadow: 0 30px 80px rgba(0,0,0,.24); transform: translateX(10px); }
.preview-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 13px; color: #cbd5e1; background: #162e4c; font-size: 11px; }
.preview-bar span { width: 8px; height: 8px; border-radius: 50%; background: #7890a8; }
.preview-bar span:first-child { background: var(--red); }
.preview-bar strong { margin-left: 7px; }
.product-preview img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.section { padding: 88px 0; scroll-margin-top: 72px; }
.section-heading { max-width: 650px; }
.section-heading h2, .crm-section h2, .contact-section h2 { margin: 0; color: var(--navy); font-size: clamp(30px, 4vw, 46px); line-height: 1.15; }
.section-heading > p:last-child, .crm-section p, .contact-section p { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { min-height: 210px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-number { color: var(--green); font-size: 12px; font-weight: 800; }
.feature h3 { margin: 35px 0 8px; color: var(--navy); font-size: 20px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.web-section { background: var(--bg); }
.web-modules { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 38px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--surface); }
.web-modules article { min-height: 216px; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.module-area { color: var(--green); font-size: 10px; font-weight: 800; }
.module-labels { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.highlight-label { padding: 3px 6px; border-radius: 5px; color: #fff; background: var(--green); font-size: 9px; font-weight: 800; }
.web-modules h3 { margin: 22px 0 6px; color: var(--navy); font-size: 18px; }
.web-modules p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.web-modules .module-highlight { border-top: 3px solid var(--green); background: #f3fbf7; }
.web-modules .module-highlight h3 { margin-top: 18px; }
.web-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--blue); background: #eaf2fd; }
.web-footer p { margin: 0; color: #43566d; font-size: 12px; }
.web-footer a { flex: 0 0 auto; color: var(--blue); font-size: 13px; font-weight: 700; text-decoration: none; }
.crm-section { color: #fff; background: var(--navy-2); }
.crm-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 70px; }
.crm-section h2 { color: #fff; }
.crm-section p { color: #cbd5e1; }
.text-link { display: inline-block; margin-top: 8px; color: #6fe0c4; font-weight: 700; text-decoration: none; }
.crm-flow { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #45617f; border-left: 1px solid #45617f; }
.crm-flow div { min-height: 140px; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; border-right: 1px solid #45617f; border-bottom: 1px solid #45617f; }
.crm-flow strong { font-size: 18px; }
.crm-flow span { color: #aebfd0; font-size: 13px; }
.docs-section { background: var(--bg); }
.docs-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.status-badge { display: inline-flex; padding: 5px 9px; border: 1px solid #addfcf; border-radius: 6px; color: var(--green-dark); background: #effbf7; font-size: 12px; font-weight: 700; }
.docs-list { margin-top: 36px; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.docs-list article { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.docs-list article:last-child { border-bottom: 0; }
.doc-label { color: var(--blue); font-size: 10px; font-weight: 800; }
.docs-list h3 { margin: 2px 0; color: var(--navy); font-size: 18px; }
.docs-list p { margin: 0; color: var(--muted); font-size: 13px; }
.doc-status { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
.doc-open { flex: 0 0 auto; padding: 8px 11px; border: 1px solid var(--blue); border-radius: 6px; color: var(--blue); font-size: 12px; font-weight: 700; text-decoration: none; }
.doc-open:hover, .doc-open:focus-visible { color: #fff; background: var(--blue); }
.docs-notice { margin-top: 16px; padding: 14px 16px; border-left: 3px solid var(--blue); background: #eaf2fd; color: #314258; font-size: 14px; }
.docs-notice a { color: var(--blue); font-weight: 700; }
.contact-section { padding: 80px 0; scroll-margin-top: 72px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-actions { border-top: 1px solid var(--line); }
.contact-item { display: flex; flex-direction: column; padding: 15px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-item span { color: var(--muted); font-size: 12px; }
.contact-item strong { color: var(--navy); font-size: 18px; overflow-wrap: anywhere; }
.contact-item:hover strong, .contact-item:focus-visible strong { color: var(--blue); }
.site-footer { padding: 24px 0; color: #aebfd0; background: #071629; font-size: 12px; }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { display: flex; align-items: baseline; gap: 9px; }
.footer-brand strong { color: #fff; font-size: 20px; }

@media (max-width: 1050px) {
  .hero { max-height: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-preview { min-width: 0; transform: none; }
  .hero-copy { max-width: 720px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--max)); }
  .site-header { height: 64px; }
  .brand small { display: none; }
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 64px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 14px 16px; border-bottom: 1px solid var(--line); background: #fff; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 8px; }
  .main-nav .nav-contact { margin-top: 4px; text-align: center; }
  .hero { min-height: auto; }
  .hero-grid { padding-top: 48px; padding-bottom: 48px; }
  .hero-actions .button { width: 100%; }
  .hero-points { display: grid; }
  .section { padding: 64px 0; scroll-margin-top: 64px; }
  .feature-grid { grid-template-columns: 1fr; }
  .web-modules { grid-template-columns: 1fr; }
  .web-modules article { min-height: 0; }
  .web-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .feature { min-height: 160px; }
  .feature h3 { margin-top: 22px; }
  .crm-grid, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .crm-flow { grid-template-columns: 1fr; }
  .crm-flow div { min-height: 104px; }
  .docs-head { flex-direction: column; gap: 10px; }
  .docs-list article { align-items: flex-start; }
  .site-footer .container { align-items: flex-start; flex-direction: column; }
  .footer-brand { flex-direction: column; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
