:root {
  --ink: #111312;
  --muted: #59615d;
  --paper: #f7f5ef;
  --paper-2: #eeebe2;
  --line: rgba(17, 19, 18, 0.14);
  --accent: #2f6f5f;
  --accent-dark: #214f45;
  --sky: #b8d8e6;
  --lime: #d7e8b0;
  --white: #fffaf0;
  --header-h: 72px;
  --glow-color: #2f6f5f;
  --glow-intensity: 0.42;
  --xray-opacity: 0.88;
  --mosaic-size: 18px;
  --glow-border: 1px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  overflow-x: clip;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fbfaf5 0%, var(--paper) 42%, #f1eee5 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 245, 239, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.header-cta {
  display: inline-flex;
  align-items: center;
}

.brand {
  justify-self: start;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  font-size: 12px;
}

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

.header-cta {
  justify-self: end;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid currentColor;
  font-size: 14px;
  font-weight: 650;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  z-index: -2;
  filter: saturate(0.72) contrast(0.92);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 16, 14, 0.84) 0%, rgba(13, 16, 14, 0.64) 42%, rgba(13, 16, 14, 0.24) 100%),
    linear-gradient(0deg, rgba(13, 16, 14, 0.48), rgba(247, 245, 239, 0.08) 48%);
}

.hero-shell {
  width: min(1360px, calc(100% - clamp(32px, 8vw, 112px)));
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
  margin: 0 auto;
  padding-top: var(--header-h);
}

.hero-content {
  min-width: 0;
  width: auto;
  margin: 0;
  padding-top: 0;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #c8e3d7;
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 24px;
  font-size: clamp(58px, 8vw, 112px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 5.2vw, 78px);
  line-height: 0.94;
}

h2 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5.6vw, 74px);
  line-height: 0.95;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 540px;
  margin-bottom: 16px;
  font-size: clamp(18px, 1.7vw, 23px);
}

.hero-note {
  max-width: 560px;
  margin-bottom: 34px;
  color: rgba(255, 250, 240, 0.78);
  font-size: 17px;
}

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 520px;
}

.xray-card {
  position: relative;
  height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.16), rgba(255, 250, 240, 0.06)),
    rgba(13, 16, 14, 0.54);
  box-shadow: 0 32px 120px rgba(7, 11, 9, 0.42);
  backdrop-filter: blur(18px);
}

.xray-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 250, 240, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 240, 0.07) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.5;
  pointer-events: none;
}

.xray-toolbar,
.xray-footer {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  padding: 18px 20px;
}

.xray-toolbar {
  gap: 8px;
  border-bottom: 1px solid rgba(255, 250, 240, 0.12);
}

.xray-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.36);
}

.xray-toolbar b {
  margin-left: auto;
  color: rgba(255, 250, 240, 0.58);
  font-size: 12px;
  text-transform: uppercase;
}

.xray-stage {
  position: relative;
  height: 394px;
}

.chaos-layer,
.scan-layer {
  position: absolute;
  inset: 0;
}

.message {
  position: absolute;
  max-width: 220px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 250, 240, 0.12);
  border-radius: 8px;
  color: rgba(255, 250, 240, 0.86);
  background: rgba(255, 250, 240, 0.08);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  transition: opacity 380ms ease, transform 380ms ease, filter 380ms ease;
}

.message-a { top: 34px; left: 36px; }
.message-b { top: 102px; right: 58px; }
.message-c { top: 182px; left: 92px; }
.message-d { bottom: 80px; right: 92px; }
.message-e { bottom: 38px; left: 42px; }

.scan-layer {
  opacity: 0;
  transition: opacity 420ms ease;
}

.scan-line {
  position: absolute;
  inset: 0 auto 0 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(184, 216, 230, 0.9), transparent);
  box-shadow: 0 0 calc(44px * var(--glow-intensity)) rgba(184, 216, 230, 0.8);
  animation: scanMove 4.8s ease-in-out infinite;
}

