  :root {
    --bg: #f7f9fc; --surface: #ffffff; --surface-2: #eef3fb; --border: #e1e7f0;
    --text: #0b1739; --muted: #5a6680; --brand: #1a73f0; --brand-deep: #0a4fd8;
    --brand-ink: #0b1739; --ok: #16a34a;
    --shadow: 0 1px 2px rgb(11 23 57 / .05), 0 4px 12px rgb(11 23 57 / .04), 0 18px 36px -18px rgb(11 23 57 / .10);
    color-scheme: light;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #070d1f; --surface: #0d1630; --surface-2: #121d3d; --border: #1f2b4d;
      --text: #eef2ff; --muted: #9aa7c4; --brand: #4ea3ff; --brand-deep: #2f7cf6;
      --brand-ink: #f1f5ff; --ok: #22c55e;
      --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 4px 12px rgb(0 0 0 / .15), 0 18px 36px -18px rgb(0 0 0 / .4);
      color-scheme: dark;
    }
  }
  :root[data-theme="dark"] {
    --bg: #070d1f; --surface: #0d1630; --surface-2: #121d3d; --border: #1f2b4d;
    --text: #eef2ff; --muted: #9aa7c4; --brand: #4ea3ff; --brand-deep: #2f7cf6;
    --brand-ink: #f1f5ff; --ok: #22c55e;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 4px 12px rgb(0 0 0 / .15), 0 18px 36px -18px rgb(0 0 0 / .4);
    color-scheme: dark;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  a { color: inherit; }
  h1, h2, h3 { font-family: Outfit, Inter, system-ui, sans-serif; letter-spacing: -.025em; line-height: 1.08; margin: 0; }
  h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; }
  h3 { font-size: 20px; letter-spacing: -.01em; }
  p { margin: 0; }
  .wrap { width: min(1140px, 100% - 32px); margin: 0 auto; }
  .wordmark { font-family: Outfit, system-ui, sans-serif; font-weight: 800; letter-spacing: -.02em; color: var(--brand-ink); }
  .wordmark b { font-weight: inherit; color: var(--brand); }
  .muted { color: var(--muted); }

  /* nav */
  nav.top { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--border); }
  nav.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
  .brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-size: 23px; color: var(--brand-ink); }
  .navlinks { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--muted); }
  .navlinks a { text-decoration: none; } .navlinks a:hover { color: var(--text); }
  .actions { display: flex; gap: 8px; }
  .btn { display: inline-flex; align-items: center; gap: 9px; justify-content: center; text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 10px; border: 1px solid transparent; transition: background .15s, border-color .15s; white-space: nowrap; }
  .btn-primary { background: var(--brand); color: #fff; }
  .btn-primary:hover { background: var(--brand-deep); }
  .btn-ghost { border-color: var(--border); background: var(--surface); color: var(--text); }
  .btn-ghost:hover { border-color: var(--muted); }
  .btn-sm { padding: 8px 14px; font-size: 14px; }

  /* hero */
  .hero { padding: 80px 0 96px; }
  .hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
  .hero h1 { font-size: clamp(48px, 7vw, 86px); font-weight: 800; margin-bottom: 24px; }
  .hero h1 em { font-style: normal; color: var(--brand); }
  .lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 31em; margin-bottom: 32px; }
  .cta { display: flex; gap: 12px; flex-wrap: wrap; }

  /* live call mock */
  .call { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 18px; }
  .call-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
  .call-head .who { font-weight: 600; line-height: 1.25; }
  .call-head .sub { font-size: 13px; color: var(--muted); }
  .timer { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ok); font-variant-numeric: tabular-nums; }
  .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
  .bubbles { display: flex; flex-direction: column; gap: 10px; padding: 16px 2px 14px; }
  .b { max-width: 84%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; }
  .b.c { background: var(--surface-2); border-bottom-left-radius: 6px; }
  .b.ai { margin-left: auto; color: #fff; background: var(--brand); border-bottom-right-radius: 6px; }
  .tool { align-self: center; font: 12.5px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); }
  .tool .ok { color: var(--ok); }
  .call-foot { border-top: 1px solid var(--border); padding-top: 12px; font-size: 13.5px; color: var(--muted); }
  .call-foot b { color: var(--ok); font-weight: 600; }

  /* powered by */
  .powered .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 8px; }
  .powered-label { font-size: 14px; color: var(--muted); }
  .logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 60px; }
  .pb { display: inline-flex; align-items: center; gap: 10px; color: color-mix(in srgb, var(--text) 50%, transparent); text-decoration: none; font: 700 23px/1 Outfit, Inter, sans-serif; letter-spacing: -.01em; transition: color .2s; }
  .pb svg { display: block; height: 28px; width: auto; }
  .pb.telnyx svg { height: 27px; }
  .pb.cloudflare svg { height: 32px; }
  .pb.telnyx:hover { color: var(--text); }
  .pb.claude:hover { color: #d97757; }
  .pb.cloudflare:hover { color: #f38020; }
  .logo { display: block; width: auto; }
  .on-dark { display: none !important; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .on-light { display: none !important; } :root:not([data-theme="light"]) .on-dark { display: block !important; } }
  :root[data-theme="dark"] .on-light { display: none !important; } :root[data-theme="dark"] .on-dark { display: block !important; }

  /* sections */
  section { padding: 120px 0 0; }
  .head { max-width: 680px; margin-bottom: 48px; }
  .head p { color: var(--muted); font-size: 18px; margin-top: 16px; }
  .split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
  .split .head { margin-bottom: 0; }

  /* plain multi-column lists, no cards */
  .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; list-style: none; padding: 0; margin: 0; }
  .cols li { border-top: 1px solid var(--border); padding-top: 20px; }
  .cols h3 { margin-bottom: 8px; }
  .cols p { color: var(--muted); font-size: 15.5px; }
  .n { display: block; font: 800 28px/1 Outfit, sans-serif; color: var(--brand); margin-bottom: 14px; }

  /* code + chat */
  .code { background: #0a1228; color: #dbe5ff; border-radius: 16px; border: 1px solid #1d2a4f; overflow: hidden; }
  .code pre { margin: 0; padding: 22px 24px; overflow-x: auto; font: 13.5px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }
  .k { color: #7cc4ff; } .s { color: #a5e3a1; } .c { color: #6b7aa3; } .p { color: #f5b971; }
  .setup { margin: 28px 0 0; padding-left: 22px; display: grid; gap: 10px; color: var(--muted); }
  .setup b { color: var(--text); font-weight: 600; }
  .setup li::marker { color: var(--brand); font-weight: 700; }
  .connect-demo { display: grid; gap: 14px; }
  .chat { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; display: grid; gap: 12px; box-shadow: var(--shadow); }
  .msg { padding: 12px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; max-width: 92%; }
  .msg.you { justify-self: end; background: var(--brand); color: #fff; border-bottom-right-radius: 5px; }
  .msg.claude { background: var(--surface-2); border-bottom-left-radius: 5px; }
  .toolrun { font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); }
  .toolrun span { color: var(--ok); }

  /* solutions */
  .seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 40px; }
  .seg button { font: 600 15px Inter, sans-serif; color: var(--muted); background: none; border: 0; padding: 9px 18px; border-radius: 9px; cursor: pointer; }
  .seg button:hover { color: var(--text); }
  .seg button[aria-selected="true"] { color: var(--bg); background: var(--text); }
  .panel { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .panel[hidden] { display: none; }
  .panel h3 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
  .panel p { color: var(--muted); font-size: 17px; margin-bottom: 20px; }
  .ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
  .ticks li { display: flex; gap: 10px; }
  .ticks li::before { content: "✓"; color: var(--brand); font-weight: 700; flex: none; }
  .log { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 6px 20px 10px; font-size: 14.5px; }
  .log-head { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .log ol { list-style: none; padding: 0; margin: 0; }
  .log li { display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--border); }
  .log li:last-child { border-bottom: 0; }
  .log time { color: var(--muted); font-variant-numeric: tabular-nums; }
  .log .done { color: var(--ok); font-weight: 600; }
  .log table { width: 100%; border-collapse: collapse; }
  .log th { text-align: left; font-weight: 500; color: var(--muted); padding: 12px 0; border-bottom: 1px solid var(--border); }
  .log td { padding: 12px 0; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
  .log tr:last-child td { border-bottom: 0; }
  .log .num { text-align: right; }
  .log th + th, .log td + td { padding-left: 16px; }
  .log .event { font: 12.5px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }

  /* comparison */
  .compare { width: 100%; border-collapse: collapse; font-size: 16px; }
  .compare th, .compare td { text-align: left; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
  .compare thead th { font-weight: 600; color: var(--muted); font-size: 15px; }
  .compare tbody th { font-weight: 600; width: 26%; }
  .compare td { color: var(--muted); width: 32%; }
  .compare td.us { color: var(--text); font-weight: 500; width: 42%; }
  .compare thead .us { color: var(--brand); }

  /* pricing */
  .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
  .plan { border-top: 2px solid var(--border); padding-top: 22px; }
  .plan h3 { font-size: 22px; }
  .plan .price { font: 800 44px/1 Outfit, Inter, sans-serif; letter-spacing: -.02em; margin: 10px 0 4px; }
  .plan .price small { font: 500 15px Inter, sans-serif; color: var(--muted); letter-spacing: 0; }
  .plan ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: 16px; }
  .plan ul b { color: var(--text); font-weight: 600; }

  /* competitors */
  .vs-scroll { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
  .vs { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 15.5px; }
  .vs th, .vs td { text-align: left; padding: 16px 18px 16px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
  .vs thead th { font-weight: 600; font-size: 15px; color: var(--muted); }
  .vs thead .us { color: var(--brand); }
  .vs tbody th { font-weight: 600; width: 20%; }
  .vs td { color: var(--muted); width: 16%; }
  .vs td.us { color: var(--text); font-weight: 500; }
  .vs tr.total th, .vs tr.total td { border-bottom: 0; padding-top: 24px; }
  .vs tr.total td { color: var(--text); font-weight: 600; }
  .vs tr.total td.us { color: var(--brand); font: 700 22px/1.2 Outfit, Inter, sans-serif; }
  .vs tr.total th, .vs tr.total td { padding-bottom: 4px; }
  .vs tr.breakdown td { padding-top: 0; font-size: 14px; color: var(--muted); font-weight: 400; border-bottom: 0; }
  .vs tr.breakdown th { border-bottom: 0; }
  .vs-note { font-size: 14px; margin-top: 22px; max-width: 62em; }
  .vs-note a { color: inherit; }

  /* faq */
  .faq-wrap { max-width: 820px; }
  .faq details { border-bottom: 1px solid var(--border); }
  .faq details:first-child { border-top: 1px solid var(--border); }
  .faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
  .faq details[open] summary::after { content: "–"; }
  .faq details p { color: var(--muted); padding-bottom: 20px; max-width: 44em; }
  .faq code { font-size: 13px; background: var(--surface-2); padding: 1px 5px; border-radius: 5px; word-break: break-all; }

  /* closing band */
  .band { border-radius: 24px; padding: 72px 40px; text-align: center; color: #fff; background: #1a73f0; }
  .band h2 { font-size: clamp(32px, 4.6vw, 54px); }
  .band p { font-size: 18px; opacity: .9; margin: 14px auto 26px; max-width: 32em; }
  .band .number { display: inline-block; font: 800 clamp(32px, 4.4vw, 48px) Outfit, sans-serif; letter-spacing: -.01em; text-decoration: none; border-bottom: 2px solid rgb(255 255 255 / .4); }
  .band .number:hover { border-color: #fff; }

  footer { padding: 72px 0 48px; color: var(--muted); font-size: 14px; }
  footer a { text-decoration: none; } footer a:hover { color: var(--text); }
  .foot-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
  .foot-cols { display: flex; gap: 48px 72px; flex-wrap: wrap; }
  .foot-col { display: grid; gap: 9px; font-size: 15px; align-content: start; }
  .foot-col h4 { margin: 0 0 4px; font: 600 13px/1 Inter, sans-serif; color: var(--text); }
  .foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 22px; }
  .made-by { display: inline-flex; align-items: center; gap: 10px; }
  .made-by img { height: 19px; width: auto; }
  .made-by b { color: var(--text); font-weight: 600; }

  @media (max-width: 960px) {
    .hero .wrap, .split, .panel { grid-template-columns: 1fr; gap: 40px; }
    .plans { grid-template-columns: 1fr; gap: 28px; }
    .hero { padding-top: 48px; }
    .cols { grid-template-columns: repeat(2, 1fr); }
    .navlinks a:nth-child(n+4) { display: none; }
    .dev-code { order: 2; }
  }
  @media (max-width: 680px) {
    .navlinks { display: none; }
    nav.top .wrap { gap: 12px; } nav.top .actions { margin-left: auto; }
    .nav-cta { display: none; }
    section { padding-top: 88px; }
    .cols { grid-template-columns: 1fr; gap: 28px; }
    .seg { display: flex; } .seg button { flex: 1 1 40%; padding: 9px 8px; }
    .compare thead { display: none; }
    .compare tr { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--border); }
    .compare th, .compare td { border: 0; padding: 0; width: auto !important; }
    .compare td:not(.us)::before { content: "Yourself: "; }
    .compare td.us::before { content: "Patch: "; color: var(--brand); }
    .vs { min-width: 760px; font-size: 14.5px; }
    .vs tbody th, .vs thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--bg); width: 120px; min-width: 120px; padding-right: 14px; }
    .vs tr.total td.us { font-size: 19px; }
    .band { padding: 52px 22px; border-radius: 20px; }
    .cta .btn { flex: 1 1 100%; }
  }
  @media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

  /* comparison pages */
  .faceoff { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-bottom: 36px; }
  .faceoff .brand { font-size: 34px; pointer-events: none; }
  .faceoff .brand .mark { width: 54px; height: 35px; }
  .faceoff .v { font: 600 18px Inter, sans-serif; color: var(--muted); }
  .rival { font: 800 32px/1 Outfit, Inter, sans-serif; letter-spacing: -.02em; color: var(--text); display: inline-flex; align-items: center; gap: 10px; }
  .rival.aircall { color: #00bd82; }
  .rival.bland { font-family: Inter, sans-serif; font-weight: 700; letter-spacing: -.03em; }
  .rival.vapi { letter-spacing: .02em; }
  .rival.retell { font-weight: 700; letter-spacing: -.03em; }
  .cmp-hero { padding: 72px 0 0; }
  .cmp-hero h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; max-width: 14em; margin-bottom: 20px; }
  .cmp-hero .lede { max-width: 36em; margin-bottom: 0; }
  .prose { max-width: 44em; }
  .prose p { color: var(--muted); font-size: 17px; margin-bottom: 18px; }
  .prose p b { color: var(--text); font-weight: 600; }
  .prose h3 { margin: 36px 0 10px; font-size: 22px; }
  .two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; }
  .vs.two-way { min-width: 0; }
  .vs.two-way tbody th { width: 28%; }
  .vs.two-way td { width: 36%; }
  .sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 48px; margin-top: 40px; }
  .sum > div { border-top: 2px solid var(--border); padding-top: 18px; }
  .sum .who { font-weight: 600; font-size: 15px; color: var(--muted); }
  .sum .amt { font: 800 40px/1.1 Outfit, Inter, sans-serif; letter-spacing: -.02em; margin: 8px 0 6px; }
  .sum .us .amt { color: var(--brand); }
  .sum p { color: var(--muted); font-size: 14.5px; }
  @media (max-width: 760px) { .two { grid-template-columns: 1fr; gap: 36px; } .faceoff { gap: 18px; } .rival { font-size: 26px; } }
