@font-face { font-family: Open Sans; src: url(OpenSans-Regular.woff) format("woff"); font-display: swap; font-weight: 400; }
@font-face { font-family: Open Sans; src: url(OpenSans-Semibold.woff) format("woff"); font-display: swap; font-weight: 600; }
@font-face { font-family: Open Sans; src: url(OpenSans-Bold.woff) format("woff"); font-display: swap; font-weight: 700; }

:root {
  color-scheme: light;
  --paper: #f7f4ef;
  --white: #fefcf9;
  --ink: #21132f;
  --muted: #5c5266;
  --accent: #5e35b1;
  --accent-hover: #4c2a94;
  --soft-accent: #eee6f8;
  --peach: #ffd0a6;
  --line: #e0d9e4;
  font-family: Open Sans, system-ui, sans-serif;
  line-height: 1.6;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #8b55d5; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.14; text-wrap: balance; }
p { text-wrap: pretty; }
section, main { scroll-margin-top: 24px; }
.wrap { width: min(1200px, calc(100% - 108px)); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; z-index: 5; padding: 10px 14px; transform: translateY(-150%); background: var(--white); }
.skip:focus { transform: translateY(0); }

.header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; white-space: nowrap; line-height: 1; }
.brand-symbol { position: relative; width: 39px; height: 39px; border-radius: 12px; background: var(--ink); }
.brand-symbol::before, .brand-symbol::after {
  position: absolute; top: 50%; left: 50%; content: ""; width: 16px; height: 10px; border: 2px solid var(--paper); border-radius: 8px;
  transform: translate(calc(-50% - 4px), calc(-50% + 3px)) rotate(-38deg);
}
.brand-symbol::after { border-color: var(--peach); transform: translate(calc(-50% + 4px), calc(-50% - 3px)) rotate(-38deg); }
.brand-word { font-size: 1.78rem; font-weight: 700; letter-spacing: -.09em; }
.brand-i { position: relative; }
.brand-i::before { content: ""; position: absolute; width: .17em; height: .17em; left: .02em; top: .21em; background: var(--accent); border-radius: .04em; transform: rotate(-24deg); }
.brand-flow { margin-left: .34em; color: var(--accent); font-size: .65em; font-weight: 600; letter-spacing: -.035em; }
.nav { display: flex; gap: clamp(18px, 3vw, 40px); }
.nav a { font-weight: 600; font-size: .91rem; }
.nav a:hover, .text-link:hover { color: var(--accent-hover); }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 11px 20px; border: 1px solid transparent; border-radius: 10px; font-size: .92rem; font-weight: 700; text-align: center; transition: background .18s, border-color .18s; }
.button-outline { color: var(--ink); border-color: #cfc4d8; min-height: 44px; }
.button-outline:hover { background: var(--soft-accent); border-color: var(--accent); }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-hover); }
.button-peach { background: var(--peach); color: var(--ink); }
.button-peach:hover { background: #ffe0c4; }
.text-link { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

.hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(30px, 5vw, 74px); padding-block: 86px 96px; }
.eyebrow { margin-bottom: 17px; color: var(--accent); font-size: .87rem; font-weight: 700; }
.hero h1 { font-size: clamp(2.65rem, 4.45vw, 4.15rem); font-weight: 700; letter-spacing: -.065em; line-height: 1.07; text-wrap: initial; }
.hero-intro { max-width: 49ch; margin-top: 23px; color: var(--muted); font-size: 1.09rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 23px; margin-top: 28px; }

.demo-stage { position: relative; min-width: 0; padding: clamp(20px, 3.3vw, 48px) clamp(15px, 3vw, 36px); overflow: hidden; isolation: isolate; border: 1px solid #dfd0ec; border-radius: 25px; background: linear-gradient(146deg,#e8dbf5 12%,#eee2f4 55%,#f9decf 96%); }
.demo-stage::before, .demo-stage::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.demo-stage::before { inset: 0; background-image: radial-gradient(circle, #7354a461 1px, transparent 1.3px); background-size: 17px 17px; mask-image: linear-gradient(165deg,#000 5%,transparent 70%); }
.demo-stage::after { right: -62px; bottom: -78px; width: 225px; height: 225px; border: 1px solid #905caa55; border-radius: 50%; box-shadow: 0 0 0 20px #cf99cc2b,0 0 0 40px #cf99cc1c; }
.demo { position: relative; padding: 20px; background: #fffcf9; border: 1px solid #fff; border-radius: 18px; box-shadow: 0 18px 42px #42226c18; min-width: 0; }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 15px; }
.demo-label { font-size: .96rem; font-weight: 700; }
.demo-state { color: var(--muted); font-size: .76rem; }
.demo-options { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 20px; background: #f1eaf5; border-radius: 9px; }
.demo-options button { flex: 1 1 auto; min-height: 38px; border: 0; border-radius: 6px; padding: 5px 7px; color: var(--muted); background: transparent; font-size: .87rem; font-weight: 700; cursor: pointer; }
.demo-options button[aria-pressed=true] { color: var(--accent); background: #fffdfb; box-shadow: 0 1px 4px #35224416; }
.demo-options button:hover { color: var(--accent); }
.demo-flow { position: relative; padding: 0; margin: 0; list-style: none; display: grid; gap: 14px; }
.demo-flow::before { content: ""; position: absolute; top: 21px; bottom: 21px; left: 21px; border-left: 1px dashed #b197d0; }
.demo-flow li { display: grid; grid-template-columns: 43px 1fr; gap: 10px; align-items: center; position: relative; min-height: 45px; }
.flow-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 10px; color: var(--accent); background: #eee5f7; }
.flow-icon::before { content: ""; width: 15px; height: 12px; border: 1.6px solid currentColor; border-radius: 3px; }
.flow-action::before { border-radius: 4px; transform: rotate(45deg); width: 11px; height: 11px; }
.flow-output { color: #693c29; background: #f9e3d1; }
.flow-output::before { width: 13px; height: 7px; border-width: 0 0 2px 2px; border-radius: 0; transform: rotate(-45deg); }
.demo-flow strong, .demo-flow small { display: block; }
.demo-flow strong { font-size: .88rem; font-weight: 700; line-height: 1.32; }
.demo-flow small { color: var(--muted); font-size: .8rem; line-height: 1.35; margin-top: 3px; }
.demo-inbound { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 1px; overflow: hidden; margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--line); }
.demo-inbound[hidden] { display: none; }
.demo-inbound > div { padding: 10px 11px; min-width: 0; }
.demo-inbound-sla { background: #f8e8dc; }
.demo-inbound-crm { background: #f2eaf8; }
.demo-inbound strong, .demo-inbound small { display: block; }
.demo-inbound strong { font-size: .84rem; line-height: 1.35; }
.demo-inbound-sla > strong { font-size: .99rem; }
.demo-inbound span, .demo-inbound small { color: var(--muted); font-size: .76rem; line-height: 1.4; }
.demo-inbound small { margin-top: 2px; font-weight: 400; }

.solutions { padding-block: 70px 78px; background: var(--white); border-block: 1px solid var(--line); }
.section-heading { max-width: 680px; margin-bottom: 32px; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); font-weight: 700; letter-spacing: -.05em; }
h3 { font-size: 1.14rem; font-weight: 700; letter-spacing: -.023em; }
.section-heading p, .method-intro p, .solution p, .method-list p, .faq p { color: var(--muted); margin-top: 12px; }
.solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; }
.solution { padding: 26px 25px 28px; border: 1px solid var(--line); border-radius: 15px; }
.solution-icon { display: grid; place-items: center; width: 44px; height: 44px; background: var(--soft-accent); color: var(--accent); border-radius: 10px; margin-bottom: 18px; position: relative; }
.solution-icon::before, .solution-icon::after { position: absolute; content: ""; }
.icon-chat::before { width: 18px; height: 14px; border: 2px solid; border-radius: 4px; }
.icon-chat::after { width: 6px; height: 6px; left: 15px; top: 25px; border-left: 2px solid; transform: rotate(20deg); }
.icon-stack::before, .icon-stack::after { width: 15px; height: 12px; border: 2px solid; border-radius: 3px; transform: translate(-3px,-3px); }
.icon-stack::after { transform: translate(3px,3px); background: var(--soft-accent); }
.icon-route::before { width: 15px; height: 14px; border: solid; border-width: 2px 2px 0 0; transform: skewY(-25deg); }
.icon-route::after { width: 6px; height: 6px; border-radius: 50%; background: currentColor; left: 13px; top: 28px; }

.method { display: grid; grid-template-columns: .87fr 1.13fr; column-gap: clamp(28px, 8vw, 120px); padding-block: 82px; }
.method-intro .text-link { display: inline-block; margin-top: 21px; }
.method-list { display: grid; list-style: none; padding: 0; margin: 0; }
.method-list li { position: relative; padding: 17px 8px 18px 29px; border-top: 1px solid var(--line); }
.method-list li:last-child { border-bottom: 1px solid var(--line); }
.method-list li::before { content: ""; position: absolute; top: 23px; left: 2px; border-radius: 3px; height: 9px; width: 9px; background: var(--accent); transform: rotate(45deg); }
.method-list p { margin-top: 7px; }

.faq { padding-block: 66px; background: var(--white); border-block: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: .87fr 1.13fr; column-gap: clamp(28px, 8vw, 120px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 2px; cursor: pointer; list-style: none; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--accent); font-size: 1.3rem; font-weight: 600; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 24px 15px 2px; }

.end { padding-block: 63px; }
.contact-panel { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: clamp(25px, 5vw, 58px); border-radius: 21px; background: var(--ink); color: white; }
.contact-panel .button { flex: none; }
.contact-panel p { margin-top: 10px; color: #e5d6ef; }
.footer { padding-block: 24px; border-top: 1px solid var(--line); }
.footer p { font-size: .9rem; color: var(--muted); }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 68px); }
  .hero { gap: 32px; }
}
@media (max-width: 850px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 62px; }
  .hero-copy { max-width: 620px; }
  .demo-stage { width: min(100%, 590px); }
  .solution { padding-inline: 18px; }
  .method, .faq-layout { column-gap: 37px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 71px; gap: 10px; }
  .header-cta { font-size: .82rem; padding-inline: 10px; }
  .brand-symbol { width: 33px; height: 33px; border-radius: 9px; }
  .brand { gap: 7px; }
  .brand-word { font-size: 1.62rem; }
  .hero { padding-block: 41px 49px; gap: 27px; }
  .hero h1 { font-size: clamp(2.16rem, 8.3vw, 3.3rem); }
  .hero-intro { margin-top: 18px; }
  .hero-actions { margin-top: 22px; gap: 12px 20px; }
  .demo-stage { padding: 15px 12px; border-radius: 18px; }
  .demo { padding: 15px 12px; border-radius: 12px; }
  .demo-options { margin-bottom: 14px; }
  .solutions, .method, .faq, .end { padding-block: 46px; }
  .solution-grid, .method, .faq-layout { grid-template-columns: 1fr; gap: 13px; }
  .method, .faq-layout { row-gap: 24px; }
  .solution { padding: 21px; }
  .contact-panel { align-items: flex-start; flex-direction: column; }
  .footer-inner { flex-wrap: wrap; gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
