:root {
  --paper: #f7f1e8;
  --paper-deep: #eee5d8;
  --surface: #fffdf8;
  --ink: #18332d;
  --ink-soft: #49635c;
  --forest: #174c3f;
  --forest-light: #236654;
  --sage: #dbe8dd;
  --sage-light: #edf4ed;
  --coral: #c24f37;
  --coral-dark: #bd4c34;
  --line: rgba(24, 51, 45, 0.16);
  --shadow: 0 24px 70px rgba(27, 53, 45, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --container: 1200px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(24, 51, 45, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 51, 45, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
}

button, input, textarea { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
h1 { max-width: 800px; font-size: clamp(3.15rem, 6vw, 6.3rem); }
h2 { font-size: clamp(2.35rem, 4vw, 4.7rem); }
h3 { line-height: 1.15; }

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--surface);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.hero-grid > *, .split-heading > *, .situation-layout > *, .role-grid > *, .work-compare > *, .control-grid > *, .value-grid > *, .service-layout > *, .knowledge-layout > *, .channels-layout > *, .launch-heading > *, .pricing-grid > *, .faq-layout > *, .contact-panel > * { min-width: 0; }
.section { padding: 112px 0; }
.section--soft { background: var(--sage-light); }
.section--dark { color: #f8f1e7; background: var(--forest); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(24, 51, 45, 0.1);
  background: rgba(247, 241, 232, 0.92);
  backdrop-filter: blur(18px);
}
.header-inner { display: flex; align-items: center; min-height: 76px; gap: 22px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; text-decoration: none; letter-spacing: -0.02em; }
.brand strong { font-weight: 650; }
.brand-mark, .assistant-mark {
  display: inline-grid;
  place-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  color: var(--surface);
  background: var(--coral);
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}
.desktop-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.desktop-nav a { color: var(--ink-soft); font-size: 0.92rem; text-decoration: none; }
.desktop-nav a:hover { color: var(--ink); }
.header-phone { flex: 0 0 auto; color: var(--ink); font-size: 0.82rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--coral-dark); }
.header-cta { margin-left: 0; }
.mobile-nav { display: none; position: relative; margin-left: auto; }
.mobile-nav summary { display: grid; width: 44px; height: 44px; place-content: center; gap: 5px; cursor: pointer; list-style: none; border: 1px solid var(--line); border-radius: 50%; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { display: block; width: 18px; height: 1.5px; background: var(--ink); }
.mobile-nav nav { position: absolute; top: 54px; right: 0; display: grid; width: min(280px, calc(100vw - 32px)); padding: 18px; gap: 5px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.mobile-nav nav a { padding: 10px 8px; text-decoration: none; }
.mobile-nav nav .mobile-phone { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--coral-dark); font-weight: 750; }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid var(--coral);
  border-radius: 999px;
  color: #fff;
  background: var(--coral);
  font-weight: 650;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); border-color: var(--coral-dark); background: var(--coral-dark); }
