:root {
  color-scheme: light;
  --ink: #102023;
  --muted: #637174;
  --line: #dfe7e4;
  --paper: #f7f8f3;
  --white: #ffffff;
  --forest: #0e2b2f;
  --teal: #0d7a75;
  --teal-dark: #075f5b;
  --mint: #d7f2e8;
  --amber: #e9a62a;
  --lime: #9fcf68;
  --shadow: 0 22px 60px rgba(16, 32, 35, 0.14);
  --max: 1180px;
}

:root[data-theme="night"] {
  color-scheme: dark;
  --ink: #e8f2f0;
  --muted: #a6b8b5;
  --line: #2b4245;
  --paper: #0b1416;
  --white: #122124;
  --forest: #071113;
  --teal: #4ec7bd;
  --teal-dark: #8de4dc;
  --mint: #183f3c;
  --amber: #efb94d;
  --lime: #a8d679;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 243, 0.92);
  border-bottom: 1px solid rgba(223, 231, 228, 0.84);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--forest);
  color: var(--mint);
  font-size: 13px;
  line-height: 1;
}

.brand-name {
  white-space: nowrap;
}

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

.nav-links a {
  padding: 8px 0;
}

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

.nav-cta {
  border: 1px solid var(--teal);
  border-radius: 8px;
  color: var(--teal-dark);
  padding: 9px 14px !important;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .nav {
    gap: 16px;
  }

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

  .nav-cta {
    padding: 8px 12px !important;
  }
}

.hero {
  position: relative;
  min-height: 80svh;
  display: flex;
  align-items: center;
  background: var(--forest);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 76% 34%, rgba(13, 122, 117, 0.3), rgba(13, 122, 117, 0) 30%),
    linear-gradient(90deg, rgba(8, 24, 27, 0.96) 0%, rgba(8, 24, 27, 0.88) 42%, rgba(8, 24, 27, 0.38) 74%, rgba(8, 24, 27, 0.16) 100%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  height: 120px;
  background: linear-gradient(180deg, rgba(247, 248, 243, 0), var(--paper));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 76px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(300px, 0.34fr);
  gap: 42px;
  align-items: center;
}

.hero-copy-column {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: var(--mint);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size: 60px;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: 38px;
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.button-primary {
  background: var(--amber);
  color: #161106;
  box-shadow: 0 12px 30px rgba(233, 166, 42, 0.22);
}

.button-primary:hover {
  background: #f0b744;
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 12px;
  max-width: 700px;
  margin: 36px 0 0;
}

.hero-metrics div {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  padding-top: 14px;
}

.hero-metrics dt {
  font-size: 22px;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.hero-live-panel {
  border: 1px solid rgba(215, 242, 232, 0.28);
  border-radius: 8px;
  padding: 18px;
  background: rgba(12, 34, 38, 0.64);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.live-panel-top,
.live-kpis {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.live-panel-top span,
.live-kpis small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.live-panel-top strong {
  color: var(--mint);
  font-size: 28px;
  line-height: 1;
}

.live-flow {
  margin: 22px 0;
  display: grid;
  grid-template-columns: 1fr 20px 1fr 20px 1fr;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
}

.live-flow i {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
}

.live-chat-line {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.live-chat-line span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--amber);
  color: #161106;
  font-size: 12px;
  font-weight: 900;
}

.live-chat-line p {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.live-kpis {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 14px;
}

.live-kpis strong {
  display: block;
  margin-top: 2px;
  font-size: 20px;
}

.proof-strip {
  width: min(var(--max), calc(100% - 40px));
  margin: -42px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}

.proof-item {
  background: var(--white);
  padding: 22px;
  display: grid;
  gap: 4px;
}

.proof-item strong {
  font-size: 16px;
}

.proof-item span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
  content-visibility: auto;
  contain-intrinsic-size: 760px;
}

.section-heading {
  margin-bottom: 34px;
}

.section-intro {
  padding-top: 108px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  color: #435256;
  font-size: 18px;
}

.audit-section {
  padding-top: 24px;
}

.audit-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: stretch;
  border: 1px solid rgba(13, 122, 117, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(243, 251, 247, 0.96)),
    radial-gradient(circle at 90% 10%, rgba(233, 166, 42, 0.22), rgba(233, 166, 42, 0) 32%);
  box-shadow: var(--shadow);
  padding: 30px;
}

.audit-copy {
  min-width: 0;
}

.audit-copy p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.audit-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.audit-scorecard {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 22px;
}

.scorecard-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.scorecard-header span {
  color: var(--muted);
}

.scorecard-header strong {
  color: var(--teal-dark);
}

.service-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card,
.price-card,
.dashboard-panel,
.chat-preview,
.faq-list details,
.lead-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(16, 32, 35, 0.06);
}

.service-card {
  min-height: 238px;
  padding: 24px;
}

.card-index {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--teal);
  font-weight: 900;
}

