/* Marketing site. Hand-written, no framework. Tokens first, then layout, then components. */
:root {
  --teal: #0F6B5C;
  --teal-dark: #0B4F44;
  --teal-soft: #E6F2EF;
  --lime: #D4EC6A;
  --lime-dark: #A9C43E;
  --lime-soft: #F4FADA;
  --ink: #13221F;
  --ink-2: #3A4A46;
  --ink-3: #5F6E6A;
  --line: #DCE5E2;
  --bg: #FFFFFF;
  --bg-alt: #F5F8F7;
  --white: #FFFFFF;
  --danger: #B42318;
  --amber: #B54708;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(19, 34, 31, 0.08);
  --shadow-sm: 0 2px 8px rgba(19, 34, 31, 0.06);
  --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1160px;
  --gutter: 16px;
  --dark: #13221F;            /* fixed dark surface: same in light and dark mode */
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --teal: #4FB39E;
    --teal-dark: #3B9A86;
    --teal-soft: #15302B;
    --lime: #D4EC6A;
    --lime-dark: #B8D24A;
    --lime-soft: #2A3318;
    --ink: #EEF4F2;
    --ink-2: #C6D2CE;
    --ink-3: #93A39E;
    --line: #27383380;
    --bg: #0E1917;
    --bg-alt: #142220;
    --white: #0E1917;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  }
}
:root[data-theme="dark"] {
  --teal: #4FB39E; --teal-dark: #3B9A86; --teal-soft: #15302B; --lime: #D4EC6A; --lime-dark: #B8D24A;
  --lime-soft: #2A3318; --ink: #EEF4F2; --ink-2: #C6D2CE; --ink-3: #93A39E; --line: #27383380;
  --bg: #0E1917; --bg-alt: #142220; --white: #0E1917;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: inline-block; vertical-align: middle; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.lead { font-size: 1.2rem; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: 0.9rem; }
.center { text-align: center; }
.center > .cta-row, .cta-row.center { justify-content: center; }
.eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.6em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--lime); color: #13221F; padding: 8px 14px; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lime-dark); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 820px; }
.section { padding: 72px 0; }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head .lead { margin-bottom: 0; }
.page-hero { padding: 64px 0 24px; }
.page-hero .lead { margin-bottom: 1.2em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px;
  border-radius: 999px; border: 2px solid transparent; font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-lime { background: var(--lime); color: #13221F; border-color: var(--lime); }
.btn-lime:hover { background: var(--lime-dark); border-color: var(--lime-dark); color: #13221F; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 1.05rem; }
.btn-sm { min-height: 34px; padding: 4px 14px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.hero-note, .cta-note { font-size: 0.9rem; color: var(--ink-3); margin: 0; }
.link-more { font-family: var(--font-display); font-weight: 700; color: var(--teal); text-decoration: none; }
.link-more::after { content: " \2192"; }
.link-more:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-nav { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; color: var(--ink); }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: var(--teal); background: var(--teal-soft); }
.nav-links a.is-active { color: var(--teal); font-weight: 700; }
.nav-mobile-only { display: none; }
.nav-cta { display: flex; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: transparent; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); display: block; }
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 16px; box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .nav-mobile-only { display: block; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta { order: 2; }
  .nav-toggle { order: 3; margin-left: 0; }
  .logo { margin-right: auto; }
}

/* Hero */
.hero { padding: 64px 0 56px; background: radial-gradient(1200px 500px at 85% -10%, var(--lime-soft), transparent 70%), radial-gradient(900px 500px at -10% 110%, var(--teal-soft), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero-bullets { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: 0.95rem; color: var(--ink-2); }
.hero-bullets li::before { content: "\2713"; color: var(--teal); font-weight: 700; margin-right: 6px; }
.hero-visual { position: relative; min-height: 320px; }
.hero-visual-icon { display: flex; align-items: center; justify-content: center; min-height: 200px; }
.agent-demo { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: grid; gap: 12px; position: relative; z-index: 2; }
.agent-msg { max-width: 92%; padding: 10px 14px; border-radius: 14px; font-size: 0.95rem; line-height: 1.45; }
.agent-msg.user { background: var(--teal); color: #fff; border-bottom-right-radius: 4px; justify-self: end; }
.agent-msg.bot { background: var(--bg-alt); color: var(--ink); border-bottom-left-radius: 4px; }
.agent-card { border: 2px solid var(--lime); border-radius: var(--radius-sm); padding: 12px 14px; background: var(--lime-soft); color: var(--ink); }
.agent-card-head { font-family: var(--font-display); font-weight: 700; margin-bottom: 6px; }
.agent-card ul { list-style: disc; padding-left: 18px; font-size: 0.9rem; margin-bottom: 10px; }
.agent-card-actions { display: flex; gap: 8px; }
.order-demo { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 12px; margin: -24px 0 0 40px; position: relative; z-index: 1; font-size: 0.9rem; }
.mock-bar { padding: 4px 6px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; color: var(--ink-2); }
.mock-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 6px; border-bottom: 1px dashed var(--line); }
.mock-row:last-child { border-bottom: 0; }
.store-tile { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-bottom: 1px dashed var(--line); }
.store-img { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, var(--teal-soft), var(--lime-soft)); flex: 0 0 auto; }
.chip { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.chip-green { background: #E3F5EA; color: #0B6B3A; }
.chip-teal { background: var(--teal-soft); color: var(--teal-dark); }
.chip-amber { background: #FDF0DC; color: var(--amber); }
@media (max-width: 860px) {
  .hero { padding: 40px 0 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .order-demo { margin: -16px 0 0 16px; }
}

/* Logo strip, tags */
.logo-strip { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 12px 0 20px; }
.logo-strip li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-display); font-weight: 700; color: var(--ink-2); background: var(--white); font-size: 0.95rem; }
.tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; vertical-align: middle; }
.tag-beta { background: var(--teal-soft); color: var(--teal-dark); }
.tag-soon { background: #FDF0DC; color: var(--amber); }
.tag-lime { background: var(--lime); color: #13221F; margin-left: 6px; }

/* Feature cards (home) */
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { display: flex; flex-direction: column; gap: 8px; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal); }
.feature-card.is-primary { grid-column: span 2; background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); color: #fff; border-color: transparent; }
.feature-card.is-primary h3, .feature-card.is-primary .feature-tagline, .feature-card.is-primary .link-more { color: #fff; }
.feature-card.is-primary .feature-icon { background: rgba(255, 255, 255, 0.15); color: var(--lime); }
.feature-card p { margin: 0; color: inherit; }
.feature-card .link-more { margin-top: auto; padding-top: 8px; }
.feature-tagline { font-family: var(--font-display); font-weight: 700; color: var(--teal); }
.feature-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--teal-soft); color: var(--teal); }
.feature-icon svg { width: 24px; height: 24px; }
.feature-icon-xl { width: 160px; height: 160px; border-radius: 40px; background: linear-gradient(135deg, var(--teal-soft), var(--lime-soft)); }
.feature-icon-xl svg { width: 80px; height: 80px; }
@media (max-width: 860px) { .feature-cards { grid-template-columns: 1fr; } .feature-card.is-primary { grid-column: span 1; } }

/* Feature rows (features page) */
.feature-rows { display: grid; gap: 24px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.feature-row h3 { margin-top: 12px; font-size: 1.5rem; }
.feature-row h3 a { color: var(--ink); text-decoration: none; }
.feature-row h3 a:hover { color: var(--teal); }
@media (max-width: 860px) { .feature-row { grid-template-columns: 1fr; padding: 22px; } }

/* Lists and cards */
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { padding-left: 30px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--lime); }
.check-list li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 6px; height: 10px; border: solid #13221F; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check-list.two-col { grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.check-list.compact { gap: 6px; font-size: 0.95rem; }
@media (max-width: 700px) { .check-list.two-col { grid-template-columns: 1fr; } }
.grid-cards { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.card p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.card .link-more { display: inline-block; margin-top: 10px; font-size: 0.95rem; }
.card.is-highlight { border-color: var(--lime); background: var(--lime-soft); }
@media (max-width: 900px) { .grid-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-cards { grid-template-columns: 1fr; } }
.pill-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-links.center { justify-content: center; margin: 20px 0; }
.pill-links a { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.pill-links a:hover { border-color: var(--teal); color: var(--teal); }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; margin-bottom: 32px; }
.steps li { padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.steps h3 { margin: 12px 0 6px; }
.steps p { margin: 0; color: var(--ink-2); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--dark); color: var(--lime); font-family: var(--font-display); font-weight: 800; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.journey { list-style: none; display: grid; gap: 14px; max-width: 760px; margin: 0 auto; }
.journey li { display: flex; gap: 18px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.journey h3 { margin: 4px 0 4px; }
.journey p { margin: 0; color: var(--ink-2); }
.journey .step-num { flex: 0 0 auto; }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--font-display); background: var(--bg-alt); }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare td { color: var(--ink-2); }
.compare .ours { background: var(--lime-soft); color: var(--ink); font-weight: 600; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.plans-table td { text-align: center; }
.plans-table thead th:not(:first-child) { text-align: center; }
.yes { color: var(--teal); font-weight: 800; }
.no { color: var(--ink-3); }

/* Trust row, proof */
.trust-row { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-row li { padding: 22px; background: var(--bg-alt); border-radius: var(--radius-sm); }
.trust-row h3 { font-size: 1.05rem; margin-bottom: 4px; padding-left: 20px; position: relative; }
.trust-row h3::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.trust-row p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 860px) { .trust-row { grid-template-columns: 1fr; } }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.proof-grid blockquote { margin: 0; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.proof-grid footer { font-size: 0.9rem; color: var(--ink-3); }
.proof-placeholder blockquote { border-style: dashed; color: var(--ink-3); }
@media (max-width: 860px) { .proof-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; padding: 14px 36px 14px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.4rem; color: var(--teal); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--ink-2); margin: 0 0 14px; }

/* CTA band */
.cta-band { background: var(--dark); color: #fff; padding: 72px 0; text-align: center; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.82); max-width: 640px; margin: 0 auto 1em; }
.cta-band .cta-row { justify-content: center; }
.cta-band .cta-note { color: rgba(255, 255, 255, 0.6); }

/* Pricing */
.billing-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: var(--white); margin: 8px 0 16px; }
.billing-toggle button { border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; color: var(--ink-2); cursor: pointer; min-height: 40px; }
.billing-toggle button.is-active { background: var(--dark); color: #fff; }
.plans { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 12px 0 24px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.plan.featured { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.plan-enterprise { background: var(--bg-alt); }
.plan-tag { position: absolute; top: -14px; left: 22px; background: var(--lime); color: #13221F; padding: 3px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 800; font-family: var(--font-display); }
.plan h2 { font-size: 1.4rem; margin: 0; }
.plan-for { color: var(--ink-2); font-size: 0.95rem; min-height: 3em; margin: 0; }
.price { margin: 0; display: flex; align-items: baseline; gap: 4px; }
.price-value { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.03em; }
.price-period { color: var(--ink-3); }
.price-sub { font-size: 0.85rem; color: var(--ink-3); margin: -6px 0 0; min-height: 1.3em; }
.plan-limits { list-style: none; display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 0.92rem; font-weight: 600; }
.plan .check-list { flex: 1; }
.plan .btn { margin-top: 10px; }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }
.addon { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.addon h2 { font-size: 1.4rem; }
.addon p { margin: 0; color: var(--ink-2); }
@media (max-width: 700px) { .addon { flex-direction: column; align-items: flex-start; } }
.price-callout { margin: 8px 0 0; }
.price-big { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.03em; color: var(--teal); }

/* Forms */
.lead-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field select, .field textarea, .chat-form input {
  font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); min-height: 44px;
}
.field input:focus, .field select:focus, .field textarea:focus, .chat-form input:focus { border-color: var(--teal); outline: 3px solid var(--teal-soft); }
.form-hint { font-size: 0.9rem; color: var(--ink-3); margin: 14px 0; }
.form-status { margin: 12px 0 0; font-weight: 600; min-height: 1.4em; }
.form-status.is-error { color: var(--danger); }
.form-status.is-ok { color: var(--teal); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.contact-aside h2 { font-size: 1.1rem; margin-top: 4px; }
.contact-aside p { color: var(--ink-2); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Prose (legal, about) */
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.2em; }
.prose p { color: var(--ink-2); }

/* Breadcrumb */
.breadcrumb { padding-top: 20px; font-size: 0.9rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; color: var(--ink-3); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--ink-3); }

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-tagline { font-family: var(--font-display); font-weight: 700; margin: 14px 0 6px; }
.footer-col h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin-bottom: 12px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: var(--ink-2); text-decoration: none; }
.footer-col a:hover { color: var(--teal); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* 404 */
.section-404 { padding: 96px 0; }

/* Chat widget */
.chat-widget { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-launch { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-radius: 999px; border: 0; background: var(--dark); color: var(--lime); font-family: var(--font-display); font-weight: 700; font-size: 1rem; cursor: pointer; box-shadow: var(--shadow); }
.chat-launch:hover { background: var(--teal-dark); color: #fff; }
.chat-panel { width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 100px)); display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--dark); color: #fff; }
.chat-close { background: transparent; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; }
.chat-close:hover { background: rgba(255, 255, 255, 0.15); }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: grid; gap: 10px; align-content: start; min-height: 160px; }
.chat-log .agent-msg { font-size: 0.93rem; white-space: pre-wrap; }
.chat-log .agent-msg.pending { color: var(--ink-3); font-style: italic; }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.chat-suggest button { border: 1px solid var(--line); background: var(--white); color: var(--ink-2); border-radius: 999px; padding: 6px 12px; font-size: 0.85rem; cursor: pointer; }
.chat-suggest button:hover { border-color: var(--teal); color: var(--teal); }
.chat-form { display: flex; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; }
.chat-note { font-size: 0.78rem; color: var(--ink-3); margin: 0; padding: 0 14px 10px; }
@media (max-width: 480px) { .chat-widget { right: 12px; bottom: 12px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .feature-card { transition: none; }
}