.button--small { min-height: 44px; padding: 10px 18px; font-size: 0.88rem; }
.button--outline { color: var(--ink); border-color: var(--line); background: transparent; }
.button--outline:hover { color: #fff; }
.button--full { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; text-underline-offset: 5px; }
.text-link span { color: var(--coral); }

.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--forest-light); font-size: 0.75rem; font-weight: 750; letter-spacing: 0.13em; text-transform: uppercase; }
.eyebrow > span { display: block; width: 26px; height: 2px; background: var(--coral); }
.eyebrow--light { color: #d7e6dd; }
.overline { display: block; margin-bottom: 5px; color: var(--ink-soft); font-size: 0.68rem; font-weight: 750; letter-spacing: 0.13em; text-transform: uppercase; }

.hero { padding-top: 70px; padding-bottom: 86px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(410px, 0.74fr); align-items: center; gap: 70px; }
.hero-copy .lead { max-width: 660px; margin-bottom: 18px; color: var(--ink-soft); font-size: clamp(1.08rem, 1.5vw, 1.32rem); line-height: 1.55; }
.hero-boundary { max-width: 660px; margin-bottom: 28px; padding-left: 16px; border-left: 2px solid var(--coral); color: var(--ink-soft); font-size: 0.88rem; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-bottom: 48px; }
.hero-actions > span { max-width: 290px; color: var(--ink-soft); font-size: 0.78rem; line-height: 1.45; }
.hero-facts { display: flex; max-width: 680px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.hero-facts li { flex: 1; padding: 20px 18px 0 0; }
.hero-facts li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-facts strong, .hero-facts span { display: block; }
.hero-facts strong { margin-bottom: 4px; font-family: Georgia, serif; font-size: 1.35rem; }
.hero-facts span { color: var(--ink-soft); font-size: 0.75rem; }

.product-illustration { position: relative; padding: 26px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.7); border-radius: var(--radius-lg); background: #e5eddf; box-shadow: var(--shadow); }
.product-illustration::after { position: absolute; right: -70px; bottom: -70px; width: 230px; height: 230px; border: 46px solid rgba(220, 98, 70, 0.08); border-radius: 50%; content: ""; }
.illustration-head { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(24, 51, 45, 0.12); }
.illustration-head strong { display: block; max-width: 260px; line-height: 1.25; }
.live-label { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px; color: var(--forest); background: rgba(255, 255, 255, 0.65); font-size: 0.7rem; font-weight: 750; }
.live-label i, .form-mode span { width: 7px; height: 7px; border-radius: 50%; background: #3c9c64; }
.message-stack { position: relative; z-index: 1; display: grid; gap: 13px; padding: 26px 0 16px; }
.flow-card { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 13px; padding: 15px; border: 1px solid rgba(24, 51, 45, 0.09); border-radius: 16px; background: rgba(255, 253, 248, 0.78); box-shadow: 0 10px 30px rgba(23, 76, 63, 0.06); }
.flow-card--assistant { margin-left: 28px; background: var(--forest); color: #fff; }
.flow-card--manager { position: relative; margin-right: 12px; }
.flow-avatar { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: #fff; background: var(--coral); font-size: 0.72rem; font-weight: 750; }
.flow-card--assistant .flow-avatar { color: var(--forest); background: var(--sage); }
.flow-card small { display: block; margin-bottom: 2px; color: var(--ink-soft); font-weight: 700; }
.flow-card--assistant small { color: #cfe1d8; }
.flow-card p { margin: 0; font-size: 0.82rem; line-height: 1.35; }
.handoff-line { display: flex; align-items: center; gap: 10px; color: var(--forest-light); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; }
.handoff-line::before, .handoff-line::after { height: 1px; flex: 1; background: rgba(23, 76, 63, 0.18); content: ""; }
.ready-badge { position: absolute; right: 12px; top: -10px; padding: 5px 8px; border-radius: 999px; color: #fff; background: var(--coral); font-size: 0.62rem; font-weight: 750; }
.prototype-caption { position: relative; z-index: 1; margin: 0; color: var(--ink-soft); font-size: 0.7rem; text-align: center; }

.situation-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.situation-layout { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(430px, 1fr); align-items: center; gap: clamp(52px, 8vw, 110px); }
.situation-copy h2 { max-width: 610px; }
.situation-copy > p:last-child { max-width: 570px; margin-bottom: 0; color: var(--ink-soft); font-size: 1.04rem; }
.situation-example { position: relative; margin: 0; padding: clamp(30px, 4vw, 48px); overflow: hidden; border: 1px solid rgba(24, 51, 45, 0.12); border-radius: var(--radius-lg); background: var(--sage); box-shadow: 0 18px 54px rgba(27, 53, 45, 0.09); }
.situation-example::after { position: absolute; right: -52px; bottom: -68px; width: 180px; height: 180px; border: 32px solid rgba(194, 79, 55, 0.07); border-radius: 50%; content: ""; }
.situation-example > span { display: block; margin-bottom: 22px; color: var(--coral-dark); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.situation-example p { position: relative; z-index: 1; margin-bottom: 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2.1vw, 1.85rem); line-height: 1.32; letter-spacing: -0.02em; }
.situation-example footer { position: relative; z-index: 1; max-width: 520px; padding-top: 20px; border-top: 1px solid rgba(24, 51, 45, 0.15); color: var(--ink-soft); font-size: 0.78rem; }

.section-heading { margin-bottom: 56px; }
.section-heading h2 { max-width: 900px; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.55fr); align-items: end; gap: 70px; }
.split-heading h2 { margin-bottom: 0; }
.split-heading > p { margin-bottom: 7px; color: var(--ink-soft); }
.split-heading--dark > p { color: #cfe1d8; }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.role-card { min-height: 100%; padding: clamp(28px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.role-card--manager { color: #fff; border-color: var(--forest); background: var(--forest); }
.role-label { display: block; margin-bottom: 24px; color: var(--coral-dark); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.role-card--manager .role-label { color: #f59b84; }
.role-card h3 { max-width: 470px; margin-bottom: 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 2.3vw, 2.1rem); font-weight: 400; }
.role-card ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.role-card li { position: relative; padding-left: 24px; color: var(--ink-soft); }
.role-card li::before { position: absolute; left: 2px; color: var(--coral); content: "✓"; font-weight: 800; }
.role-card--manager li { color: #d7e6dd; }
.role-note { max-width: 920px; margin: 20px 0 0 auto; padding: 18px 22px; border: 1px solid rgba(24, 51, 45, 0.1); border-radius: 16px; color: var(--ink-soft); background: rgba(255, 253, 248, 0.62); font-size: 0.82rem; }

.work-split-section { background: var(--paper); }
.work-compare { display: grid; grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr); align-items: stretch; gap: 18px; }
.work-compare article { padding: clamp(28px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255, 253, 248, 0.58); }
.work-compare article > span { display: block; margin-bottom: 24px; color: var(--ink-soft); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.work-compare h3 { margin-bottom: 16px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2.2vw, 2rem); font-weight: 400; }
.work-compare p { margin: 0; color: var(--ink-soft); }
.work-compare-arrow { display: grid; width: 48px; height: 48px; align-self: center; justify-self: center; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--coral-dark); background: var(--surface); font-size: 1.3rem; }
.work-compare .work-compare-result { border-color: rgba(23, 76, 63, 0.18); background: var(--sage); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-card { min-height: 278px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255, 253, 248, 0.6); }
.value-card--accent { background: var(--sage); }
.card-number { display: block; margin-bottom: 78px; color: var(--coral); font-family: Georgia, serif; }
.value-card h3 { margin-bottom: 12px; font-size: 1.22rem; }
.value-card p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.process-list li { display: grid; grid-template-columns: 110px 1fr; padding: 34px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.process-index { color: #9bc0ae; font-family: Georgia, serif; font-size: 1.55rem; }
.process-list h3 { margin-bottom: 8px; font-family: Georgia, serif; font-size: clamp(1.7rem, 2.5vw, 2.6rem); font-weight: 400; }
.process-list p { max-width: 680px; margin: 0; color: #cfe1d8; }
.manager-note { display: flex; max-width: 810px; align-items: center; gap: 24px; margin: 42px 0 0 auto; padding: 26px; border-radius: var(--radius-md); color: var(--ink); background: var(--sage); }
.manager-note-icon { display: grid; width: 56px; height: 56px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: var(--coral); font-size: 1.4rem; }
.manager-note h3 { margin-bottom: 6px; }
.manager-note p { margin: 0; color: var(--ink-soft); }

.knowledge-section { background: var(--paper-deep); }
.knowledge-layout { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1fr); align-items: start; gap: 88px; }
.knowledge-copy h2 { font-size: clamp(2.5rem, 4vw, 4.4rem); }
.knowledge-copy > p:last-child { max-width: 540px; color: var(--ink-soft); }
.knowledge-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.knowledge-grid li { display: grid; min-height: 132px; align-content: space-between; gap: 24px; padding: 22px; border-bottom: 1px solid var(--line); }
.knowledge-grid li:nth-child(odd) { border-right: 1px solid var(--line); }
.knowledge-grid span { color: var(--coral); font-family: Georgia, serif; }
.knowledge-grid strong { max-width: 220px; line-height: 1.25; }

.control-section { background: var(--surface); }
.control-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.control-grid article { min-height: 260px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
.control-grid article > span { display: block; margin-bottom: 58px; color: var(--coral); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.control-grid h3 { margin-bottom: 14px; font-size: 1.12rem; }
.control-grid p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

.demo-section { background: var(--surface); }
.demo-heading { max-width: 810px; margin-inline: auto; text-align: center; }
.demo-heading .eyebrow { justify-content: center; }
.demo-heading > p:last-child { max-width: 650px; margin-inline: auto; color: var(--ink-soft); }
.embedded-chat-shell { max-width: 1060px; margin-inline: auto; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.chat-shell-header { display: flex; min-height: 86px; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); background: #f4ede2; }
.chat-shell-title { display: flex; align-items: center; gap: 12px; }
.chat-shell-title > div > strong, .chat-shell-title > div > span { display: block; }
.chat-shell-title > div > span { color: var(--ink-soft); font-size: 0.75rem; }
.soon-badge { padding: 7px 11px; border-radius: 999px; color: var(--forest); background: var(--sage); font-size: 0.7rem; font-weight: 750; text-transform: uppercase; }
.chat-shell-body { min-height: 390px; display: grid; place-items: center; align-content: center; padding: 52px 24px; text-align: center; background: linear-gradient(180deg, rgba(237, 244, 237, 0.4), rgba(247, 241, 232, 0.22)); }
.chat-shell-body h3 { max-width: 520px; margin: 4px auto 12px; font-family: Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 400; }
.chat-shell-body > p:last-child { max-width: 540px; margin: 0; color: var(--ink-soft); }
.placeholder-orbit { position: relative; width: 92px; height: 92px; margin-bottom: 24px; border: 1px solid rgba(23, 76, 63, 0.2); border-radius: 50%; }
.placeholder-orbit::before { position: absolute; inset: 12px; border: 1px solid rgba(23, 76, 63, 0.12); border-radius: 50%; content: ""; }
.placeholder-orbit i { position: absolute; inset: 26px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--coral); font-family: Georgia, serif; font-style: normal; font-weight: 700; }
.placeholder-orbit span { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--forest); }
.placeholder-orbit span:first-child { top: 8px; right: 14px; }
.placeholder-orbit span:nth-child(2) { bottom: 10px; left: 10px; background: var(--coral); }
.chat-shell-input { display: flex; align-items: center; gap: 16px; margin: 18px; padding: 8px 8px 8px 20px; border: 1px dashed rgba(24, 51, 45, 0.22); border-radius: 999px; color: #7b8d87; background: #f8f5ef; }
.chat-shell-input span { flex: 1; }
.chat-shell-input button { padding: 10px 18px; border: 0; border-radius: 999px; color: #8d9b96; background: #e7e8e3; }
.prototype-notice { display: flex; max-width: 1060px; align-items: center; gap: 12px; margin: 16px auto 0; color: var(--ink-soft); font-size: 0.78rem; }
.prototype-notice span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 700; white-space: nowrap; }
.demo-cta { display: flex; justify-content: center; margin-top: 34px; }

.service-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(440px, 1fr); align-items: start; gap: 100px; }
.service-copy { position: sticky; top: 120px; }
.service-copy h2 { font-size: clamp(2.5rem, 4vw, 4.2rem); }
.service-copy > p:not(.eyebrow) { max-width: 550px; color: var(--ink-soft); }
.service-list { border-top: 1px solid var(--line); }
.service-list article { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.service-list article > span { color: var(--coral); font-family: Georgia, serif; font-size: 1.25rem; }
.service-list h3 { margin-bottom: 8px; font-size: 1.2rem; }
.service-list p { margin: 0; color: var(--ink-soft); }

.channels-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.channels-layout h2 { max-width: 650px; }
.section-copy { max-width: 620px; color: var(--ink-soft); }
.channel-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 46px; border-radius: var(--radius-lg); background: var(--sage); }
.channel-cloud span { padding: 15px 20px; border: 1px solid rgba(24, 51, 45, 0.12); border-radius: 999px; background: rgba(255, 253, 248, 0.78); font-weight: 650; }

.launch-section { padding-top: 40px; background: var(--paper); }
.launch-panel { padding: clamp(34px, 5vw, 68px); border-radius: var(--radius-lg); color: #f8f1e7; background: var(--forest); box-shadow: var(--shadow); }
.launch-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; }
.launch-heading h2 { max-width: 760px; margin-bottom: 0; }
.launch-fact { min-width: 190px; padding: 20px 0 4px 24px; border-left: 1px solid rgba(255, 255, 255, 0.22); }
.launch-fact strong, .launch-fact span { display: block; }
.launch-fact strong { margin-bottom: 4px; font-family: Georgia, serif; font-size: 2rem; font-weight: 400; }
.launch-fact span { color: #cfe1d8; font-size: 0.75rem; }
.launch-intro { max-width: 690px; margin: 34px 0 48px; color: #cfe1d8; }
.launch-checklist { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.18); border-left: 1px solid rgba(255, 255, 255, 0.18); }
.launch-checklist li { position: relative; min-height: 108px; padding: 22px 18px 20px 45px; border-right: 1px solid rgba(255, 255, 255, 0.18); border-bottom: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.86rem; }
.launch-checklist li::before { position: absolute; top: 20px; left: 18px; color: #f28b70; content: "✓"; font-weight: 800; }
.launch-checklist--three { grid-template-columns: repeat(3, 1fr); }
.launch-checklist strong, .launch-checklist span { display: block; }
.launch-checklist strong { margin-bottom: 8px; line-height: 1.35; }
.launch-checklist span { color: #cfe1d8; font-size: 0.78rem; line-height: 1.5; }

.pricing-section { background: #efe6da; }
.pricing-heading { max-width: 840px; }
.pricing-heading > p:last-child { color: var(--ink-soft); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 18px; }
.price-card { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.price-card--featured { color: #fff; border-color: var(--forest); background: var(--forest); transform: translateY(-10px); box-shadow: var(--shadow); }
.popular-label { position: absolute; top: -13px; left: 26px; padding: 6px 11px; border-radius: 999px; color: #fff; background: var(--coral); font-size: 0.7rem; font-weight: 750; }
.price-head { display: flex; min-height: 54px; align-items: flex-start; justify-content: space-between; gap: 12px; }
.price-head h3 { margin: 0; font-family: inherit; font-size: 1rem; font-weight: 750; letter-spacing: 0; }
.price-head span { padding: 5px 8px; border-radius: 999px; color: var(--ink-soft); background: var(--sage-light); font-size: 0.68rem; white-space: nowrap; }
.price-card--featured .price-head span { color: #fff; background: rgba(255, 255, 255, 0.12); }
.price { margin: 24px 0 12px; }
.price strong { display: block; font-family: Georgia, serif; font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 400; line-height: 1; }
.price span { color: var(--ink-soft); font-size: 0.75rem; }
.price-card--featured .price span, .price-card--featured .price-summary { color: #cfe1d8; }
.price-summary { min-height: 50px; margin-bottom: 22px; color: var(--ink-soft); font-size: 0.88rem; }
.price-card ul { margin: 0 0 24px; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line); }
.price-card--featured ul { border-color: rgba(255, 255, 255, 0.17); }
.price-card li { position: relative; padding: 6px 0 6px 24px; font-size: 0.88rem; }
.price-card li::before { position: absolute; left: 2px; color: var(--coral); content: "✓"; font-weight: 800; }
.manager-boundary { min-height: 82px; margin: auto 0 24px; padding: 14px; border-radius: 12px; color: var(--ink-soft); background: var(--sage-light); font-size: 0.75rem; }
.price-card--featured .manager-boundary { color: #dbe8e1; background: rgba(255, 255, 255, 0.08); }
.price-card--featured .button:hover { border-color: #fff; background: #fff; color: var(--forest); }
.included-banner { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 30px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255, 253, 248, 0.65); }
.included-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; background: var(--coral); }
.included-banner p { margin: 2px 0 0; color: var(--ink-soft); font-size: 0.86rem; }

.faq-layout { display: grid; grid-template-columns: minmax(260px, 0.7fr) minmax(500px, 1fr); align-items: start; gap: 90px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--coral); font-size: 1.6rem; font-weight: 300; transition: transform 180ms ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 720px; padding: 0 42px 24px 0; color: var(--ink-soft); }

.contact-section { color: #fff; background: var(--coral); }
.contact-panel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(450px, 0.8fr); align-items: start; gap: 90px; }
.contact-copy h2 { font-size: clamp(2.5rem, 4.5vw, 4.7rem); }
.contact-copy > p:not(.eyebrow) { max-width: 580px; color: #fff; }
.contact-section .eyebrow--light { color: #fff; }
.prototype-form { padding: 28px; border-radius: var(--radius-lg); color: var(--ink); background: var(--surface); box-shadow: 0 22px 70px rgba(91, 39, 29, 0.18); }
.selected-tariff { margin: 0 0 20px; padding: 10px 12px; border-radius: 10px; color: var(--forest); background: var(--sage-light); font-size: 0.78rem; font-weight: 700; }
.prototype-form label { display: grid; gap: 7px; margin-bottom: 15px; font-size: 0.75rem; font-weight: 700; }
.prototype-form label > span { color: var(--ink-soft); font-weight: 400; }
.prototype-form input:not([type="checkbox"]), .prototype-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fbf8f2; resize: vertical; }
.prototype-form input:hover, .prototype-form textarea:hover { border-color: rgba(24, 51, 45, 0.34); }
.prototype-form [aria-invalid="true"] { border-color: var(--coral-dark) !important; box-shadow: 0 0 0 3px rgba(194, 79, 55, 0.14); }
.checkbox-label { grid-template-columns: 20px 1fr; align-items: start; margin: 6px 0 20px !important; font-weight: 400 !important; line-height: 1.4; }
.checkbox-label input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--coral); }
.checkbox-label a { text-underline-offset: 3px; }
.form-privacy-note { margin: -10px 0 20px 28px; color: var(--ink-soft); font-size: 0.72rem; line-height: 1.5; }
.form-privacy-note a { color: var(--ink); text-underline-offset: 3px; }
.form-status { min-height: 22px; margin: 12px 0 0; color: var(--coral-dark); font-size: 0.78rem; text-align: center; }
.form-status[data-state="success"] { color: var(--forest); }
.form-status[data-state="error"] { color: var(--coral-dark); }

.site-footer { padding: 62px 0 110px; color: #eaf1ed; background: #102f27; }
.footer-main { display: grid; grid-template-columns: 1.3fr 0.7fr 0.8fr; gap: 60px; padding-bottom: 50px; }
.brand--footer { align-self: start; color: #fff; }
.footer-main > div { display: grid; align-content: start; gap: 8px; }
.footer-main > div > span { margin-bottom: 8px; color: #91aea1; font-size: 0.7rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-main a:not(.brand) { color: #d5e3dc; text-decoration: none; }
.footer-main a:hover { color: #fff; }
.footer-cookie-settings { width: max-content; padding: 0; border: 0; color: #d5e3dc; background: transparent; cursor: pointer; font: inherit; text-align: left; }
.footer-cookie-settings:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); color: #91aea1; font-size: 0.72rem; }

.cookie-banner[hidden] { display: none; }
.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 450;
  width: min(720px, calc(100vw - 48px));
  padding: 24px;
  border: 1px solid rgba(24, 51, 45, 0.2);
  border-radius: 24px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 24px 80px rgba(15, 47, 39, 0.24);
  backdrop-filter: blur(18px);
}
.cookie-banner__eyebrow { margin: 0 0 7px; color: var(--coral-dark); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.cookie-banner h2 { margin: 0 0 12px; font-size: clamp(1.55rem, 3vw, 2rem); line-height: 1.05; letter-spacing: -0.025em; }
.cookie-banner__copy > p:not(.cookie-banner__eyebrow, .cookie-banner__status) { max-width: 650px; margin: 0; color: var(--ink-soft); font-size: 0.88rem; line-height: 1.55; }
.cookie-banner a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.cookie-banner__status { margin: 12px 0 0; color: var(--forest); font-size: 0.78rem; font-weight: 700; }
.cookie-banner__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.cookie-banner__button { min-height: 48px; padding: 11px 16px; border: 1px solid transparent; border-radius: 999px; color: #fff; cursor: pointer; font-weight: 750; }
.cookie-banner__button--deny { border-color: var(--forest); background: var(--forest); }
.cookie-banner__button--allow { border-color: var(--coral); background: var(--coral); }
.cookie-banner__button--deny:hover { background: var(--forest-light); }
.cookie-banner__button--allow:hover { background: var(--coral-dark); }
.cookie-banner-open .chat-widget { visibility: hidden; opacity: 0; pointer-events: none; }

.chat-widget { position: fixed; right: max(20px, calc((100vw - var(--container)) / 2)); bottom: 22px; z-index: 200; display: grid; justify-items: end; gap: 12px; }
.widget-launcher { display: flex; min-height: 54px; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; color: #fff; background: var(--forest); box-shadow: 0 14px 40px rgba(17, 52, 43, 0.3); cursor: pointer; }
.widget-launcher i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: var(--forest); background: var(--sage); font-style: normal; }
.widget-dot { width: 8px; height: 8px; border-radius: 50%; background: #7ed69e; box-shadow: 0 0 0 4px rgba(126, 214, 158, 0.13); }
.widget-panel { width: min(380px, calc(100vw - 32px)); max-height: calc(100dvh - 100px); overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 25px 80px rgba(15, 47, 39, 0.28); }
.widget-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 14px; border-bottom: 1px solid var(--line); background: #f4ede2; }
.widget-panel-head > div { display: flex; align-items: center; gap: 10px; }
.widget-panel-head > div > div > strong, .widget-panel-head > div > div > span { display: block; }
.widget-panel-head > div > div > span { color: var(--ink-soft); font-size: 0.68rem; }
.widget-panel-head button { display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; color: var(--ink); background: rgba(24, 51, 45, 0.07); cursor: pointer; font-size: 1.4rem; }
.widget-panel-body { padding: 38px 24px; text-align: center; }
.widget-placeholder-icon { display: grid; width: 52px; height: 52px; place-items: center; margin: 0 auto 17px; border-radius: 50%; color: #fff; background: var(--coral); font-family: Georgia, serif; font-weight: 700; }
.widget-panel-body h2 { margin-bottom: 10px; font-size: 1.8rem; }
.widget-panel-body p { color: var(--ink-soft); font-size: 0.84rem; }
.widget-panel-body a { font-size: 0.82rem; font-weight: 700; text-underline-offset: 4px; }

.legal-main { min-height: 70vh; padding: 90px 0 120px; }
.legal-layout { max-width: 900px; }
.legal-layout h1 { max-width: 860px; margin-bottom: 48px; font-size: clamp(3rem, 6vw, 5.8rem); }
.back-link { display: inline-block; margin-bottom: 54px; color: var(--ink-soft); text-underline-offset: 4px; }
.legal-draft-note { margin-bottom: 42px; padding: 24px 28px; border-left: 4px solid var(--coral); border-radius: 0 16px 16px 0; background: var(--surface); }
.legal-draft-note strong { font-size: 1.1rem; }
.legal-draft-note p { margin: 6px 0 0; color: var(--ink-soft); }
.legal-placeholder { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255, 253, 248, 0.56); }
.legal-placeholder h2 { margin-bottom: 26px; font-size: clamp(2rem, 3.5vw, 3rem); }
.legal-placeholder ol { margin: 0; padding-left: 24px; }
.legal-placeholder li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.legal-document { padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255, 253, 248, 0.68); }
.legal-document section + section { margin-top: 52px; padding-top: 46px; border-top: 1px solid var(--line); }
.legal-document h2 { max-width: 760px; margin-bottom: 24px; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.legal-document h3 { margin-bottom: 20px; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.25rem, 2.4vw, 1.65rem); font-weight: 400; }
.legal-document p, .legal-document li, .legal-document dd { color: var(--ink-soft); font-size: 1rem; line-height: 1.75; }
.legal-document p { margin: 0 0 18px; }
.legal-document p:last-child { margin-bottom: 0; }
.legal-document p strong { color: var(--ink); }
.legal-purpose + .legal-purpose { margin-top: 42px; padding-top: 36px; border-top: 1px dashed var(--line); }
.legal-document ul { margin: -4px 0 24px; padding-left: 24px; }
.legal-document li { padding-left: 5px; }
.legal-document li + li { margin-top: 10px; }
.legal-document a { color: var(--ink); font-weight: 650; overflow-wrap: anywhere; text-underline-offset: 4px; }
.legal-details { margin: 0; }
.legal-details > div { display: grid; grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr); gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.legal-details > div:first-child { padding-top: 0; }
.legal-details > div:last-child { padding-bottom: 0; border-bottom: 0; }
.legal-details dt { color: var(--ink); font-weight: 750; line-height: 1.5; }
.legal-details dd { margin: 0; }

.not-found-main { display: grid; min-height: 70vh; align-items: center; padding: 90px 0 120px; }
.not-found-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.72fr); align-items: center; gap: clamp(54px, 8vw, 112px); }
.not-found-copy h1 { max-width: 720px; margin-bottom: 28px; font-size: clamp(3.4rem, 6vw, 6.4rem); }
.not-found-copy > p:not(.eyebrow) { max-width: 660px; margin-bottom: 34px; color: var(--ink-soft); font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.6; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.not-found-panel { padding: clamp(30px, 4vw, 48px); border: 1px solid rgba(24, 51, 45, 0.12); border-radius: var(--radius-lg); background: var(--sage); box-shadow: var(--shadow); }
.not-found-panel > strong { display: block; margin-bottom: 18px; color: var(--coral); font-family: Georgia, "Times New Roman", serif; font-size: clamp(5.8rem, 11vw, 9rem); font-weight: 400; line-height: 0.8; letter-spacing: -0.07em; }
.not-found-panel > span { display: block; margin-bottom: 28px; color: var(--forest-light); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.not-found-panel nav { display: grid; border-top: 1px solid rgba(24, 51, 45, 0.16); }
.not-found-panel nav a { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid rgba(24, 51, 45, 0.16); font-weight: 700; text-decoration: none; }
.not-found-panel nav a:hover { color: var(--coral-dark); }
.not-found-panel nav i { color: var(--coral); font-size: 1.2rem; font-style: normal; }

@media (max-width: 1180px) {
  .desktop-nav, .header-phone, .header-cta { display: none; }
  .mobile-nav { display: block; }
  .hero-grid { grid-template-columns: 1fr 0.8fr; gap: 38px; }
  .hero h1 { font-size: clamp(3.1rem, 6vw, 4.5rem); }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .card-number { margin-bottom: 42px; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .price-card:last-child { grid-column: 1 / -1; }
  .price-card--featured { transform: none; }
  .contact-panel { gap: 45px; }
}

@media (max-width: 820px) {
  .section { padding: 84px 0; }
  .container { width: min(calc(100% - 36px), var(--container)); }
  .hero { padding-top: 54px; }
  .hero-grid, .split-heading, .situation-layout, .role-grid, .work-compare, .control-grid, .service-layout, .channels-layout, .faq-layout, .contact-panel { grid-template-columns: 1fr; }
  .hero-grid { gap: 56px; }
  .hero-copy .lead { max-width: 720px; }
  .product-illustration { width: min(100%, 570px); margin-inline: auto; }
  .situation-layout { gap: 42px; }
  .situation-example { max-width: 680px; }
  .work-compare { gap: 14px; }
  .work-compare-arrow { transform: rotate(90deg); }
  .control-grid article { min-height: 0; }
  .control-grid article > span { margin-bottom: 34px; }
  .knowledge-layout { grid-template-columns: 1fr; gap: 44px; }
  .split-heading { align-items: start; gap: 18px; }
  .section-heading { margin-bottom: 42px; }
  .service-layout { gap: 50px; }
  .service-copy { position: static; }
  .channels-layout { gap: 36px; }
  .launch-heading { grid-template-columns: 1fr; gap: 28px; }
  .launch-fact { padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.22); border-left: 0; }
  .launch-checklist { grid-template-columns: 1fr 1fr; }
  .launch-checklist--three { grid-template-columns: 1fr; }
  .channel-cloud { padding: 32px 22px; justify-content: flex-start; }
  .faq-layout { gap: 34px; }
  .contact-panel { gap: 50px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .brand--footer { grid-column: 1 / -1; }
  .not-found-layout { grid-template-columns: 1fr; gap: 48px; }
  .not-found-panel { width: min(100%, 680px); }
}

@media (max-width: 700px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card:last-child { grid-column: auto; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 74px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 68px; }
  .brand { font-size: 0.9rem; }
  .brand-mark { width: 32px; height: 32px; }
  .section { padding: 70px 0; }
  h1 { font-size: clamp(2.85rem, 14vw, 4rem); }
  h2 { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .hero { padding-top: 42px; padding-bottom: 68px; }
  .hero-boundary { font-size: 0.82rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; margin-bottom: 38px; }
  .hero-actions > span { max-width: 100%; text-align: center; }
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-facts li { padding: 16px 12px 14px 0; }
  .hero-facts li + li { padding-left: 12px; }
  .hero-facts li:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .product-illustration { padding: 18px; border-radius: 24px; }
  .illustration-head { align-items: center; }
  .illustration-head strong { font-size: 0.84rem; }
  .flow-card { grid-template-columns: 38px 1fr; padding: 12px; }
  .flow-avatar { width: 38px; height: 38px; }
  .flow-card--assistant { margin-left: 10px; }
  .ready-badge { position: static; grid-column: 2; justify-self: start; }
  .situation-example { padding: 26px 22px; border-radius: 24px; }
  .situation-example p { font-size: 1.25rem; }
  .role-card, .work-compare article, .control-grid article { padding: 26px 22px; }
  .role-note { padding: 16px 18px; }
  .value-grid, .pricing-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 230px; }
  .price-card:last-child { grid-column: auto; }
  .process-list li { grid-template-columns: 58px 1fr; gap: 6px; }
  .manager-note { align-items: flex-start; }
  .manager-note-icon { width: 44px; height: 44px; }
  .chat-shell-header { min-height: 74px; padding: 14px; }
  .chat-shell-body { min-height: 340px; padding: 42px 20px; }
  .chat-shell-input { margin: 12px; padding-left: 14px; font-size: 0.8rem; }
  .chat-shell-input button { padding-inline: 12px; }
  .prototype-notice { align-items: flex-start; flex-direction: column; }
  .channel-cloud span { padding: 11px 14px; font-size: 0.85rem; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .knowledge-grid li:nth-child(odd) { border-right: 0; }
  .launch-panel { padding: 30px 20px; border-radius: 24px; }
  .launch-checklist { grid-template-columns: 1fr; }
  .launch-checklist li { min-height: auto; }
  .included-banner { align-items: flex-start; justify-content: flex-start; }
  .prototype-form { padding: 20px; border-radius: 22px; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .brand--footer { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .cookie-banner { left: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 20px; border-radius: 20px; }
  .cookie-banner h2 { font-size: 1.55rem; }
  .cookie-banner__actions { grid-template-columns: 1fr; }
  .chat-widget { right: 14px; bottom: 14px; }
  .widget-launcher { width: 52px; min-height: 52px; justify-content: center; padding: 10px; }
  .widget-launcher > span:nth-child(2) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .widget-launcher .widget-dot { display: none; }
  .site-footer { padding-bottom: 104px; }
  .legal-main { padding: 62px 0 90px; }
  .back-link { margin-bottom: 38px; }
  .legal-layout h1 { margin-bottom: 34px; font-size: clamp(2.25rem, 10.5vw, 3rem); hyphens: none; overflow-wrap: normal; }
  .legal-placeholder { padding: 24px 20px; }
  .legal-document { padding: 28px 20px; }
  .legal-document section + section { margin-top: 38px; padding-top: 34px; }
  .legal-document h2 { font-size: clamp(1.55rem, 7vw, 2rem); overflow-wrap: anywhere; }
  .legal-document p, .legal-document li, .legal-document dd { font-size: 0.96rem; line-height: 1.68; }
  .legal-details > div { grid-template-columns: 1fr; gap: 8px; padding: 18px 0; }
  .not-found-main { padding: 62px 0 90px; }
  .not-found-copy h1 { margin-bottom: 22px; font-size: clamp(3.15rem, 15vw, 4.5rem); }
  .not-found-actions { align-items: stretch; flex-direction: column; }
  .not-found-panel { padding: 28px 24px; border-radius: 24px; }
  .not-found-panel > strong { font-size: clamp(5.4rem, 29vw, 7rem); }
}

@media (max-width: 370px) {
  .hero h1 { font-size: 2.35rem; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts li, .hero-facts li + li, .hero-facts li:nth-child(3) { grid-column: auto; padding: 14px 0; border-top: 1px solid var(--line); border-left: 0; }
  .flow-card p { font-size: 0.75rem; }
  .process-list li { grid-template-columns: 44px 1fr; }
}

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

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

.demo-section .chat-shell-body {
  height: 520px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: linear-gradient(180deg, rgba(237, 244, 237, 0.4), rgba(247, 241, 232, 0.22));
}

.widget-panel-body {
  display: flex;
  flex-direction: column;
  height: min(510px, calc(100dvh - 176px));
  min-height: 0;
  padding: 0;
}

.chat-messages {
  flex: 1;
  width: 100%;
  min-height: 0;
  align-self: stretch;
  box-sizing: border-box;
  overflow-y: auto;
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  align-content: start;
}

.chat-messages[hidden],
.chat-empty-state[hidden] {
  display: none;
}

.chat-empty-state {
  flex: 1;
  width: min(100%, 680px);
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto;
  padding: 40px 24px;
  color: var(--ink-soft);
  text-align: center;
}

.chat-empty-kicker {
  margin-bottom: 10px;
  color: var(--coral-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chat-empty-state h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 400;
}

.chat-empty-state p {
  max-width: 500px;
  margin: 0;
}

.chat-starters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.chat-starters button {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid rgba(24, 51, 45, 0.18);
  border-radius: 999px;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(24, 51, 45, 0.06);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.chat-starters button:hover {
  border-color: var(--coral);
  color: var(--coral-dark);
  background: #fff;
  transform: translateY(-1px);
}

.chat-starters button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.widget-panel-body .chat-empty-state {
  width: 100%;
  padding: 24px 14px;
}

.widget-panel-body .chat-empty-state h3 {
  font-size: 1.45rem;
}

.widget-panel-body .chat-empty-state p {
  font-size: 0.8rem;
}

.widget-panel-body .chat-starters {
  display: grid;
  width: 100%;
  gap: 8px;
  margin-top: 18px;
}

.widget-panel-body .chat-starters button {
  width: 100%;
  min-height: 44px;
  padding-block: 7px;
}

.chat-status {
  margin: 0 16px 8px;
  min-height: 20px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  text-align: left;
}

.chat-bubble {
  position: relative;
  justify-self: start;
  max-width: 84%;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: left;
}

.chat-bubble-meta {
  display: block;
  margin-bottom: 4px;
  font-size: 0.63rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.chat-bubble .chat-bubble-text {
  margin: 0;
  line-height: 1.48;
  overflow-wrap: anywhere;
  white-space: normal;
}

.chat-bubble .chat-bubble-text--plain {
  white-space: pre-wrap;
}

.chat-bubble .chat-bubble-text > :first-child { margin-top: 0; }
.chat-bubble .chat-bubble-text > :last-child { margin-bottom: 0; }
.chat-bubble .chat-bubble-text p { margin: 0 0 0.7em; }
.chat-bubble .chat-bubble-text ul,
.chat-bubble .chat-bubble-text ol { margin: 0.55em 0 0.75em; padding-left: 1.35em; }
.chat-bubble .chat-bubble-text li + li { margin-top: 0.3em; }
.chat-bubble .chat-bubble-text strong { color: inherit; font-weight: 750; }
.chat-bubble .chat-bubble-text a { color: var(--coral-dark); font-weight: 700; text-underline-offset: 3px; }
.chat-bubble .chat-bubble-text code { padding: 0.12em 0.35em; border-radius: 5px; background: rgba(24, 51, 45, 0.08); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88em; }
.chat-bubble .chat-bubble-text pre { max-width: 100%; margin: 0.65em 0; padding: 10px 12px; overflow-x: auto; border-radius: 9px; color: #f7f3eb; background: var(--forest); }
.chat-bubble .chat-bubble-text pre code { padding: 0; color: inherit; background: transparent; white-space: pre; }
.chat-bubble .chat-bubble-text blockquote { margin: 0.65em 0; padding-left: 0.8em; border-left: 3px solid var(--coral); color: var(--ink-soft); }
.chat-bubble .chat-bubble-text hr { margin: 0.75em 0; border: 0; border-top: 1px solid var(--line); }
.chat-bubble .chat-markdown-heading { margin: 0.75em 0 0.35em; color: var(--ink); font-size: 1em; font-weight: 800; }
.chat-markdown-table { max-width: 100%; margin: 0.7em 0; overflow-x: auto; }
.chat-markdown-table table { width: 100%; border-collapse: collapse; font-size: 0.88em; }
.chat-markdown-table th,
.chat-markdown-table td { padding: 6px 8px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.chat-markdown-table th { color: var(--ink); background: rgba(24, 51, 45, 0.06); font-weight: 750; }

.chat-bubble-text {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.35;
}

.chat-bubble--user {
  justify-self: end;
  margin-left: auto;
  color: #fff;
  background: var(--forest);
  border-color: rgba(23, 76, 63, 0.35);
}

.chat-bubble--assistant {
  background: #f5f0e8;
  color: var(--ink);
}

.chat-bubble--error {
  color: var(--coral-dark);
  background: rgba(194, 79, 55, 0.08);
  border-color: rgba(194, 79, 55, 0.24);
}

.chat-bubble--typing { background: #f8f5ef; color: var(--ink-soft); }

.chat-shell-form,
.widget-chat-form {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: #f8f5ef;
}

.chat-shell-form textarea,
.widget-chat-form textarea {
  flex: 1;
  min-height: 44px;
  max-height: 120px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(24, 51, 45, 0.22);
  border-radius: 12px;
  resize: none;
  background: #fff;
}

.chat-send {
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  min-width: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-weight: 650;
  cursor: pointer;
}

.chat-send svg { width: 19px; height: 19px; }

.chat-send:hover:enabled { background: var(--coral-dark); }

.chat-send:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.chat-retry {
  display: inline-block;
  margin-top: 10px;
  border: 1px solid rgba(194, 79, 55, 0.28);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--coral-dark);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 650;
}

@media (max-width: 820px) {
  .demo-section .chat-shell-body { height: 420px; min-height: 420px; }
  .chat-shell-form,
  .widget-chat-form { padding: 10px; }
  .chat-shell-form textarea,
  .widget-chat-form textarea,
  .chat-send { font-size: 0.88rem; }
  .prototype-notice { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .widget-panel-body { height: min(470px, calc(100dvh - 176px)); }
}