.service-card p,
.price-card p,
.ai-grid p {
  color: var(--muted);
}

.platform-note {
  margin-top: 14px;
  border-left: 4px solid var(--amber);
  padding: 12px 14px;
  background: #fff8e1;
  color: #3c3423;
  font-size: 14px;
  line-height: 1.55;
}

.platform-note strong {
  color: #1d2527;
}

.split-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 46px;
  align-items: start;
}

.dashboard-panel {
  padding: 24px;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.dashboard-header span {
  color: var(--muted);
}

.dashboard-header strong {
  color: var(--teal-dark);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.metric-row div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcf8;
}

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

.metric-row strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
}

.bar-chart {
  height: 176px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 10px;
  margin: 24px 0;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f4f8f2 0%, #edf4ee 100%);
  border: 1px solid var(--line);
}

.bar-chart span {
  display: block;
  min-height: 28px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--teal) 0%, var(--lime) 100%);
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #35464a;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 4px var(--mint);
}

.price-card {
  position: relative;
  padding: 26px;
}

.price-card.featured {
  border-color: rgba(13, 122, 117, 0.45);
  background: linear-gradient(180deg, #ffffff 0%, #f3fbf7 100%);
}

.badge {
  display: inline-block;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.price-note {
  min-height: 52px;
}

.package-price {
  margin: 4px 0 10px;
  color: var(--forest) !important;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 900;
}

.price-card ul {
  margin: 20px 0 24px;
  padding-left: 20px;
  color: #35464a;
}

.pricing-footnote {
  max-width: 820px;
  margin: 22px 0 0;
  color: var(--muted);
}

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

.roi-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
  align-items: start;
}

.roi-copy {
  color: #435256;
  font-size: 18px;
}

.roi-copy p {
  margin-bottom: 20px;
}

.roi-calculator {
  border: 1px solid rgba(13, 122, 117, 0.28);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 12px 32px rgba(16, 32, 35, 0.06);
}

.roi-calculator-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.roi-calculator-header span {
  color: var(--muted);
}

.roi-calculator-header strong {
  color: var(--teal-dark);
}

.roi-calculator label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  color: #35464a;
  font-weight: 700;
}

.roi-calculator input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fbfcf8;
  color: var(--ink);
}

.roi-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.roi-result div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4faf4;
  padding: 16px;
}

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

.roi-result strong {
  display: block;
  margin-top: 6px;
  color: var(--teal-dark);
  font-size: 24px;
  line-height: 1.15;
}

.roi-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.maintenance-section {
  padding-top: 42px;
}

.maintenance-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
  color: #435256;
  font-size: 18px;
}

.maintenance-scope {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.maintenance-scope article {
  border: 1px solid rgba(13, 122, 117, 0.2);
  border-radius: 8px;
  background: #fbfef9;
  padding: 20px;
}

.maintenance-scope h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.maintenance-scope ul {
  margin: 0;
  padding-left: 18px;
  color: #35464a;
  font-size: 14px;
}

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

.maintenance-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 22px;
  box-shadow: 0 12px 32px rgba(16, 32, 35, 0.06);
}

