/* BE Voice marketing site. Same palette and type as /features/, laid out for selling. */
:root {
  --bg: #f6f8fa; --panel: #ffffff; --panel2: #eef2f5; --line: #dde3e9; --line2: #c9d2db;
  --ink: #1d252e; --bright: #0b1218; --muted: #5d6874; --soft: #44505c;
  --accent: #0b8db0; --accent-ink: #ffffff; --accent-tint: rgba(11, 141, 176, .10); --accent-deep: #086f8b;
  --ok: #1f8f4e; --bad: #b3261e;
  --hero: linear-gradient(160deg, #e9f6fa 0%, #f6f8fa 60%);
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --radius: 10px; --shadow: 0 1px 2px rgba(16, 24, 32, .05), 0 8px 24px rgba(16, 24, 32, .06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0d12; --panel: #0f141b; --panel2: #121922; --line: #1d252f; --line2: #2a333f;
    --ink: #d7dde5; --bright: #eef2f6; --muted: #85909c; --soft: #a9b3bf;
    --accent: #5fd3f0; --accent-ink: #062530; --accent-tint: rgba(95, 211, 240, .10); --accent-deep: #8fe1f5;
    --ok: #43d17a; --bad: #ff8a80;
    --hero: linear-gradient(160deg, #0c1a22 0%, #0a0d12 60%);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0d12; --panel: #0f141b; --panel2: #121922; --line: #1d252f; --line2: #2a333f;
  --ink: #d7dde5; --bright: #eef2f6; --muted: #85909c; --soft: #a9b3bf;
  --accent: #5fd3f0; --accent-ink: #062530; --accent-tint: rgba(95, 211, 240, .10); --accent-deep: #8fe1f5;
  --ok: #43d17a; --bad: #ff8a80;
  --hero: linear-gradient(160deg, #0c1a22 0%, #0a0d12 60%);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25); color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); margin: 0; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { color: var(--bright); letter-spacing: -.015em; text-wrap: balance; }
h1 { font: 700 clamp(32px, 5vw, 50px)/1.08 var(--sans); margin: 12px 0 16px; }
h2 { font: 700 clamp(24px, 3.2vw, 32px)/1.2 var(--sans); margin: 0 0 12px; }
h3 { font: 600 18px/1.35 var(--sans); margin: 0 0 6px; }
p { margin: 0 0 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--panel); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--soft); max-width: 60ch; }
.muted { color: var(--muted); }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 20px; max-width: 1180px; margin: 0 auto; padding: 10px 20px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--bright); }
.brand img { height: 36px; width: 36px; border-radius: 9px; }
.foot .brand img { height: 30px; width: 30px; border-radius: 7px; }
.brand:hover { text-decoration: none; }
.brand b { font: 700 18px/1 var(--sans); letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .drop summary { color: var(--soft); font-weight: 500; font-size: 15px; padding: 8px 10px; border-radius: 6px; cursor: pointer; }
.nav > a:hover, .drop summary:hover { color: var(--bright); background: var(--panel2); text-decoration: none; }
.nav > a[aria-current="page"] { color: var(--bright); }
.nav .signin { margin-left: 8px; }
.nav > a.btn, .nav > a.btn:hover { color: var(--accent-ink); background: var(--accent); }
.nav > a.btn:hover { background: var(--accent-deep); }
.drop { position: relative; }
.drop summary { list-style: none; }
.drop summary::-webkit-details-marker { display: none; }
.drop summary::after { content: " ▾"; font-size: 11px; }
.drop > div { position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px; display: grid; }
.drop > div a { color: var(--ink); padding: 8px 10px; border-radius: 6px; }
.drop > div a:hover { background: var(--panel2); text-decoration: none; }
.menu-btn { display: none; margin-left: auto; font: 500 15px var(--sans); color: var(--bright); background: var(--panel);
  border: 1px solid var(--line2); border-radius: 6px; padding: 7px 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1 var(--sans); color: var(--accent-ink);
  background: var(--accent); border: 1px solid var(--accent); border-radius: 8px; padding: 14px 20px; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); text-decoration: none; }
.btn.small { font-size: 14px; padding: 9px 14px; margin-left: 6px; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--accent-tint); }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Layout blocks */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; margin: 0 auto; padding: 48px 20px 64px; }
section.block { padding: 72px 0; border-top: 1px solid var(--line); }
section.block.alt { background: var(--panel); }
.hero { background: var(--hero); padding: 56px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero.single .wrap { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230b8db0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
a.card { color: inherit; display: block; transition: border-color .15s; }
a.card:hover { border-color: var(--accent); text-decoration: none; }
a.card .more { color: var(--accent); font-weight: 600; }
.icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center;
  font: 700 18px/1 var(--sans); margin-bottom: 14px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split.flip > :first-child { order: 2; }
.shot { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; background: var(--panel); }
.shot figcaption { font-size: 13px; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; padding: 0; list-style: none; }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-bottom: 12px; }
.quote { font-size: 18px; color: var(--bright); border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; margin: 20px 0; }

/* A sample call, as a transcript */
.call { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.call .who { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.call .line { max-width: 88%; padding: 10px 14px; border-radius: 14px; background: var(--panel2); }
.call .line.ai { background: var(--accent-tint); justify-self: start; border-bottom-left-radius: 4px; }
.call .line.caller { justify-self: end; border-bottom-right-radius: 4px; }
.call .after { font-size: 14px; color: var(--soft); border-top: 1px dashed var(--line2); padding-top: 10px; margin-top: 4px; }

/* Tables */
table.rules { width: 100%; border-collapse: collapse; margin: 16px 0 8px; font-size: 15px; }
table.rules th, table.rules td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.rules th { font-weight: 600; color: var(--bright); background: var(--panel2); }
.table-scroll { overflow-x: auto; }

/* Questions */
details.q { border-bottom: 1px solid var(--line); padding: 16px 0; }
details.q summary { font: 600 18px/1.4 var(--sans); color: var(--bright); cursor: pointer; list-style: none; padding-right: 28px; position: relative; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; position: absolute; right: 4px; top: 0; color: var(--accent); font-size: 22px; line-height: 1.1; }
details.q[open] summary::after { content: "–"; }
details.q > div { padding-top: 10px; color: var(--soft); }

/* Forms */
form.card { padding: 28px; }
form h2 { font-size: 24px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--soft); margin-bottom: 14px; }
input, select, textarea { width: 100%; font: 16px/1.4 var(--sans); color: var(--bright); background: var(--bg); border: 1px solid var(--line2);
  border-radius: 8px; padding: 11px 12px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent-tint); }
[aria-invalid="true"] { border-color: var(--bad); }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--soft); }
label.check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--accent); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
form .btn { width: 100%; margin-top: 4px; }
.msg { min-height: 1.4em; margin: 12px 0 0; font-size: 14px; }
.msg.err { color: var(--bad); }
.cf-turnstile { margin-bottom: 12px; }
.steps-live { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.steps-live li { padding: 12px 14px 12px 40px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); position: relative; }
.steps-live li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; border: 2px solid var(--line2); }
.steps-live li.now { color: var(--bright); border-color: var(--accent); }
.steps-live li.now::before { border-color: var(--accent); background: var(--accent); animation: pulse 1.2s ease-in-out infinite; }
.steps-live li.done { color: var(--soft); }
.steps-live li.done::before { border-color: var(--ok); background: var(--ok); }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .steps-live li.now::before { animation: none; } html { scroll-behavior: auto; } }

