:root{
    --bg:#F6F3EC;
    --surface:#FFFEFB;
    --ink:#122C28;
    --text-soft:#61706B;
    --teal:#1F7C70;
    --teal-dark:#0F4C45;
    --teal-tint:#E8F3F0;
    --coral:#D8644A;
    --coral-tint:#F8E7E0;
    --line:#E0DDD3;
    --card:#F2EEE5;
    --gold:#C59A43;
    --gold-tint:#F6E9C8;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:
      radial-gradient(circle at 20% 0%, rgba(31,124,112,0.11), transparent 22%),
      radial-gradient(circle at 88% 8%, rgba(216,100,74,0.11), transparent 20%),
      radial-gradient(circle at 50% 100%, rgba(197,154,67,0.10), transparent 22%),
      linear-gradient(180deg, #FCFBF8 0%, #F4F0E8 100%);
    color:var(--ink);
    font-family:'Inter', sans-serif;
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
  }
  body.wf-open{ overflow:hidden; }
  h1,h2,h3,.slab{ font-family:'Fraunces', serif; font-weight:600; letter-spacing:-0.01em; }
  .mono{ font-family:'IBM Plex Mono', monospace; }
  a{color:inherit;}
  img,svg{display:block; max-width:100%;}
  .wrap{ max-width:1180px; margin:0 auto; padding:0 clamp(18px, 3vw, 32px); }
  .eyebrow{
    text-transform:uppercase; font-size:12px; letter-spacing:0.14em; font-weight:600;
    color:var(--teal); font-family:'IBM Plex Mono', monospace;
  }
  .eyebrow.coral{ color:var(--coral); }

  .nav{
    position:sticky; top:0; z-index:50;
    background:
      linear-gradient(90deg, rgba(18,44,40,0.94), rgba(15,76,69,0.92) 58%, rgba(28,96,86,0.90));
    backdrop-filter:blur(16px);
    border-bottom:1px solid rgba(255,255,255,0.10);
    box-shadow:0 10px 30px rgba(13,34,31,0.16);
  }
  .nav-inner{ max-width:1180px; margin:0 auto; padding:0 clamp(18px, 3vw, 32px); display:flex; align-items:center; justify-content:space-between; height:72px; gap:16px; }
  .brand{ display:flex; align-items:center; gap:8px; }
  .brand-logo{
    height:42px; width:auto; flex-shrink:0;
    background:#FFFDF9;
    padding:6px;
    border-radius:11px;
    box-shadow:0 3px 12px rgba(10,22,20,0.35);
  }
  .brand-mark{ color:#FFFDF9; font-size:19px; font-weight:700; font-family:'Fraunces',serif; }
  .brand-sub{ color:#B8D2CC; font-size:11px; font-family:'IBM Plex Mono',monospace; letter-spacing:0.06em; }
  .tabs{ display:flex; gap:2px; }
  .tab{ color:#C6DDD8; text-decoration:none; font-size:13px; font-weight:500; padding:22px 16px; border-bottom:2px solid transparent; transition:.15s; }
  .tab:hover{ color:#fff; border-color:#9ED5CB; }
  .tab.active{ color:#fff; border-color:#9ED5CB; }
  .nav-cta{ background:linear-gradient(135deg, #F6D08A, #E8B562); color:#122C28; font-size:13px; font-weight:700; padding:10px 18px; border-radius:999px; text-decoration:none; white-space:nowrap; box-shadow:0 10px 30px rgba(19,36,32,0.20); }
  @media(max-width:860px){ .tabs{display:none;} .nav-cta{ padding:9px 14px; font-size:12px; } .brand-sub{ display:none; } }

  .hero{ padding:84px 0 72px; position:relative; overflow:hidden; }
  .hero::before,
  .hero::after{
    content:"";
    position:absolute;
    border-radius:50%;
    filter:blur(10px);
    pointer-events:none;
  }
  .hero::before{ width:280px; height:280px; left:-90px; top:30px; background:rgba(31,124,112,0.16); }
  .hero::after{ width:340px; height:340px; right:-130px; top:110px; background:rgba(216,100,74,0.12); }
  .hero-grid{ display:grid; grid-template-columns:minmax(0,0.96fr) minmax(420px,1.04fr); gap:32px; align-items:start; }
  .hero-copy{ padding-top:14px; }
  .hero h1{ font-size:clamp(42px, 5vw, 68px); line-height:0.96; margin:18px 0 20px; max-width:760px; }
  .hero h1 em{ font-style:italic; color:var(--teal); }
  .hero p.lede{ font-size:18px; color:var(--text-soft); max-width:640px; margin-bottom:24px; }
  .hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:18px; }
  .btn-primary{ background:linear-gradient(135deg, var(--coral), #BD543C); color:#fff; padding:14px 26px; border-radius:999px; text-decoration:none; font-weight:600; font-size:15px; display:inline-block; box-shadow:0 16px 30px rgba(216,100,74,0.24); }
  .btn-ghost{ border:1px solid rgba(224,221,211,0.95); color:var(--ink); padding:14px 26px; border-radius:999px; text-decoration:none; font-weight:600; font-size:15px; display:inline-block; background:rgba(255,255,255,0.8); }
  .trust-row{ display:flex; flex-wrap:wrap; gap:10px; margin:20px 0 26px; }
  .trust-chip{ display:inline-flex; align-items:center; gap:8px; padding:9px 12px; border-radius:999px; background:#fff; border:1px solid var(--line); color:var(--ink); font-size:12px; box-shadow:0 4px 14px rgba(18,49,44,0.04); }
  .trust-chip span{ width:6px; height:6px; border-radius:50%; background:var(--teal); display:inline-block; }
  .hero-metrics{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; max-width:640px; }
  .hero-metric{ background:rgba(255,255,255,0.8); border:1px solid var(--line); border-radius:18px; padding:16px 16px 14px; box-shadow:0 10px 24px rgba(18,49,44,0.05); }
  .hero-metric strong{ display:block; font-family:'Fraunces',serif; font-size:28px; line-height:1; color:var(--ink); }
  .hero-metric span{ display:block; margin-top:6px; color:var(--text-soft); font-size:12px; }

  .wf-block{ background:linear-gradient(180deg, rgba(255,255,255,0.96), #FFFDF9); border:1px solid rgba(224,221,211,0.92); border-radius:28px; overflow:hidden; box-shadow:0 28px 60px rgba(18,49,44,0.10); position:relative; }
  .wf-block.expanded{
    position:fixed;
    inset:18px;
    z-index:120;
    margin:0;
    max-width:none;
    height:calc(100vh - 36px);
    display:flex;
    flex-direction:column;
    overflow:hidden;
    box-shadow:0 35px 80px rgba(10,22,20,0.32);
  }
  .wf-head{ padding:28px 30px 0; }
  .wf-head h3{ font-size:24px; margin-top:6px; }
  .wf-head p{ color:var(--text-soft); font-size:14px; margin-top:8px; max-width:560px; }
  .wf-head-row{ display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
  .wf-head-copy{ max-width:560px; }
  .wf-expand{
    border:1px solid rgba(224,221,211,0.95);
    background:#fff;
    color:var(--ink);
    font-family:'IBM Plex Mono',monospace;
    font-size:11px;
    letter-spacing:0.06em;
    text-transform:uppercase;
    padding:10px 12px;
    border-radius:999px;
    cursor:pointer;
    flex-shrink:0;
    margin-top:2px;
    box-shadow:0 8px 18px rgba(18,49,44,0.06);
  }
  .wf-expand:hover{ border-color:var(--teal); color:var(--teal-dark); }
  .wf-tabs{ display:flex; gap:8px; padding:20px 30px 0; border-bottom:1px solid var(--line); margin-top:18px; overflow-x:auto; scrollbar-width:none; }
  .wf-tabs::-webkit-scrollbar{ display:none; }
  .wf-tab{ background:#F7F4EC; border:1px solid transparent; padding:10px 14px; margin-right:0; font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--text-soft); cursor:pointer; border-radius:999px; white-space:nowrap; letter-spacing:0.02em; transition:.15s; }
  .wf-tab.active{ color:#fff; background:linear-gradient(135deg, var(--teal), #16665C); border-color:var(--teal); font-weight:600; box-shadow:0 10px 20px rgba(31,124,112,0.18); }
  .wf-tab:hover{ color:var(--ink); }

  .wf-body{ display:block; }

  .wf-canvas-wrap{ position:relative; overflow:hidden; background:
      radial-gradient(circle, rgba(224,221,211,0.95) 1px, transparent 1px) 0 0/22px 22px, linear-gradient(180deg, #FCFBF8 0%, #F6F2E8 100%); border-bottom:1px solid var(--line); }
  .wf-canvas{ position:absolute; top:0; left:0; width:1120px; height:420px; transform-origin:top left; }
  .wf-canvas[data-canvas="noshow"]{ width:1120px; height:420px; }
  .wf-connectors{ position:absolute; top:0; left:0; width:100%; height:100%; pointer-events:none; }
  .wf-edge{ stroke:#BDB7A7; stroke-width:2; fill:none; transition:stroke .2s; }
  .wf-edge{ stroke-linecap:round; stroke-linejoin:round; }
  .wf-edge.flowing{ stroke:var(--teal); stroke-dasharray:6 5; animation:dashmove .5s linear infinite; }
  @keyframes dashmove{ to{ stroke-dashoffset:-22; } }
  .wf-edge-label{ font-family:'IBM Plex Mono',monospace; font-size:10px; fill:var(--text-soft); }
  .wf-edge-label.yes{ fill:var(--teal-dark); }
  .wf-edge-label.no{ fill:var(--coral); }

  .wf-node{
    position:absolute; width:172px; background:#fff; border:1px solid rgba(224,221,211,0.95); border-left:4px solid var(--teal);
    border-radius:16px; padding:10px 12px; cursor:pointer; box-shadow:0 1px 2px rgba(18,49,44,0.05); transition:.15s;
  }
  .wf-node:hover{ box-shadow:0 4px 14px rgba(18,49,44,0.1); transform:translateY(-1px); }
  .wf-node.selected{ border-color:var(--teal); border-left-color:var(--teal); box-shadow:0 0 0 2px var(--teal-tint); }
  .wf-node.type-action{ border-left-color:#8B8577; }
  .wf-node.type-negative{ border-left-color:var(--coral); }
  .wf-node .wf-node-icon{ font-size:14px; }
  .wf-node .wf-node-title{ font-size:13px; font-weight:600; color:var(--ink); margin-top:4px; line-height:1.35; }
  .wf-node .wf-node-sub{ font-size:11px; color:var(--text-soft); margin-top:2px; font-family:'IBM Plex Mono',monospace; }

  .wf-node.active{ border-color:var(--teal); box-shadow:0 0 0 3px var(--teal-tint), 0 6px 18px rgba(27,122,110,0.18); transform:translateY(-2px); }
  .wf-node.type-negative.active{ border-color:var(--coral); box-shadow:0 0 0 3px var(--coral-tint), 0 6px 18px rgba(232,105,79,0.18); }
  .wf-node-pulse{ position:absolute; top:-5px; right:-5px; width:10px; height:10px; border-radius:50%; background:var(--teal); display:none; }
  .wf-node.active .wf-node-pulse{ display:block; animation:pulseDot 1s ease-in-out infinite; }
  .wf-node.type-negative.active .wf-node-pulse{ background:var(--coral); }
  @keyframes pulseDot{ 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.4; transform:scale(1.6); } }

  /* Diamond: outer box stays the TRUE, unrotated layout box used for anchor math.
     Rotation is applied to an inner element so left/top/offsetWidth/offsetHeight
     on the outer node always match what the router computes against. */
  .wf-diamond{
    position:absolute; width:100px; height:100px; cursor:pointer; transition:.15s;
  }
  .wf-diamond-shape{
    position:absolute; inset:0; background:linear-gradient(180deg, #FFF9EB, #FFF4D9); border:1px solid #E3C568; border-radius:10px;
    transform:rotate(45deg); box-shadow:0 0 0 4px rgba(252,251,247,0.92); transition:.15s;
  }
  .wf-diamond:hover .wf-diamond-shape{ box-shadow:0 4px 14px rgba(18,49,44,0.1); }
  .wf-diamond.selected .wf-diamond-shape{ box-shadow:0 0 0 4px rgba(252,251,247,0.92), 0 0 0 2px #F0DFA6; }
  .wf-diamond.active .wf-diamond-shape{ box-shadow:0 0 0 4px rgba(252,251,247,0.92), 0 0 0 3px #F0DFA6, 0 6px 18px rgba(138,110,19,0.2); }
  .wf-diamond-text{
    position:absolute; inset:0; display:flex; align-items:center; justify-content:center; text-align:center;
    font-size:10.5px; font-weight:600; color:#8A6E13; line-height:1.2; padding:0 8px;
  }

  .wf-chat-panel{ padding:24px 28px 28px; display:grid; grid-template-columns:280px 1fr; gap:26px; align-items:center; }
  @media(max-width:700px){ .wf-chat-panel{ grid-template-columns:1fr; } }
  .wf-phone{ background:var(--card); border-radius:14px; padding:16px; min-height:150px; display:flex; flex-direction:column; gap:8px; justify-content:center; }
  .wf-chat-bubble{ font-size:13px; padding:9px 12px; border-radius:12px; max-width:92%; line-height:1.4; animation:bubbleIn .25s ease; }
  .wf-chat-bubble.in{ background:#fff; border:1px solid var(--line); align-self:flex-start; border-bottom-left-radius:3px; }
  .wf-chat-bubble.out{ background:var(--teal); color:#fff; align-self:flex-end; border-bottom-right-radius:3px; margin-left:auto; }
  .wf-chat-bubble.system{ background:var(--coral-tint); color:var(--coral); font-family:'IBM Plex Mono',monospace; font-size:11px; align-self:center; text-align:center; border-radius:6px; }
  @keyframes bubbleIn{ from{ opacity:0; transform:translateY(6px); } to{ opacity:1; transform:translateY(0); } }
  .wf-insp-tag{ font-family:'IBM Plex Mono',monospace; font-size:10.5px; letter-spacing:0.05em; padding:3px 8px; border-radius:3px; display:inline-block; background:var(--teal-tint); color:var(--teal-dark); }
  .wf-insp-tag.negative{ background:var(--coral-tint); color:var(--coral); }
  .wf-insp-tag.decision{ background:#FFF3D6; color:#8A6E13; }
  .wf-chat-meta h4{ font-family:'Fraunces',serif; font-size:17px; margin:12px 0 6px; color:var(--ink); }
  .wf-chat-meta p{ font-size:13px; color:var(--text-soft); line-height:1.55; }
  .wf-play-hint{ margin-top:14px; font-size:11px; color:var(--text-soft); font-family:'IBM Plex Mono',monospace; display:flex; align-items:center; gap:6px; }
  .wf-play-hint .live-dot{ width:6px; height:6px; border-radius:50%; background:var(--teal); animation:pulseDot 1.4s ease-in-out infinite; }

  .wf-modal-backdrop{
    position:fixed;
    inset:0;
    background:rgba(10,22,20,0.56);
    backdrop-filter:blur(6px);
    z-index:110;
  }
  .wf-modal-backdrop[hidden]{ display:none; }
  .wf-block.expanded .wf-head{ padding:28px 36px 0; }
  .wf-block.expanded .wf-tabs{ padding-left:36px; padding-right:36px; }
  .wf-block.expanded .wf-body{
    padding:0 36px 56px;
    flex:1;
    min-height:0;
    overflow:auto;
    scrollbar-gutter:stable both-edges;
    overscroll-behavior:contain;
  }
  .wf-block.expanded .wf-body::-webkit-scrollbar{ height:12px; width:12px; }
  .wf-block.expanded .wf-body::-webkit-scrollbar-track{ background:rgba(18,44,40,0.06); border-radius:999px; }
  .wf-block.expanded .wf-body::-webkit-scrollbar-thumb{ background:rgba(31,124,112,0.40); border-radius:999px; border:3px solid rgba(18,44,40,0.06); }
  .wf-block.expanded .wf-canvas-wrap{
    margin-bottom:32px;
    border-radius:20px;
    min-height:calc(100% - 12px);
    padding-bottom:64px;
  }
  .wf-block.expanded .wf-chat-panel{ display:none; }
  .wf-block.expanded .wf-head h3{ font-size:30px; }
  .wf-block.expanded .wf-head p{ font-size:15px; max-width:640px; }
  .wf-block.expanded .wf-node .wf-node-title{ font-size:14px; }
  .wf-block.expanded .wf-node .wf-node-sub{ font-size:11.5px; }
  .wf-block.expanded .wf-edge-label{ font-size:11px; }
  @media(max-width:1099px){
    .wf-expand{ display:none; }
    .wf-modal-backdrop{ display:none !important; }
    .wf-block.expanded{
      position:relative;
      inset:auto;
      z-index:auto;
      max-width:100%;
      height:auto;
      display:block;
      box-shadow:0 28px 60px rgba(18,49,44,0.10);
    }
    .wf-block.expanded .wf-body{ padding:0; overflow:visible; }
    .wf-block.expanded .wf-chat-panel{ display:grid; }
    .wf-block.expanded .wf-canvas-wrap{ margin-bottom:0; border-radius:0; min-height:auto; padding-bottom:0; }
  }

  .demo-tags{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:12px; margin-top:18px; }
  .demo-tag{
    background:rgba(255,255,255,0.7);
    border:1px solid var(--line);
    border-radius:16px;
    padding:14px;
    box-shadow:0 8px 20px rgba(18,49,44,0.04);
  }
  .demo-tag .k{ font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:0.08em; color:var(--text-soft); }
  .demo-tag .v{ font-size:13px; margin-top:7px; font-weight:600; color:var(--ink); line-height:1.35; }

  section{ padding:96px 0; }
  .section-head{ max-width:640px; margin-bottom:52px; }
  .section-head h2{ font-size:34px; margin-top:12px; color:var(--ink); }
  .section-head p{ color:var(--text-soft); font-size:16px; margin-top:14px; }

  .problem{ background:var(--card); }
  .problem-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:8px; overflow:hidden; }
  .problem-card{ background:var(--surface); padding:28px; }
  .problem-card .num{ font-family:'Fraunces',serif; font-size:34px; font-weight:600; color:var(--teal); }
  .problem-card h3{ font-family:'Inter',sans-serif; font-size:16px; margin:12px 0 8px; color:var(--ink); font-weight:600; }
  .problem-card p{ font-size:13.5px; color:var(--text-soft); }
  @media(max-width:760px){ .problem-grid{ grid-template-columns:1fr; } }

  .voice{ background:var(--teal-dark); color:#EAF3F1; }
  .voice-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
  @media(max-width:900px){ .voice-grid{ grid-template-columns:1fr; } }
  .voice .eyebrow{ color:#9FD4C7; }
  .voice h2{ font-size:32px; color:#fff; margin:12px 0 16px; }
  .voice p{ color:#BFDAD3; font-size:15.5px; max-width:460px; }
  .voice-points{ margin-top:22px; display:flex; flex-direction:column; gap:12px; }
  .voice-point{ display:flex; gap:10px; font-size:14px; color:#DCEEE9; }
  .voice-point .dot{ width:6px; height:6px; border-radius:50%; background:#9FD4C7; margin-top:7px; flex-shrink:0; }
  .voice-card{ background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.14); border-radius:10px; padding:26px; }
  .voice-card-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; }
  .voice-card-top span{ font-family:'IBM Plex Mono',monospace; font-size:11px; color:#9FD4C7; }
  .waveform{ display:flex; align-items:flex-end; gap:3px; height:52px; margin:18px 0; }
  .bar{ width:4px; background:#4FBFA8; border-radius:2px; animation:wave 1.1s ease-in-out infinite; }
  @keyframes wave{ 0%,100%{ transform:scaleY(0.3); } 50%{ transform:scaleY(1); } }
  .transcript-line{ font-size:13.5px; color:#DCEEE9; padding:6px 0; border-top:1px solid rgba(255,255,255,0.08); }
  .transcript-line b{ color:#fff; }

  .feat-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:8px; overflow:hidden; }
  .feat-card{ background:var(--surface); padding:26px; min-height:150px; }
  .feat-card .tag{ font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--teal); letter-spacing:0.05em; }
  .feat-card.coral .tag{ color:var(--coral); }
  .feat-card h3{ font-family:'Inter',sans-serif; font-size:16px; margin:10px 0 8px; color:var(--ink); font-weight:600; }
  .feat-card p{ font-size:13px; color:var(--text-soft); }
  @media(max-width:860px){ .feat-grid{ grid-template-columns:repeat(2,1fr); } }
  @media(max-width:560px){ .feat-grid{ grid-template-columns:1fr; } }

  .dash{ background:var(--surface); border:1px solid var(--line); border-radius:8px; overflow:hidden; }
  .dash-top{ background:var(--card); padding:14px 22px; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid var(--line); }
  .dash-top span{ font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--text-soft); }
  .dash-cols{ display:grid; grid-template-columns:190px 1fr; }
  .dash-side{ background:var(--ink); padding:10px 0; }
  .dash-side .item{ padding:10px 18px; font-size:12.5px; color:#9FB5AE; border-left:2px solid transparent; }
  .dash-side .item.active{ color:#fff; font-weight:600; border-left:2px solid var(--coral); background:rgba(255,255,255,0.06); }
  .dash-main{ padding:0; }

  .stat-card-row{ display:grid; grid-template-columns:repeat(5,1fr); gap:12px; padding:18px 22px 6px; }
  @media(max-width:900px){ .stat-card-row{ grid-template-columns:repeat(2,1fr); } }
  .stat-card{ background:var(--card); border-radius:8px; padding:14px; }
  .stat-card .sc-icon{ width:28px; height:28px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:13px; background:var(--teal-tint); margin-bottom:8px; }
  .stat-card .sc-num{ font-family:'Fraunces',serif; font-size:21px; font-weight:600; color:var(--ink); }
  .stat-card .sc-label{ font-size:10.5px; color:var(--text-soft); margin-top:2px; }
  .stat-card .sc-delta{ font-size:10px; margin-top:8px; font-family:'IBM Plex Mono',monospace; }
  .stat-card .sc-delta.up{ color:var(--teal-dark); }
  .stat-card .sc-delta.down{ color:var(--coral); }

  .dash-grid2{ display:grid; grid-template-columns:1.3fr 1fr 1.1fr; gap:14px; padding:14px 22px; }
  @media(max-width:900px){ .dash-grid2{ grid-template-columns:1fr; } }
  .dash-panel{ background:var(--card); border-radius:8px; padding:16px; }
  .dash-panel .dp-title{ font-size:12px; font-weight:600; color:var(--ink); margin-bottom:12px; }

  .mini-chart-wrap{ background:#fff; border-radius:6px; padding:8px; }

  .donut-wrap{ display:flex; align-items:center; gap:14px; }
  .donut{ width:70px; height:70px; border-radius:50%; background:conic-gradient(var(--teal) 0% 92%, var(--line) 92% 100%); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .donut span{ background:#fff; width:48px; height:48px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:'Fraunces',serif; font-weight:600; font-size:13px; color:var(--ink); }
  .donut-legend{ font-size:10.5px; color:var(--text-soft); }
  .donut-legend div{ display:flex; justify-content:space-between; gap:10px; padding:3px 0; }
  .donut-legend b{ color:var(--ink); }

  .conv-item{ display:flex; gap:8px; padding:7px 0; border-bottom:1px solid var(--line); align-items:center; }
  .conv-item:last-child{ border-bottom:none; }
  .conv-avatar{ width:24px; height:24px; border-radius:50%; background:var(--teal-tint); color:var(--teal-dark); font-size:10px; font-weight:600; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .conv-text{ flex:1; min-width:0; }
  .conv-name{ font-size:11px; font-weight:600; color:var(--ink); }
  .conv-msg{ font-size:10px; color:var(--text-soft); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .conv-pill{ font-size:8.5px; font-family:'IBM Plex Mono',monospace; padding:2px 6px; border-radius:8px; height:fit-content; white-space:nowrap; }
  .conv-pill.booking{ background:var(--teal-tint); color:var(--teal-dark); }
  .conv-pill.waiting{ background:#FFF3D6; color:#8A6E13; }
  .conv-pill.ai{ background:#E9EEF6; color:#3E5A85; }
  .conv-pill.human{ background:var(--coral-tint); color:var(--coral); }

  .dash-grid3{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; padding:0 22px 20px; }
  @media(max-width:860px){ .dash-grid3{ grid-template-columns:1fr; } }
  .tl-row{ display:grid; grid-template-columns:46px 1fr; gap:10px; padding:8px 0; border-bottom:1px solid var(--line); }
  .tl-row:last-child{ border-bottom:none; }
  .tl-time{ font-family:'IBM Plex Mono',monospace; font-size:9.5px; color:var(--text-soft); padding-top:1px; }
  .tl-title{ font-size:11px; font-weight:600; color:var(--ink); }
  .tl-sub{ font-size:10px; color:var(--text-soft); }

  .rp-row{ display:flex; justify-content:space-between; align-items:center; padding:8px 0; border-bottom:1px solid var(--line); }
  .rp-row:last-child{ border-bottom:none; }
  .rp-name{ font-size:11px; font-weight:600; color:var(--ink); }
  .rp-phone{ font-size:9.5px; color:var(--text-soft); }
  .rp-next{ font-size:9.5px; color:var(--teal-dark); font-family:'IBM Plex Mono',monospace; }

  .task-row{ display:flex; gap:8px; padding:8px 0; border-bottom:1px solid var(--line); align-items:flex-start; }
  .task-row:last-child{ border-bottom:none; }
  .task-check{ width:13px; height:13px; border:1.5px solid var(--line); border-radius:4px; margin-top:2px; flex-shrink:0; }
  .task-title{ font-size:11px; font-weight:600; color:var(--ink); }
  .task-sub{ font-size:10px; color:var(--text-soft); }
  .task-time{ font-size:9.5px; color:var(--coral); font-family:'IBM Plex Mono',monospace; margin-left:auto; white-space:nowrap; }

  .cta{ background:var(--card); text-align:center; }
  .cta h2{ font-size:36px; max-width:640px; margin:0 auto 16px; }
  .cta p{ color:var(--text-soft); max-width:480px; margin:0 auto 32px; }

  footer{ background:var(--ink); color:#9FB5AE; padding:40px 0; font-size:13px; }
  .foot-row{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; align-items:center; }
  .foot-links{ display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
  .foot-links a{ color:#9FD4C7; text-decoration:none; }
  .foot-links a:hover{ text-decoration:underline; }

  /* ---- legal pages (terms.html / privacy.html) ---- */
  .legal{ padding:72px 0 96px; }
  .legal-head{ max-width:780px; margin-bottom:44px; }
  .legal-head h1{ font-size:clamp(34px, 5vw, 52px); line-height:1.05; margin-top:14px; color:var(--ink); }
  .legal-updated{ margin-top:14px; color:var(--text-soft); font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.03em; }
  .legal-toc{ background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:22px 26px; margin-bottom:44px; }
  .legal-toc h2{ font-size:16px; margin-bottom:12px; }
  .legal-toc ol{ margin-left:20px; color:var(--text-soft); font-size:14px; display:grid; gap:8px; }
  .legal-toc a{ color:var(--teal-dark); text-decoration:none; }
  .legal-toc a:hover{ text-decoration:underline; }
  .legal-body{ max-width:780px; }
  .legal-section{ padding:26px 0; border-bottom:1px solid var(--line); scroll-margin-top:96px; }
  .legal-section:last-child{ border-bottom:none; }
  .legal-section h2{ font-family:'Inter',sans-serif; font-size:20px; font-weight:700; color:var(--ink); margin-bottom:12px; display:flex; gap:12px; align-items:baseline; }
  .legal-section h2 .sec-num{ font-family:'Fraunces',serif; font-size:18px; color:var(--teal); }
  .legal-section p{ font-size:14.5px; color:#44524D; line-height:1.7; margin:10px 0; }
  .legal-section ul,
  .legal-section ol{ margin:10px 0 10px 22px; font-size:14.5px; color:#44524D; line-height:1.7; }
  .legal-section li{ margin:6px 0; }
  .legal-section a{ color:var(--teal-dark); }
  .legal-note{ background:var(--gold-tint); border:1px solid #E8D8A8; border-radius:10px; padding:14px 18px; font-size:13px; color:#6B5610; margin:14px 0; }
  .legal-footnote{ margin-top:44px; font-size:12.5px; color:var(--text-soft); }
  @media(max-width:520px){
    .legal{ padding:48px 0 64px; }
    .legal-section h2{ font-size:18px; }
    .legal-toc{ padding:18px; }
  }

  @media(max-width:1080px){
    .hero-grid{ grid-template-columns:1fr; }
    .wf-block{ max-width:100%; }
    .hero-copy{ order:1; }
    .wf-block{ order:2; }
    .demo-tags{ grid-template-columns:repeat(2, minmax(0,1fr)); }
    .hero-metrics{ max-width:760px; }
    .dash-cols{ grid-template-columns:1fr; }
    .dash-side{
      display:grid;
      grid-template-columns:repeat(4, minmax(0,1fr));
      gap:6px;
      padding:10px;
      background:linear-gradient(180deg, #233532, #172825);
    }
    .dash-side .item{ border-left:none; border-radius:8px; text-align:center; padding:10px 8px; background:rgba(255,255,255,0.04); }
    .dash-side .item.active{ border-left:none; background:rgba(255,255,255,0.12); }
    .dash-grid2,
    .dash-grid3{ grid-template-columns:1fr; }
  }
  @media(max-width:760px){
    section{ padding:72px 0; }
    .hero{ padding:68px 0 56px; }
    .hero::before{ width:180px; height:180px; left:-70px; top:0; }
    .hero::after{ width:210px; height:210px; right:-90px; top:120px; }
    .hero h1{ font-size:clamp(36px, 10vw, 50px); }
    .hero p.lede{ font-size:16px; }
    .hero-actions{ gap:10px; }
    .btn-primary,.btn-ghost,.nav-cta{ width:100%; text-align:center; justify-content:center; }
    .hero-metrics{ grid-template-columns:1fr; }
    .demo-tags{ grid-template-columns:1fr; }
    .wf-head,.wf-tabs{ padding-left:18px; padding-right:18px; }
    .wf-head-row{ flex-direction:column; }
    .wf-expand{ width:100%; }
    .wf-head h3{ font-size:22px; }
    .wf-tabs{ overflow-x:auto; }
    .wf-canvas-wrap{ overflow:auto; -webkit-overflow-scrolling:touch; }
    .wf-phone{ min-height:130px; }
    .wf-chat-bubble{ font-size:12px; max-width:100%; }
    .wf-chat-panel{ padding:18px; }
    .dash-top{ padding:12px 16px; }
    .stat-card-row,.dash-grid2,.dash-grid3{ padding-left:16px; padding-right:16px; }
    .stat-card-row{ grid-template-columns:1fr 1fr; }
    .dash-side{ grid-template-columns:1fr 1fr; }
    .dash-panel{ padding:14px; }
    .donut-wrap{ align-items:flex-start; flex-direction:column; }
    .rp-row{ align-items:flex-start; gap:8px; flex-direction:column; }
    .task-row{ align-items:flex-start; }
  }
  @media(max-width:520px){
    .nav-inner{ height:auto; padding-top:12px; padding-bottom:12px; align-items:flex-start; flex-direction:column; }
    .brand{ align-items:flex-start; }
    .stat-card-row{ grid-template-columns:1fr; }
    .dash-side{ grid-template-columns:1fr; }
    .voice-card{ padding:18px; }
    .problem-card{ padding:20px; }
    .feat-card{ padding:20px; }
    .cta h2{ font-size:30px; }
    .dash-top{ flex-direction:column; align-items:flex-start; gap:6px; }
  }
  @media(min-width:1100px){
    .wf-expand{ display:inline-flex; }
  }