.maintenance-card.featured-maintenance {
  border-color: rgba(13, 122, 117, 0.45);
  background: linear-gradient(180deg, #ffffff 0%, #f3fbf7 100%);
}

.maintenance-card h3 {
  font-size: 24px;
}

.maintenance-card p {
  color: var(--muted);
  min-height: 72px;
}

.maintenance-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #35464a;
}

.maintenance-note {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
  margin-top: 18px;
  border: 1px solid rgba(233, 166, 42, 0.38);
  border-radius: 8px;
  background: #fffaf0;
  padding: 20px;
  color: #4e3d14;
}

.maintenance-note strong {
  display: block;
  margin-bottom: 6px;
  color: #2b210b;
}

.maintenance-note p {
  margin: 0;
}

.maintenance-exclusions {
  margin: 0;
  padding-left: 18px;
}

.text-link {
  color: var(--teal-dark);
  font-weight: 900;
}

.text-link::after {
  content: " ->";
}

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

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.chat-preview {
  max-width: 760px;
  padding: 24px;
  display: grid;
  gap: 12px;
  background: #fdfefb;
}

.preview-bubble {
  max-width: 620px;
  border-radius: 8px;
  padding: 13px 15px;
}

.preview-bubble.assistant {
  background: var(--mint);
  color: #16373a;
}

.preview-bubble.user {
  justify-self: end;
  background: var(--forest);
  color: var(--white);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-section {
  padding-bottom: 110px;
}

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

.bot-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: #334346;
  font-weight: 800;
}

.lead-form .full {
  grid-column: 1 / -1;
}

.lead-form input,
.lead-form select,
.lead-form textarea,
.chat-form input {
  width: 100%;
  border: 1px solid #cfd9d5;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus,
.chat-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 122, 117, 0.14);
}

.lead-form button {
  justify-self: start;
}

.lead-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  align-self: center;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.contact-safe-notice {
  border: 1px solid rgba(13, 122, 117, 0.24);
  border-radius: 10px;
  background: var(--surface);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--shadow-soft);
}

.contact-safe-notice p {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-safe-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.chat-widget[hidden] {
  display: none !important;
}

.chat-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
}

.chat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  background: var(--forest);
  color: var(--white);
  padding: 11px 15px;
  cursor: pointer;
  box-shadow: var(--shadow);
  font-weight: 900;
}

.chat-toggle[aria-expanded="true"] {
  display: none;
}

.chat-toggle-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--amber);
  color: #161106;
  font-size: 12px;
}

.chat-panel {
  width: 380px;
  height: 560px;
  max-height: calc(100svh - 100px);
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  overflow: hidden;
  border: 1px solid #cfd9d5;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.chat-panel[hidden] {
  display: none;
}

.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: var(--forest);
  color: var(--white);
}

.chat-panel-header div {
  display: grid;
  gap: 2px;
}

.chat-panel-header span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.icon-button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.chat-messages {
  overflow-y: auto;
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 10px;
  background: #f7faf6;
}

.chat-message {
  max-width: 86%;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  white-space: pre-line;
}

.chat-message.assistant {
  justify-self: start;
  background: var(--white);
  border: 1px solid var(--line);
}

.chat-message.user {
  justify-self: end;
  background: var(--teal-dark);
  color: var(--white);
}