.ai-node,
.tag,
.knowledge-card {
  position: absolute;
  border: 1px solid rgba(184, 216, 230, 0.42);
  border-radius: 8px;
  color: var(--white);
  background: rgba(47, 111, 95, 0.26);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 calc(56px * var(--glow-intensity)) rgba(47, 111, 95, 0.32);
}

.ai-node {
  top: 136px;
  left: 50%;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  font-weight: 900;
}

.tag {
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 800;
}

.tag-price { top: 56px; left: 84px; }
.tag-time { top: 122px; right: 96px; }
.tag-book { bottom: 112px; right: 62px; }
.tag-human { bottom: 62px; left: 86px; }

.knowledge-card {
  right: 34px;
  bottom: 24px;
  width: min(260px, 42%);
  padding: 16px;
}

.knowledge-card span {
  color: #d7e8b0;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.knowledge-card p {
  margin: 8px 0 0;
  color: rgba(255, 250, 240, 0.76);
  font-size: 14px;
}

.xray-card:hover .chaos-layer .message {
  opacity: 0.32;
  filter: blur(1px);
  transform: translateY(-4px);
}

.xray-card:hover .scan-layer {
  opacity: var(--xray-opacity);
}

.xray-footer {
  justify-content: space-between;
  border-top: 1px solid rgba(255, 250, 240, 0.12);
  color: rgba(255, 250, 240, 0.6);
  font-size: 13px;
}

.xray-footer strong {
  color: #d7e8b0;
}

@keyframes scanMove {
  0%, 100% { transform: translateX(0); opacity: 0.35; }
  50% { transform: translateX(260px); opacity: 1; }
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border: 1px solid currentColor;
}

.strip {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.strip-inner {
  display: flex;
  gap: 34px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px clamp(20px, 4vw, 56px);
  overflow-x: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.section {
  padding: clamp(60px, 7vw, 104px) clamp(20px, 5vw, 72px);
}

.section-lead {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.6fr);
  gap: clamp(32px, 7vw, 96px);
  max-width: 1240px;
  margin: 0 auto 44px;
  align-items: end;
}

.section-lead.compact {
  display: block;
  margin-bottom: 30px;
}

.section-lead.compact p:not(.eyebrow) {
  max-width: 720px;
}

.result-section .section-lead {
  display: block;
  margin-bottom: 38px;
}

.result-section .section-lead h2 {
  max-width: 720px;
  font-size: clamp(36px, 4.8vw, 64px);
}

.result-section .section-lead p:not(.eyebrow) {
  max-width: 680px;
}

.section-lead p:not(.eyebrow),
.pricing-copy p,
.contact-panel p {
  color: var(--muted);
  font-size: 20px;
}

.narrow {
  display: block;
  margin-bottom: 34px;
}

.geo-section {
  padding-bottom: clamp(42px, 5vw, 72px);
}

.geo-grid,
.faq-list {
  display: grid;
  max-width: 1240px;
  margin: 0 auto;
}

.geo-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 14px;
}

.geo-grid article {
  position: relative;
  overflow: hidden;
  min-height: 108px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 750;
  line-height: 1.2;
  box-shadow: 0 16px 48px rgba(17, 19, 18, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.geo-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(47, 111, 95, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(47, 111, 95, 0.12) 1px, transparent 1px);
  background-size: var(--mosaic-size) var(--mosaic-size);
  opacity: 0;
  transition: opacity 180ms ease, background-size 180ms ease;
}

.geo-grid article::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 46px;
  height: 46px;
  background:
    linear-gradient(90deg, rgba(184, 216, 230, 0.45) 50%, transparent 50%),
    linear-gradient(rgba(215, 232, 176, 0.45) 50%, transparent 50%);
  background-size: 12px 12px;
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.geo-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 111, 95, 0.32);
  box-shadow: 0 22px 70px rgba(47, 111, 95, 0.12);
}

.geo-grid article:hover::before,
.geo-grid article:hover::after {
  opacity: 1;
}

.geo-grid article:hover::after {
  transform: translate(-2px, -2px);
}

.problems-section {
  padding-bottom: clamp(42px, 5vw, 72px);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 14px;
  max-width: 1240px;
  margin: 0 auto;
}

