@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #2146d0;
  --brand-dark: #1738ad;
  --brand-soft: #e8edff;
  --ink: #10182a;
  --ink-soft: #344054;
  --muted: #596477;
  --line: #d9dee7;
  --line-strong: #c4cad5;
  --paper: #f4f5f1;
  --surface: #ffffff;
  --surface-soft: #ecefe9;
  --night: #111a2d;
  --night-soft: #19243a;
  --success: #13795b;
  --danger: #b42318;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --shadow-sm: 0 1px 2px rgba(16, 24, 42, 0.06), 0 10px 28px rgba(16, 24, 42, 0.05);
  --shadow-lg: 0 30px 80px rgba(16, 24, 42, 0.16);
  --bs-primary: var(--brand);
  --bs-primary-rgb: 33, 70, 208;
  --bs-link-color: var(--brand);
  --bs-link-hover-color: var(--brand-dark);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.modal-open { padding-right: 0 !important; }

::selection {
  color: #fff;
  background: var(--brand);
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--brand-dark); }

img { max-width: 100%; }

.container { max-width: 1200px; }

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.025em;
}

.text-secondary,
.small-muted { color: var(--muted) !important; }

.text-primary { color: var(--brand) !important; }

.bg-white { background-color: var(--surface) !important; }

.border,
.border-top,
.border-bottom { border-color: var(--line) !important; }

.btn {
  --bs-btn-border-radius: 10px;
  min-height: 46px;
  padding: 0.67rem 1.08rem;
  border-width: 1px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 140ms var(--ease-out), box-shadow 160ms ease;
}

.btn-lg {
  min-height: 52px;
  padding: 0.82rem 1.25rem;
  font-size: 1rem;
}

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 0.82rem;
  border-radius: 9px;
  font-size: 0.875rem;
}

.btn:active { transform: scale(0.98); }

.btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.68;
}

.btn:focus-visible,
.navbar-toggler:focus-visible,
.nav-link:focus-visible,
.dropdown-item:focus-visible,
.text-link:focus-visible,
.form-control:focus-visible,
.form-check-input:focus-visible,
.accordion-button:focus-visible {
  outline: 3px solid rgba(33, 70, 208, 0.22);
  outline-offset: 2px;
  box-shadow: none;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--brand-dark);
  --bs-btn-active-border-color: var(--brand-dark);
}

.btn-outline-primary {
  --bs-btn-color: var(--ink);
  --bs-btn-border-color: var(--line-strong);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: var(--ink);
  --bs-btn-active-color: var(--ink);
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: var(--ink);
  background: transparent;
}