.quick-actions {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

.quick-actions button {
  flex: 0 0 auto;
  border: 1px solid #cfd9d5;
  border-radius: 999px;
  background: var(--white);
  padding: 7px 10px;
  color: var(--teal-dark);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.chat-form button {
  border: 0;
  border-radius: 8px;
  background: var(--amber);
  color: #161106;
  padding: 0 13px;
  cursor: pointer;
  font-weight: 900;
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.site-footer div {
  display: grid;
  gap: 2px;
}

.site-footer strong,
.site-footer a {
  color: var(--ink);
  font-weight: 900;
}

.site-footer a {
  white-space: nowrap;
}

:root[data-theme="night"] .site-header {
  background: rgba(11, 20, 22, 0.92);
  border-bottom-color: rgba(43, 66, 69, 0.86);
}

:root[data-theme="night"] .nav-links,
:root[data-theme="night"] .intro-grid,
:root[data-theme="night"] .maintenance-intro,
:root[data-theme="night"] .roi-copy,
:root[data-theme="night"] .roi-calculator label,
:root[data-theme="night"] .check-list li,
:root[data-theme="night"] .price-card ul,
:root[data-theme="night"] .maintenance-scope ul,
:root[data-theme="night"] .maintenance-card ul,
:root[data-theme="night"] .lead-form label {
  color: #c7d6d3;
}

:root[data-theme="night"] .hero-overlay {
  background: linear-gradient(180deg, rgba(11, 20, 22, 0), var(--paper));
}

:root[data-theme="night"] .button-primary,
:root[data-theme="night"] .live-chat-line span,
:root[data-theme="night"] .chat-form button,
:root[data-theme="night"] .chat-toggle-icon {
  color: #161106;
}

:root[data-theme="night"] .audit-panel {
  background:
    linear-gradient(135deg, rgba(18, 33, 36, 0.97), rgba(13, 28, 31, 0.97)),
    radial-gradient(circle at 90% 10%, rgba(239, 185, 77, 0.16), rgba(239, 185, 77, 0) 34%);
}

:root[data-theme="night"] .platform-note {
  background: #241f12;
  color: #f2dca6;
}

:root[data-theme="night"] .platform-note strong,
:root[data-theme="night"] .maintenance-note strong {
  color: #ffe7ad;
}

:root[data-theme="night"] .package-price {
  color: #e8f2f0 !important;
}

:root[data-theme="night"] .metric-row div,
:root[data-theme="night"] .maintenance-scope article,
:root[data-theme="night"] .roi-calculator,
:root[data-theme="night"] .roi-result div,
:root[data-theme="night"] .chat-preview,
:root[data-theme="night"] .chat-messages {
  background: #101d20;
}

:root[data-theme="night"] .bar-chart {
  background: linear-gradient(180deg, #102024 0%, #0d1a1d 100%);
}

:root[data-theme="night"] .price-card.featured,
:root[data-theme="night"] .maintenance-card.featured-maintenance {
  background: linear-gradient(180deg, #15282b 0%, #102120 100%);
}

:root[data-theme="night"] .badge,
:root[data-theme="night"] .preview-bubble.assistant {
  color: #d9fff8;
}

:root[data-theme="night"] .preview-bubble.user {
  background: #1f4c49;
}

:root[data-theme="night"] .maintenance-note {
  background: #211a0e;
  color: #f1dba7;
}

:root[data-theme="night"] .lead-form input,
:root[data-theme="night"] .lead-form select,
:root[data-theme="night"] .lead-form textarea,
:root[data-theme="night"] .roi-calculator input,
:root[data-theme="night"] .chat-form input,
:root[data-theme="night"] .quick-actions button,
:root[data-theme="night"] .chat-panel {
  border-color: #30484b;
}

:root[data-theme="night"] .lead-form input,
:root[data-theme="night"] .lead-form select,
:root[data-theme="night"] .lead-form textarea,
:root[data-theme="night"] .roi-calculator input,
:root[data-theme="night"] .chat-form input,
:root[data-theme="night"] .quick-actions button {
  background: #0f1d20;
  color: var(--ink);
}

:root[data-theme="night"] .chat-message.assistant {
  background: #17282b;
}

:root[data-theme="night"] .site-footer strong,
:root[data-theme="night"] .site-footer a {
  color: var(--ink);
}

@media (max-width: 980px) {
  .nav {
    height: 68px;
    padding: 0;
    align-items: center;
  }

  .nav-links {
    margin-left: auto;
    justify-content: flex-end;
    gap: 0;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    max-width: 780px;
  }

  .hero-live-panel {
    display: none;
  }

  .proof-strip,
  .service-grid,
  .pricing-grid,
  .roi-grid,
  .intro-grid,
  .audit-panel,
  .maintenance-intro,
  .maintenance-scope,
  .maintenance-grid,
  .maintenance-note,
  .split-section,
  .ai-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    margin-top: -20px;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(var(--max), calc(100% - 28px));
  }

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

  .nav-cta {
    padding: 7px 10px !important;
  }

  .hero {
    min-height: 72svh;
  }

  .hero::before {
    background:
      radial-gradient(circle at 70% 34%, rgba(13, 122, 117, 0.24), rgba(13, 122, 117, 0) 34%),
      linear-gradient(180deg, rgba(8, 24, 27, 0.96) 0%, rgba(8, 24, 27, 0.86) 58%, rgba(8, 24, 27, 0.52) 100%);
  }

  .hero-media img {
    object-position: 60% center;
  }

  .hero-content,
  .section,
  .proof-strip,
  .site-footer {
    width: calc(100% - 28px);
  }

  .hero-content {
    padding: 34px 0 58px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  h2 {
    font-size: 28px;
  }

  .hero-copy {
    margin-bottom: 22px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 22px;
  }

  .hero-metrics div {
    padding-top: 10px;
  }

  .hero-metrics dt {
    font-size: 18px;
  }

  .hero-metrics dd {
    font-size: 12px;
  }

  .section {
    padding: 64px 0;
  }

  .section-intro {
    padding-top: 84px;
  }

  .audit-section {
    padding-top: 0;
  }

  .audit-panel {
    padding: 20px;
  }

  .audit-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .maintenance-section {
    padding-top: 30px;
  }

  .maintenance-intro {
    font-size: 16px;
  }

  .maintenance-card p {
    min-height: auto;
  }

  .roi-result {
    grid-template-columns: 1fr;
  }

  .maintenance-note {
    grid-template-columns: 1fr;
  }

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

  .chat-widget {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .chat-panel {
    width: 100%;
    height: min(560px, calc(100svh - 24px));
  }

  .chat-toggle {
    margin-left: auto;
  }

  .site-footer {
    display: grid;
  }
}

/* Homepage repositioning: static, privacy-safe service presentation. */
.home-repositioned {
  overflow-x: hidden;
}

.home-repositioned .mobile-nav {
  display: none;
}

.homepage-hero {
  min-height: min(760px, calc(100svh - 28px));
}

.homepage-hero::before {
  background:
    radial-gradient(circle at 78% 30%, rgba(78, 199, 189, 0.24), rgba(78, 199, 189, 0) 27%),
    linear-gradient(90deg, rgba(7, 19, 22, 0.98) 0%, rgba(7, 25, 28, 0.94) 47%, rgba(7, 25, 28, 0.62) 76%, rgba(7, 25, 28, 0.38) 100%);
}

.homepage-hero .hero-layout {
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, 0.78fr);
  gap: clamp(38px, 4.5vw, 68px);
}

.homepage-hero h1 {
  max-width: 850px;
  margin-bottom: 30px;
  color: #f6fbfa;
  font-size: clamp(44px, 3.5vw, 52px);
  line-height: 1.01;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.homepage-hero .hero-title-line {
  display: block;
}

.homepage-hero .hero-copy {
  max-width: 730px;
  margin-bottom: 36px;
  color: rgba(246, 251, 250, 0.84);
  text-wrap: pretty;
}

.homepage-hero .button-secondary {
  color: #f6fbfa;
}

.section-assurance {
  max-width: 920px;
  margin: 0 0 34px;
  padding-left: 16px;
  border-left: 2px solid var(--amber);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.service-overview {
  border: 1px solid rgba(215, 242, 232, 0.25);
  border-radius: 18px;
  padding: 28px;
  background: rgba(8, 28, 31, 0.72);
  color: #f6fbfa;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.service-overview-label {
  margin-bottom: 20px;
  color: rgba(246, 251, 250, 0.6);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-overview-list {
  display: grid;
}

.service-overview article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 15px;
  padding: 20px 0;
  border-top: 1px solid rgba(215, 242, 232, 0.15);
}

.service-overview article > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(233, 166, 42, 0.55);
  border-radius: 10px;
  color: #ffd986;
  font-size: 11px;
  font-weight: 900;
}

.service-overview h2 {
  margin: 0 0 4px;
  color: #f6fbfa;
  font-size: 17px;
  line-height: 1.25;
}

.service-overview p {
  margin: 0;
  color: rgba(246, 251, 250, 0.68);
  font-size: 13px;
  line-height: 1.5;
}

.home-repositioned section[id] {
  scroll-margin-top: 92px;
}

.section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 42px;
  align-items: end;
}

.section-heading-split > p,
.section-lead {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.solution-card {
  min-height: 270px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
  box-shadow: 0 16px 48px rgba(16, 32, 35, 0.07);
}

.solution-card:nth-child(2),
.solution-card:nth-child(3) {
  background: linear-gradient(145deg, var(--white), rgba(215, 242, 232, 0.38));
}

.solution-card .card-index {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.solution-card h3 {
  max-width: 430px;
  margin-top: 42px;
  font-size: clamp(23px, 2.5vw, 31px);
}

.solution-card p {
  max-width: 570px;
  margin-bottom: 0;
  color: var(--muted);
}

.problem-section {
  width: 100%;
  max-width: none;
  padding: 92px max(20px, calc((100% - var(--max)) / 2));
  background: var(--forest);
  color: #f6fbfa;
}

.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}

.problem-copy h2 {
  color: #f6fbfa;
}

.problem-copy > p:last-child {
  max-width: 720px;
  margin-top: 26px;
  margin-bottom: 0;
  color: rgba(246, 251, 250, 0.72);
  font-size: 18px;
}

.question-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.question-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 19px 0;
  border-top: 1px solid rgba(246, 251, 250, 0.16);
  color: rgba(246, 251, 250, 0.9);
  font-size: 17px;
  font-weight: 750;
}

.question-list li:last-child {
  border-bottom: 1px solid rgba(246, 251, 250, 0.16);
}

.question-list span {
  color: #ffd986;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.audience-section .section-heading {
  max-width: 820px;
}

.audience-section .section-lead {
  margin-top: 22px;
}

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

.audience-grid article {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 3px solid var(--teal);
  border-radius: 0 0 14px 14px;
  padding: 22px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(16, 32, 35, 0.06);
}

.audience-grid span {
  color: var(--teal-dark);
  font-size: 22px;
}

.audience-grid p {
  margin: 32px 0 0;
  font-weight: 750;
  line-height: 1.45;
}

.process-section {
  padding-top: 40px;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 12.5%;
  left: 12.5%;
  height: 1px;
  background: var(--line);
}

.process-grid li {
  position: relative;
  padding: 0 24px 0 0;
}

.process-grid li > span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  background: var(--paper);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
}

.process-grid h3 {
  font-size: 19px;
}

.process-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.trust-section {
  padding-top: 42px;
}

.trust-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 46px;
  align-items: center;
  border: 1px solid rgba(13, 122, 117, 0.24);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 58px);
  background:
    linear-gradient(135deg, var(--white), rgba(215, 242, 232, 0.46)),
    var(--white);
  box-shadow: var(--shadow);
}

.trust-panel > div > p:last-child {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
}

.trust-panel blockquote {
  margin: 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--amber);
  color: var(--ink);
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 800;
  line-height: 1.45;
}

.contact-section {
  width: 100%;
  max-width: none;
  padding: 88px max(20px, calc((100% - var(--max)) / 2));
  background: transparent;
}

.closing-cta {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: clamp(30px, 6vw, 70px);
  background: var(--forest);
  color: #f6fbfa;
  box-shadow: var(--shadow);
}

.closing-cta::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(78, 199, 189, 0.13);
  pointer-events: none;
}