.problem-grid article {
  min-height: 166px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.problem-grid h3,
.trust-list h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.15;
}

.problem-grid p,
.trust-list p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.result-section {
  padding-top: clamp(42px, 5vw, 72px);
}

.result-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 7vw, 96px);
  max-width: 1240px;
  margin: 0 auto;
  align-items: center;
}

.result-list ul {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.result-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
}

.result-list span,
.timeline span,
.price-table span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.mockup {
  background: #161917;
  color: #eef4ee;
  padding: clamp(20px, 4vw, 38px);
  border: var(--glow-border) solid rgba(184, 216, 230, 0.18);
  border-radius: 8px;
  box-shadow:
    0 22px 80px rgba(17, 19, 18, 0.18),
    0 0 calc(64px * var(--glow-intensity)) color-mix(in srgb, var(--glow-color) 28%, transparent);
}

.mockup-top {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.mockup-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6b756f;
}

.mockup-row {
  display: grid;
  grid-template-columns: 0.75fr 1.35fr 0.9fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(238, 244, 238, 0.14);
  color: rgba(238, 244, 238, 0.78);
}

.mockup-row.strong {
  color: #ffffff;
}

.before-after-section {
  padding-top: clamp(42px, 5vw, 72px);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  max-width: 1240px;
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.compare-grid article {
  padding: clamp(28px, 4vw, 46px);
  background: var(--paper);
}

.compare-grid .after {
  background: #e6ede7;
}

.compare-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.compare-grid h3 {
  margin: 22px 0 8px;
  font-size: 16px;
  color: var(--muted);
}

.compare-grid p,
.compare-grid blockquote {
  margin: 0;
  font-size: 21px;
}

.compare-grid blockquote {
  padding-left: 20px;
  border-left: 3px solid var(--accent);
  color: var(--ink);
}

.compare-note {
  max-width: 920px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 22px;
}

.flow-section {
  padding-top: clamp(42px, 5vw, 72px);
}

.ai-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 14px;
  max-width: 1240px;
  margin: 0 auto;
}

.ai-flow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 8%;
  right: 8%;
  height: var(--glow-border);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--glow-color) 62%, transparent), transparent);
  box-shadow: 0 0 calc(42px * var(--glow-intensity)) color-mix(in srgb, var(--glow-color) 58%, transparent);
  opacity: 0.55;
}

.ai-flow article {
  position: relative;
  min-height: 210px;
  padding: 26px;
  border: var(--glow-border) solid rgba(47, 111, 95, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.66);
  box-shadow: 0 18px 70px rgba(17, 19, 18, 0.06);
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ai-flow article:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--glow-color) 55%, transparent);
  box-shadow:
    0 24px 90px rgba(17, 19, 18, 0.08),
    0 0 calc(64px * var(--glow-intensity)) color-mix(in srgb, var(--glow-color) 24%, transparent);
}

.ai-flow span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.ai-flow p {
  color: var(--muted);
}

.process-section {
  background: #111312;
  color: var(--white);
}

.process-section .eyebrow {
  color: #b5d7c8;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 1px;
  max-width: 1240px;
  margin: 0 auto;
  background: rgba(255, 250, 240, 0.15);
}

.timeline article {
  min-height: 224px;
  padding: 24px;
  background: #111312;
}

.timeline p {
  color: rgba(255, 250, 240, 0.7);
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  max-width: 1240px;
  margin: 0 auto;
}

.fit-grid div {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.fit-grid ul,
.pricing-cards ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.fit-grid li,
.pricing-cards li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 18px;
}

.fit-section {
  padding-bottom: clamp(42px, 5vw, 68px);
}

.fit-grid li::before,
.pricing-cards li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.pricing-section {
  max-width: 1384px;
  margin: 0 auto;
  padding-top: clamp(42px, 5vw, 68px);
}

