/* Public-site styles are intentionally separate from the dashboard and widget. */
:root {
  --paper: #f7f4ec;
  --ink: #242923;
  --muted: #60655c;
  --accent: #a9432d;
  --accent-dark: #843320;
  --line: #d9d9cd;
  --sage: #e6ebdf;
  --white: #fffefb;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 Arial, Helvetica, sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.1; }
h1, h2 { font-weight: 500; letter-spacing: -.055em; }
h1 { font-size: clamp(42px, 4.5vw, 67px); }
h2 { font-size: clamp(34px, 3.5vw, 50px); }
h3 { font-size: 21px; letter-spacing: -.025em; }
em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: var(--accent); letter-spacing: -.05em; }
p { color: var(--muted); }
.wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .15em; line-height: 1.6; color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; background: var(--accent); color: white; padding: 15px 22px; border: 1px solid var(--accent); border-radius: 7px; font-size: 14px; line-height: 1.4; font-weight: 600; text-decoration: none; transition: background .15s; }
.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.button span { font-size: 20px; line-height: 1; }
.button-small { padding: 11px 17px; font-size: 13px; }
.button-outline { background: transparent; color: var(--ink); border-color: #b9beaf; }
.button-outline:hover { background: var(--sage); border-color: var(--ink); }
.text-link { text-decoration: none; font-size: 14px; font-weight: 600; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.text-link span { margin-left: 12px; }
.fineprint { font-size: 12px; line-height: 1.6; }
.skip-link { position: fixed; top: -80px; left: 12px; z-index: 100; background: var(--ink); color: white; padding: 12px; }
.skip-link:focus { top: 12px; }

/* Navigation */
.site-header { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 21px; line-height: 1.15; font-weight: 700; text-decoration: none; letter-spacing: -.7px; flex-shrink: 0; }
.brand-ai { font-weight: 400; color: var(--accent); }
.brand small { display: block; letter-spacing: .19em; font-size: 7px; font-weight: 600; margin-top: 7px; }
.brand-mark { background: var(--ink); color: var(--paper); border-radius: 11px; width: 39px; height: 39px; display: flex; align-items: center; justify-content: center; font-family: Georgia, serif; font-style: italic; font-size: 35px; position: relative; padding-bottom: 6px; }
.brand-mark span { font: 15px Arial; position: absolute; right: 3px; top: 4px; color: #e9ab87; }
.navigation { display: flex; align-items: center; gap: 27px; font-size: 12px; }
.navigation > a:not(.button) { text-decoration: none; }
.navigation > a:not(.button):hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-login { margin-left: 24px; }
.menu-toggle { border: 1px solid var(--line); border-radius: 6px; background: transparent; padding: 8px 12px; font-size: 13px; }
.menu-toggle span { margin-left: 10px; }

/* Hero and illustrative product preview */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 58px; align-items: center; padding-block: 67px 70px; }
.hero-copy > .eyebrow { margin-bottom: 24px; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; }
.lede { font-size: 17px; line-height: 1.75; max-width: 440px; margin-top: 24px; }
.actions { display: flex; gap: 22px; align-items: center; margin-top: 29px; flex-wrap: wrap; }
.hero-copy > .fineprint { margin-top: 12px; }
.hero-note { display: flex; gap: 14px; align-items: center; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 35px; max-width: 360px; }
.hero-note > span { font-size: 38px; line-height: 1; color: var(--accent); }
.hero-note p { font-size: 12px; line-height: 1.65; }
.hero-note strong { font-weight: 500; color: var(--ink); }
.preview-stage { min-width: 0; background-color: #e9eddf; background-image: radial-gradient(#b8c1ac 1px, transparent 1px); background-size: 16px 16px; padding: 22px 25px 17px; border-radius: 22px; border: 1px solid #d9dfce; box-shadow: inset 0 0 90px #e9eddf; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.preview-heading .eyebrow { font-size: 8px; color: #4c5945; }
.preview-number { font: 10px monospace; color: #56604f; }
.scenario-controls { display: flex; gap: 5px; margin-bottom: 14px; flex-wrap: wrap; }
.scenario-controls button { flex: 1; border: 1px solid #cbd3bf; background: #f5f7f0; font-size: 10px; white-space: nowrap; padding: 8px 6px; border-radius: 5px; color: #394532; }
.scenario-controls button[aria-pressed=true] { background: var(--ink); color: white; border-color: var(--ink); }
.chat-preview { background: var(--white); border: 1px solid #d5dccc; border-radius: 12px; box-shadow: 0 16px 28px #39442b0c; overflow: hidden; }
.chat-header { display: flex; gap: 11px; align-items: center; padding: 17px; border-bottom: 1px solid #e8e9e0; }
.assistant-avatar { display: grid; place-items: center; background: var(--ink); color: var(--paper); width: 35px; height: 35px; border-radius: 10px; font-family: Georgia, serif; font-style: italic; font-size: 21px; flex-shrink: 0; }
.chat-header strong { display: block; font-size: 12px; line-height: 1.4; }
.chat-header div > span { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
.chat-status { width: 7px; height: 7px; border-radius: 50%; background: #6f835c; margin-left: auto; flex-shrink: 0; }
.preview-content { min-height: 343px; }
.preview-messages { display: flex; flex-direction: column; gap: 10px; padding: 17px; }
.message { font-size: 12px; line-height: 1.55; padding: 10px 12px; border-radius: 10px; max-width: 91%; color: #34402e; }
.message span { display: block; font-size: 8px; letter-spacing: .045em; font-weight: 700; margin-bottom: 3px; }
.message.customer { background: #f0eee7; align-self: flex-end; border-bottom-right-radius: 2px; }
.message.assistant { background: #eaf0e2; align-self: flex-start; border-bottom-left-radius: 2px; }
.preview-outcome { border-top: 1px solid #dce3d3; padding: 14px 17px; display: flex; gap: 12px; align-items: center; background: #f7f9f3; }
.outcome-icon { display: grid; place-items: center; width: 32px; height: 32px; background: #dfe8d6; border-radius: 50%; flex-shrink: 0; }
.preview-outcome small { font-size: 7px; letter-spacing: .12em; color: #516344; display: block; font-weight: 700; }
.preview-outcome strong { display: block; font-size: 11px; line-height: 1.4; margin-top: 3px; }
.preview-outcome p { font-size: 9px; line-height: 1.5; margin-top: 3px; }
.preview-footer { display: flex; gap: 6px; justify-content: center; align-items: center; padding: 9px; font-size: 8px; color: #646c5e; border-top: 1px solid #e9ede1; }
.preview-caption { text-align: center; font-size: 10px; color: #526048; margin-top: 15px; }
.business-strip { border-block: 1px solid var(--line); padding: 24px 0; }
.business-strip .wrap { display: flex; gap: 36px; align-items: center; justify-content: space-between; }
.business-strip span { font-size: 8px; letter-spacing: .13em; max-width: 130px; line-height: 1.8; color: var(--muted); }
.business-strip p { display: flex; align-items: center; gap: 28px; color: #4a5244; font-family: Georgia, serif; font-size: 19px; }
.business-strip b { font-family: Arial, sans-serif; color: #98a18d; font-weight: 400; font-size: 18px; }

/* Features and setup */
.section { padding-block: 90px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 42px; }
.section-heading .eyebrow { margin-bottom: 18px; }
.section-heading > p { max-width: 330px; font-size: 14px; line-height: 1.8; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature { padding: 27px 25px; border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column; background: #fffefb66; }
.feature-icon { font-family: monospace; color: #8b987c; font-size: 17px; margin-bottom: 28px; }
.feature h3 { font-size: 23px; line-height: 1.25; max-width: 240px; }
.feature p { font-size: 14px; line-height: 1.8; margin-top: 16px; margin-bottom: 27px; }
.feature-tag { font-size: 10px; color: var(--accent); margin-top: auto; border-top: 1px solid var(--line); padding-top: 17px; }
.workflow-section { background: #e9eddf; border-block: 1px solid #d9dfce; padding-block: 76px; }
.workflow { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.workflow .eyebrow { margin-bottom: 20px; }
.workflow-intro { font-size: 14px; margin-block: 24px 20px; max-width: 300px; }
.steps { padding: 0; margin: 0; list-style: none; }
.steps li { display: flex; gap: 23px; padding: 24px 0; border-bottom: 1px solid #cbd3bf; }
.steps li:first-child { padding-top: 8px; }
.steps li:last-child { border: 0; }
.step-number { font-family: Georgia, serif; color: var(--accent); font-size: 22px; }
.steps h3 { font-size: 19px; margin-bottom: 10px; }
.steps p { font-size: 13px; line-height: 1.8; }

/* Pricing retains the existing plan limits, entitlements and checkout links. */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 20px; }
.price-card { border: 1px solid #d1d5c7; border-radius: 12px; padding: 29px 26px 21px; display: flex; flex-direction: column; background: var(--white); position: relative; }
.price-card > .eyebrow { color: var(--muted); }
.price-card h3 { font-size: 17px; font-weight: 500; letter-spacing: -.01em; margin-top: 14px; }
.price { font-size: 49px; font-weight: 500; letter-spacing: -.055em; color: var(--ink); line-height: 1.2; margin-top: 24px; }
.price span { font-size: 12px; letter-spacing: 0; color: var(--muted); margin-left: 8px; }
.plan-volume { font-size: 12px; margin-top: 8px; margin-bottom: 25px; }
.price-card .button { width: 100%; font-size: 13px; }
.featured { border: 2px solid var(--accent); padding: 28px 25px 20px; }
.plan-ribbon { position: absolute; background: var(--accent); color: white; top: -20px; left: -2px; right: -2px; text-align: center; border-radius: 8px 8px 0 0; font-size: 8px; font-weight: 600; letter-spacing: .14em; padding: 5px; }
.check-list { list-style: none; padding: 22px 0 19px; margin: 0; font-size: 12px; line-height: 1.6; display: grid; gap: 12px; }
.check-list li { padding-left: 19px; position: relative; }
.check-list li:before { content: '✓'; position: absolute; left: 0; color: #4e673b; }
.overage { border-top: 1px solid var(--line); padding-top: 15px; font-size: 10px; margin-top: auto; }
.pricing-note { text-align: center; font-size: 11px; margin-top: 20px; }
.setup-card { display: flex; align-items: center; gap: 36px; background: var(--sage); border: 1px solid #d5ddc9; border-radius: 10px; padding: 28px 30px; margin-top: 35px; }
.setup-card > div { flex: 1; }
.setup-card h3 { font-size: 22px; margin-top: 10px; }
.setup-card h3 span { color: var(--accent); }
.setup-card p:not(.eyebrow) { font-size: 12px; line-height: 1.8; margin-top: 12px; }
.setup-card .button { font-size: 12px; flex-shrink: 0; }
.early-access { display: flex; gap: 25px; align-items: center; margin-top: 24px; }
.early-access > span { flex-shrink: 0; border: 1px solid var(--line); padding: 6px 9px; border-radius: 4px; font-size: 8px; }
.early-access p { font-size: 11px; line-height: 1.8; max-width: 810px; }

/* FAQ and footer */
.faq-section { padding-block: 70px; border-block: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 90px; }
.faq-layout .eyebrow { margin-bottom: 20px; }
.faq-layout > div > p:not(.eyebrow) { margin-top: 25px; margin-bottom: 14px; font-size: 13px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-list details:first-child { padding-top: 0; }
.faq-list summary { font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; display: flex; gap: 20px; justify-content: space-between; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after { content: '+'; font-size: 22px; font-weight: 400; color: var(--accent); }
.faq-list details[open] summary:after { content: '−'; }
.faq-list details p { font-size: 13px; line-height: 1.8; margin-top: 15px; max-width: 530px; }
.closing { text-align: center; padding-block: 68px 80px; }
.closing-star { font-size: 43px; line-height: 1; color: var(--accent); }
.closing .eyebrow { margin-block: 22px 16px; }
.closing h2 { font-size: clamp(40px, 4.5vw, 63px); }
.closing p:not(.eyebrow) { margin-block: 20px 25px; font-size: 14px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 26px 35px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { font-size: 17px; }
.footer-brand span { font-size: 10px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.site-footer nav { display: flex; gap: 24px; font-size: 11px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer > p { width: 100%; font-size: 10px; }

/* Dedicated demo */
.demo-nav { display: flex; align-items: center; gap: 25px; font-size: 13px; }
.demo-nav > a:not(.button) { text-decoration: none; }
.demo-hero { padding-block: 60px 65px; }
.demo-hero h1 { font-size: clamp(40px, 4.2vw, 60px); }
.demo-disclosure { font-size: 12px; line-height: 1.8; margin-block: 25px; max-width: 420px; border-left: 2px solid #c2cbb6; padding-left: 15px; }
.live-section { display: grid; grid-template-columns: 1.5fr 1fr; gap: 80px; padding: 40px; background: var(--sage); border: 1px solid #d5ddc9; border-radius: 14px; margin-bottom: 60px; align-items: center; }
.live-section h2 { font-size: 34px; margin-top: 15px; }
.live-section p:not(.eyebrow) { font-size: 13px; line-height: 1.8; margin-top: 20px; }
.live-section .fineprint { font-size: 11px !important; }
.live-action .button { width: 100%; }
.live-action #live-status { font-size: 12px; margin: 12px 0 24px; min-height: 38px; }

/* Responsive layouts retain full pricing information without horizontal swiping. */
@media (min-width: 901px) { .menu-toggle { display: none; } }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 48px); }
  .navigation { gap: 18px; }
  .nav-login { margin-left: 0; }
  .hero { gap: 28px; }
  .preview-stage { padding: 18px; }
  .business-strip p { gap: 18px; font-size: 16px; }
  .workflow { gap: 50px; }
  .feature { padding: 25px 20px; }
  .faq-layout { gap: 50px; }
  .price-card { padding-inline: 20px; }
  .setup-card { gap: 25px; }
}
@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; padding-block: 20px; min-height: 80px; gap: 18px; }
  .navigation { width: 100%; justify-content: flex-start; flex-wrap: wrap; padding-top: 8px; }
  .site-header.js-menu .navigation { display: none; }
  .site-header.js-menu .navigation.is-open { display: flex; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-block: 45px; }
  .hero-copy { max-width: 620px; }
  .hero h1 { font-size: 58px; }
  .hero .lede { max-width: 540px; }
  .hero-note { display: none; }
  .preview-stage { max-width: 550px; width: 100%; margin-inline: auto; padding: 23px; }
  .business-strip .wrap { flex-direction: column; gap: 12px; }
  .business-strip span { max-width: none; }
  .business-strip p { flex-wrap: wrap; justify-content: center; gap: 14px; }
  .section { padding-block: 60px; }
  .section-heading { align-items: flex-start; gap: 30px; }
  .section-heading > p { max-width: 260px; font-size: 13px; }
  .feature-grid { gap: 14px; }
  .feature h3 { font-size: 19px; }
  .feature p { font-size: 12px; }
  .feature-tag { font-size: 9px; }
  .workflow { gap: 35px; }
  .price-card { padding: 25px 17px 20px; }
  .price-card h3 { font-size: 15px; }
  .price { font-size: 40px; }
  .price span { font-size: 10px; margin-left: 5px; }
  .check-list { font-size: 11px; }
  .setup-card { align-items: flex-start; flex-direction: column; gap: 20px; }
  .faq-layout { gap: 35px; }
  .live-section { gap: 30px; padding: 30px; }
  .live-section h2 { font-size: 30px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .brand { font-size: 18px; }
  .brand-mark { width: 35px; height: 35px; }
  .hero { padding-block: 36px 40px; gap: 32px; }
  .hero h1 { font-size: clamp(38px, 9vw, 54px); }
  .hero-copy > .eyebrow { font-size: 8px; margin-bottom: 20px; }
  .lede { font-size: 15px; margin-top: 20px; line-height: 1.75; }
  .actions { gap: 18px; margin-top: 24px; }
  .actions .button { font-size: 12px; gap: 18px; padding: 14px 17px; }
  .actions .text-link { font-size: 12px; }
  .hero-copy > .fineprint { font-size: 10px; }
  .preview-stage { padding: 17px 13px 13px; border-radius: 16px; }
  .preview-heading .eyebrow { font-size: 7px; }
  .preview-heading { margin-bottom: 12px; }
  .scenario-controls button { font-size: 9px; padding: 9px 5px; min-height: 35px; }
  .chat-header { padding: 14px; }
  .chat-header strong { font-size: 11px; }
  .preview-messages { padding: 13px; gap: 9px; }
  .message { font-size: 11px; padding: 9px 11px; }
  .preview-outcome { padding: 12px; }
  .preview-content { min-height: 340px; }
  .preview-footer { font-size: 7px; }
  .preview-caption { font-size: 9px; }
  .business-strip { padding-block: 21px; }
  .business-strip p { font-size: 14px; gap: 10px; }
  .business-strip b { font-size: 12px; }
  .business-strip span { font-size: 7px; }
  .section { padding-block: 46px; }
  .section-heading { display: block; margin-bottom: 27px; }
  .section-heading > p { max-width: 100%; margin-top: 20px; }
  .section-heading .eyebrow { font-size: 8px; margin-bottom: 16px; }
  h2 { font-size: 36px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { padding: 23px; }
  .feature-icon { margin-bottom: 18px; }
  .feature h3 { font-size: 23px; max-width: 270px; }
  .feature p { font-size: 14px; margin-block: 14px 20px; }
  .feature-tag { font-size: 10px; }
  .workflow-section { padding-block: 45px; }
  .workflow { grid-template-columns: 1fr; gap: 30px; }
  .workflow .eyebrow { font-size: 8px; }
  .workflow-intro { max-width: 100%; }
  .steps li { padding-block: 22px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 0; }
  .price-card { padding: 27px; }
  .price-card h3 { font-size: 19px; }
  .price { font-size: 50px; }
  .price span { font-size: 13px; }
  .plan-volume { font-size: 13px; }
  .check-list { font-size: 13px; gap: 13px; }
  .overage { font-size: 11px; }
  .featured { margin-top: 6px; }
  .pricing-note { text-align: left; line-height: 1.8; }
  .setup-card { padding: 24px; margin-top: 25px; }
  .setup-card h3 { font-size: 25px; line-height: 1.25; }
  .setup-card h3 span { display: block; margin-top: 6px; }
  .setup-card .eyebrow { font-size: 8px; }
  .early-access { align-items: flex-start; gap: 14px; }
  .early-access p { font-size: 10px; }
  .faq-section { padding-block: 45px; }
  .faq-layout { grid-template-columns: 1fr; gap: 34px; }
  .faq-list summary { font-size: 13px; min-height: 32px; }
  .faq-list details p { font-size: 13px; }
  .closing { padding-block: 46px; }
  .closing .eyebrow { font-size: 8px; }
  .site-footer { gap: 23px; padding-block: 25px; }
  .site-footer nav { gap: 20px; flex-wrap: wrap; }
  .footer-brand { font-size: 18px; }
  .demo-nav { gap: 14px; font-size: 11px; }
  .demo-nav .button { padding: 10px 12px; font-size: 11px; }
  .demo-nav .button span { display: none; }
  .live-section { grid-template-columns: 1fr; padding: 24px; gap: 25px; margin-bottom: 40px; }
  .live-section h2 { font-size: 32px; }
  .live-section p:not(.eyebrow) { margin-top: 16px; }
  .live-action #live-status { min-height: 0; }
  .live-section .eyebrow { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
/* Public chat stays visible without downloading the widget. */
.public-chat-launcher{position:fixed;right:16px;bottom:16px;z-index:1000;max-width:230px;background:#fffdf7;border:1px solid #d8d3c8;border-radius:12px;padding:12px;box-shadow:0 4px 20px #0002}.public-chat-launcher button{background:#a9432d;color:white;border:0;border-radius:6px;padding:12px 18px;cursor:pointer}.public-chat-launcher p{font:12px/1.4 system-ui;margin:8px 0 0}#chat-privacy{max-width:480px;width:calc(100% - 32px);box-sizing:border-box;border:1px solid #d8d3c8;border-radius:12px;padding:24px;background:#fffdf7;color:#252820;font:16px/1.5 system-ui}#chat-privacy::backdrop{background:#0008}#chat-privacy h2{font:600 23px/1.2 system-ui}#chat-privacy p{margin:16px 0}#chat-privacy>div{display:flex;gap:12px;flex-wrap:wrap}#chat-privacy button{padding:12px 16px;border:1px solid #787a6e;border-radius:6px;background:#fffdf7;cursor:pointer;font:inherit}#chat-privacy a{color:#753521;text-decoration:underline}