.closing-cta h2,
.closing-cta > p,
.closing-actions,
.closing-cta noscript {
  position: relative;
  z-index: 1;
}

.closing-cta h2 {
  max-width: 900px;
  color: #f6fbfa;
}

.closing-cta > p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 28px;
  color: rgba(246, 251, 250, 0.72);
  font-size: 18px;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.closing-actions span {
  color: rgba(246, 251, 250, 0.64);
  font-size: 14px;
}

:root[data-theme="night"] .solution-card:nth-child(2),
:root[data-theme="night"] .solution-card:nth-child(3),
:root[data-theme="night"] .trust-panel {
  background: linear-gradient(145deg, #122124, #132c2c);
}

:root[data-theme="night"] .process-grid li > span {
  background: var(--paper);
}

@media (max-width: 1080px) {
  .home-repositioned .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  .homepage-hero .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.72fr);
  }

  .homepage-hero h1 {
    font-size: clamp(42px, 5.2vw, 58px);
  }

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

@media (max-width: 980px) {
  .home-repositioned .nav-links a:not(.nav-cta) {
    display: inline-flex;
  }

  .homepage-hero {
    min-height: auto;
  }

  .homepage-hero .hero-layout,
  .problem-layout,
  .trust-panel {
    grid-template-columns: 1fr;
  }

  .homepage-hero .hero-content {
    padding-top: 70px;
  }

  .service-overview {
    max-width: 760px;
  }

  .service-overview-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
  }

  .section-heading-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
  }

  .process-grid::before {
    display: none;
  }
}