/* Closing call to action */
.cta { background: var(--accent); color: var(--accent-ink); padding: 64px 0; }
.cta .inner { max-width: 760px; margin: 0 auto; padding: 0 20px; text-align: center; }
.cta h2 { color: var(--accent-ink); }
.cta p { font-size: 18px; opacity: .92; }
.cta .actions { justify-content: center; }
.cta .btn { background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }
.cta .btn.ghost { background: transparent; color: var(--accent-ink); border-color: var(--accent-ink); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 48px 20px 32px; background: var(--panel); }
.foot .cols { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 4px 0 12px; }
.foot .cols > div > a:not(.brand) { display: block; color: var(--soft); padding: 4px 0; font-size: 15px; }
.foot p { color: var(--muted); font-size: 15px; margin-top: 12px; max-width: 34ch; }
.foot .fine { max-width: 1180px; margin: 32px auto 0; font-size: 13px; }

@media (max-width: 960px) {
  .hero .wrap, .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split.flip > :first-child { order: 0; }
  .cards, .cards.four { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--panel); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav > a, .drop summary { padding: 12px 8px; }
  .nav .signin { margin-left: 0; }
  .btn.small { margin: 8px 0 0; padding: 14px; }
  .drop > div { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; }
}
@media (max-width: 600px) {
  .bar, .wrap { padding-left: 16px; padding-right: 16px; }
  .cards, .cards.two, .cards.four, .grid2 { grid-template-columns: minmax(0, 1fr); }
  section.block { padding: 52px 0; }
  .hero { padding: 36px 0 48px; }
  form.card, .card { padding: 20px; }
  .foot .cols { grid-template-columns: 1fr; }
}
