/* OliviaAI product pages: /website-chat, /texting, /phone.
   Cognitive-Neutral Apple design (README "Product pages"): system type, one
   accent (voAIce Blue), opaque reading surfaces, glass on the sticky header
   only, Lucide outline icons, 44px+ targets, light and dark co-equal.
   The OliviaAI gradient appears only inside the OliviaAI mark image. */
:root {
  color-scheme: light dark;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --bg: #0a0a0f;
  --bg-tint: #111118;
  --card: #141419;
  --inset: #1c1c22;
  --stroke: rgba(255,255,255,0.12);
  --text-0: #ffffff;
  --text-1: #c7c7d1;
  --text-2: #a1a1ab;
  --link: #6cbcff;
  --action: #0071e3;
  --action-hover: #0062c4;
  --chrome: rgba(10,10,15,0.9);
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #fbfbfd;
    --bg-tint: #f5f5f7;
    --card: #ffffff;
    --inset: #f5f5f7;
    --stroke: rgba(0,0,0,0.1);
    --text-0: #1d1d1f;
    --text-1: #424245;
    --text-2: #6e6e73;
    --link: #0066cc;
    --chrome: rgba(251,251,253,0.88);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text-0);
  font-family: var(--font); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 30; padding: 10px 14px; border-radius: 10px; background: var(--card); color: var(--text-0); }

/* Header: the only glass surface (persistent chrome), opaque where blur is unavailable.
   On a phone it is two rows, so it scrolls away with the page and stays opaque. */
.site-head { position: static; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--stroke); }
@media (min-width: 768px) {
  .site-head { position: sticky; top: 0; }
  @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .site-head { background: var(--chrome); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
  }
}
@media (prefers-reduced-transparency: reduce) {
  .site-head { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text-0); text-decoration: none; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.site-nav { display: flex; align-items: center; gap: 4px; order: 3; width: 100%; }
.site-nav a {
  flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 10px;
  border-radius: 10px; color: var(--text-1); text-decoration: none; font-size: 15px; white-space: nowrap;
}
.site-nav a:hover { color: var(--text-0); background: var(--inset); }
.site-nav a[aria-current="page"] { color: var(--text-0); font-weight: 600; background: var(--inset); }
.head-cta { min-height: 44px; padding: 0 16px; font-size: 15px; }
@media (min-width: 768px) {
  .site-head .wrap { flex-wrap: nowrap; padding-top: 12px; padding-bottom: 12px; }
  .site-nav { order: 0; width: auto; margin-left: auto; }
  .site-nav a { flex: 0 0 auto; padding: 0 14px; }
}

/* Actions: one primary per region. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 10px; border: 1px solid transparent; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--action); color: #fff; }
.btn-primary:hover { background: var(--action-hover); }
.btn-secondary { background: transparent; border-color: var(--stroke); color: var(--text-0); }
.btn-secondary:hover { background: var(--inset); }
.btn svg { width: 18px; height: 18px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding: 56px 0 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--text-1); font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.eyebrow svg { width: 18px; height: 18px; }
h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; max-width: 17ch; text-wrap: balance; }
.lead { margin-top: 20px; max-width: 62ch; color: var(--text-1); font-size: clamp(18px, 2vw, 21px); line-height: 1.5; }
.hero .actions { margin-top: 28px; }
.hero-note { margin-top: 20px; color: var(--text-2); font-size: 15px; max-width: 62ch; }
.hero-note + .hero-note { margin-top: 10px; }
.hero-note strong { color: var(--text-1); font-weight: 600; }
@media (min-width: 768px) { .hero { padding: 88px 0 72px; } }

/* Sections */
.sec { padding: 48px 0; }
.sec-tint { background: var(--bg-tint); border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
@media (min-width: 768px) { .sec { padding: 72px 0; } }
.sec-head { max-width: 62ch; margin-bottom: 32px; }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
.sec-head p { margin-top: 12px; color: var(--text-1); }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; }

/* Cards: opaque, hairline, no shadow, equal height per row. */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--stroke); border-radius: 12px; padding: 24px; }
.card p { margin-top: 8px; color: var(--text-1); font-size: 16px; }
.icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 10px; background: var(--inset); color: var(--text-1); }
.icon svg { width: 22px; height: 22px; }
.sec-tint .card .icon { background: var(--bg-tint); }

