:root {
  --ink: #121916;
  --muted: #5c6878;
  --line: #dce3ec;
  --paper: #f6f8fb;
  --soft: #edf3fb;
  --accent-soft: #dceafe;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --navy: #101b25;
  --amber: #f5b849;
  --coral: #ef745f;
  --white: #ffffff;
  --shadow: 0 28px 90px rgba(15, 31, 58, 0.2);
  --font-body: Inter, "Segoe UI", Arial, sans-serif;
  --font-display: Manrope, Inter, "Segoe UI", Arial, sans-serif;
  --content-max: 1320px;
  --page-gutter: max(18px, calc((100vw - var(--content-max)) / 2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(20, 38, 68, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(20, 38, 68, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  font-family: var(--font-body);
  font-feature-settings: "cv02", "cv03", "cv04", "tnum";
  line-height: 1.5;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: clamp(48px, 7.4vw, 92px);
}

h2 {
  font-size: clamp(34px, 4.5vw, 62px);
}

h3 {
  font-size: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--page-gutter);
  background: rgba(246, 248, 251, 0.92);
  border-bottom: 1px solid rgba(220, 227, 236, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.hero-metrics,
.window-top,
.pipeline,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.site-header .brand span:last-child {
  color: var(--accent);
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--accent);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.nav {
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--accent-dark);
}

.header-cta {
  padding: 11px 16px;
  color: var(--white);
  background: var(--accent);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.22);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  display: block;
  width: 17px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-5px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(5px);
}

.menu-toggle:focus {
  outline: none;
}

.menu-toggle:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.section {
  padding: clamp(72px, 9vw, 128px) var(--page-gutter);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  min-height: calc(100vh - 67px);
  padding-top: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(42px, 6vw, 76px);
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 74% 28%, rgba(37, 99, 235, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(246, 248, 251, 0.98), rgba(222, 235, 255, 0.92) 52%, rgba(255, 255, 255, 0.96)),
    var(--paper);
}

.hero::before {
  position: absolute;
  inset: auto -10% -18% 36%;
  z-index: -1;
  height: 45%;
  content: "";
  background: linear-gradient(95deg, rgba(37, 99, 235, 0.12), rgba(96, 165, 250, 0.14), rgba(245, 184, 73, 0.1));
  transform: skewY(-8deg);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(20, 38, 68, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(20, 38, 68, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 82%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  padding: 8px 11px;
  color: var(--accent-dark);
  background: rgba(220, 234, 254, 0.72);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
}

.product-highlight {
  display: inline-block;
  padding: 0.01em 0.17em 0.09em;
  color: var(--white);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.22);
}

.section-highlight {
  padding: 0 0.16em 0.07em;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.16);
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 23px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 850;
}

.button.primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.28);
}

.button.primary:hover {
  background: #1d4ed8;
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
}

.section:not(.hero) .button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.hero-metrics {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
}

.hero-metrics div {
  min-width: 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(220, 227, 236, 0.9);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(15, 31, 58, 0.07);
  backdrop-filter: blur(14px);
}

.hero-metrics dt {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 850;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  align-self: start;
  margin-top: 26px;
  min-height: 700px;
}

.crm-window {
  position: absolute;
  top: 0;
  right: 0;
  left: 3%;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 8px;
  box-shadow: 0 36px 120px rgba(15, 31, 58, 0.22);
  transform: perspective(1200px) rotateY(-10deg) rotateX(3deg);
  transform-origin: center;
}

.window-top {
  gap: 8px;
  height: 46px;
  padding: 0 16px;
  color: #5c6878;
  background: #edf3fb;
  border-bottom: 1px solid var(--line);
}

.window-top b {
  margin-left: 8px;
  color: #63758c;
  font-size: 12px;
}

.window-top span {
  width: 10px;
  height: 10px;
  background: var(--coral);
  border-radius: 50%;
}

.window-top span:nth-child(2) {
  background: var(--amber);
}

.window-top span:nth-child(3) {
  background: var(--accent);
}

.crm-grid {
  display: grid;
  grid-template-columns: 76px 1fr;
  min-height: 520px;
}

.crm-sidebar {
  padding: 24px 16px;
  background: #101a2e;
}

.sidebar-item {
  width: 100%;
  height: 36px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.sidebar-item.active {
  background: var(--accent-soft);
}

.crm-content {
  padding: 26px;
}

.crm-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  color: var(--white);
  background: linear-gradient(135deg, #101a2e, #1f3f75);
  border-radius: 8px;
}

.crm-head p {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.66);
}

.crm-head strong {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.growth {
  padding: 8px 10px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px;
  font-weight: 850;
}

.pipeline {
  gap: 12px;
  margin-top: 18px;
}

.pipe-stage {
  flex: 1;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pipe-stage span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.pipe-stage b {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 26px;
}

.pipe-stage.accent {
  border-color: rgba(37, 99, 235, 0.35);
  background: #eef5ff;
}

.manager-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.manager-row div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  background: #f8faff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.manager-row p {
  margin: 0;
}

.manager-row small {
  display: block;
  color: var(--muted);
}

.avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--accent);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.avatar.amber {
  color: #442b00;
  background: var(--amber);
}

.chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 10px;
  height: 160px;
  margin-top: 16px;
  padding: 18px;
  background: #f8faff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.chart span {
  display: block;
  min-height: 20px;
  background: linear-gradient(180deg, var(--accent), #8bbcff);
  border-radius: 6px 6px 0 0;
}

.task-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.task-list div {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 13px 14px;
  color: #334155;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.task-list span,
.solution-item > span {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}

.system-bridge {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(54px, 7vw, 88px) var(--page-gutter);
  background:
    linear-gradient(135deg, rgba(220, 234, 254, 0.72), rgba(255, 255, 255, 0.92)),
    var(--white);
  border-bottom: 1px solid var(--line);
}

.bridge-copy {
  max-width: 680px;
}

.bridge-copy h2 {
  font-size: clamp(30px, 3.6vw, 48px);
}

.bridge-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.bridge-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.bridge-flow::before {
  position: absolute;
  inset: 50% 24px auto;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.35), transparent);
}

