/* ============================================================
   VoiceLine AI — marketing site layout (UI kit page styles)
   Composes the design-system tokens & utilities; only page-level
   structure lives here.
   ============================================================ */

:target { scroll-margin-top: 92px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: oklch(0.984 0.006 95 / 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.headbar { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; flex: none; }
.nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav a { font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); transition: color .15s ease; white-space: nowrap; }
.nav a:hover { color: var(--accent-d); }
.head-cta { flex: none; }
@media (max-width: 1040px) { .nav { display: none; } }
@media (max-width: 620px) { .head-cta { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 0.96fr; gap: 56px; align-items: center; padding-block: clamp(56px, 8vw, 116px); }
.risk-row { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; }
.risk-row span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; color: oklch(0.82 0.02 200); font-weight: 500; }
.risk-row span svg { color: var(--ai-bright); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero art — glass call panel + AI pipeline + floating summary */
.hero-art { position: relative; }
.callpanel {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(165deg, oklch(0.42 0.06 224 / 0.55), oklch(0.30 0.06 262 / 0.45));
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  padding: 18px;
  box-shadow: 0 0 0 1px oklch(0.7 0.13 220 / 0.18), 0 36px 80px -30px oklch(0.12 0.05 270), 0 0 80px -20px var(--glow-violet);
  overflow: hidden;
}
/* top accent beam */
.callpanel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--ai-beam); background-size: 200% 100%; animation: vl-beam-pan 4.5s linear infinite; z-index: 3; }
@media (prefers-reduced-motion: reduce) { .callpanel::before { animation: none; } }
/* sweeping scan line (element so it sweeps the whole panel) */
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 64px; pointer-events: none; z-index: 1; background: linear-gradient(180deg, oklch(0.80 0.16 210 / 0.16), transparent); animation: vl-scan 5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .scanline { display: none; } }
.callpanel-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cp-meta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; color: oklch(0.85 0.06 205); }
.cp-dot { width: 7px; height: 7px; border-radius: 50%; background: oklch(0.72 0.15 150); box-shadow: 0 0 10px oklch(0.72 0.15 150); }
.cp-time { font-family: var(--font-mono); font-size: 0.7rem; color: oklch(0.82 0.05 215); }
.cp-wave { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid oklch(0.58 0.08 215 / 0.5); border-radius: 10px; background: oklch(0.30 0.05 240 / 0.5); margin-bottom: 12px; }
.cp-rec { font-family: var(--font-mono); font-size: 0.56rem; font-weight: 700; letter-spacing: 0.12em; color: oklch(0.85 0.13 25); display: inline-flex; align-items: center; gap: 5px; }
.cp-rec::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: oklch(0.65 0.2 25); box-shadow: 0 0 8px oklch(0.65 0.2 25); animation: vl-pulse 2s infinite; }
.cp-transcript { position: relative; z-index: 2; background: oklch(0.99 0.003 220 / 0.95); border-radius: 10px; padding: 6px; }
/* AI pipeline rail */
.pipe { position: relative; z-index: 2; display: flex; align-items: center; gap: 6px; margin-top: 14px; padding: 12px 14px; border: 1px solid oklch(0.6 0.08 240 / 0.4); border-radius: 12px; background: oklch(0.28 0.055 250 / 0.45); }
.pipe-node { display: flex; align-items: center; gap: 8px; flex: none; }
.pipe-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: oklch(0.45 0.09 230 / 0.7); border: 1px solid oklch(0.7 0.12 215 / 0.5); color: var(--ai-bright); box-shadow: 0 0 14px -2px var(--glow-cyan); }
.pipe-t { font-size: 0.76rem; font-weight: 700; color: oklch(0.92 0.03 215); white-space: nowrap; }
.pipe-link { position: relative; flex: 1; height: 2px; min-width: 18px; border-radius: 2px; background: linear-gradient(90deg, oklch(0.6 0.1 215 / 0.25), oklch(0.6 0.13 280 / 0.5)); overflow: hidden; }
.pipe-dot { position: absolute; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--ai-bright); box-shadow: 0 0 10px 1px var(--glow-cyan); animation: vl-flow 1.8s linear infinite; }
@media (prefers-reduced-motion: reduce) { .pipe-dot { display: none; } .cp-rec::before { animation: none; } }
.summary-float { margin-top: -22px; margin-left: 40px; position: relative; z-index: 4; }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .summary-float { margin-left: 0; }
}

