/* Public marketing site (vocello.dev). The console and live board use styles.css — keep these separate. */
:root {
  --ink: #0b1220;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e5e9f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --brand: #1d4ed8;
  --brand-ink: #1e3a8a;
  --brand-soft: #eef2ff;
  --ok: #16a34a;
  --warn: #dc2626;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 12px 32px -12px rgba(15, 23, 42, .18);
  --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.container { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1rem; text-decoration: none; border-radius: 12px; padding: 13px 20px; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; font-family: inherit; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(29, 78, 216, .6); }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cbd5e1; background: var(--bg-soft); }
.btn-sm { padding: 9px 14px; font-size: .92rem; border-radius: 10px; }
.btn svg { width: 18px; height: 18px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, #2563eb, #1e3a8a); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 14px -6px rgba(29, 78, 216, .7); }
.logo-mark svg { width: 18px; height: 18px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--ink); }
.menu { display: none; }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu-panel { position: absolute; right: 0; top: 50px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; min-width: 220px; display: flex; flex-direction: column; }
  .menu-panel a { padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
  .menu-panel a:hover { background: var(--bg-soft); }
  .header .cta-desktop { display: none; }
}

/* Hero */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto -10%; height: 760px; background: radial-gradient(50% 50% at 70% 40%, rgba(37, 99, 235, .14), transparent 70%), radial-gradient(40% 40% at 15% 20%, rgba(14, 165, 233, .10), transparent 70%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } .hero { padding: 48px 0 64px; } }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); border: 1px solid #dbe4ff; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 38em; margin-bottom: 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: .92rem; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 16px; height: 16px; color: var(--ok); }

/* Hero visual: a live call */
.call-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 18px; position: relative; }
.call-top { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 14px; border-bottom: 1px solid var(--line); }
.call-who { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; }
.call-av { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.call-av svg { width: 18px; height: 18px; }
.call-sub { font-size: .78rem; color: var(--muted); font-weight: 500; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--ok); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.bubbles { display: flex; flex-direction: column; gap: 8px; padding: 16px 4px 6px; }
.bubble { max-width: 86%; padding: 9px 13px; border-radius: 14px; font-size: .92rem; line-height: 1.45; }
.bubble.ai { background: var(--brand-soft); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble.caller { background: var(--bg-soft); border: 1px solid var(--line); border-bottom-right-radius: 4px; align-self: flex-end; }
/* Content is visible by default; the play-in animation only runs when motion is allowed. */
@keyframes in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .bubble, .booked, .sms { animation: in .5s ease both; }
  .bubble:nth-child(1) { animation-delay: .2s; } .bubble:nth-child(2) { animation-delay: .9s; } .bubble:nth-child(3) { animation-delay: 1.6s; } .bubble:nth-child(4) { animation-delay: 2.3s; }
  .booked { animation-delay: 3s; } .sms { animation-delay: 3.7s; }
}
.booked { margin-top: 10px; display: flex; align-items: center; gap: 10px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 10px 12px; font-size: .9rem; }
.booked svg { width: 20px; height: 20px; color: var(--ok); flex-shrink: 0; }
.hero-visual { position: relative; padding-bottom: 96px; }
.sms { position: absolute; right: -14px; bottom: 0; width: 280px; background: var(--ink); color: #e2e8f0; border-radius: 16px; padding: 12px 14px; font-size: .82rem; box-shadow: 0 18px 40px -16px rgba(2, 6, 23, .55); }
.sms b { display: block; color: #93c5fd; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
@media (max-width: 960px) { .hero-visual { padding-bottom: 0; } .sms { position: static; width: auto; margin-top: 12px; } }
@media (max-width: 1240px) and (min-width: 961px) { .sms { right: 8px; } }

/* Sections */
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
@media (max-width: 720px) { .section { padding: 64px 0; } }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.section-head p { font-size: 1.12rem; color: var(--ink-2); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr; } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.stat .n { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--brand-ink); line-height: 1; margin-bottom: 10px; }
.stat p { margin: 0; color: var(--ink-2); }
.stat .src { display: block; margin-top: 10px; font-size: .8rem; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.step-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.step-ico svg { width: 22px; height: 22px; }
.step .k { position: absolute; top: 24px; right: 24px; font-size: .8rem; font-weight: 800; color: #cbd5e1; }
.step p { color: var(--ink-2); margin: 0; }

/* Dashboard showcase */
.tabs { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 0 auto 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 5px; width: fit-content; max-width: 100%; }
.tabs button { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: .95rem; color: var(--ink-2); padding: 10px 16px; border-radius: 10px; cursor: pointer; }
.tabs button:hover { color: var(--ink); background: var(--bg-soft); }
.tabs button[aria-selected="true"] { background: var(--brand); color: #fff; }
.showcase { display: grid; grid-template-columns: .72fr 1.28fr; gap: 44px; align-items: center; }
@media (max-width: 960px) { .showcase { grid-template-columns: 1fr; gap: 24px; } }
.showcase-copy h3 { font-size: 1.5rem; }
.showcase-copy p { color: var(--ink-2); font-size: 1.05rem; }
.mini-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mini-checks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.mini-checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.frame { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 30px 60px -28px rgba(15, 23, 42, .35), 0 2px 6px rgba(15, 23, 42, .06); }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f4f9; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4dae3; }
.frame-bar span { margin-left: 10px; font-size: .78rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; }
.frame img { width: 100%; height: auto; }
.shot-note { text-align: center; color: var(--muted); font-size: .82rem; margin: 20px 0 0; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.feature .step-ico { margin-bottom: 14px; }
.feature p { margin: 0; color: var(--ink-2); font-size: .97rem; }

/* Guardrails */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checks .ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.checks .no { background: #fee2e2; color: var(--warn); } .checks .yes { background: #dcfce7; color: var(--ok); }
.checks .ic svg { width: 14px; height: 14px; }
.checks strong { color: var(--ink); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }

/* Pilot band */
.pilot { background: linear-gradient(135deg, #1e3a8a, #1d4ed8 60%, #2563eb); color: #fff; border-radius: 24px; padding: 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; position: relative; overflow: hidden; }
.pilot::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
@media (max-width: 860px) { .pilot { grid-template-columns: 1fr; padding: 32px; } }
.pilot h2 { color: #fff; }
.pilot p { color: #dbeafe; font-size: 1.08rem; }
.pilot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.pilot li { display: flex; gap: 10px; align-items: center; color: #eff6ff; font-weight: 600; }
.pilot li svg { width: 20px; height: 20px; color: #86efac; flex-shrink: 0; }
.btn-white { background: #fff; color: var(--brand-ink); }
.btn-white:hover { background: #e0e7ff; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--muted); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 18px; margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; gap: 32px; } }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .step-ico { margin: 0; width: 42px; height: 42px; }
.contact-list small { display: block; color: var(--muted); font-size: .82rem; }
.contact-list a { font-weight: 700; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--brand); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field label .opt { color: var(--muted); font-weight: 500; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #d5dbe5; border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(29, 78, 216, .12); }
.field textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: .82rem; flex: 1; min-width: 200px; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-weight: 600; font-size: .95rem; }
.form-msg.ok { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.form-msg.err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 44px 0; color: var(--muted); font-size: .92rem; }
.footer-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.footer a:hover { color: var(--ink); }

/* Legal page */
.legal { max-width: 760px; padding: 56px 24px 80px; margin: 0 auto; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .7em; }
.legal .effective { color: var(--muted); }