.bridge-flow span {
  position: relative;
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px 12px 12px;
  color: #334155;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(15, 31, 58, 0.06);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 850;
  text-align: center;
}

.bridge-flow svg {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 7px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 8px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.bridge-flow .bridge-featured {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.bridge-flow .bridge-featured svg {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.bridge-flow .bridge-clone {
  display: none;
}

.band {
  background:
    linear-gradient(135deg, rgba(220, 234, 254, 0.72), rgba(255, 255, 255, 0.86)),
    var(--soft);
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.cards {
  display: grid;
  gap: 16px;
}

.cards.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card,
.impact-grid article,
.steps article {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(220, 229, 224, 0.92);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(21, 33, 29, 0.07);
}

.card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 88px;
  height: 5px;
  content: "";
  background: var(--accent);
}

.icon {
  display: inline-grid;
  width: 42px;
  height: 32px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 8px;
  font-weight: 900;
}

.card p,
.solution-item p,
.impact-grid p,
.steps p,
.contact-copy p,
.form-note {
  margin: 12px 0 0;
  color: var(--muted);
}

.split,
.contact,
.audience {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
}

.solution-list {
  display: grid;
  gap: 14px;
}

.solution-item {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 14px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 45px rgba(21, 33, 29, 0.06);
}

.solution-item > span {
  margin-top: 7px;
}

.money {
  color: var(--ink);
  background:
    radial-gradient(circle at 22% 18%, rgba(37, 99, 235, 0.13), transparent 32%),
    linear-gradient(135deg, rgba(220, 234, 254, 0.8), rgba(255, 255, 255, 0.9)),
    var(--soft);
}

.money .eyebrow {
  color: var(--accent-dark);
}

.money .section-heading p,
.money .impact-grid p {
  color: var(--muted);
}

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

.impact-grid article {
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line);
}

.impact-grid strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.15;
}

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

.steps article {
  background: var(--white);
}

.steps span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--accent);
  border-radius: 8px;
  font-weight: 900;
}

.audience {
  background:
    linear-gradient(90deg, rgba(96, 165, 250, 0.18), transparent 35%),
    var(--soft);
}

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

.tags span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 12px 16px 12px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 38px rgba(15, 31, 58, 0.06);
  font-family: var(--font-display);
  font-weight: 800;
}

.tags svg {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 8px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 8px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.contact {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(16, 27, 37, 0.04), rgba(37, 99, 235, 0.12)),
    var(--paper);
}

.contact-copy h2 {
  font-size: clamp(36px, 5.4vw, 68px);
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-family: var(--font-display);
  font-weight: 800;
}