/* ---------- trust bar ---------- */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.trustbar .vl-wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; padding-block: 18px; }
.trustbar .tt { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em; color: var(--faint); text-transform: uppercase; }
.trustbar .ti { display: flex; align-items: center; gap: 9px; font-size: 0.82rem; font-weight: 500; color: var(--muted); }
.trustbar .ti svg { color: var(--accent); flex: none; }

/* ---------- section head ---------- */
.section-head { max-width: 760px; }

/* ---------- problem ---------- */
.prob-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.prob-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.prob-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--accent-wash); color: var(--accent-d); margin-bottom: 16px; }
.prob-card h3 { margin-bottom: 10px; }
.prob-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.75; }
@media (max-width: 900px) { .prob-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .prob-grid { grid-template-columns: 1fr; } }

/* ---------- capabilities ---------- */
.cap-now-head { margin: 40px 0 18px; }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cap-card { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease; }
.cap-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: var(--accent-line); }
.cap-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--ai-wash); color: var(--ai-d); flex: none; }
.cap-t { font-size: 0.98rem; font-weight: 700; color: var(--ink); }
.cap-p { font-size: 0.82rem; color: var(--muted); margin-top: 4px; line-height: 1.6; }
.cap-next { margin-top: 30px; padding: 28px 30px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: var(--bg-2); }
.cap-next-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; }
.cap-next-item { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 500; color: var(--ink-soft); }
.cap-next-item svg { color: var(--faint); }
@media (max-width: 900px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cap-grid { grid-template-columns: 1fr; } }

