/* ===== Cadence homepage: light, drawn, voice-first ===== */

:root {
  --bg: #f4f3ef;
  --bg-alt: #ecebe5;
  --panel: #fbfaf7;
  --panel-2: #ffffff;
  --line: rgba(24, 27, 31, 0.10);
  --line-2: rgba(24, 27, 31, 0.18);
  --ink: #181b1f;
  --text: #1d2125;
  --muted: rgba(29, 33, 37, 0.64);
  --faint: rgba(29, 33, 37, 0.44);
  --white: #181b1f;
  --live: #1f9d5c;
  --live-bright: #35d07f;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

body { background: var(--bg); color: var(--text); }
.grain { display: none; }
.dim { color: rgba(29, 33, 37, 0.42); }

/* subtle drafting grid behind the hero */
body::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1100px; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(24,27,31,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,27,31,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 55%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 55%, transparent 100%);
}

/* NAV + BUTTONS */
.nav { background: rgba(244, 243, 239, 0.78); }
.nav.scrolled { background: rgba(244, 243, 239, 0.94); border-bottom-color: var(--line); }
.brand-mark { color: var(--ink); }
.brand-mark .pulse { stroke: var(--live); }
.btn { background: var(--ink); color: #f6f5f1; border-radius: 6px; font-weight: 500; border: 0; font-family: inherit; cursor: pointer; }
.btn:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(24,27,31,0.04); border-color: rgba(24,27,31,0.3); }