.pricing-copy {
  max-width: 760px;
  margin-bottom: 34px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.pricing-cards article {
  position: relative;
  display: flex;
  min-height: 468px;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 64px rgba(17, 19, 18, 0.04);
}

.pricing-cards article.featured {
  border-color: rgba(47, 111, 95, 0.34);
  background:
    linear-gradient(180deg, rgba(230, 237, 231, 0.92), rgba(255, 250, 240, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(47, 111, 95, 0.32),
    0 24px 90px rgba(47, 111, 95, 0.1);
}

.pricing-cards article.pilot {
  background:
    linear-gradient(180deg, rgba(215, 232, 176, 0.34), rgba(255, 250, 240, 0.96));
}

.pricing-cards article.main-plan {
  background:
    linear-gradient(180deg, rgba(230, 237, 231, 0.98), rgba(255, 250, 240, 0.96));
}

.pricing-cards em {
  align-self: flex-start;
  padding: 6px 9px;
  color: var(--white);
  background: var(--accent);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.pricing-cards span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.pricing-cards strong {
  display: block;
  max-width: 100%;
  font-size: clamp(27px, 2vw, 34px);
  line-height: 1;
  white-space: nowrap;
}

.pricing-cards .featured strong {
  color: var(--accent);
}

.pricing-cards .price-summary {
  margin: -4px 0 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.pricing-cards .price-note,
.pricing-cards .term {
  margin: -8px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.pricing-cards .price-note {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  color: var(--accent-dark);
  background: rgba(47, 111, 95, 0.12);
  font-size: 14px;
}

.pricing-cards .button {
  width: 100%;
  margin-top: auto;
  text-align: center;
}

.trust-section {
  padding-top: clamp(42px, 5vw, 72px);
  padding-bottom: clamp(38px, 4.5vw, 64px);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 14px;
  max-width: 1240px;
  margin: 0 auto;
}

.trust-list article {
  min-height: 152px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.faq-section {
  padding-top: clamp(42px, 5vw, 72px);
}

.faq-list {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 14px;
}

.faq-list article {
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.faq-list h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.15;
}

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

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

.contact-panel {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 82px);
  color: var(--white);
  background: #1e2723;
}

.contact-panel .eyebrow {
  color: #b5d7c8;
}

.contact-panel p {
  max-width: 680px;
  color: rgba(255, 250, 240, 0.76);
}

.contact-panel small {
  display: block;
  margin-top: 22px;
  color: rgba(255, 250, 240, 0.55);
}

.can-reveal [data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 600ms ease, transform 600ms ease;
}

.can-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: grid;
  justify-items: end;
  gap: 12px;
  font-family: inherit;
}

.chat-toggle {
  min-height: 68px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(255, 250, 240, 0.46);
  border-radius: 999px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(47, 111, 95, 0.96), rgba(33, 79, 69, 0.88)),
    rgba(255, 250, 240, 0.12);
  box-shadow:
    0 18px 54px rgba(17, 19, 18, 0.26),
    0 0 44px rgba(47, 111, 95, 0.2);
  backdrop-filter: blur(18px);
  cursor: pointer;
  font: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.chat-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 232, 176, 0.7);
  box-shadow:
    0 22px 70px rgba(17, 19, 18, 0.3),
    0 0 64px rgba(47, 111, 95, 0.32);
}

.chat-orb,
.chat-header-orb {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--accent-dark);
  background:
    radial-gradient(circle at 30% 20%, #ffffff, #d7e8b0 44%, #b8d8e6 100%);
  font-weight: 900;
  letter-spacing: 0;
}

.chat-orb {
  width: 48px;
  height: 48px;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.72);
}

.chat-toggle-text {
  display: grid;
  gap: 2px;
  text-align: left;
}

.chat-toggle-text strong,
.chat-toggle-text small {
  display: block;
}

.chat-toggle-text strong {
  font-size: 15px;
  line-height: 1;
}

.chat-toggle-text small {
  color: rgba(255, 250, 240, 0.72);
  font-size: 12px;
  font-weight: 650;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(420px, calc(100vw - 32px));
  height: min(640px, calc(100svh - 116px));
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  overflow: hidden;
  border: 1px solid rgba(17, 19, 18, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(247, 245, 239, 0.92)),
    var(--paper);
  box-shadow:
    0 28px 110px rgba(17, 19, 18, 0.28),
    0 0 0 1px rgba(255, 250, 240, 0.38) inset;
  backdrop-filter: blur(22px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 180ms ease, transform 180ms ease;
}

.chat-panel:not(.is-open) {
  display: none;
}

.chat-panel.is-open {
  display: grid;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chat-panel > * {
  min-width: 0;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  color: var(--white);
  background:
    linear-gradient(135deg, #1e2723, #2f6f5f 120%),
    #1e2723;
}

.chat-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.chat-header-orb {
  width: 42px;
  height: 42px;
  font-size: 13px;
}

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

.chat-title strong {
  margin-bottom: 4px;
  font-size: 18px;
  line-height: 1.1;
}

.chat-title span {
  color: rgba(255, 250, 240, 0.68);
  font-size: 14px;
  line-height: 1.35;
}

.chat-title small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  color: rgba(215, 232, 176, 0.86);
  font-size: 12px;
  font-weight: 750;
}

.chat-title i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d7e8b0;
  box-shadow: 0 0 16px rgba(215, 232, 176, 0.75);
}

.chat-close {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 250, 240, 0.08);
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.chat-close:hover {
  transform: translateY(-1px);
  background: rgba(255, 250, 240, 0.16);
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 18px;
  background:
    linear-gradient(rgba(47, 111, 95, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 111, 95, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

.chat-message {
  max-width: 88%;
  padding: 13px 15px;
  border: 1px solid rgba(17, 19, 18, 0.08);
  border-radius: 18px 18px 18px 6px;
  font-size: 15px;
  line-height: 1.42;
  white-space: pre-wrap;
  animation: chatMessageIn 180ms ease both;
}

.chat-message.bot {
  align-self: flex-start;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(17, 19, 18, 0.04);
}

.chat-message.user {
  align-self: flex-end;
  border-radius: 18px 18px 6px 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-color: var(--accent);
  box-shadow: 0 12px 34px rgba(47, 111, 95, 0.2);
}

.chat-message.error {
  border-color: rgba(47, 111, 95, 0.38);
}

.chat-message-label {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  padding: 10px 12px;
  border: 1px solid rgba(17, 19, 18, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 14px;
}

.chat-typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: typingDot 900ms ease-in-out infinite;
}

.chat-typing i:nth-child(3) {
  animation-delay: 120ms;
}

.chat-typing i:nth-child(4) {
  animation-delay: 240ms;
}

.chat-quick-actions {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  padding: 0 18px 14px;
  scrollbar-width: none;
}

.chat-quick-actions::-webkit-scrollbar {
  display: none;
}

.chat-quick-actions button,
.chat-copy,
.chat-lead-summary a {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 0 12px;
  border: 1px solid rgba(47, 111, 95, 0.16);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.chat-quick-actions button:hover,
.chat-copy:hover,
.chat-lead-summary a:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 111, 95, 0.42);
  background: rgba(255, 255, 255, 0.9);
}

.chat-input-row {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 10px;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(17, 19, 18, 0.08);
  background: rgba(247, 245, 239, 0.86);
}

.chat-input {
  min-width: 0;
  height: 46px;
  padding: 0 15px;
  border: 1px solid rgba(17, 19, 18, 0.1);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
  outline: none;
}

.chat-input:focus {
  border-color: rgba(47, 111, 95, 0.45);
  box-shadow: 0 0 0 4px rgba(47, 111, 95, 0.08);
}

.chat-send {
  width: 42px;
  height: 42px;
  align-self: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.chat-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(47, 111, 95, 0.25);
}

.chat-input:disabled,
.chat-send:disabled {
  cursor: wait;
  opacity: 0.6;
}

.chat-lead-summary {
  align-self: stretch;
  padding: 16px;
  border: 1px solid rgba(47, 111, 95, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(230, 237, 231, 0.95), rgba(255, 255, 255, 0.76));
  box-shadow: 0 14px 46px rgba(47, 111, 95, 0.08);
}

.chat-lead-summary strong {
  display: block;
  margin-bottom: 10px;
}

.chat-lead-summary pre {
  max-height: 220px;
  overflow: auto;
  margin: 0 0 12px;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  line-height: 1.42;
  white-space: pre-wrap;
}

.chat-lead-summary div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-lead-summary a {
  display: inline-flex;
  align-items: center;
}

@keyframes chatMessageIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes typingDot {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

.debug-panel {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 40;
  width: min(320px, calc(100vw - 36px));
  padding: 16px;
  border: 1px solid rgba(17, 19, 18, 0.14);
  border-radius: 8px;
  background: rgba(247, 245, 239, 0.92);
  box-shadow: 0 20px 70px rgba(17, 19, 18, 0.16);
  backdrop-filter: blur(18px);
}

.debug-panel strong {
  display: block;
  margin-bottom: 10px;
}

.debug-panel label {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.debug-panel input[type="range"],
.debug-panel input[type="color"] {
  width: 100%;
}

@media (max-width: 860px) {
  .section {
    padding-block: 54px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .nav {
    display: none;
  }

  .header-cta {
    min-height: 36px;
    padding: 0 14px;
  }

  .hero {
    min-height: auto;
    padding: 108px 0 54px;
  }

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

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(13, 16, 14, 0.86), rgba(13, 16, 14, 0.54)),
      linear-gradient(0deg, rgba(13, 16, 14, 0.38), rgba(13, 16, 14, 0.12));
  }

  .hero-content {
    margin: 0;
  }

  h1 {
    font-size: clamp(46px, 14vw, 66px);
  }

  h2 {
    font-size: clamp(36px, 11vw, 54px);
  }

  .hero-shell {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    grid-template-columns: 1fr;
    gap: 34px;
    margin-inline: auto;
    padding-top: 0;
  }

  .hero h1 {
    font-size: clamp(44px, 12.5vw, 62px);
  }

  .hero-visual,
  .xray-card {
    min-height: 420px;
    height: 420px;
  }

  .xray-stage {
    height: 296px;
  }

  .message {
    max-width: 172px;
    padding: 11px 12px;
    font-size: 13px;
  }

  .message-b {
    right: 18px;
  }

  .message-c {
    left: 36px;
  }

  .message-d {
    right: 28px;
  }

  .knowledge-card {
    right: 18px;
    width: 56%;
  }

  .section-lead,
  .result-grid,
  .geo-grid,
  .ai-flow,
  .problem-grid,
  .compare-grid,
  .fit-grid,
  .pricing-cards,
  .trust-list,
  .faq-list {
    grid-template-columns: 1fr;
  }

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

  .ai-flow::before {
    top: 8%;
    bottom: 8%;
    left: 28px;
    right: auto;
    width: var(--glow-border);
    height: auto;
  }

  .timeline article {
    min-height: auto;
  }

  .mockup-row,
  .price-table div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .problem-grid article,
  .geo-grid article,
  .ai-flow article,
  .pricing-cards article,
  .trust-list article {
    min-height: auto;
  }

  .compare-grid p,
  .compare-grid blockquote {
    font-size: 18px;
  }

  .result-list li {
    font-size: 18px;
  }

  .strip-inner {
    flex-wrap: wrap;
    gap: 10px 18px;
    overflow: hidden;
    white-space: normal;
  }

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

  .contact-panel {
    padding-bottom: 128px;
  }

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

  .chat-toggle {
    justify-self: end;
    width: 56px;
    min-height: 56px;
    padding: 4px;
  }

  .chat-toggle-text {
    display: none;
  }

  .chat-orb {
    width: 48px;
    height: 48px;
  }

  .chat-panel {
    right: 0;
    bottom: 70px;
    max-width: calc(100vw - 24px);
    width: calc(100vw - 24px);
    height: min(620px, calc(100svh - 120px));
    border-radius: 22px;
  }

  .chat-message {
    max-width: 92%;
  }

  .chat-input-row {
    grid-template-columns: 1fr 42px;
  }

  .debug-panel {
    display: none;
  }
}

@media (min-width: 861px) and (max-width: 1180px) {
  .pricing-cards,
  .geo-grid,
  .ai-flow,
  .problem-grid,
  .trust-list,
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}