@media (max-width: 820px) {
  .home-repositioned .nav-links {
    display: none;
  }

  .home-repositioned .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav summary {
    border: 1px solid var(--teal);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--teal-dark);
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav > div {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    display: grid;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .mobile-nav a {
    border-radius: 8px;
    padding: 10px 12px;
    font-weight: 700;
  }

  .mobile-nav a:hover,
  .mobile-nav a:focus-visible {
    background: var(--mint);
  }
}

@media (max-width: 640px) {
  .homepage-hero::before {
    background:
      radial-gradient(circle at 72% 24%, rgba(78, 199, 189, 0.2), rgba(78, 199, 189, 0) 32%),
      linear-gradient(180deg, rgba(7, 19, 22, 0.97) 0%, rgba(7, 25, 28, 0.91) 70%, rgba(7, 25, 28, 0.7) 100%);
  }

  .homepage-hero .hero-content {
    padding: 38px 0 50px;
  }

  .homepage-hero h1 {
    margin-bottom: 26px;
    font-size: clamp(32px, 9vw, 39px);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .homepage-hero .hero-copy {
    margin-bottom: 30px;
  }

  .homepage-hero .hero-actions {
    display: grid;
  }

  .service-overview {
    display: none;
  }

  .solution-grid,
  .audience-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: 0;
    padding: 24px;
  }

  .solution-card h3 {
    margin-top: 28px;
  }

  .problem-section,
  .contact-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .problem-copy > p:last-child,
  .section-heading-split > p,
  .section-lead,
  .closing-cta > p:not(.eyebrow) {
    font-size: 16px;
  }

  .audience-grid article {
    min-height: 160px;
  }

  .process-grid {
    gap: 30px;
  }

  .process-grid li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 16px;
    padding: 0;
  }

  .process-grid li > span {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .process-grid h3 {
    margin-bottom: 5px;
  }

  .trust-panel,
  .closing-cta {
    border-radius: 16px;
  }

  .trust-panel blockquote {
    padding-left: 18px;
  }

  .closing-actions {
    align-items: stretch;
  }

  .closing-actions span {
    text-align: center;
  }
}