/* Steps */
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { counter-increment: step; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--stroke); border-radius: 12px; padding: 24px; }
.steps li::before {
  content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-bottom: 16px;
  border-radius: 8px; background: var(--inset); color: var(--text-0); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.sec-tint .steps li::before { background: var(--bg-tint); }
.steps p { margin-top: 8px; color: var(--text-1); font-size: 16px; }

/* Fact lists */
.facts { display: grid; gap: 12px; margin-top: 16px; }
.facts li { position: relative; padding-left: 30px; color: var(--text-1); font-size: 16px; }
.facts li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; background: var(--text-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.facts strong { color: var(--text-0); font-weight: 600; }
.note { margin-top: 24px; color: var(--text-2); font-size: 15px; max-width: 70ch; }

/* Whole-card links to the sibling products (never a link inside a link). */
a.card { color: inherit; text-decoration: none; transition: background-color .15s ease; }
a.card:hover { background: var(--inset); }
a.card .more { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 6px; color: var(--link); font-size: 15px; font-weight: 600; }
a.card .more svg { width: 16px; height: 16px; }
.card .tag { margin-top: auto; padding-top: 16px; color: var(--text-2); font-size: 15px; }

/* Price: two equal centred boxes, figures of matching length. */
.price { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .price { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.price div { background: var(--card); border: 1px solid var(--stroke); border-radius: 12px; padding: 28px 24px; text-align: center; }
.price dt { color: var(--text-1); font-size: 16px; }
.price dd { margin-top: 6px; font-size: clamp(40px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; font-variant-numeric: tabular-nums; }
.price dd + dt { margin-top: 8px; }

/* FAQ */
.faq { border-top: 1px solid var(--stroke); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--stroke); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0;
  cursor: pointer; list-style: none; font-size: 18px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 20px; height: 20px; background: var(--text-2); transition: transform .15s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { padding: 0 0 20px; color: var(--text-1); max-width: 70ch; }

/* Closing action */
.close { text-align: center; }
.close h2 { margin: 0 auto; max-width: 22ch; }
.close p { margin: 12px auto 0; max-width: 56ch; color: var(--text-1); }
.close .actions { justify-content: center; margin-top: 28px; }
.close .small { margin-top: 20px; color: var(--text-2); font-size: 15px; }

/* Footer */
.site-foot { border-top: 1px solid var(--stroke); padding: 48px 0 40px; font-size: 15px; }
.foot-top { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .foot-top { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-foot .brand { font-size: 16px; }
.foot-about { margin-top: 8px; color: var(--text-2); max-width: 34ch; }
.foot-col h2 { font-size: 14px; letter-spacing: 0; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.foot-col ul { display: grid; gap: 0; }
.foot-col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-1); text-decoration: none; }
.foot-col a:hover { color: var(--text-0); text-decoration: underline; }
.foot-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--stroke); color: var(--text-2); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, a.card, .faq summary::after { transition: none; }
  .btn:active { transform: none; }
}

/* ── /website-chat: the live demo is the hero ───────────────────────
   The chat is the real product (dealercrm.com/dc-chat.js, inline install) in an
   opaque container. One accent; chips are neutral. */
.hero-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 440px); gap: 56px; } .hero-demo h1 { font-size: clamp(40px, 4.4vw, 52px); } }
.chips-label { margin-top: 28px; color: var(--text-2); font-size: 15px; }
.chips { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 2px 20px 2px 0; margin-right: -20px; }
.chips::-webkit-scrollbar { display: none; }
.chips li { flex: none; }
@media (min-width: 768px) { .chips { flex-wrap: wrap; overflow: visible; margin-right: 0; padding-right: 0; } }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--stroke);
  background: var(--card); color: var(--text-0); font: inherit; font-size: 15px; white-space: nowrap; cursor: pointer; transition: background-color .15s ease;
}
.chip:hover { background: var(--inset); }
.demo { min-width: 0; scroll-margin-top: 96px; }
.demo-notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--stroke); border-radius: 12px; background: var(--card); color: var(--text-1); font-size: 15px; line-height: 1.45; }
.demo-notice svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--text-2); }
.demo-notice strong { color: var(--text-0); font-weight: 600; }
.demo-chat { position: relative; margin-top: 12px; height: min(600px, 72vh); height: min(600px, 72dvh); min-height: 420px; border-radius: 20px; background: var(--card); scroll-margin-top: 96px; }
.demo-wait { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; border: 1px solid var(--stroke); border-radius: 20px; color: var(--text-2); font-size: 16px; }
.demo-chat #dc-chat-root ~ .demo-wait, .demo-chat .demo-wait[hidden] { display: none; }
.demo-chat #dc-chat-root { position: relative; z-index: 1; }
.demo-foot { margin-top: 12px; color: var(--text-2); font-size: 15px; }

/* Showcase: one job per row, the real chat beside it. */
.showcase { display: grid; gap: 16px; }
.show { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: center; background: var(--card); border: 1px solid var(--stroke); border-radius: 16px; padding: 24px; }
@media (min-width: 768px) {
  .show { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 48px; padding: 40px 48px; }
  .show.flip { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
  .show.flip .show-text { order: 2; }
}
.show h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.02em; line-height: 1.15; }
.show p { margin-top: 12px; color: var(--text-1); max-width: 52ch; }
.show .choice { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--stroke); font-size: 16px; }
.show .choice strong { color: var(--text-0); font-weight: 600; }
.shot { margin: 0 auto; width: 100%; max-width: 340px; }
.shot img { width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--stroke); background: var(--inset); }
.more-jobs { margin-top: 16px; }

@media (prefers-reduced-motion: reduce) { .chip { transition: none; } }