/* ---------- dashboard showcase ---------- */
.dash { margin-top: 44px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-l); overflow: hidden; }
.dash-bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.dash-bar .dash-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.dash-title { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--muted); margin-left: 8px; }
.dash-body { display: grid; grid-template-columns: 0.8fr 1.4fr 1.1fr; }
.dash-list { border-right: 1px solid var(--line); padding: 14px; }
.dash-list-h { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; color: var(--faint); text-transform: uppercase; margin-bottom: 12px; }
.call-row { padding: 12px 13px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; margin-bottom: 4px; }
.call-row:hover { background: var(--bg-2); }
.call-row.active { background: var(--ai-wash); border-color: var(--ai-wash); }
.call-row-top { display: flex; align-items: center; justify-content: space-between; }
.call-time { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-soft); font-weight: 700; }
.call-live { font-family: var(--font-mono); font-size: 0.58rem; color: var(--ai-d); background: #fff; border: 1px solid var(--ai-wash); padding: 0.1em 0.5em; border-radius: 999px; }
.call-who { font-size: 0.8rem; color: var(--muted); margin-top: 5px; }
.call-topic { font-size: 0.86rem; font-weight: 700; color: var(--ink); margin-top: 2px; }
.dash-main { padding: 18px; border-right: 1px solid var(--line); }
.dash-wave { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); margin-bottom: 14px; }
.dash-wave-t { font-family: var(--font-mono); font-size: 0.7rem; color: var(--faint); }
.dash-side { padding: 18px; display: grid; gap: 14px; align-content: start; background: var(--bg-2); }
.side-block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 14px 16px; }
.side-h { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 700; color: var(--flag); margin-bottom: 6px; }
.side-p { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 980px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-list, .dash-main { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- admin review ---------- */
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.admin-points { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.admin-points li { display: flex; gap: 11px; align-items: center; font-size: 0.92rem; color: var(--ink-soft); }
.admin-points svg { color: var(--accent-d); flex: none; }
.review-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-m); padding: 24px; }
.review-h { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 0.92rem; color: var(--ink); padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.review-h svg { color: var(--accent-d); }
.review-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center; padding: 10px 0; }
.review-who { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.review-who svg { color: var(--muted); }
.review-bar { height: 8px; background: var(--bg-2); border-radius: 999px; overflow: hidden; }
.review-bar-fill { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.review-n { font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 900px) { .admin-grid { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- integration flow ---------- */
.flow { display: flex; align-items: stretch; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.flow-node { position: relative; flex: 1; min-width: 150px; background: linear-gradient(165deg, oklch(0.42 0.06 224 / 0.5), oklch(0.30 0.06 262 / 0.4)); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: var(--radius); padding: 22px 20px; box-shadow: 0 0 40px -18px var(--glow-violet); }
.flow-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: oklch(0.45 0.09 230 / 0.7); border: 1px solid oklch(0.7 0.12 215 / 0.5); color: var(--ai-bright); box-shadow: 0 0 16px -2px var(--glow-cyan); margin-bottom: 14px; }
.flow-t { font-weight: 900; color: #fff; font-size: 0.98rem; line-height: 1.4; }
.flow-p { font-size: 0.78rem; color: oklch(0.78 0.03 200); margin-top: 6px; line-height: 1.6; }
.flow-arrow { display: grid; place-items: center; color: var(--ai-bright); flex: none; filter: drop-shadow(0 0 6px var(--glow-cyan)); }
@media (max-width: 820px) { .flow-arrow { transform: rotate(90deg); } .flow-node { min-width: 0; flex-basis: 100%; } }

/* ---------- roadmap ---------- */
.road-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.road-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px; }
.road-top { display: flex; align-items: center; justify-content: space-between; }
.road-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--insight-wash); color: var(--insight); }
.road-p { font-size: 0.84rem; color: var(--muted); line-height: 1.7; margin-top: 8px; }
@media (max-width: 900px) { .road-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .road-grid { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.price-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.price-card.featured { border-color: var(--ai); box-shadow: 0 0 0 3px var(--ai-glow), var(--shadow-m); }
.price-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price-name { font-size: 1.1rem; font-weight: 900; color: var(--ink); }
.price-amt { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 18px; flex-wrap: wrap; }
.price-num { font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem; color: var(--ink); }
.price-unit { font-size: 0.82rem; color: var(--muted); }
.price-feat { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; }
.price-feat li { display: flex; gap: 10px; align-items: center; font-size: 0.88rem; color: var(--ink-soft); }
.price-feat svg { color: var(--accent-d); flex: none; }
@media (max-width: 880px) { .price-grid { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 44px 22px 0; position: relative; font-size: 1.0rem; font-weight: 700; color: var(--ink); display: flex; gap: 14px; align-items: baseline; line-height: 1.5; }
.faq-q .qm { font-family: var(--font-mono); color: var(--accent-d); font-weight: 700; flex: none; }
.faq-q .ic { position: absolute; right: 4px; top: 26px; width: 16px; height: 16px; flex: none; }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; background: var(--accent-d); transition: transform .25s ease, opacity .2s ease; }
.faq-q .ic::before { width: 16px; height: 2px; top: 7px; }
.faq-q .ic::after { width: 2px; height: 16px; left: 7px; top: 0; }
.faq-item.open .ic::after { transform: scaleY(0); opacity: 0; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-in { padding: 0 20px 24px 30px; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.85; }

/* ---------- CTA strip ---------- */
.ctastrip { padding-block: clamp(54px, 7vw, 92px); position: relative; }
.ctastrip .vl-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px 48px; position: relative; }
.ct-lead { flex: 1 1 380px; min-width: 0; }
.ct-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ct-tel { display: inline-flex; align-items: center; gap: 12px; margin-top: 4px; }
.ct-tel-lbl { display: block; font-size: 0.7rem; color: oklch(0.78 0.04 200); }
.ct-tel-num { font-family: var(--font-mono); font-weight: 900; font-size: 1.3rem; color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: oklch(0.30 0.05 216); border-top: 1px solid oklch(0.5 0.06 205); color: oklch(0.87 0.015 200); padding-block: clamp(54px, 7vw, 84px) 30px; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-info { font-size: 0.84rem; line-height: 1.9; color: oklch(0.78 0.02 200); margin-top: 16px; }
.foot-col h4 { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: oklch(0.72 0.05 200); margin-bottom: 16px; }
.foot-col ul { list-style: none; display: grid; gap: 10px; }
.foot-col a { font-size: 0.86rem; color: oklch(0.85 0.015 200); transition: color .15s ease; }
.foot-col a:hover { color: #fff; }
.foot-disc { margin-top: 40px; padding-top: 24px; border-top: 1px solid oklch(0.4 0.04 210); font-size: 0.76rem; color: oklch(0.68 0.03 200); line-height: 1.8; }
.foot-bot { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 0.76rem; color: oklch(0.66 0.03 200); }
@media (max-width: 880px) { .foot-top { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; } }
