@font-face {
  font-family: "Chat Montserrat";
  src: url("../../assets/fonts/landing/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Chat Montserrat";
  src: url("../../assets/fonts/landing/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

.chat-landing {
  --paper: #f8f7f4;
  --ink: #251e2c;
  --muted: #554b60;
  --purple: #4e2aa7;
  --purple-dark: #382075;
  --line: #d9d0e1;
  --lavender: #eee7ff;
  --white: #fffefa;
  --gutter: clamp(20px, 5vw, 80px);
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

.chat-landing main { font-family: "Chat Montserrat", Arial, sans-serif; }
.chat-landing *, .chat-landing *::before, .chat-landing *::after { box-sizing: border-box; }
.chat-landing :where(main) :is(h1, h2, h3, p, figure) { margin: 0; }
.chat-landing :where(main) :is(h1, h2, h3, strong) { font-weight: 600; }

.chat-landing :where(main) h2 {
  font-size: clamp(30px, 4.05vw, 61px);
  line-height: 1.08;
  letter-spacing: -.044em;
  text-wrap: balance;
}

.chat-landing :where(main) h3 {
  font-size: clamp(19px, 1.9vw, 27px);
  line-height: 1.22;
  letter-spacing: -.035em;
}

.chat-landing :where(main) a { color: inherit; text-underline-offset: .2em; }
.chat-landing :where(main) a:hover { color: var(--purple); }
.chat-landing :where(main) :focus-visible { outline: 2px solid #6331cb; outline-offset: 4px; }
.chat-landing [hidden] { display: none !important; }

.chat-shell {
  width: min(calc(100% - 2 * var(--gutter)), 1304px);
  margin-inline: auto;
}

.chat-skip {
  position: absolute;
  z-index: 2;
  inset: 10px auto auto var(--gutter);
  transform: translateY(calc(-100% - 20px));
  padding: 6px 14px;
  background: var(--white);
}

.chat-skip:focus { transform: none; }

.chat-header { border-bottom: 1px solid var(--line); }

.chat-header-inner, .chat-footer-inner {
  min-height: 73px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.chat-brand { display: inline-flex; flex: none; }
.chat-brand img { display: block; width: 97px; height: auto; }

.chat-main-nav { display: flex; flex-wrap: wrap; gap: clamp(14px, 3vw, 45px); }
.chat-main-nav a { text-decoration: none; font-size: 14px; font-weight: 600; }
.chat-main-nav a:hover { text-decoration: underline; }

.chat-crumbs { margin-top: 21px; color: var(--muted); }
.chat-crumbs ol { display: flex; flex-wrap: wrap; gap: .18em .7em; padding: 0; margin: 0; list-style: none; }
.chat-crumbs li { font-size: 12px; }
.chat-crumbs li + li::before { content: "/"; padding-inline-end: .7em; color: #7c6b91; }
.chat-crumbs a { text-decoration: none; }
.chat-crumbs a:hover { text-decoration: underline; }

.chat-kicker {
  color: var(--purple);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.42;
}

.chat-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(34px, 5vw, 73px) clamp(54px, 7.1vw, 110px);
}

.chat-hero h1 {
  margin-block: 19px 24px;
  font-size: clamp(47px, 5.12vw, 76px);
  letter-spacing: -.05em;
  line-height: 1.035;
}

.chat-hero h1 .b12-title-line { display: block; white-space: nowrap; }
.chat-accent { color: var(--purple); }
.chat-word { display: inline-block; position: relative; left: var(--chat-ink-shift, 0px); }

.chat-hero .chat-hero-lead {
  max-width: 35rem;
  margin-bottom: 25px;
  text-wrap: balance;
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.55;
}

.chat-hero .chat-hero-note { max-width: 100%; margin-top: 11px; color: var(--muted); font-size: 13px; }

.chat-landing .chat-button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  max-width: 100%;
  padding: 11px 17px;
  border: 1px solid var(--purple);
  border-radius: 8px;
  color: #fff;
  background: var(--purple);
  text-decoration: none;
  text-align: left;
  font: 600 14px/1.32 "Chat Montserrat", Arial, sans-serif;
  cursor: pointer;
}

.chat-button span { font-size: 19px; flex: none; }
.chat-landing .chat-button:hover { color: #fff; border-color: var(--purple-dark); background: var(--purple-dark); }
.chat-landing .chat-button:disabled { cursor: wait; opacity: .7; }

.chat-map {
  --map-gutter: clamp(22px, 4.35vw, 69px);
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  gap: 17px;
  min-height: 504px;
  padding: 28px var(--map-gutter) 39px;
  border: 1px solid #d9cced;
  border-radius: 23px 23px 56px 23px;
  background-color: #ece4fc;
  background-image: radial-gradient(circle, #c4b0e5 1px, transparent 1px);
  background-size: 16px 16px;
}

.chat-map figcaption { color: #4e3c6f; font-size: 12px; font-weight: 600; }

.chat-map-record, .chat-map-handoff {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
}

.chat-map-record {
  padding: 13px 15px;
  background: #fffefa;
  box-shadow: 0 12px 26px #5d3f9330;
  border: 1px solid #d7c8ef;
}

.chat-map-icon {
  display: grid;
  place-content: center;
  flex: none;
  width: 39px;
  height: 39px;
  border-radius: 8px;
  font-size: 24px;
}

.chat-map-icon-record { background: #eee5ff; }
.chat-map-icon-record::before {
  content: "";
  width: 16px;
  height: 19px;
  border: 1.5px solid #5c3a9b;
  border-radius: 3px;
  background: linear-gradient(#5c3a9b,#5c3a9b) 50% 42% / 9px 1px no-repeat,
              linear-gradient(#5c3a9b,#5c3a9b) 50% 67% / 9px 1px no-repeat;
}

.chat-map-record strong, .chat-map-handoff strong { display: block; font-size: clamp(16px, 1.95vw, 27px); line-height: 1.18; }
.chat-map-context, .chat-map-handoff div > span { display: block; font-size: 12px; line-height: 1.45; }
.chat-map-context { margin-bottom: 3px; color: var(--muted); }
.chat-map-thread { position: relative; display: grid; gap: 9px; padding-inline-start: 20px; }
.chat-map-thread::before { content: ""; position: absolute; inset: -17px auto -17px 0; border-inline-start: 1px dashed #8b68bf; }

.chat-map-message {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  width: fit-content;
  max-width: 100%;
  border-radius: 10px 10px 10px 3px;
  border: 1px solid #d8caee;
  background: #faf7ff;
}

.chat-map-message::before { content: ""; position: absolute; left: -21px; width: 20px; border-top: 1px dashed #8b68bf; }
.chat-map-message small { display: block; color: #604485; font-size: 11px; font-weight: 600; }
.chat-map-message p { font-size: 13px; line-height: 1.4; }
.chat-map-reply { margin-inline-start: clamp(0px, 1.3vw, 18px); background: #dfd0fc; }
.chat-map-reply::before { width: calc(20px + clamp(0px, 1.3vw, 18px)); left: calc(-21px - clamp(0px, 1.3vw, 18px)); }

.chat-map-avatar {
  display: grid;
  flex: none;
  place-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eee6fb;
  color: #4e2d78;
  font-size: 11px;
  font-weight: 600;
}

.chat-map-reply .chat-map-avatar { background: #fffefa; }
.chat-map-handoff { padding: 12px 15px; color: #fff; background: #322049; }
.chat-map-icon-handoff { background: #593d77; color: #fcf5ff; }
.chat-map-handoff strong { font-size: clamp(15px, 1.6vw, 23px); }
.chat-map-handoff div > span { margin-top: 3px; color: #ece0f7; }

.chat-section {
  padding-block: clamp(38px, 6.8vw, 96px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 20px;
}

.chat-section-intro .chat-kicker, .chat-plan-copy .chat-kicker, .chat-request-copy .chat-kicker { margin-bottom: 13px; }
.chat-section-intro > p:not(.chat-kicker) { margin-top: 18px; max-width: 54ch; }
.chat-text-link { font-size: 14px; font-weight: 600; }

.chat-case-grid { display: grid; gap: clamp(14px, 2.4vw, 27px); grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 29px; }
.chat-case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  min-height: 300px;
  padding: clamp(18px, 2.4vw, 35px);
  border-radius: 15px;
  background: #eee7fa;
}
.chat-case-deal { background: #f1e9dd; }
.chat-case h3 { font-size: clamp(24px, 2.75vw, 41px); }
.chat-case-copy p { margin-block: 10px 14px; font-size: 14px; }
.chat-case-shot { display: block; border-radius: 14px; box-shadow: 0 6px 20px #2b1b4129; }
.chat-case-shot img { width: clamp(92px, 10.5vw, 148px); height: auto; display: block; border-radius: inherit; }

.chat-scope .chat-section-intro { max-width: 830px; }
.chat-scope-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  margin: 31px 0 26px;
  list-style: none;
  counter-reset: chat-scope;
}

.chat-scope-list li { border-block-start: 1px solid #bca8d7; padding: 13px 0 0; counter-increment: chat-scope; }
.chat-scope-list li::before { content: "0" counter(chat-scope); display: block; margin-bottom: 16px; color: var(--purple); font-size: 13px; font-weight: 600; }
.chat-scope-list p { margin-top: 9px; max-width: 35ch; }

.chat-additions {
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1fr);
  gap: 12px 30px;
  padding: clamp(17px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.chat-additions h3 { align-self: center; }

.chat-plan, .chat-estimate, .chat-questions, .chat-request {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(27px, 6vw, 100px);
}

.chat-plan-copy > p:not(.chat-kicker), .chat-request-copy > p:not(.chat-kicker) { margin-top: 16px; max-width: 48ch; }
.chat-plan-copy ol { margin: 19px 0 0; padding-left: 23px; }
.chat-plan-copy li + li { margin-top: 7px; }
.chat-plan-copy li::marker { color: var(--purple); font-weight: 600; }

.chat-plan-sheet {
  padding: clamp(20px, 4vw, 47px);
  border: 1px solid #dfd0f4;
  border-radius: 14px;
  background: var(--lavender);
}

.chat-plan-sheet h3 { margin-block: 7px 20px; font-size: clamp(27px, 3.3vw, 49px); }
.chat-plan-sheet dl { margin: 0; }
.chat-plan-sheet dl div { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); gap: 6px 15px; padding: 11px 0; border-top: 1px solid #d2bce9; }
.chat-plan-sheet dt { color: #453069; font-weight: 600; font-size: 13px; }
.chat-plan-sheet dd { margin: 0; font-size: 14px; }

.chat-estimate .chat-button { margin-top: 23px; }
.chat-estimate-list { display: grid; gap: 8px; padding: 0 0 0 20px; margin: 3px 0 24px; }
.chat-estimate-list li::marker { color: var(--purple); }
.chat-estimate-detail .chat-price-note { margin-bottom: 19px; }
.chat-economy { padding: 14px 0 0; border-top: 1px solid var(--line); }
.chat-economy p { margin-top: 9px; }

.chat-faq details { border-top: 1px solid var(--line); }
.chat-faq details:last-child { border-bottom: 1px solid var(--line); }
.chat-faq summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 13px 4px;
  min-height: 50px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.chat-faq summary::-webkit-details-marker { display: none; }
.chat-faq summary::after { content: "+"; color: var(--purple); font-size: 23px; font-weight: 400; line-height: 1; }
.chat-faq details[open] summary::after { content: "−"; }
.chat-faq details p { padding: 0 22px 16px 4px; }
.chat-faq a { color: var(--purple); }

.chat-section.chat-request {
  padding: clamp(23px, 5.4vw, 73px);
  border: 1px solid #dfd0f4;
  border-radius: 18px;
  background: var(--lavender);
  margin-block: 10px clamp(39px, 6vw, 84px);
}

.chat-request h2 { font-size: clamp(29px, 3.7vw, 55px); }
.chat-contacts { display: flex; flex-wrap: wrap; gap: 8px 19px; margin-top: 20px; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.chat-request-action { justify-self: start; align-self: center; }

.chat-footer { border-top: 1px solid var(--line); }
.chat-footer-inner { justify-content: flex-start; gap: 13px 25px; flex-wrap: wrap; padding-block: 15px; color: var(--muted); font-size: 13px; }
.chat-footer-inner .chat-brand { margin-inline-end: auto; }

@media (max-width: 1023px) {
  .chat-hero { gap: 30px; }
  .chat-hero h1 { font-size: clamp(40px, 5.4vw, 56px); }
  .chat-map { min-height: 420px; }
  .chat-case { min-height: 249px; }
}

@media (max-width: 767px) {
  .chat-header-inner { min-height: 61px; }
  .chat-crumbs { margin-top: 13px; }
  .chat-hero, .chat-plan, .chat-estimate, .chat-questions, .chat-request { grid-template-columns: minmax(0, 1fr); }
  .chat-hero { padding-block: 36px 45px; }
  .chat-hero h1 { font-size: clamp(38px, 8.6vw, 63px); margin-block: 13px 16px; }
  .chat-hero .chat-hero-lead { margin-bottom: 19px; }
  .chat-map {
    --map-gutter: clamp(18px, 5vw, 37px);
    min-height: 358px;
    max-width: 530px;
    gap: 12px;
    border-radius: 16px 16px 34px 16px;
    padding-block: 21px 25px;
  }
  .chat-map-thread::before { inset-block: -12px; }
  .chat-case-grid { margin-top: 20px; grid-template-columns: minmax(0, 1fr); }
  .chat-case { min-height: 0; }
  .chat-case-shot img { width: clamp(80px, 18vw, 114px); }
  .chat-additions { grid-template-columns: minmax(0, 1fr); }
  .chat-questions { gap: 20px; }
}

@media (max-width: 479px) {
  .chat-landing { font-size: 15px; }
  .chat-hero h1 { font-size: clamp(31px, 9.65vw, 44px); }
  .chat-header .chat-brand img { width: 81px; }
  .chat-main-nav { gap: 12px; }
  .chat-main-nav a { font-size: 12px; }
  .chat-crumbs li { font-size: 11px; }
  .chat-map { min-height: 0; }
  .chat-scope-list { grid-template-columns: minmax(0, 1fr); gap: 15px; margin-block: 22px; }
  .chat-scope-list li::before { margin-bottom: 7px; }
  .chat-plan-sheet dl div { grid-template-columns: minmax(0, 1fr); }
}