.field-label {
  color: #334155;
  font-family: var(--font-display);
  font-weight: 800;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-method-field {
  display: grid;
  gap: 10px;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 5px;
  background: #eef4ff;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 8px;
}

.method-option {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.method-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.method-option span {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(15, 31, 58, 0.06);
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.method-option input:checked + span {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow:
    inset 0 2px 6px rgba(15, 31, 58, 0.22),
    0 2px 6px rgba(37, 99, 235, 0.12);
  transform: translateY(1px);
}

.method-option input:focus-visible + span {
  outline: 3px solid rgba(37, 99, 235, 0.18);
  outline-offset: 2px;
}

.contact-value-label {
  gap: 0;
}

input,
textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: #f8faff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-family: var(--font-body);
}

input::placeholder,
textarea::placeholder {
  color: #7c8798;
  font-family: var(--font-body);
  font-weight: 500;
  opacity: 0.72;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(37, 99, 235, 0.18);
}

.form-note {
  font-size: 13px;
}

.form-note a {
  color: var(--accent-dark);
  font-weight: 800;
}

.site-footer {
  display: block;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(140deg, rgba(10, 20, 35, 0.98), rgba(20, 46, 88, 0.98)),
    var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(160px, 0.7fr));
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(54px, 7vw, 82px) var(--page-gutter);
}

.footer-brand {
  max-width: 460px;
}

.footer-brand .brand {
  display: inline-flex;
  color: var(--white);
}

.footer-brand .brand-mark {
  color: var(--white);
  background: var(--accent);
}

.footer-brand p {
  margin: 20px 0 0;
  max-width: 420px;
}

.footer-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 24px;
  padding: 11px 16px;
  color: var(--white);
  background: var(--accent);
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 850;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 16px;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: var(--white);
}

.footer-contacts a {
  font-weight: 800;
}

.footer-contacts {
  font-style: normal;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px var(--page-gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom.compact {
  align-items: center;
}

.legal-page {
  background:
    linear-gradient(90deg, rgba(20, 38, 68, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(20, 38, 68, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
}

.legal-hero {
  padding: clamp(72px, 8vw, 110px) var(--page-gutter) 32px;
}

.legal-hero h1 {
  max-width: 920px;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 78px);
}

.legal-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.legal-content {
  max-width: 920px;
  margin: 0 var(--page-gutter) clamp(72px, 8vw, 110px);
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(15, 31, 58, 0.08);
}

.legal-content h2 {
  margin-top: 32px;
  font-size: 24px;
}

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

.legal-content p {
  color: var(--muted);
}

.legal-content a {
  color: var(--accent-dark);
  font-weight: 800;
}

@media (max-width: 1180px) {
  .cards.five,
  .steps,
  .tags {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    flex-wrap: wrap;
    gap: 14px;
  }

  .nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-nav {
    flex: 0 0 100%;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 55px rgba(15, 31, 58, 0.12);
  }

  .mobile-nav.is-open {
    display: grid;
    gap: 6px;
  }

  .mobile-nav a {
    padding: 12px 10px;
    color: var(--ink);
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 800;
  }

  .mobile-nav a:hover {
    background: var(--soft);
    color: var(--accent-dark);
  }

  .mobile-nav .mobile-nav-cta {
    margin-top: 4px;
    color: var(--white);
    background: var(--accent);
    text-align: center;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.18);
  }

  .mobile-nav .mobile-nav-cta:hover {
    color: var(--white);
    background: var(--accent-dark);
  }

  .hero,
  .system-bridge,
  .split,
  .contact,
  .audience {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom div {
    justify-content: flex-start;
  }

  .hero-visual {
    min-height: 700px;
  }

  .crm-window {
    left: 0;
    transform: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: center;
  }

  .audience {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-visual {
    display: none;
  }

  .crm-window {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
  }

  .crm-grid {
    grid-template-columns: 54px 1fr;
    min-height: auto;
  }

  .crm-sidebar {
    padding: 18px 10px;
  }

  .crm-content {
    padding: 16px;
  }

  .pipeline,
  .hero-metrics,
  .manager-row {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .cards.five,
  .steps,
  .impact-grid,
  .tags {
    grid-template-columns: 1fr;
  }

  .steps article {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 14px;
    align-items: center;
  }

  .steps span {
    margin-bottom: 0;
  }

  .steps h3 {
    min-width: 0;
  }

  .steps p {
    grid-column: 1 / -1;
  }

  .card {
    display: grid;
    grid-template-columns: 54px 1fr;
    column-gap: 14px;
    align-items: center;
  }

  .card .icon {
    margin-bottom: 0;
  }

  .card h3 {
    min-width: 0;
  }

  .card p {
    grid-column: 1 / -1;
  }

  .bridge-flow {
    display: flex;
    gap: 12px;
    margin-right: calc(-1 * var(--page-gutter));
    padding-right: var(--page-gutter);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
  }

  .bridge-flow::-webkit-scrollbar {
    display: none;
  }

  .bridge-flow.is-dragging {
    scroll-snap-type: none;
    cursor: grabbing;
  }

  .bridge-flow::before {
    display: none;
  }

  .bridge-flow span {
    flex: 0 0 min(86vw, 360px);
    scroll-snap-align: start;
  }

  .bridge-flow .bridge-clone {
    display: flex;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .footer-sections {
    display: none;
  }

  .footer-bottom div {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .crm-window {
    animation: float-dashboard 7s ease-in-out infinite;
  }
}

@keyframes float-dashboard {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -10px;
  }
}
