/* Archivo, self-hosted (the same @fontsource woff2 files the app ships) — closes the last
   visual seam between site and app, and keeps the no-third-party-requests promise. ~58KB total
   for four weights, latin subset. font-display: swap so text never blocks on the font. */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/archivo-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2");
}

/* Cardinera — shared stylesheet.
   No external fonts, no JS. The cream (#FDF7EE) matches the logo PNG's baked-in
   background exactly, so the wordmark sits on the page without a visible box. */

:root {
  --cream: #FDF7EE;
  --surface: #FFFFFF;
  --surface-warm: #FFFCF6;
  --ink: #241F1C;
  --muted: #6B625A;
  --red: #B4213A;
  --red-dark: #971B31;
  --red-soft: #F7E3E4;
  --border: #EBDFCF;
  --shadow: 0 1px 2px rgba(36, 31, 28, 0.05), 0 8px 24px rgba(36, 31, 28, 0.06);
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand img { height: 44px; width: auto; }
.brand:hover { text-decoration: none; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover { color: var(--red); text-decoration: none; }

.site-nav a[aria-current="page"] { color: var(--red); }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 2px solid var(--red);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn:hover { background: var(--red-dark); border-color: var(--red-dark); text-decoration: none; }

.btn-ghost {
  background: transparent;
  color: var(--red);
}

.btn-ghost:hover { background: var(--red-soft); color: var(--red-dark); }

.btn-small { padding: 0.45rem 1.1rem; font-size: 0.9rem; }
.site-nav .btn-small { color: #fff; }
.site-nav .btn-small:hover { color: #fff; }

/* ------------------------------------------------------------------ hero */

.hero { padding: 5rem 0 4rem; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  max-width: 21ch;
  text-wrap: balance;
  margin: 0 auto 1.2rem;
}

.hero .lede {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 auto 2rem;
  text-wrap: balance;
}

.hero .lede .lede-turn {
  display: block;
  margin-top: 0.7rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.hero-note { font-size: 0.92rem; color: var(--muted); }

/* ------------------------------------------------------------------ sections */

section { padding: 3.5rem 0; }

.section-head { text-align: center; max-width: 46rem; margin: 0 auto 2.6rem; }

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  line-height: 1.15;
  text-wrap: balance;
  letter-spacing: -0.015em;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.section-head p { color: var(--muted); font-size: 1.1rem; }

h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.4rem; }

.band { background: var(--surface-warm); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.band-red { background: var(--red); color: #fff; }
.band-red h2 { color: #fff; }
.band-red .section-head p { color: #F6D9DC; }
.band-red a { color: #fff; text-decoration: underline; }
.band-red a:hover { color: #F6D9DC; }

/* ------------------------------------------------------------------ cards & grids */

.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

.card p { color: var(--muted); font-size: 0.98rem; }

.card .card-cta { display: inline-block; margin-top: 1rem; font-weight: 700; }

/* numbered steps */
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* icon chip used on promise / feature cards */
.chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  margin-bottom: 1rem;
}

.chip svg { width: 1.4rem; height: 1.4rem; }

.band-red .card { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); box-shadow: none; }
.band-red .card h3 { color: #fff; }
.band-red .card p { color: #F3D6DA; }
.band-red .chip { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* audience "two doors" cards */
.door { display: flex; flex-direction: column; align-items: flex-start; }
.door .price-tag { font-weight: 800; color: var(--red); margin-top: 0.6rem; }
.door .card-cta { margin-top: auto; padding-top: 1.2rem; }

/* ------------------------------------------------------------------ example inbox / addresses */

.inbox-demo {
  background: var(--ink);
  color: #F4EDE2;
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.92rem;
  overflow-x: auto;
  box-shadow: var(--shadow);
}

.inbox-demo .from { color: #B8AB99; }
.inbox-demo .hl { color: #F2A0AC; }
.inbox-demo p { margin: 0.2rem 0; overflow-wrap: anywhere; }
.inbox-demo hr { border: 0; border-top: 1px solid rgba(244, 237, 226, 0.2); margin: 0.8rem 0; }

/* ------------------------------------------------------------------ checklists */

ul.checks { list-style: none; }

ul.checks li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.7rem;
}

ul.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.36em;
  width: 1.05em;
  height: 1.05em;
  border-radius: 50%;
  background: var(--red);
}

ul.checks li::after {
  content: "";
  position: absolute;
  left: 0.28em;
  top: 0.62em;
  width: 0.45em;
  height: 0.22em;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg);
}

ul.checks strong { color: var(--ink); }

/* ------------------------------------------------------------------ split (text + panel) */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.split h2 { max-width: 18ch; }
.split > div > p { color: var(--muted); margin-bottom: 1rem; }

/* ------------------------------------------------------------------ pricing */

.price-cards { align-items: stretch; }

.price-card { display: flex; flex-direction: column; position: relative; }

.price-card .plan-name { font-size: 1.15rem; font-weight: 800; }
.price-card .plan-for { color: var(--muted); font-size: 0.92rem; margin-bottom: 1rem; }

.price-card .price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.price-card .price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card .price-sub { color: var(--muted); font-size: 0.9rem; margin: 0.4rem 0 1.3rem; }

.price-card ul.checks { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.4rem; }
.price-card .btn { margin-top: auto; text-align: center; }

.price-card.featured { border: 2px solid var(--red); }

.badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* the ROI anchor line under the price cards */
.price-anchor {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 44rem;
  margin: 1.8rem auto 0;
}

/* trial explainer */
.trial-box {
  border: 2px dashed var(--red);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 2rem;
  max-width: 46rem;
  margin: 0 auto;
}

.trial-box h3 { color: var(--red); }
.trial-box p { color: var(--muted); }
.trial-box p + p { margin-top: 0.8rem; }

/* ------------------------------------------------------------------ FAQ */

.faq { max-width: 46rem; margin: 0 auto; }

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 0.8rem;
  box-shadow: var(--shadow);
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--red);
}

.faq details[open] summary::after { content: "–"; }

.faq details p { color: var(--muted); margin-top: 0.7rem; font-size: 0.98rem; }
.faq details p + p { margin-top: 0.5rem; }

/* ------------------------------------------------------------------ final CTA */

.cta-final { text-align: center; padding: 4.5rem 0; }
.cta-final h2 { max-width: 24ch; margin-left: auto; margin-right: auto; }
.cta-final p { color: var(--muted); max-width: 40rem; margin: 0 auto 1.8rem; }

/* ------------------------------------------------------------------ footer */

.site-footer {
  background: var(--ink);
  color: #CFC5B8;
  margin-top: 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.footer-brand {
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.7rem;
}

.site-footer a { color: #CFC5B8; display: block; margin-bottom: 0.45rem; }
.site-footer a:hover { color: #fff; }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.3rem;
  padding-bottom: 1.6rem;
  font-size: 0.85rem;
  color: #9C917F;
}

/* ------------------------------------------------------------------ small screens */

@media (max-width: 640px) {
  .hero { padding: 3rem 0 2.5rem; }
  section { padding: 2.5rem 0; }
  .header-inner { justify-content: center; }
}

/* ------------------------------------------------------------------ problem boxes (home, panel two) */

.plead { border: 2px solid var(--red); }

ul.plist {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

ul.plist li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

ul.plist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5em;
  height: 2px;
  background: var(--red);
}

.problem-closer {
  background: var(--red-soft);
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
  text-align: center;
  border-radius: var(--radius);
  padding: 1.1rem 1.6rem;
  max-width: 46rem;
  margin: 2.2rem auto 0;
}

/* ------------------------------------------------------------------ pricing table */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.price-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 760px;
  font-size: 0.95rem;
}

.price-table th, .price-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
}

.price-table tbody th[scope="row"] {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  max-width: 24rem;
}

.pt-group {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid var(--border);
  padding-top: 1.1rem;
}

.pt-tiers th { border-left: 1px solid var(--border); }
.price-table tbody td:first-of-type, .price-table tfoot td:first-of-type { border-left: 1px solid var(--border); }
.price-table tbody td:nth-of-type(2), .price-table tfoot td:nth-of-type(2) { border-left: 1px solid var(--border); }

.pt-name { display: block; font-weight: 800; font-size: 1.02rem; }
.pt-price { display: block; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; margin-top: 0.15rem; }
.pt-price small { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.pt-note { display: block; font-size: 0.8rem; font-weight: 500; color: var(--muted); margin-top: 0.1rem; }

.pt-featured { background: var(--red-soft); }

.price-table td.yes { color: var(--red); font-weight: 800; font-size: 1.05rem; }
.price-table td.no { color: var(--border); }

.price-table td { color: var(--muted); }
.price-table tfoot td { padding: 1rem; }
.price-table tfoot th, .price-table tfoot td { border-bottom: none; }

/* ------------------------------------------------------------------ Trojan Horse experiment (homepage) */

.xq { text-align: left; }
.xq-q { font-weight: 800; color: var(--ink); margin-bottom: 0.3rem; }
.xq-grid { margin-bottom: 1.6rem; }

.xq-note {
  text-align: center;
  color: var(--muted);
  max-width: 46rem;
  margin: 0 auto 2.4rem;
}

/* the mapping widget */

.xmap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.6rem 1.2rem;
}

.xmap-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1rem;
}

.xmap-board {
  position: relative;
  display: grid;
  grid-template-columns: 30% 28% 30%;
  justify-content: space-between;
  min-height: 340px;
}

.xmap-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.xwire path {
  fill: none;
  stroke: #DDCDB6;
  stroke-width: 2;
  stroke-dasharray: 2 4;
  vector-effect: non-scaling-stroke;
}

.xcol { display: flex; flex-direction: column; }
.xcol-head {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
  text-align: center;
}

/* app cards sit at 16% / 50% / 84%; team and flow nodes at 30% / 70% — the wire
   coordinates in the SVG assume these row positions, so they move together. */
.xcol-apps .xapp { position: absolute; width: 30%; left: 0; transform: translateY(-50%); }
#l-slack { top: 16%; }
#l-hubspot { top: 50%; }
#l-zendesk { top: 84%; }
.xcol-teams .xnode, .xcol-flows .xnode { position: absolute; width: 28%; transform: translateY(-50%); }
.xcol-teams .xnode { left: 36%; }
.xcol-flows .xnode { width: 30%; right: 0; }
#t-marketing { top: 30%; }
#t-support { top: 70%; }
#f-support { top: 30%; }
#f-demand { top: 70%; }

.xcard {
  display: block;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  line-height: 1.35;
}

.xapp { cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.xapp:hover { border-color: #0F766E; }

.xname { display: block; font-weight: 700; color: var(--ink); }
.xcost { display: block; color: var(--muted); font-size: 0.8rem; }
.xsub { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 0.15rem; }

.xnode { opacity: 0.45; transition: opacity 0.2s ease, border-color 0.2s ease; }

/* light the selected chain: teal is the PRODUCT's action colour, and the widget is
   a picture of the product, so the wires speak app, not marketing. */
#x-slack:checked ~ .xmap-board .xw-slack path,
#x-hubspot:checked ~ .xmap-board .xw-hubspot path,
#x-zendesk:checked ~ .xmap-board .xw-zendesk path {
  stroke: #0F766E;
  stroke-width: 2.5;
  stroke-dasharray: 6 4;
}

@media (prefers-reduced-motion: no-preference) {
  #x-slack:checked ~ .xmap-board .xw-slack path,
  #x-hubspot:checked ~ .xmap-board .xw-hubspot path,
  #x-zendesk:checked ~ .xmap-board .xw-zendesk path {
    animation: xcrawl 1.2s linear infinite;
  }
  @keyframes xcrawl { to { stroke-dashoffset: -10; } }
}

#x-slack:checked ~ .xmap-board #l-slack,
#x-hubspot:checked ~ .xmap-board #l-hubspot,
#x-zendesk:checked ~ .xmap-board #l-zendesk {
  border-color: #0F766E;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

#x-slack:checked ~ .xmap-board #t-support,
#x-slack:checked ~ .xmap-board #f-support,
#x-hubspot:checked ~ .xmap-board #t-marketing,
#x-hubspot:checked ~ .xmap-board #f-demand,
#x-zendesk:checked ~ .xmap-board #t-support,
#x-zendesk:checked ~ .xmap-board #f-support {
  opacity: 1;
  border-color: #0F766E;
}

#x-slack:focus-visible ~ .xmap-board #l-slack,
#x-hubspot:focus-visible ~ .xmap-board #l-hubspot,
#x-zendesk:focus-visible ~ .xmap-board #l-zendesk {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.xcap {
  display: none;
  text-align: center;
  color: var(--ink);
  font-size: 0.92rem;
  border-top: 1px dashed var(--border);
  margin-top: 1.2rem;
  padding-top: 0.9rem;
}

#x-slack:checked ~ .xcap-slack,
#x-hubspot:checked ~ .xcap-hubspot,
#x-zendesk:checked ~ .xcap-zendesk { display: block; }

/* conversation cards */
.xconv h3 { margin-bottom: 0.5rem; }
.xconv-q { font-weight: 700; color: var(--red); font-size: 0.95rem; margin-bottom: 0.5rem; }

/* the contrast table */
.vs-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
  font-size: 0.93rem;
}

.vs-table th, .vs-table td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  width: 50%;
}

.vs-table thead th {
  font-size: 1rem;
  font-weight: 800;
  color: var(--muted);
}

.vs-table thead th.vs-us { color: var(--ink); }

.vs-sub {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.15rem;
  font-style: italic;
}

.vs-table td { color: var(--muted); }
.vs-table td.vs-us { color: var(--ink); background: var(--red-soft); }
.vs-table td strong, .vs-table td.vs-us strong { color: var(--ink); display: block; margin-bottom: 0.15rem; }
.vs-table tbody tr:last-child td { border-bottom: none; }

.xfootnote { font-size: 0.9rem; color: var(--muted); margin-top: 1.2rem; }

/* mobile: stack the board columns and drop the wires */
@media (max-width: 760px) {
  .xmap-board { display: flex; flex-direction: column; gap: 0.6rem; min-height: 0; }
  .xmap-wires { display: none; }
  .xcol-apps .xapp, .xcol-teams .xnode, .xcol-flows .xnode {
    position: static;
    width: 100%;
    transform: none;
  }
  .xcol { gap: 0.5rem; }
  .xcol-head { margin-top: 0.6rem; }
}

/* the experiment hero couplet: one sentence per line wants a wider, slightly smaller h1 */
.hero h1.xh {
  font-size: clamp(2rem, 4.6vw, 3rem);
  max-width: 34ch;
}

.xmap-name {
  text-align: center;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

/* flows are clickable too: trace the thread backwards. A clickable card must never
   sit at disabled-looking opacity, so flows idle brighter than the team nodes. */
.xflow { cursor: pointer; opacity: 0.8; }
.xflow:hover { border-color: #0F766E; opacity: 1; }

#x-fsupport:checked ~ .xmap-board .xw-slack path,
#x-fsupport:checked ~ .xmap-board .xw-zendesk path,
#x-fdemand:checked ~ .xmap-board .xw-hubspot path {
  stroke: #0F766E;
  stroke-width: 2.5;
  stroke-dasharray: 6 4;
}

@media (prefers-reduced-motion: no-preference) {
  #x-fsupport:checked ~ .xmap-board .xw-slack path,
  #x-fsupport:checked ~ .xmap-board .xw-zendesk path,
  #x-fdemand:checked ~ .xmap-board .xw-hubspot path {
    animation: xcrawl 1.2s linear infinite;
  }
}

#x-fsupport:checked ~ .xmap-board #l-slack,
#x-fsupport:checked ~ .xmap-board #l-zendesk,
#x-fdemand:checked ~ .xmap-board #l-hubspot {
  border-color: #0F766E;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

#x-fsupport:checked ~ .xmap-board #t-support,
#x-fsupport:checked ~ .xmap-board #f-support,
#x-fdemand:checked ~ .xmap-board #t-marketing,
#x-fdemand:checked ~ .xmap-board #f-demand {
  opacity: 1;
  border-color: #0F766E;
}

#x-fsupport:focus-visible ~ .xmap-board #f-support,
#x-fdemand:focus-visible ~ .xmap-board #f-demand {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

#x-fsupport:checked ~ .xcap-fsupport,
#x-fdemand:checked ~ .xcap-fdemand { display: block; }

/* pricing table group bands */
.price-table .pt-band th {
  text-align: left;
  background: var(--surface-warm);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  border-left: none;
  padding: 0.8rem 1rem 0.5rem;
}

/* equal tier columns: fixed layout takes widths from the first header row, where the
   business group cell spans 3 columns, so 45% there = 15% per tier, matching household. */
.price-table { table-layout: fixed; }
.price-table .pt-feature { width: 40%; }
.price-table .pt-group { width: 15%; }
.price-table .pt-group[colspan="3"] { width: 45%; }