/* SECTION LABELS (drafting style) */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-color: var(--line); }
.sec-label {
  display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 18px;
}
.sec-label span { color: var(--live); }
.sec-label::after { content: ""; flex: 1; height: 1px; background: var(--line-2); max-width: 520px; }
.sec-h { font-size: clamp(30px, 3.8vw, 44px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.08; color: var(--ink); margin-bottom: 48px; }
.section h2.sec-h { margin-bottom: 48px; }
.fig { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.fig b { color: var(--ink); font-weight: 500; }

/* HERO */
.vhero { padding: 44px 0 80px; position: relative; z-index: 2; overflow-x: clip; }
.vhero-copy { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.vpill {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line-2); border-radius: 100px; padding: 6px 14px; margin-bottom: 20px; background: rgba(255,255,255,0.6);
}
.vpill i { width: 7px; height: 7px; border-radius: 50%; background: var(--live-bright); box-shadow: 0 0 0 3px rgba(53,208,127,.18); animation: livepulse 2s infinite; }
.vhero h1 { font-size: clamp(42px, 5.4vw, 68px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.0; color: var(--ink); margin-bottom: 18px; }
.vlede { text-wrap: balance; font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); line-height: 1.55; max-width: 560px; margin: 0 auto 28px; }
.vhero .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* STAGE */
.stage-wrap { max-width: 1100px; margin: 0 auto; }
.stage-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.vtabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 100px; background: rgba(255,255,255,0.7); }
.vtab { font: inherit; font-size: 13.5px; color: var(--muted); background: none; border: 0; border-radius: 100px; padding: 7px 15px; cursor: pointer; transition: color .18s, background .18s; }
.vtab:hover { color: var(--text); }
.vtab.is-active { color: #f6f5f1; background: var(--ink); }
.hear {
  display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 13.5px; color: var(--muted);
  background: rgba(255,255,255,0.7); border: 1px solid var(--line); border-radius: 100px; padding: 7px 14px; cursor: pointer; transition: color .18s, border-color .18s;
}
.hear:hover { color: var(--text); border-color: var(--line-2); }
.hear svg { width: 17px; height: 17px; }
.hear .hear-on { display: none; }
.hear[aria-pressed="true"] { color: var(--live); border-color: rgba(31,157,92,0.45); }
.hear[aria-pressed="true"] .hear-on { display: inline; }
.hear[aria-pressed="true"] .hear-off { display: none; }

.stage {
  position: relative; overflow: hidden; background: var(--panel-2);
  border: 1px solid var(--line-2); border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 30px 80px -30px rgba(24,27,31,0.28), 0 2px 6px rgba(24,27,31,0.05);
}
.stage-fine { text-align: center; font-family: var(--mono); font-size: 11px; color: var(--faint); margin-top: 12px; letter-spacing: .03em; }

/* Phase 1: listening */
.listen {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  gap: 18px; padding: 60px 32px 32px; transition: opacity .45s var(--ease);
}
.listen.gone { opacity: 0; pointer-events: none; }
.caller { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 3px rgba(229,72,77,.18); animation: livepulse 1.2s infinite; }
.wave { display: block; width: 100%; max-width: 680px; height: 150px; }
.transcript { font-size: clamp(19px, 2.3vw, 26px); line-height: 1.38; color: var(--ink); text-align: center; max-width: 720px; min-height: 2.8em; letter-spacing: -0.015em; transition: opacity .4s, transform .5s var(--ease); }
.transcript span { opacity: 0.16; transition: opacity .18s; }
.transcript span.on { opacity: 1; }
.listen.gone .transcript { transform: translateY(-14px); }

/* Phase 2: the answer */
.answer { position: relative; z-index: 2; display: grid; grid-template-columns: 250px 1fr; gap: 24px; padding: 26px; }
.agent { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 4px; }
.orb {
  position: relative; width: 58px; height: 58px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 34% 30%, #7ee8ad 0%, #35d07f 40%, #1f9d5c 100%);
  box-shadow: 0 0 0 1px rgba(24,27,31,0.06), 0 10px 30px rgba(31,157,92,0.35);
  display: flex; align-items: center; justify-content: center; opacity: 0;
}
.orb svg { width: 34px; height: 34px; }
.orb.show { opacity: 1; }
.orb-ring { position: absolute; inset: -7px; border-radius: 50%; border: 1.5px solid rgba(31,157,92,0.55); opacity: 0; }
.orb.working .orb-ring { animation: ring 1.3s ease-out infinite; }
.orb.speaking { animation: speak .42s ease-in-out infinite alternate; }
.orb.live { animation: none; transform: scale(calc(1 + var(--lv, 0) * 0.16)); box-shadow: 0 0 0 calc(var(--lv, 0) * 10px) rgba(53,208,127,0.18), 0 10px 30px rgba(31,157,92,0.35); }
@keyframes ring { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.45); } }
@keyframes speak { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes livepulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
.agent-name { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; opacity: 0; transition: opacity .4s; }
.agent-name em { font-style: normal; font-weight: 400; font-family: var(--mono); font-size: 11.5px; color: var(--live); margin-left: 6px; }
.asked { font-size: 13px; color: var(--faint); line-height: 1.5; border-left: 2px solid var(--line-2); padding-left: 10px; opacity: 0; transition: opacity .4s; }
.reply { font-size: 15px; color: var(--text); line-height: 1.55; }
.reply span { opacity: 0; transition: opacity .16s; }
.reply span.on { opacity: 1; }
.answer.on .agent-name, .answer.on .asked { opacity: 1; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.vc {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 15px;
  opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .5s var(--ease), transform .55s var(--ease); min-width: 0;
}
.vc.in { opacity: 1; transform: none; }
.vc-wide { grid-column: 1 / -1; }
.vc-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 12.5px; color: var(--muted); }
.vc-h span { font-weight: 500; color: var(--ink); }
.src { font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 4px; padding: 2px 7px; white-space: nowrap; }
.vt { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.vt td { padding: 6px 0; border-top: 1px solid var(--line); color: var(--text); }
.vt tr:first-child td { border-top: 0; }
.vt .m { color: var(--muted); }
.vt .r { text-align: right; font-variant-numeric: tabular-nums; }
.vt .tot td { color: var(--ink); font-weight: 600; border-top: 1px solid var(--line-2); }
.late { color: #c2410c !important; }
.vl { list-style: none; display: flex; flex-direction: column; font-size: 13.5px; }
.vl li { display: flex; align-items: baseline; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); }
.vl li:first-child { border-top: 0; }
.vl .t { color: var(--faint); font-variant-numeric: tabular-nums; width: 38px; flex: none; font-size: 12.5px; }
.flag { font-style: normal; font-size: 11px; color: #c2410c; background: rgba(234,88,12,0.08); border: 1px solid rgba(234,88,12,0.3); border-radius: 4px; padding: 1px 6px; margin-left: auto; white-space: nowrap; }
.urgent { font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .05em; color: #b91c1c; background: rgba(229,72,77,0.08); border: 1px solid rgba(229,72,77,0.35); border-radius: 4px; padding: 1px 6px; flex: none; }
.stat { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.stat b { font-size: 30px; font-weight: 500; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.stat span { font-size: 13px; color: var(--muted); }
.bar { height: 6px; border-radius: 6px; background: rgba(24,27,31,0.07); overflow: hidden; margin-bottom: 10px; }
.bar i { display: block; height: 100%; width: 0; background: var(--live-bright); border-radius: 6px; transition: width 1.1s var(--ease) .25s; }
.vc.in .bar i { width: var(--w); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chips span { font-size: 12px; color: var(--muted); background: rgba(24,27,31,0.04); border: 1px solid var(--line); border-radius: 5px; padding: 3px 8px; }
.chips b { color: var(--ink); font-weight: 600; margin-right: 3px; }

.mail { font-size: 13px; }
.mail .mh { color: var(--faint); padding: 3px 0; }
.mail .mh b { color: var(--text); font-weight: 500; margin-left: 4px; }
.mail p { color: var(--muted); line-height: 1.5; margin: 8px 0 12px; }
.mail-act { display: flex; align-items: center; gap: 8px; }
.approve { font: inherit; font-size: 13px; font-weight: 600; color: #fff; background: var(--live); border: 0; border-radius: 7px; padding: 7px 13px; cursor: pointer; transition: transform .15s, background .2s; }
.approve:hover { transform: translateY(-1px); }
.vc.in .approve.nudge { animation: nudge 1.6s ease-in-out 1.2s infinite; }
@keyframes nudge { 0%,100% { box-shadow: 0 0 0 0 rgba(31,157,92,0.45); } 50% { box-shadow: 0 0 0 7px rgba(31,157,92,0); } }
.approve.done { background: rgba(31,157,92,0.12); color: var(--live); cursor: default; animation: none !important; }
.edit { font: inherit; font-size: 13px; color: var(--muted); background: #fff; border: 1px solid var(--line-2); border-radius: 7px; padding: 6px 12px; cursor: pointer; }
.more { font-size: 12px; color: var(--faint); margin-left: auto; }

/* FLOW DIAGRAM */
.flow {
  position: relative; display: grid; grid-template-columns: 1fr 1.05fr 1fr; gap: 40px; align-items: center;
  padding: 40px 36px; border: 1px solid var(--line-2); border-radius: 16px; background:
    radial-gradient(circle at 50% 50%, rgba(53,208,127,0.08), transparent 45%),
    repeating-linear-gradient(0deg, transparent 0 21px, rgba(24,27,31,0.035) 21px 22px),
    repeating-linear-gradient(90deg, transparent 0 21px, rgba(24,27,31,0.035) 21px 22px),
    var(--panel);
}
.flow-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.flow-wires path { fill: none; stroke-width: 1.5; }
.flow-wires .w-in { stroke: rgba(24,27,31,0.35); stroke-dasharray: 2 6; stroke-linecap: round; animation: flowIn 1.1s linear infinite; }
.flow-wires .w-out { stroke: var(--live); stroke-dasharray: 8 6; animation: flowIn 1.3s linear infinite; }
.flow-wires .pkt { fill: var(--live-bright); }
@keyframes flowIn { to { stroke-dashoffset: -16; } }
.flow-col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.flow-h { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.fnode {
  display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; align-items: center;
  background: #fff; border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 14px;
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.fnode:hover { border-color: rgba(24,27,31,0.35); transform: translateY(-1px); box-shadow: 0 6px 18px -8px rgba(24,27,31,.25); }
.fnode .fi { grid-row: span 2; width: 30px; height: 30px; border-radius: 7px; display: flex; align-items: center; justify-content: center; background: var(--bg); color: var(--ink); }
.fnode .fi svg, .bicon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fnode b { font-size: 14.5px; font-weight: 500; color: var(--ink); line-height: 1.2; }
.fnode small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .03em; text-transform: uppercase; color: var(--faint); }
.flow-out .fnode { border-style: solid; border-color: rgba(31,157,92,0.45); }
.flow-out .fnode .fi { background: rgba(53,208,127,0.12); color: var(--live); }
.fnode.gate { margin-top: 10px; background: var(--ink); border-color: var(--ink); }
.fnode.gate b { color: #fff; }
.fnode.gate small { color: rgba(255,255,255,0.55); }
.fnode.gate .fi { background: var(--live-bright); color: var(--ink); }
.flow-mid { align-items: center; gap: 16px; }
.cos-hub {
  position: relative; width: 210px; height: 210px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line-2);
  box-shadow: 0 0 0 10px rgba(255,255,255,0.6), 0 0 0 11px var(--line), 0 24px 60px -20px rgba(31,157,92,0.45);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.cos-hub .hub-wave { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-core {
  position: relative; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 34% 30%, #7ee8ad 0%, #35d07f 40%, #1f9d5c 100%); box-shadow: 0 8px 24px rgba(31,157,92,0.4);
}
.hub-core svg { width: 32px; height: 32px; }
.hub-label { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.hub-label b { font-size: 16px; font-weight: 500; color: var(--ink); }
.hub-label small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }

/* ASKS */
.asks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ask-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ask-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.bub {
  position: relative; font-size: 15.5px; color: var(--ink); line-height: 1.35; background: #fff;
  border: 1px solid var(--line-2); border-radius: 16px 16px 16px 4px; padding: 11px 15px;
}
.bub:nth-of-type(2) { margin-left: 18px; }
.bub:nth-of-type(3) { margin-left: 8px; }

/* BUILDS */
.builds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--panel); }
.bcard { padding: 28px 24px 30px; border-left: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 8px; transition: background .2s; }
.bcard:first-child { border-left: 0; }
.bcard:hover { background: #fff; }
.bicon { width: 42px; height: 42px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: rgba(53,208,127,0.12); color: var(--live); margin-bottom: 10px; }
.bicon svg { width: 21px; height: 21px; }
.bcard h3 { font-size: 19px; font-weight: 500; color: var(--ink); letter-spacing: -0.015em; }
.bcard small { font-family: var(--mono); font-size: 11px; letter-spacing: .03em; text-transform: uppercase; color: var(--faint); line-height: 1.5; }

/* TIMELINE */
.tl { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; padding-top: 34px; }
.tl::before {
  content: ""; position: absolute; left: 7px; right: 0; top: 7px; height: 2px;
  background: linear-gradient(90deg, var(--live) 0 33%, rgba(24,27,31,0.18) 33%);
}
.tl::after {
  content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 8px;
  background: repeating-linear-gradient(90deg, rgba(24,27,31,0.22) 0 1px, transparent 1px 22px);
}
.tl li { position: relative; display: flex; flex-direction: column; gap: 6px; padding-right: 24px; }
.tl-dot { position: absolute; top: -34px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-alt); border: 2px solid var(--ink); }
.tl li:first-child .tl-dot { background: var(--live-bright); border-color: var(--live); }
.tl-n { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--live); margin-top: 6px; }
.tl b { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.tl small { font-size: 15px; color: var(--muted); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.faq-list { border-top: 1px solid var(--line-2); margin: 0; max-width: none; width: 100%; }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative;
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 20px; font-weight: 400; color: var(--muted); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { font-size: 15.5px; color: var(--muted); line-height: 1.6; padding: 0 36px 22px 0; max-width: 620px; }

/* BOOK: ink band, dark form */
.cta {
  --bg: #121417; --bg-alt: #16191c; --panel: #1b1e22; --panel-2: #22262a;
  --line: rgba(255,255,255,0.10); --line-2: rgba(255,255,255,0.16);
  --text: rgba(255,255,255,0.92); --muted: rgba(255,255,255,0.6); --faint: rgba(255,255,255,0.4);
  --live: #35d07f;
  background: var(--ink); color: var(--text); padding: 104px 0; text-align: left;
}
.cta .sec-label { color: var(--muted); }
.cta .sec-label span { color: var(--live); }
.cta .sec-label::after { background: var(--line-2); max-width: 200px; }
.cta h2 { color: #fff; }
.cta .btn { background: #f6f5f1; color: var(--ink); }
.cta .btn:hover { background: #fff; }
.cta .wl-fine { font-size: 12.5px; margin: 0; text-align: center; color: var(--faint); }
.cta .wl-fine.err { color: #e88; }

/* FOOTER */
.footer { border-top: 0; }
.footer p { color: var(--muted); }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }

/* RESPONSIVE */
@media (max-width: 980px) {
  .answer { grid-template-columns: 210px 1fr; }
  .builds { grid-template-columns: repeat(2, 1fr); }
  .bcard:nth-child(3) { border-left: 0; }
  .bcard:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .flow { grid-template-columns: 1fr; gap: 56px; padding: 30px 22px; }
  .flow-in, .flow-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .flow-in .flow-h, .flow-out .flow-h { grid-column: 1 / -1; }
  .fnode.gate { margin-top: 0; }
  .faq-wrap { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 860px) {
  .asks, .tl { grid-template-columns: 1fr; }
  .asks { gap: 32px; }
  .tl { padding-top: 0; padding-left: 34px; gap: 30px; }
  .tl::before { display: none; }
  /* one connector per step, dot to dot, so the line never runs past the last step */
  .tl li:not(:last-child)::after { content: ""; position: absolute; left: -27px; top: 26px; bottom: -28px; width: 2px; background: rgba(24,27,31,0.18); }
  .tl li:first-child::after { background: var(--live); }
  .tl::after { display: none; }
  .tl-dot { top: 4px; left: -34px; }
  .tl-n { margin-top: 0; }
}
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .vhero { padding: 34px 0 56px; }
  .stage-bar { justify-content: center; }
  .vtab { padding: 7px 11px; font-size: 13px; }
}
@media (max-width: 400px) {
  /* four business tabs (Mover added 10/19) must fit a 360px phone */
  .vtabs { gap: 2px; padding: 3px; }
  .vtab { padding: 7px 9px; font-size: 12.5px; }
}
@media (max-width: 760px) {
  .answer { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .agent { display: grid; grid-template-columns: 50px 1fr; column-gap: 12px; row-gap: 6px; align-items: center; }
  .orb { width: 50px; height: 50px; grid-row: 1; }
  .orb svg { width: 28px; height: 28px; }
  .agent-name { grid-row: 1; grid-column: 2; }
  .asked, .reply { grid-column: 1 / -1; }
  .cards { grid-template-columns: 1fr; }
  .cards .vc:nth-child(2) { display: none; }
  .vhero .btn-ghost { display: none; }
  .wave { height: 110px; }
  .listen { gap: 14px; padding: 48px 20px 22px; }
  .cos-hub { width: 170px; height: 170px; }
  .sec-h, .section h2.sec-h { margin-bottom: 34px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .builds { grid-template-columns: 1fr; }
  .bcard { border-left: 0 !important; border-top: 1px solid var(--line-2); }
  .bcard:first-child { border-top: 0; }
  .flow { gap: 44px; padding: 24px 16px; }
  .fnode { padding: 9px 10px; column-gap: 9px; grid-template-columns: 26px 1fr; }
  .fnode .fi { width: 26px; height: 26px; grid-row: auto; }
  .fnode small { display: none; }
  .fnode b { font-size: 13.5px; }
  .cos-hub { width: 140px; height: 140px; }
  .bub:nth-of-type(n) { margin-left: 0; }
}
@media (max-width: 900px) {
  #book { text-align: center; }
  #book .wrap { display: flex; justify-content: center; }
  .wl { display: flex; flex-direction: column; align-items: center; gap: 30px; width: 100%; max-width: 480px; margin: 0 auto; }
  .wl-copy, .wl-form, .wl-done { width: 100%; max-width: 460px; margin: 0 auto; }
  .wl-copy { text-align: center; }
  .wl-copy .sec-label { justify-content: center; }
  .wl-copy .sec-label::after { display: none; }
  .wl-field, .wl-row { text-align: left; }
  .wl-assure { display: inline-flex; text-align: left; }
}
@media (max-width: 640px) {
  .footer-inner { flex-direction: column; gap: 14px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .vc, .orb, .agent-name, .asked, .reply span, .bar i { transition: none !important; }
  .flow-wires path { animation: none !important; }
}
@media (max-width: 560px) {
  .vpill { font-size: 9.5px; letter-spacing: .03em; padding: 6px 11px; }
  .nav .btn-sm { padding: 8px 12px; font-size: 13px; }
}

/* demo call line */
.btn-call { background: transparent; color: var(--text); border: 1px solid var(--line-2); display: inline-flex; align-items: center; gap: 9px; }
.btn-call:hover { background: rgba(24,27,31,0.04); border-color: rgba(24,27,31,0.3); }
.btn-call svg, .call-card svg { width: 17px; height: 17px; flex: none; color: var(--live, #1f9d5c); }
.call-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.call-note i { width: 7px; height: 7px; border-radius: 50%; background: var(--live-bright); box-shadow: 0 0 0 3px rgba(53,208,127,.18); animation: livepulse 2s infinite; }
.call-card { margin-top: 22px; display: inline-flex; align-items: center; gap: 12px; padding: 13px 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.16); color: rgba(255,255,255,0.86); font-size: 15px; transition: border-color .2s, background .2s; }
.call-card:hover { border-color: rgba(255,255,255,0.32); background: rgba(255,255,255,0.04); }
.call-card b { color: #fff; font-weight: 600; }
@media (max-width: 640px) { .call-note { font-size: 12.5px; display: block; } .call-note i { display: inline-block; margin-right: 7px; vertical-align: 1px; } .vhero .hero-cta .btn { width: 100%; justify-content: center; } }

/* mobile polish */
.approve, .edit { white-space: nowrap; }
@media (max-width: 760px) {
  .mail-act { flex-wrap: wrap; }
  .vt td { font-size: 13px; }
  .vt td.m { padding: 6px 8px; }
}

/* 10/18: "more than a chief of staff" line + What we build sub copy */
.more-note { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.more-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); white-space: nowrap; }
.more-note a:hover { text-decoration-color: currentColor; }
.section h2.sec-h.sec-h-tight { margin-bottom: 16px; }
.sec-sub { max-width: 620px; font-size: 17px; line-height: 1.55; color: var(--muted); margin-bottom: 40px; }
.bcard p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 640px) { .more-note { font-size: 12.5px; } .sec-sub { font-size: 15.5px; margin-bottom: 28px; } }