.btn-outline-secondary {
  --bs-btn-color: var(--ink-soft);
  --bs-btn-border-color: var(--line);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: var(--line-strong);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.text-link span {
  color: var(--brand);
  transition: transform 180ms var(--ease-out);
}

.text-link:hover { color: var(--brand); }

.text-link:hover span { transform: translate(2px, 2px); }

.text-link-light { color: #fff; }
.text-link-light:hover { color: #cbd6ff; }
.text-link-light span { color: #9fb2ff; }

/* Shared header */
.site-header {
  min-height: 72px;
  background: rgba(244, 245, 241, 0.92);
  border-bottom: 1px solid rgba(196, 202, 213, 0.76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1030;
}

.site-header .container { min-height: 72px; }

.site-brand {
  color: var(--ink);
  text-decoration: none;
}

.site-brand:hover { color: var(--ink); }

.site-brand img {
  width: 34px;
  height: 34px;
}

.site-brand-name {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.site-header .navbar-nav { gap: 0.15rem; }

.site-header .nav-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  padding: 0.58rem 0.72rem !important;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.site-header-action { margin-left: 0.8rem; }

.navbar-toggler {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.navbar-toggler:focus { box-shadow: none; }

.navbar-toggler:focus-visible {
  outline: 3px solid rgba(33, 70, 208, 0.28);
  outline-offset: 3px;
}

.dropdown-menu {
  padding: 0.45rem;
  border-color: var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.dropdown-item {
  padding: 0.62rem 0.7rem;
  border-radius: 7px;
  font-size: 0.9rem;
}

.dropdown-item:active,
.dropdown-item:hover {
  color: var(--ink);
  background: var(--brand-soft);
}

/* Existing inner pages */
.hero { padding: 5rem 0 3.5rem; }

.hero h1,
main > .section:first-child h1 {
  max-width: 860px;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero .lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.section { padding: 5rem 0; }

.section-soft {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.card,
.kpi {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: none;
}

a.card {
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms var(--ease-out), box-shadow 180ms ease;
}

.badge-soft {
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid #d5defe;
  border-radius: 7px;
  font-weight: 600;
}

.icon-circle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  background: var(--brand-soft);
  border: 0;
  border-radius: 11px;
}

.kpi { padding: 1.25rem; }

.breadcrumb {
  --bs-breadcrumb-divider-color: var(--line-strong);
  --bs-breadcrumb-item-active-color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumb a { color: var(--ink-soft); }

.content { color: var(--ink-soft); }
.content p { margin-bottom: 1.1rem; }
.content h2 { margin: 2.6rem 0 1rem; }
.content h3 { margin: 2rem 0 0.8rem; }
.content ul,
.content ol { margin-bottom: 1.25rem; }
.content a { color: var(--brand); }

.table { --bs-table-bg: transparent; }

/* Homepage */
.home-page { overflow: hidden; }

.home-hero {
  position: relative;
  padding: 6rem 0 4.8rem;
}

.home-hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(50%, 600px);
  width: 1px;
  content: "";
  background: var(--line);
  opacity: 0.68;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(19, 121, 91, 0.12);
}

.home-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.9rem, 5.6vw, 5rem);
  font-weight: 650;
  line-height: 0.99;
  letter-spacing: -0.064em;
}

.home-hero h1 span { color: var(--brand); }

.hero-copy {
  max-width: 690px;
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2.1rem;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  margin: 1.8rem 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.84rem;
  list-style: none;
}

.hero-notes li {
  position: relative;
  padding-left: 1rem;
}

.hero-notes li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 4px;
  height: 4px;
  content: "";
  background: var(--ink);
  border-radius: 50%;
}

.workbench {
  position: relative;
  max-width: 470px;
  margin-left: auto;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}

.workbench-toolbar {
  min-height: 52px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.7rem 1rem;
  color: var(--muted);
  background: #f9faf8;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.window-dots { display: flex; gap: 5px; }

.window-dots i {
  width: 7px;
  height: 7px;
  display: block;
  background: var(--line-strong);
  border-radius: 50%;
}

.status-pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--success);
  letter-spacing: 0;
  text-transform: none;
}

.status-pill i {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}

.chat-demo {
  margin: 1.15rem;
  padding: 1rem;
  background: #edf1ff;
  border: 1px solid #d8e0ff;
  border-radius: 16px;
}

.chat-demo-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.mini-logo {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--brand);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 750;
}

.chat-demo-head strong,
.chat-demo-head small,
.sync-card strong,
.sync-card small {
  display: block;
}

.chat-demo-head strong { font-size: 0.84rem; }
.chat-demo-head small { color: var(--muted); font-size: 0.7rem; }

.chat-message {
  width: fit-content;
  max-width: 88%;
  margin-top: 0.65rem;
  padding: 0.72rem 0.82rem;
  border-radius: 13px;
  font-size: 0.82rem;
  line-height: 1.42;
}

.chat-message-user {
  margin-left: auto;
  color: #fff;
  background: var(--brand);
  border-bottom-right-radius: 4px;
}

.chat-message-bot {
  background: #fff;
  border: 1px solid #dbe1f3;
  border-bottom-left-radius: 4px;
}

.chat-message-bot span { color: var(--muted); }

.chat-action {
  width: fit-content;
  margin-top: 0.55rem;
  padding: 0.42rem 0.68rem;
  color: var(--brand-dark);
  background: #fff;
  border: 1px solid #c8d3fb;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 650;
}

.sync-card {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  margin: 0 1.15rem 1.15rem;
  padding: 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
}

.sync-card-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: #e9ece6;
  border-radius: 10px;
  font-size: 0.67rem;
  font-weight: 750;
}

.sync-card div { flex: 1; }
.sync-card strong { font-size: 0.78rem; }
.sync-card small { color: var(--muted); font-size: 0.68rem; }

.sync-check {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  background: rgba(19, 121, 91, 0.1);
  border-radius: 50%;
  font-weight: 750;
}

.workbench-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1rem;
  color: var(--muted);
  background: #f9faf8;
  border-top: 1px solid var(--line);
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.workbench-flow span {
  padding: 0.28rem 0.42rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.workbench-flow i {
  width: 22px;
  height: 1px;
  display: block;
  background: var(--line-strong);
}

.proof-strip {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
}

.proof-strip dl > div {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.2rem;
  border-right: 1px solid var(--line);
}

.proof-strip dl > div:first-child { border-left: 1px solid var(--line); }

.proof-strip dt {
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
}

.proof-strip dd { margin: 0; }
.proof-strip strong,
.proof-strip span { display: block; }
.proof-strip strong { font-size: 0.92rem; }
.proof-strip span { color: var(--muted); font-size: 0.74rem; }

.home-section { padding: 7.5rem 0; }

.section-heading { max-width: 850px; margin-bottom: 4.2rem; }

.section-heading h2,
.system-section h2,
.price-panel h2,
.cta-copy h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.4vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.section-heading > p:not(.section-kicker) {
  max-width: 640px;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 3rem;
}

.section-heading-split > p {
  margin: 0 0 0.35rem !important;
}

.scenario-list { border-bottom: 1px solid var(--line-strong); }

.scenario-row {
  display: grid;
  grid-template-columns: 54px minmax(280px, 1fr) minmax(330px, 0.92fr);
  align-items: center;
  gap: 1.8rem;
  padding: 2.25rem 0;
  border-top: 1px solid var(--line-strong);
  transition: background-color 180ms ease;
}

.scenario-number {
  align-self: start;
  padding-top: 0.32rem;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
}

.scenario-copy h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.scenario-copy p {
  max-width: 570px;
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.scenario-copy a {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.scenario-copy a:hover { color: var(--brand); }

.scenario-flow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.scenario-flow span {
  padding: 0.58rem 0.68rem;
  white-space: nowrap;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
}

.scenario-flow i {
  color: var(--line-strong);
  font-style: normal;
}

.section-tail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
}

.section-tail p {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: right;
}

.system-section {
  position: relative;
  padding: 7.5rem 0;
  color: #d8deeb;
  background: var(--night);
}

.system-section::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.system-section .container { position: relative; }
.system-section h2 { color: #fff; }

.system-section .col-lg-5 > p:not(.section-kicker) {
  max-width: 500px;
  margin: 1.5rem 0;
  color: #aab5c9;
  font-size: 1rem;
}

.section-kicker-light { color: #9fb2ff; }

.integration-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.8rem 0 1.25rem;
}

.integration-links a {
  padding: 0.52rem 0.68rem;
  color: #dbe2f2;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.integration-links a:hover {
  color: #fff;
  border-color: rgba(159, 178, 255, 0.62);
}

.system-map {
  display: grid;
  grid-template-columns: 1fr 72px 1.16fr 72px 1fr;
  align-items: stretch;
  min-height: 430px;
  padding: 1.2rem;
  background: rgba(5, 10, 21, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
}

.system-lane {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.system-label {
  margin-bottom: 0.2rem;
  color: #77849b;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.system-node {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  background: var(--night-soft);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
}

.system-node-main {
  min-height: 160px;
  background: var(--brand);
  border-color: #6e89ef;
}

.system-node b {
  color: #fff;
  font-size: 0.92rem;
}

.system-node small {
  margin-top: 0.3rem;
  color: #98a5bb;
  font-size: 0.68rem;
  line-height: 1.4;
}

.system-node-main small { color: #d4dcff; }

.system-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.system-connector i {
  width: 100%;
  height: 1px;
  background: rgba(159, 178, 255, 0.45);
}

.system-connector span {
  color: #75839b;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.57rem;
  text-transform: uppercase;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line-strong);
  list-style: none;
}

.process-list li {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1.5rem 0;
  border-top: 1px solid var(--line-strong);
}

.process-list li + li {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}

.process-list > li > span {
  color: var(--brand);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.7rem;
}

.process-list h3 {
  margin: 0 0 0.7rem;
  font-size: 1.25rem;
}

.process-list p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.process-list small {
  display: block;
  padding-top: 0.9rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
}

.examples-section { background: var(--surface); }

.example-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1rem;
}

.example-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms var(--ease-out), box-shadow 180ms ease;
}

.example-card-wide {
  grid-row: span 2;
  min-height: 516px;
  justify-content: flex-end;
  background: #e9edff;
  border-color: #ced7fb;
}

.example-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: auto;
}

.example-meta span {
  padding: 0.35rem 0.5rem;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(196, 202, 213, 0.72);
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 650;
  text-transform: uppercase;
}

.example-card h3 {
  max-width: 650px;
  margin: 1.5rem 0 0.65rem;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.16;
}

.example-card-wide h3 { font-size: clamp(2rem, 4vw, 3.55rem); }

.example-card p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
}

.example-route {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

.example-route span {
  padding: 0.52rem 0.65rem;
  background: #fff;
  border: 1px solid #cad3f7;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
}

.example-route i {
  color: var(--brand);
  font-style: normal;
}

.example-link {
  margin-top: 1.35rem;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 650;
}

.price-section { padding-top: 6rem; }

.price-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  overflow: hidden;
  color: #e4e9ff;
  background: var(--brand);
  border-radius: 20px;
}

.price-panel-main { padding: clamp(2rem, 5vw, 4.5rem); }
.price-panel .section-kicker { color: #c0ccff; }
.price-panel h2 { max-width: 780px; color: #fff; }

.price-panel-main > p:not(.section-kicker) {
  max-width: 700px;
  margin: 1.4rem 0 0;
  color: #d5ddff;
}

.price-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2rem;
}

.price-panel .btn-primary {
  --bs-btn-color: var(--ink);
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: #eef1ff;
  --bs-btn-hover-border-color: #eef1ff;
}

.price-panel .text-link { color: #fff; }
.price-panel .text-link span { color: #c0ccff; }

.price-value { white-space: nowrap; }

.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.price-panel-aside {
  padding: clamp(2rem, 4vw, 3.5rem);
  background: rgba(9, 29, 102, 0.28);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.price-panel-aside > p {
  margin: 0 0 1.3rem;
  color: #fff;
  font-weight: 650;
}

.price-panel-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-panel-aside li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.88rem;
}

.price-panel-aside li::before {
  position: absolute;
  top: 1.1rem;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  border: 2px solid #b9c7ff;
  border-radius: 50%;
}

.faq-section { padding-top: 6.5rem; }

.faq-section .col-lg-4 h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.faq-intro {
  max-width: 340px;
  margin-top: 1.2rem;
  color: var(--muted);
}

.accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: var(--line-strong);
  --bs-accordion-btn-color: var(--ink);
  --bs-accordion-btn-bg: transparent;
  --bs-accordion-active-color: var(--ink);
  --bs-accordion-active-bg: transparent;
  --bs-accordion-btn-focus-box-shadow: none;
}

.accordion-item { border-color: var(--line-strong); }

.accordion-button {
  min-height: 76px;
  padding: 1.25rem 0;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.accordion-button::after {
  width: 28px;
  height: 28px;
  background-size: 15px;
  background-position: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.accordion-body {
  max-width: 700px;
  padding: 0 3.5rem 1.5rem 0;
  color: var(--muted);
}

/* CTA and footer */
.cta-section { padding: 2rem 0 0; }

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4.2rem);
  color: #e5eaf5;
  background: var(--night);
  border-radius: 20px 20px 0 0;
}

.cta-copy { max-width: 760px; }
.cta-copy h2 { color: #fff; }

.cta-copy p {
  max-width: 650px;
  margin: 1.1rem 0 0;
  color: #aeb8ca;
}

.cta-panel .text-secondary { color: #aeb8ca !important; }
.cta-panel .eyebrow.text-secondary { color: #9fb2ff !important; }

.cta-action { flex: 0 0 auto; }

.site-footer {
  color: var(--ink-soft);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-heading {
  margin-bottom: 0.8rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links li + li { margin-top: 0.42rem; }

.footer-links a {
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-bottom {
  color: var(--muted);
  border-color: var(--line) !important;
}

/* Forms and modal */
.modal-backdrop.show { opacity: 0.42; }

.modal.fade .modal-dialog {
  transform: translateY(12px) scale(0.98);
  transition: transform 220ms var(--ease-out);
}

.modal.show .modal-dialog { transform: translateY(0) scale(1); }

.modal-content {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  padding: 1.25rem 1.4rem;
  border-bottom-color: var(--line);
}

.modal-title { font-size: 1.12rem; }
.modal-body { padding: 1.4rem; }

.form-label {
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.form-control {
  min-height: 48px;
  padding: 0.72rem 0.82rem;
  color: var(--ink);
  background: #fff;
  border-color: var(--line-strong);
  border-radius: 9px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

textarea.form-control { min-height: 106px; resize: vertical; }

.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(33, 70, 208, 0.12);
}

.form-control::placeholder { color: #667085; }

.form-check-input { border-color: var(--line-strong); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }

.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.alert {
  padding: 0.75rem 0.85rem;
  border-radius: 9px;
  font-size: 0.82rem;
}

.alert-success { color: #0c5e48; background: #e7f5ef; border-color: #b8e0d1; }
.alert-danger { color: #8a1c13; background: #fff0ee; border-color: #f1c0ba; }
.alert-info { color: #1738ad; background: #eef1ff; border-color: #ccd6ff; }

.form-submit-note {
  color: var(--muted);
  font-size: 0.72rem;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { box-shadow: 0 8px 18px rgba(33, 70, 208, 0.18); }

  a.card:hover,
  .example-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
  }

  .scenario-row:hover { background: rgba(255, 255, 255, 0.42); }
}

@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    margin: 0.7rem 0 0;
    padding: 0.6rem 0 1rem;
    border-top: 1px solid var(--line);
  }

  .site-header .nav-link {
    width: 100%;
    min-height: 46px;
  }

  .site-header-action {
    width: 100%;
    margin: 0.65rem 0 0;
  }

  .site-header-action .btn { width: 100%; }

  .home-hero { padding-top: 4.6rem; }
  .home-hero::before { display: none; }
  .workbench { max-width: 560px; margin: 1rem auto 0; }

  .proof-strip dl { grid-template-columns: repeat(2, 1fr); }
  .proof-strip dl > div:nth-child(3) { border-left: 1px solid var(--line); }
  .proof-strip dl > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }

  .scenario-row {
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
  }

  .scenario-flow {
    grid-column: 2;
    justify-content: flex-start;
  }

  .system-map { min-height: 390px; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .process-list li { min-height: 260px; }

  .price-panel { grid-template-columns: 1fr; }
  .price-panel-aside { border-top: 1px solid rgba(255, 255, 255, 0.18); border-left: 0; }

  .cta-panel { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767.98px) {
  html { scroll-padding-top: 72px; }
  .container { --bs-gutter-x: 2rem; }

  .hero,
  .section { padding: 3.6rem 0; }

  .home-hero { padding: 3.8rem 0 3rem; }
  .home-hero h1 { font-size: clamp(2.55rem, 12vw, 3.55rem); }
  .hero-copy { margin-top: 1.4rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 0.55rem; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .text-link { justify-content: center; }
  .hero-notes { align-items: flex-start; flex-direction: column; gap: 0.5rem; }

  .workbench { border-radius: 18px; }
  .workbench-toolbar { grid-template-columns: 1fr auto; }
  .workbench-toolbar > span:nth-child(2) { display: none; }

  .proof-strip dl { grid-template-columns: 1fr; }
  .proof-strip dl > div {
    min-height: 88px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }
  .proof-strip dl > div:last-child { border-bottom: 0; }

  .home-section,
  .system-section { padding: 5.2rem 0; }

  .section-heading { margin-bottom: 2.8rem; }
  .section-heading h2,
  .system-section h2,
  .price-panel h2,
  .cta-copy h2 { font-size: clamp(2.1rem, 10vw, 3rem); }

  .section-heading-split { grid-template-columns: 1fr; gap: 1.2rem; }

  .scenario-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0.9rem;
    padding: 1.8rem 0;
  }

  .scenario-flow {
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }

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

  .section-tail {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-tail p { text-align: left; }

  .system-map {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .system-label { margin-top: 0.3rem; }
  .system-node,
  .system-node-main { min-height: 96px; }
  .system-connector { min-height: 42px; }
  .system-connector i { width: 1px; height: 28px; }

  .process-list { grid-template-columns: 1fr; }
  .process-list li,
  .process-list li + li,
  .process-list li:nth-child(3) {
    min-height: 220px;
    padding: 1.3rem 0;
    border-left: 0;
  }

  .example-grid { grid-template-columns: 1fr; }
  .example-card-wide { grid-row: auto; min-height: 430px; }

  .price-section { padding-top: 4rem; }
  .price-panel { border-radius: 16px; }
  .price-actions { align-items: stretch; flex-direction: column; gap: 0.6rem; }
  .price-actions .btn,
  .pricing-actions .btn { width: 100%; }
  .price-actions .text-link { justify-content: center; }

  .faq-section { padding-top: 4.5rem; }
  .faq-intro { max-width: none; }

  .cta-section { padding-top: 0; }
  .cta-panel { border-radius: 0; }
  .cta-action,
  .cta-action .btn { width: 100%; }

  .accordion-button { font-size: 0.95rem; }
  .accordion-body { padding-right: 0; }
}

@media (max-width: 420px) {
  .container { --bs-gutter-x: 1.5rem; }
  .home-hero h1 { font-size: 2.55rem; }
  .chat-demo { margin: 0.8rem; padding: 0.8rem; }
  .sync-card { margin: 0 0.8rem 0.8rem; }
  .workbench-flow { gap: 0.25rem; padding-inline: 0.55rem; }
  .workbench-flow span { padding-inline: 0.32rem; }
  .workbench-flow i { width: 10px; }
  .example-route { gap: 0.35rem; }
  .example-route span { padding-inline: 0.46rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ========================================================================== */
/* Botimax editorial system — aligned with the Votvetah visual language       */
/* ========================================================================== */

:root {
  --ink: #111317;
  --ink-soft: #383b42;
  --paper: #f7f5ef;
  --white: #ffffff;
  --line: #d9d8d3;
  --line-strong: #b9b9b4;
  --line-dark: rgba(255, 255, 255, 0.22);
  --navy: #101c2d;
  --blue: #3155ff;
  --accent: #ff654b;
  --muted: #686a70;
  --shell: 1360px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* Compatibility aliases used by the existing inner-page templates. */
  --brand: var(--blue);
  --brand-dark: #2145e8;
  --brand-soft: #edf0ff;
  --surface: var(--white);
  --surface-soft: var(--paper);
  --night: var(--navy);
  --night-soft: #1a273b;
  --success: #176a3a;
  --danger: #8b1010;
  --shadow-sm: none;
  --shadow-lg: 0 28px 80px rgba(10, 14, 20, 0.18);
  --bs-primary: var(--blue);
  --bs-primary-rgb: 49, 85, 255;
  --bs-link-color: var(--blue);
  --bs-link-hover-color: #2145e8;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Onest", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

::selection {
  color: var(--white);
  background: var(--blue);
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: inherit;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

/* Bootstrap containers retain their row/gutter behavior while sharing the
   same visible content edge as the editorial shell. */
.container {
  width: min(calc(100% - 40px), 1384px);
  max-width: 1384px;
  padding-right: 12px;
  padding-left: 12px;
}

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

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 160ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: 0;
  padding: 0;
  background: rgba(247, 245, 239, 0.96) !important;
  border-bottom: 1px solid var(--line) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 78px;
  align-items: center;
  gap: 48px;
}

.wordmark {
  display: inline-flex;
  width: max-content;
  align-items: baseline;
  color: var(--ink);
  font-size: 25px;
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.5;
  text-decoration: none;
}

.wordmark:hover {
  color: var(--ink);
}

.wordmark span {
  color: var(--accent);
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
}

.desktop-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: 15px;
  text-decoration: none;
  transition: color 160ms ease;
}

.header-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: var(--white);
  background: var(--ink);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 160ms ease, transform 140ms var(--ease-out);
}

.header-action:hover {
  color: var(--white);
}

.header-action:active,
.button:active,
.btn:active,
.mobile-sticky-cta:active,
.footer-project-link:active {
  transform: scale(0.97);
}

.button[aria-disabled="true"],
.button:disabled,
.btn:disabled {
  pointer-events: none;
  opacity: 0.68;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle i {
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  transform-origin: center;
  transition: transform 180ms var(--ease-out);
}

.menu-toggle[aria-expanded="true"] i:first-of-type {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] i:last-of-type {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 99;
  inset: 79px 0 auto;
  width: 100vw;
  height: calc(100dvh - 79px);
  overflow-y: auto;
  color: var(--white);
  background: var(--navy);
  overscroll-behavior: contain;
}

.mobile-menu .shell {
  display: flex;
  min-height: 100%;
  padding-block: 42px 28px;
  flex-direction: column;
}

.mobile-menu a:not(.button) {
  padding: 17px 0;
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
  font-size: 28px;
  font-weight: 550;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.mobile-menu .button {
  width: 100%;
  margin-top: auto;
}

/* Buttons and links */
.button,
.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
  cursor: pointer;
  font-weight: 680;
  line-height: 1;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 140ms var(--ease-out);
}

.button-large,
.btn-lg {
  min-height: 58px;
  padding-inline: 26px;
}

.btn-sm {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 14px;
}

.button-accent {
  color: var(--ink);
  background: var(--accent);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-quiet,
.btn-outline-primary,
.btn-outline-secondary {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
}

.button-quiet-light {
  color: var(--white);
  border-color: var(--line-dark);
}

.btn-primary {
  --bs-btn-color: var(--ink);
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: #ff806b;
  --bs-btn-hover-border-color: #ff806b;
  --bs-btn-active-color: var(--ink);
  --bs-btn-active-bg: #ff806b;
  --bs-btn-active-border-color: #ff806b;
  color: var(--ink);
  background: var(--accent);
}

.text-link,
.service-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease;
}

/* Homepage hero */
.home-page {
  overflow: hidden;
}

.home-page > .hero {
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
}

.hero-inner {
  display: flex;
  min-height: calc(100svh - 79px);
  padding-top: clamp(76px, 9vw, 132px);
  padding-bottom: 34px;
  flex-direction: column;
}

.home-page .hero h1 {
  max-width: 1290px;
  margin: 0 0 clamp(54px, 7vw, 92px);
  color: var(--ink);
  font-size: clamp(64px, 8.1vw, 124px);
  font-weight: 610;
  line-height: 0.91;
  letter-spacing: -0.075em;
}

.home-page .hero h1 span {
  color: var(--blue);
}

.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  max-width: 1040px;
  align-items: end;
  gap: 80px;
  margin-left: auto;
}

.hero-intro > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: auto 0 0;
  padding-top: 64px;
}

.hero-metrics > div {
  padding: 22px 24px 4px 0;
  border-top: 1px solid var(--ink);
}

.hero-metrics > div + div {
  padding-left: 24px;
}

.hero-metrics dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-metrics dd {
  margin: 0;
  font-size: clamp(20px, 1.8vw, 27px);
  font-weight: 620;
  letter-spacing: -0.035em;
}

.audience-line {
  color: var(--white);
  background: var(--ink);
}

.audience-line .shell {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.audience-line span {
  color: #d8d9dc;
  font-size: 15px;
  white-space: nowrap;
}

/* Homepage editorial sections */
.home-page .section {
  padding-block: clamp(92px, 10vw, 154px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
  max-width: none;
  align-items: end;
  gap: 80px;
  margin-bottom: 76px;
}

.section-heading h2,
.reasons-section > .shell > h2,
.faq-layout > h2,
.fit-grid > h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(50px, 6vw, 84px);
  font-weight: 590;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.section-heading > p {
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 19px;
}

.services-section {
  background: var(--white);
}

.service-list {
  border-top: 1px solid var(--ink);
  border-bottom: 0;
}

.service-list article {
  display: grid;
  grid-template-columns: 76px minmax(220px, 0.8fr) minmax(300px, 1.2fr);
  gap: 36px;
  padding: 38px 0 42px;
  border-bottom: 1px solid var(--line);
}

.service-number {
  color: var(--muted);
  font-size: 14px;
}

.service-list h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(25px, 2.35vw, 36px);
  font-weight: 580;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.service-detail p {
  max-width: 650px;
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

.service-points {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.service-points li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
}

.service-points li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
  content: "";
}

.service-link {
  width: max-content;
  min-height: 0;
  margin-top: 20px;
  padding-bottom: 3px;
  font-size: 14px;
}

.reasons-section {
  color: var(--white);
  background: var(--navy);
}

.reasons-section > .shell > h2 {
  max-width: 900px;
  margin-bottom: 78px;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reasons-grid article {
  padding-top: 25px;
  border-top: 1px solid var(--line-dark);
}

.reasons-grid h3 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(25px, 2.3vw, 34px);
  font-weight: 570;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.reasons-grid p {
  max-width: 390px;
  margin: 0;
  color: #bcc5d1;
  font-size: 17px;
}

.process-section {
  background: var(--paper);
}

.process-list {
  display: block;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 0;
  list-style: none;
}

.process-list li,
.process-list li + li {
  display: grid;
  grid-template-columns: 160px minmax(260px, 0.75fr) minmax(300px, 1fr);
  min-height: 0;
  gap: 42px;
  padding: 36px 0 40px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.process-time {
  color: var(--blue);
  font-family: inherit;
  font-weight: 650;
}

.process-list h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 580;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.process-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.checkpoint {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1.3fr);
  gap: 48px;
  margin-top: 54px;
  padding: 30px 32px;
  color: var(--white);
  background: var(--blue);
}

.checkpoint strong {
  font-size: 21px;
  line-height: 1.25;
}

.checkpoint p {
  margin: 0;
  color: #e8ecff;
}

.fit-section {
  background: var(--paper);
}

.fit-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(440px, 1.2fr);
  gap: 100px;
}

.fit-intro {
  max-width: 700px;
  margin: 0 0 34px;
  color: var(--ink-soft);
  font-size: 19px;
}

.fit-grid ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.fit-grid li {
  padding: 20px 0;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-size: 19px;
}

.fit-grid li a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.fit-grid li a span {
  color: var(--blue);
}

.price-section {
  padding-top: clamp(92px, 10vw, 154px);
  color: var(--white);
  background: var(--ink);
}

.price-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 72px;
  margin-bottom: 64px;
}

.price-heading h2 {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--white);
  font-size: clamp(48px, 5.5vw, 78px);
  font-weight: 590;
  line-height: 1;
  letter-spacing: -0.06em;
}

.price-heading p {
  max-width: 780px;
  margin: 0;
  color: #bfc1c7;
  font-size: 19px;
}

.price-range {
  min-width: 340px;
  padding-bottom: 6px;
  text-align: right;
}

.price-range span {
  display: block;
  margin-bottom: 8px;
  color: #8f929a;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.price-range strong {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.05em;
}

.tariff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tariff-card {
  display: flex;
  min-width: 0;
  min-height: 620px;
  padding: 30px 28px 28px;
  flex-direction: column;
  color: var(--white);
  background: #1a1d23;
  border: 1px solid var(--line-dark);
}

.tariff-card-featured {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.tariff-head {
  min-height: 194px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-dark);
}

.tariff-card-featured .tariff-head {
  border-color: var(--line);
}

.tariff-index {
  display: block;
  margin-bottom: 34px;
  color: #8f929a;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tariff-card-featured .tariff-index {
  color: var(--blue);
}

.tariff-head h3 {
  margin-bottom: 12px;
  color: inherit;
  font-size: clamp(30px, 2.7vw, 42px);
  font-weight: 590;
  line-height: 1;
  letter-spacing: -0.05em;
}

.tariff-head p {
  max-width: 360px;
  margin: 0;
  color: #bfc1c7;
  font-size: 15px;
}

.tariff-card-featured .tariff-head p,
.tariff-card-featured .tariff-summary {
  color: var(--ink-soft);
}

.tariff-price {
  margin-top: 28px;
  color: inherit;
  font-size: clamp(38px, 3.5vw, 54px);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.tariff-period {
  margin: 10px 0 26px;
  color: #8f929a;
  font-size: 14px;
}

.tariff-summary {
  min-height: 110px;
  margin: 0 0 26px;
  color: #d8d9dc;
  font-size: 16px;
  line-height: 1.5;
}

.tariff-note {
  min-height: 42px;
  margin: auto 0 22px;
  color: #8f929a;
  font-size: 14px;
}

.tariff-card-featured .tariff-note {
  color: var(--muted);
}

.tariff-card-featured .tariff-period {
  color: var(--muted);
}

.tariff-action {
  width: 100%;
}

.price-disclaimer {
  max-width: 1030px;
  margin: 34px 0 0;
  color: #8f929a;
  font-size: 14px;
}

.faq-section {
  padding-top: clamp(92px, 10vw, 154px);
  background: var(--white);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(480px, 1.25fr);
  gap: 100px;
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  font-size: 21px;
  font-weight: 570;
  letter-spacing: -0.025em;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 11px;
  left: 3px;
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 180ms var(--ease-out);
}

.faq-list summary span::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: rotate(0deg);
}

.faq-list details > div {
  padding: 0 52px 28px 0;
}

.faq-list p {
  max-width: 670px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

/* Inline lead form */
.project-section {
  padding-block: clamp(92px, 10vw, 150px);
  color: var(--ink);
  background: var(--accent);
}

.project-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(520px, 1.2fr);
  gap: clamp(70px, 10vw, 150px);
}

.project-copy h2 {
  margin-bottom: 28px;
  color: var(--ink);
  font-size: clamp(54px, 6vw, 86px);
  font-weight: 610;
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.project-copy > p {
  max-width: 500px;
  margin-bottom: 28px;
  color: #472018;
  font-size: 18px;
}

.project-facts {
  display: flex;
  max-width: 520px;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: #4d211a;
  font-size: 14px;
}

.project-facts span {
  position: relative;
  padding-left: 16px;
}

.project-facts span::before {
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
  content: "";
}

.project-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

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

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
}

.field > span:first-child {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(17, 19, 23, 0.55);
  border-radius: 0;
  outline-offset: 4px;
  font-size: 20px;
}

.field input {
  height: 54px;
}

.field textarea {
  min-height: 98px;
  padding: 14px 0;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(17, 19, 23, 0.5);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--danger);
}

.field .invalid-feedback {
  margin: 0;
  color: #6e1b10;
  font-size: 13px;
}

.field input[aria-invalid="true"] + .invalid-feedback,
.field textarea[aria-invalid="true"] + .invalid-feedback,
.field select[aria-invalid="true"] + .invalid-feedback,
.consent input[aria-invalid="true"] + span .invalid-feedback {
  display: block;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  max-width: 620px;
  align-items: start;
  gap: 11px;
  color: #4d211a;
  font-size: 13px;
  cursor: pointer;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--ink);
}

.consent a {
  color: inherit;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
}

.project-form .button {
  width: max-content;
  min-width: 230px;
}

.form-status {
  min-height: 24px;
  margin: -10px 0 0;
  color: #6e1b10;
  font-size: 14px;
}

.form-status.is-success {
  color: #164b25;
}

.form-status.is-danger {
  color: #6e1b10;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

/* Editorial CTA used on the inner pages */
.cta-section-editorial {
  padding-block: clamp(92px, 10vw, 150px) !important;
  color: var(--ink);
  background: var(--accent) !important;
}

.cta-panel-editorial {
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: end !important;
  gap: clamp(36px, 6vw, 90px) !important;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border-radius: 0;
}

.cta-note {
  display: flex;
  align-self: start;
  padding-top: 12px;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(17, 19, 23, 0.55);
  color: #57271e;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cta-copy {
  max-width: 820px;
}

.cta-kicker {
  margin: 0 0 18px !important;
  color: #57271e !important;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-copy h2,
.cta-panel .cta-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 5.5vw, 78px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.cta-copy > p:not(.cta-kicker) {
  max-width: 690px;
  margin: 24px 0 0;
  color: #472018;
  font-size: 17px;
}

.cta-editorial-action {
  min-width: 210px;
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

/* New shared footer */
.site-footer {
  padding-top: 78px;
  color: var(--white);
  background: var(--ink);
  border-top: 0 !important;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(620px, 1.22fr);
  align-items: start;
  gap: clamp(64px, 9vw, 140px);
  padding-bottom: 72px;
}

.footer-intro {
  max-width: 390px;
}

.footer-wordmark {
  color: var(--white);
}

.footer-wordmark:hover {
  color: var(--white);
}

.footer-statement {
  margin: 24px 0 0;
  color: #bfc1c7;
  font-size: 16px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
}

.footer-nav-group {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 11px;
}

.footer-kicker {
  margin: 0 0 12px;
  color: #8f929a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav-group a,
.footer-project-link,
.footer-legal a {
  width: max-content;
  max-width: 100%;
  color: #d8d9dc;
  text-align: left;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-project-link {
  display: inline-flex;
  min-height: 0;
  align-items: center;
  gap: 8px;
  padding: 0 0 3px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  font: inherit;
}

.footer-legal {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 24px;
  color: #8f929a;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
}

.footer-legal-links {
  display: flex;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 28px;
}

.footer-legal a {
  color: #8f929a;
}

.mobile-sticky-cta {
  position: fixed;
  z-index: 90;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: none;
  min-height: 56px;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  background: var(--accent);
  border: 1px solid rgba(17, 19, 23, 0.15);
  border-radius: 10px;
  font-weight: 680;
  transform: translateY(calc(100% + 24px));
  visibility: hidden;
  transition: transform 200ms var(--ease-out), visibility 0s linear 200ms;
}

.mobile-sticky-cta.is-visible {
  transform: translateY(0);
  visibility: visible;
  transition: transform 200ms var(--ease-out);
}

/* Existing Bootstrap-driven inner pages */
main:not(.home-page) > .hero {
  padding: 104px 0 86px;
  color: var(--white);
  background: var(--navy);
}

main:not(.home-page) > .hero h1 {
  max-width: 1050px;
  margin-bottom: 26px;
  color: var(--white);
  font-size: clamp(46px, 6vw, 80px);
  font-weight: 590;
  line-height: 1;
  letter-spacing: -0.06em;
}

main:not(.home-page) > .hero .lead {
  max-width: 780px;
  margin-bottom: 0;
  color: #bdc6d2;
  font-size: 19px;
}

main:not(.home-page) > .section {
  padding-block: clamp(82px, 8vw, 120px);
}

main:not(.home-page) > .section:first-child h1 {
  max-width: 1050px;
  color: var(--ink);
  font-size: clamp(46px, 6vw, 80px);
  font-weight: 590 !important;
  line-height: 1;
  letter-spacing: -0.06em;
}

.section-soft {
  background: var(--paper);
}

.breadcrumb {
  --bs-breadcrumb-divider-color: var(--muted);
  --bs-breadcrumb-item-active-color: var(--muted);
  margin-bottom: 0;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.card {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0 !important;
  box-shadow: none;
}

.card h2,
.card h3,
.card h4 {
  color: var(--ink);
  font-weight: 590 !important;
  letter-spacing: -0.035em;
}

.badge-soft {
  color: var(--blue);
  background: var(--brand-soft);
  border: 1px solid #d7deff;
  border-radius: 0;
}

.icon-circle {
  color: var(--blue);
  background: var(--brand-soft);
}

.text-secondary,
.small-muted {
  color: var(--muted) !important;
}

.text-primary {
  color: var(--blue) !important;
}

.content {
  color: var(--ink-soft);
  font-size: 17px;
}

.content h2 {
  color: var(--ink);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 590;
  letter-spacing: -0.045em;
}

.content h3 {
  color: var(--ink);
  font-weight: 590;
}

.content a {
  color: var(--blue);
}

.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--ink-soft);
  --bs-table-border-color: var(--line);
}

/* Forms and modal compatibility */
.form-label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.form-control,
.form-select {
  min-height: 54px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  box-shadow: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

textarea.form-control {
  min-height: 118px;
}

.form-control:focus,
.form-select:focus {
  color: var(--ink);
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(49, 85, 255, 0.12);
}

.form-check-input {
  border-color: var(--line-strong);
  border-radius: 0 !important;
}

.form-check-input:checked {
  background-color: var(--blue);
  border-color: var(--blue);
}

.alert {
  border-radius: 0;
}

.alert-success {
  color: #164b25;
  background: #edf8f0;
  border-color: #bdd9c4;
}

.alert-danger {
  color: #6e1b10;
  background: #fff1ef;
  border-color: #efbeb6;
}

.alert-info {
  color: #1738ad;
  background: #edf0ff;
  border-color: #cbd4ff;
}

.modal-backdrop.show {
  opacity: 0.58;
}

.modal.fade .modal-dialog {
  transform: translateY(12px) scale(0.98);
  transition: transform 180ms var(--ease-out);
}

.modal.show .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-dialog {
  max-width: 680px;
}

.modal-content {
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 0;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  padding: 28px 30px 22px;
  border-bottom: 1px solid var(--line);
}

.modal-title {
  color: var(--ink);
  font-size: 30px !important;
  font-weight: 590 !important;
  letter-spacing: -0.045em;
}

.modal-body {
  padding: 26px 30px 30px;
}

.modal .form-control {
  padding-right: 0;
  padding-left: 0;
  background: transparent;
  border-width: 0 0 1px;
}

.modal .form-control:focus {
  background: transparent;
  box-shadow: none;
}

.modal .btn-primary {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

/* Targeted hover behaviors only on real pointing devices. */
@media (hover: hover) and (pointer: fine) {
  .desktop-nav a:hover,
  .footer-nav-group a:hover,
  .footer-project-link:hover,
  .footer-legal a:hover,
  .breadcrumb a:hover {
    color: var(--blue);
  }

  .header-action:hover,
  .button-dark:hover,
  .cta-editorial-action:hover,
  .modal .btn-primary:hover {
    color: var(--white);
    background: var(--blue);
    border-color: var(--blue);
  }

  .button-accent:hover,
  .btn-primary:hover {
    color: var(--ink);
    background: #ff806b;
    border-color: #ff806b;
  }

  .button-quiet:hover,
  .btn-outline-primary:hover,
  .btn-outline-secondary:hover {
    color: var(--ink);
    background: var(--white);
    border-color: var(--ink);
  }

  .button-quiet-light:hover {
    color: var(--ink);
    background: var(--white);
    border-color: var(--white);
  }

  .text-link:hover,
  .service-link:hover,
  .fit-grid li a:hover {
    color: var(--blue);
  }
}

@media (max-width: 1120px) {
  .header-inner {
    gap: 28px;
  }

  .desktop-nav {
    gap: 22px;
  }

  .hero-intro {
    gap: 50px;
  }

  .section-heading {
    gap: 60px;
  }

  .project-grid {
    gap: 70px;
  }

  .tariff-grid {
    gap: 12px;
  }

  .tariff-card {
    padding-inline: 22px;
  }

  .faq-layout,
  .fit-grid {
    gap: 70px;
  }

  .footer-main {
    grid-template-columns: minmax(240px, 0.65fr) minmax(560px, 1.35fr);
    gap: 60px;
  }

  .cta-panel-editorial {
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 42px !important;
  }
}

@media (max-width: 960px) {
  .project-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .shell {
    width: min(calc(100% - 40px), var(--shell));
  }

  .container {
    width: 100%;
    max-width: none;
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-header {
    min-height: 0;
    background: var(--paper) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 72px;
  }

  .desktop-nav,
  .header-action {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu {
    inset: 73px 0 auto;
    height: calc(100dvh - 73px);
  }

  .hero-inner {
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 28px;
  }

  .home-page .hero h1 {
    margin-bottom: 64px;
  }

  .hero-intro,
  .section-heading,
  .price-heading,
  .tariff-grid,
  .project-grid,
  .faq-layout,
  .fit-grid,
  .footer-main,
  .cta-panel-editorial {
    grid-template-columns: 1fr;
  }

  .hero-intro {
    margin-left: 0;
  }

  .hero-intro > p {
    max-width: 720px;
  }

  .hero-metrics {
    margin-top: 74px;
  }

  .section-heading {
    gap: 28px;
    margin-bottom: 56px;
  }

  .section-heading > p {
    max-width: 670px;
  }

  .service-list article {
    grid-template-columns: 56px minmax(220px, 0.8fr) minmax(280px, 1.2fr);
    gap: 24px;
  }

  .process-list li,
  .process-list li + li {
    grid-template-columns: 120px minmax(220px, 0.85fr) minmax(260px, 1.15fr);
    gap: 24px;
  }

  .price-heading {
    gap: 30px;
    margin-bottom: 46px;
  }

  .price-range {
    min-width: 0;
    text-align: left;
  }

  .tariff-card {
    min-height: 0;
    padding: 30px 28px;
  }

  .tariff-head,
  .tariff-summary {
    min-height: 0;
  }

  .tariff-action {
    margin-top: 4px;
  }

  .footer-main {
    gap: 54px;
  }

  .footer-intro {
    max-width: 620px;
  }

  .mobile-sticky-cta {
    display: flex;
  }

  .cta-panel-editorial {
    align-items: start !important;
  }

  .cta-note {
    max-width: 220px;
  }

  .cta-action,
  .cta-editorial-action {
    width: 100%;
  }

  main:not(.home-page) > .hero {
    padding: 86px 0 72px;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .wordmark {
    font-size: 23px;
  }

  .hero-inner {
    padding-top: 70px;
  }

  .home-page .hero h1 {
    margin-bottom: 48px;
    font-size: clamp(51px, 14.4vw, 72px);
    line-height: 0.92;
  }

  .hero-intro {
    gap: 32px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 56px;
    padding-top: 0;
  }

  .hero-metrics > div,
  .hero-metrics > div + div {
    display: flex;
    padding: 18px 0;
    align-items: baseline;
    justify-content: space-between;
    gap: 22px;
  }

  .hero-metrics dd {
    max-width: 58%;
    text-align: right;
  }

  .audience-line {
    overflow: hidden;
  }

  .audience-line .shell {
    min-height: 76px;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .audience-line .shell::-webkit-scrollbar {
    display: none;
  }

  .home-page .section,
  .cta-section-editorial {
    padding-block: 82px !important;
  }

  .section-heading h2,
  .reasons-section > .shell > h2,
  .faq-layout > h2,
  .fit-grid > h2 {
    font-size: 50px;
  }

  .service-list article,
  .process-list li,
  .process-list li + li {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 0 31px;
  }

  .service-number,
  .process-time {
    margin-bottom: 5px;
  }

  .service-list h3,
  .process-list h3 {
    font-size: 29px;
  }

  .reasons-section > .shell > h2 {
    margin-bottom: 52px;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .checkpoint {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 26px 24px;
  }

  .project-copy h2,
  .price-heading h2,
  .cta-copy h2,
  .cta-panel .cta-copy h2 {
    font-size: 50px;
  }

  .tariff-price {
    font-size: 48px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .project-form {
    gap: 24px;
  }

  .project-form .button {
    width: 100%;
  }

  .faq-list summary {
    min-height: 84px;
    font-size: 18px;
  }

  .faq-list details > div {
    padding-right: 30px;
  }

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

  .footer-nav-group-contact {
    grid-column: 1 / -1;
    padding-top: 24px;
    border-top: 1px solid var(--line-dark);
  }

  .footer-legal {
    padding-block: 22px 90px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .footer-legal-links {
    margin-left: 0;
    justify-content: flex-start;
  }

  .modal-dialog {
    margin: 16px;
  }

  .modal-header,
  .modal-body {
    padding-right: 22px;
    padding-left: 22px;
  }
}

@media (max-width: 430px) {
  .shell {
    width: min(calc(100% - 24px), var(--shell));
  }

  .container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .header-inner {
    min-height: 66px;
  }

  .mobile-menu {
    inset: 67px 0 auto;
    height: calc(100dvh - 67px);
  }

  .hero-inner {
    padding-top: 58px;
  }

  .home-page .hero h1 {
    font-size: clamp(49px, 14.2vw, 62px);
  }

  .hero-intro > p {
    font-size: 18px;
  }

  .section-heading h2,
  .reasons-section > .shell > h2,
  .faq-layout > h2,
  .fit-grid > h2,
  .project-copy h2,
  .price-heading h2,
  .cta-copy h2,
  .cta-panel .cta-copy h2 {
    font-size: 44px;
  }

  .tariff-card {
    padding: 26px 20px 22px;
  }

  .tariff-price {
    font-size: 44px;
  }

  .field input,
  .field textarea,
  .field select {
    font-size: 18px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-nav-group-contact {
    grid-column: auto;
  }

  .mobile-sticky-cta {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
