/* ============================================================
   Reverse Contact integrations directory
   Design system read out of reversecontact.com's own stylesheet
   rather than eyeballed. Re-read on 2026-11-14, when the
   directory moved under their domain: they left Webflow on
   29 September 2026 and rebuilt the system from an approved
   mockup, so the tokens below are now their
   app/assets/css/main.css rather than the Webflow sheet this
   file was first sampled from.
   - Instrument Sans SemiBold for headings, at their -0.03em
     tracking and 1.1 line height;
   - Geist for body copy, at their -0.007em tracking and 1.4;
   - Geist Mono, uppercase and letter-spaced, for labels;
   - one brand blue #0f5cff, ink #0e0e10, a five-step grey ramp
     in place of three neutrals plus alpha, their system green
     and red;
   - controls 10px, items 14px, notes 16px, cards 20px;
   - buttons are full pills (border-radius:999rem), as theirs are.
   What changed in the move was colour, not layout: the
   directory keeps its own components and draws them in the
   current brand. The secondary purple is gone, because their
   palette retired it.
   Every value below is Reverse Contact's own or a tint of one.
   Do not invent colours.
   ============================================================ */

/* ---------- the three families, self-hosted ----------
   These used to be an @import of fonts.googleapis.com, which is the slowest
   possible way to ask for a font: the browser fetches the HTML, then this
   stylesheet, then parses it to discover the @import, then fetches Google's
   CSS, then parses that to discover the font files, then fetches them. Four
   serial round trips before a heading renders in Instrument Sans, and an
   @import is invisible to the preload scanner, so none of it starts early.

   Self-hosted they are one hop from this file, which the preload scanner has
   already found, and no reader's IP address goes to Google on a page load,
   which is not a small thing for a directory published by a company selling
   GDPR-aligned data.

   Three files, 82 KB in total, Latin subset only. Google serves one variable
   woff2 per family and names it once per weight; the four Instrument Sans
   weights were four byte-identical copies of the same 30 KB file, so each
   family is one file declaring its whole weight range. The cyrillic, greek and
   vietnamese subsets are dropped: this site is in English.

   Pulled from Google Fonts on 2026-10-10, which distributes only openly
   licensed families; all three are SIL Open Font Licence 1.1. See
   assets/fonts/README.md. */
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/instrumentsans.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Geist';font-style:normal;font-weight:100 900;font-display:swap;src:url(fonts/geist.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:400 600;font-display:swap;src:url(fonts/geistmono.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

:root{
  color-scheme: light;

  /* light surfaces */
  --bone:#FFFFFF;          /* page ground, their --ui-bg */
  --paper:#F7F7F8;         /* grey-50, their --ui-bg-muted: table heads, tags, hover fills */
  --card:#FFFFFF;          /* their --neutral--white */
  --sand:#E4E4E7;          /* grey-200, their --ui-border */
  --sand-2:#EDEDEF;        /* grey-100, their --ui-border-muted */

  --ink:#0E0E10;           /* their --color-ink */
  --ink-2:#2A2A30;         /* grey-800 */
  --muted:#55555E;         /* grey-700, their --ui-text-muted */
  --faint:#6B6B73;         /* grey-600, their --ui-text-dimmed */

  --line:#E4E4E7;          /* grey-200 */
  --line-soft:#EDEDEF;     /* grey-100 */

  --accent:#0F5CFF;        /* brand-500, the one blue that carries everything */
  --accent-ink:#0D4FDB;    /* brand-600 */
  --accent-soft:#EEF2FF;   /* brand-50 */
  /* The brand purple is gone from their palette: the single blue carries
     everything now (docs/reference/design-direction.md, 26 September 2026).
     It survived here only as the matrix cell for an integration that costs
     on usage, which reads as a third state beside yes and no. That cell is
     a brand tint now, one step lighter than the accent, so the grid still
     has three states and none of them is off-system. */
  --usage:#0D4FDB;         /* brand-600, text on the tint below */
  --usage-soft:#DFE7FF;    /* brand-100 */

  --mint:#ECFDF3;          /* their --color-success-soft */
  --mint-deep:#15803D;     /* their --color-success-strong */
  --rose:#FDECEC;          /* an 8% wash of their --color-error on white: their
                              system publishes no soft red, only the two inks */
  --rose-deep:#B91C1C;     /* their --color-error-strong */

  /* dark surfaces */
  --console:#0E0E10;       /* their --color-ink, and --color-code-bg */
  --console-2:#16161A;     /* grey-900, their card on an inverted section */
  --cream:#FFFFFF;         /* their --neutral--white, type on dark */
  --grey:#B4B4BC;          /* grey-300, their --ui-text-muted on a dark section */
  --dim:#8A8A94;           /* grey-500, their --ui-text-dimmed on a dark section */
  --cyan:#82AAFF;          /* their --color-code-key */
  --emerald:#4ADE80;       /* their --color-success-bright, for a dark ground */
  --glow:0 0 0 1px rgba(15,92,255,.22), 0 10px 30px -10px rgba(15,92,255,.5);

  --r-sm:10px; --r:14px; --r-lg:16px; --r-xl:20px;   /* their --radius-control,
     --radius-item, --radius-note, --radius-card */

  /* ---------- the height of the chrome ----------
     Two sticky bars now: the marketing site's header and the directory's
     own beneath it. Everything that used to pin at 92px below a single
     64px band reads --pin, and app.js reads --chrome off the computed
     style rather than keeping its own copy of the number, because
     fitSidebar() measures the room left below the chrome and a second
     spelling of that height is how the sidebar stops fitting in silence. */
  --head-site:72px;
  --head-dir:52px;
  --chrome:calc(var(--head-site) + var(--head-dir));
  --pin:calc(var(--chrome) + 28px);
  --shadow:0 1px 2px rgba(6,6,15,.04), 0 8px 28px -18px rgba(6,6,15,.18);
  --shadow-lg:0 2px 4px rgba(6,6,15,.05), 0 28px 60px -34px rgba(6,6,15,.34);

  /* The marketing site's container, so the directory's bands line up with the
     rest of the site: 81rem with gutters of 20px, 32px at their md and 48px
     at their lg, which leaves the same 1,200px column at a desktop width.
     This build used to cap the band itself at 1,200px, gutters included, so
     its column was 1,091px at 1366 and sat 55px further in on each side. */
  --wrap:81rem;
  --gut:1.25rem;

  --sans:'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display:'Instrument Sans', 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono:'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*,*::before,*::after{box-sizing:border-box}

body{
  margin:0;
  font-family:var(--sans);
  /* Their --text-base and --text-base--line-height, and their --ui-text for
     the colour. This build ran 16.5px at 1.6 in the softer ink, which is the
     brochure register their design direction rejected: the system is a small
     body against large headings. */
  font-size:0.9375rem;
  line-height:1.5;
  color:var(--ink);
  background-color:var(--bone);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{max-width:100%;display:block}
a{color:inherit}

/* ---------- layout ---------- */
/* The gutter steps where theirs does: Tailwind's md and lg. Written as
   min-width queries because every other query in this file is max-width and
   these are the two the container follows. */
@media (min-width:768px){ :root{ --gut:2rem } }
@media (min-width:1024px){ :root{ --gut:3rem } }

.wrap{max-width:var(--wrap);margin:0 auto;padding-inline:var(--gut)}
/* Text-heavy bands run as two columns: the section header holds the left
   rail, the content fills the right. Same outer container as every other
   band, and no dead gutter on the right. */
.wrap-narrow{
  max-width:var(--wrap);margin:0 auto;padding-inline:var(--gut);
  display:grid;grid-template-columns:minmax(0,326px) minmax(0,1fr);
  gap:clamp(26px,4.6vw,84px);align-items:start;
}
.wrap-narrow > .col-head{position:sticky;top:100px}
.wrap-narrow > .col-head .lede{font-size:1rem;line-height:1.58;max-width:38ch}
.wrap-narrow > .col-head .eyebrow{margin-bottom:.85rem}
.wrap-narrow > .col-head h2.sec{margin-bottom:.7rem}
.wrap-narrow > .col-body{min-width:0}
.col-head-cta{margin-top:1.3rem;display:flex;flex-wrap:wrap;gap:.5rem}
/* A band holding one headerless block that is a reading column: a pull-quote,
   where a 1200px line is too long to read. Deliberately not .wrap-narrow, which
   means "two columns, header on the left" and which two-col.py rewrites every
   one of.
   The cap is a line length, not an offset. It used to carry margin-left:auto to
   line the block up with .col-body above it, which never once happened: every
   child here sets its own margin shorthand (.callout, .author), and a shorthand
   of equal specificity later in the file resets margin-left to 0. The block was
   left-aligned at 860px on all 16 pages that used it, which is a dead gutter
   rather than an alignment. The author block, which is not a reading column and
   caps its own prose, moved to .wrap and fills its band. */
.wrap-slim{max-width:var(--wrap);margin:0 auto;padding-inline:var(--gut)}
.wrap-slim > *{max-width:860px}
section{position:relative}
.band{padding-block:clamp(56px,7vw,104px)}
/* Reverse Contact alternates their near-white ground with flat white bands */
.band--paper{background:rgba(255,255,255,.72);border-block:1px solid var(--line-soft)}
.band--tight{padding-block:clamp(40px,5vw,68px)}

/* ---------- type ---------- */
h1,h2,h3,h4{color:var(--ink);margin:0;text-wrap:balance}

/* Instrument Sans SemiBold at their -0.03em tracking. An <em> inside a heading
   is the blue phrase, as in "get verified data back in seconds", never italic. */
.display{
  font-family:var(--display);
  font-weight:600;
  /* their --text-h1 */
  letter-spacing:-0.035em;
  line-height:1.02;
  font-size:clamp(2.375rem, 1.5rem + 3.4vw, 4.125rem);
}
/* Their headings are one colour. This build ended a hero on a clause in
   brand blue, which is the most visible difference left between the two,
   so the em keeps its line break and loses its colour. One line to undo. */
.display em{font-style:normal;color:inherit;font-weight:inherit}

h2.sec{
  font-family:var(--display);
  font-weight:600;
  /* their --text-h2 */
  letter-spacing:-0.03em;
  line-height:1.06;
  font-size:clamp(1.875rem, 1.25rem + 2.4vw, 3rem);
  margin:0 0 .5rem;
}
h2.sec em{font-style:normal;color:inherit}

h3.sub{
  font-family:var(--display);
  font-weight:600;
  /* their --text-h3 */
  font-size:clamp(1.5rem, 1.3rem + 1vw, 2rem);
  letter-spacing:-0.03em;
  line-height:1.1;
  margin:0 0 .4rem;
}

.lede{
  /* their --text-lead */
  font-size:clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height:1.5;
  color:var(--ink-2);
  max-width:62ch;
  margin:0;
}
.note{font-size:.875rem;line-height:1.58;color:var(--muted)}
.tiny{font-size:.78rem;line-height:1.5;color:var(--muted)}

p{margin:0 0 1rem}
p:last-child{margin-bottom:0}

/* Reverse Contact prefixes every section label with a slashed rule: // INTEGRATIONS */
.eyebrow{
  display:inline-flex;align-items:center;gap:.5em;
  /* their text-label: --text-xs at --tracking-label, not the tighter
     size and wider tracking this build used. */
  font-family:var(--mono);font-size:.75rem;font-weight:500;letter-spacing:.04em;text-transform:uppercase;
  line-height:1.4;color:var(--accent);
  margin-bottom:1.1rem;
}
.eyebrow::before{content:"//";color:var(--accent);opacity:.55;font-weight:600}
.eyebrow--plain{color:var(--muted)}
/* the layer glyph in a hero eyebrow. The eyebrow is already inline-flex with a
   gap, so the icon only needs to stop the SVG sitting on the text baseline. */
.layer-glyph{display:inline-flex;align-items:center;color:var(--accent)}
.layer-glyph svg{display:block}

.rule-head{display:flex;align-items:center;gap:1rem;margin-bottom:1.6rem}
.rule-head .line{flex:1;height:1px;background:var(--line)}
.rule-head .count{font-family:var(--mono);font-size:.78rem;color:var(--muted);white-space:nowrap}

/* ---------- nav: the directory's own bar ----------
   The second of the two header layers. The marketing site's header sits above
   it (.rc-head) and both travel inside .rc-stick. It was the only bar once,
   64px and dark, then 64px and white; it is --head-dir now and its height is
   half of --chrome, which is what the sidebar, the filter rail and every
   section's scroll margin are positioned from.

   The second layer. .rc-stick above is what sticks, so this one is a plain
   band inside it: two sticky elements would let the directory bar slide under
   the site bar at some scroll positions. */
.nav-outer{
  z-index:60;
  background-color:var(--card);
  border-bottom:1px solid var(--line);
}
.nav{
  /* padding inside the max-width, like .wrap and .rc-head-in: with it on the
     outer element this band computed to min(--wrap, viewport - 2*gut), which
     is wider than every other band once the viewport passes --wrap. */
  max-width:var(--wrap);margin:0 auto;padding:0 var(--gut);height:var(--head-dir);
  display:flex;align-items:center;gap:1.5rem;
}
.brand{display:flex;align-items:center;gap:.55rem;font-weight:600;font-size:1.125rem;color:var(--ink);text-decoration:none;letter-spacing:-.02em;font-family:var(--display)}
.brand .mark{width:24px;height:24px;flex:none;display:block;border-radius:6px}
/* Centred: the bar carries only the directory's own navigation now, with
   the wordmark and the call to action one layer up. margin:0 auto rather
   than justify-content, because the toggle is a sibling that must stay at
   the right edge on a phone. */
.nav-links{display:flex;gap:.15rem;margin:0 auto;align-items:center}
.nav-links a{
  text-decoration:none;color:var(--muted);font-size:.9rem;font-weight:450;
  padding:.45rem .72rem;border-radius:var(--r-sm);transition:background .16s,color .16s;
}
.nav-links a:hover{background:var(--paper);color:var(--ink)}
.nav-links a[aria-current="page"]{color:var(--ink);box-shadow:inset 0 -2px 0 var(--accent);border-radius:0}
/* their "Book a demo" pill: solid brand blue */
.nav-cta{
  display:inline-flex;align-items:center;gap:.45rem;margin-left:.6rem;
  background:var(--accent);color:#FFFFFF!important;
  border:1px solid var(--accent);
  padding:.52rem 1.1rem!important;border-radius:999rem!important;
  font-weight:500!important;text-decoration:none;font-size:.85rem!important;
  transition:background .16s, box-shadow .16s;
}
.nav-cta:hover{background:#2C72FF!important;box-shadow:0 0 0 1px rgba(15,92,255,.4), 0 12px 34px -8px rgba(15,92,255,.5)}
/* The search affordance. An icon and a shortcut hint rather than a word, so the
   nav still fits its five items and the CTA at 1280px, which is the width the
   whole band was measured at. */
.nav-search{
  display:inline-flex;align-items:center;gap:.4rem;cursor:pointer;
  margin-left:.35rem;padding:.4rem .6rem .4rem .62rem;
  background:var(--paper);color:var(--muted);
  border:1px solid var(--line);border-radius:var(--r-sm);
  transition:background .16s,color .16s,border-color .16s;
}
.nav-search:hover{background:var(--line-soft);color:var(--ink);border-color:var(--sand)}
.nav-search:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.nav-k{font-family:var(--mono);font-size:.62rem;letter-spacing:.04em;white-space:nowrap}

.nav-toggle{display:none}


/* ---------- hero ---------- */
.hero{position:relative;overflow:hidden;padding-block:clamp(38px,5vw,74px) clamp(48px,6vw,86px)}
/* the blue bloom Reverse Contact runs behind their hero */
.hero::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(640px 360px at 88% 8%, rgba(13,93,253,.08), transparent 70%);
}
.hero > *{position:relative;z-index:1}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(28px,4vw,60px);align-items:center}
.hero-copy .lede{margin-top:1.15rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.8rem}

/* Reverse Contact's buttons are full pills at weight 500. Primary is their solid
   brand blue, which reads on white and on dark; accent is the tinted glass
   version used on their dark surfaces. */
.btn{
  display:inline-flex;align-items:center;gap:.5rem;
  font-family:var(--sans);font-size:.92rem;font-weight:500;letter-spacing:-.007em;
  padding:.7rem 1.35rem;border-radius:999rem;
  text-decoration:none;border:1px solid transparent;cursor:pointer;white-space:nowrap;
  transition:transform .16s,background .16s,border-color .16s,color .16s,box-shadow .16s;
}
.btn-primary{background:var(--accent);color:#FFFFFF;border-color:var(--accent)}
.btn-primary:hover{box-shadow:var(--glow);transform:translateY(-1px)}
.btn-ghost{background:var(--card);color:var(--ink);border-color:var(--line)}
.btn-ghost:hover{border-color:var(--ink)}
.btn-accent{background:rgba(13,93,253,.2);color:#FFFFFF;border-color:rgba(120,165,255,.4);box-shadow:var(--glow)}
.btn-accent:hover{background:rgba(13,93,253,.34);transform:translateY(-1px)}
.btn-sm{padding:.45rem 1rem;font-size:.84rem}

/* ---------- console panel ---------- */
/* Reverse Contact's API panels: near-black, a thin mono title bar, blue for the
   live element. The code palette uses only their named colours. */
.console{
  background:var(--console);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow-lg);
  overflow:hidden;
  font-family:var(--mono);
  border:1px solid rgba(255,255,255,.1);
}
.console-bar{
  display:flex;align-items:center;gap:.55rem;
  padding:.7rem 1rem;border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}
.console-bar .dots{display:flex;gap:.33rem}
.console-bar .dots i{width:8px;height:8px;border-radius:2px;display:block;background:rgba(255,255,255,.16)}
.console-bar .dots i:nth-child(1){background:var(--accent)}
.console-bar .name{font-size:.66rem;color:var(--dim);letter-spacing:.04em;margin-left:.3rem}
.console-bar .tag{margin-left:auto;font-size:.6rem;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);font-family:var(--mono);font-weight:500}
.console-body{padding:1.1rem 1.15rem;font-size:.72rem;line-height:1.9;color:#D5D9E4;overflow-x:auto}
.console-body pre{margin:0;font:inherit;white-space:pre}
.c-key{color:var(--cyan)}.c-str{color:var(--emerald)}.c-num{color:var(--cream)}.c-com{color:#6E6E7C}
.c-meth{color:var(--accent);font-weight:600}.c-punc{color:var(--dim)}

.console-foot{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;
  padding:.8rem 1.15rem;border-top:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.025);
}
.console-foot .lbl{font-family:var(--mono);font-size:.6rem;letter-spacing:.14em;text-transform:uppercase;color:var(--dim);font-weight:500}
.console-foot .val{font-family:var(--mono);font-size:.74rem;color:var(--cream);font-weight:500}
.status-200{
  display:inline-flex;align-items:center;gap:.35rem;
  background:rgba(34,197,94,.14);color:var(--emerald);
  border:1px solid rgba(34,197,94,.3);
  border-radius:999px;padding:.14rem .55rem;
  font-family:var(--mono);font-size:.62rem;font-weight:500;letter-spacing:.06em;
}
.kv-rows{display:grid;gap:.3rem;padding:.85rem 1.15rem 1rem}
.kv-row{
  display:flex;justify-content:space-between;gap:1rem;align-items:center;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07);
  border-radius:var(--r-sm);padding:.46rem .7rem;
  font-family:var(--mono);font-size:.7rem;color:var(--grey);
}
.kv-row b{color:var(--cream);font-weight:500}

/* ---------- stat strip ---------- */
.stats{
  display:grid;grid-template-columns:repeat(4,1fr);
  border:1px solid var(--line);border-radius:var(--r-lg);
  background:var(--card);overflow:hidden;margin-top:clamp(32px,4vw,52px);
}
.stat{padding:1.35rem 1.5rem;border-right:1px solid var(--line-soft)}
.stat:last-child{border-right:0}
.stat b{display:block;font-family:var(--display);font-size:clamp(1.9rem,3vw,2.5rem);font-weight:700;color:var(--ink);line-height:1;letter-spacing:-.04em}
.stat span{display:block;font-family:var(--mono);font-size:.62rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-top:.6rem;line-height:1.5}

/* ---------- directory shell ---------- */
.dir{display:grid;grid-template-columns:252px minmax(0,1fr);gap:clamp(20px,2.6vw,40px);align-items:start}
/* The rail column is what sticks, not the facet card inside it. The card takes
   whatever height is left and scrolls its own facets; the CTA under it keeps its
   natural height and is always on screen. min-height:0 is what lets the card
   shrink below its content in a flex column. */
.dir-rail{
  position:sticky;top:var(--pin);
  display:flex;flex-direction:column;gap:.85rem;
  max-height:calc(100vh - 118px);
}
.filters{
  background:var(--card);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:1.15rem 1.15rem 1.3rem;box-shadow:var(--shadow);
  flex:0 1 auto;min-height:0;overflow-y:auto;
  /* A persistent thin scrollbar rather than the overlay one, because the card
     is cut off by a clean hairline edge and an overlay bar only appears once
     you are already scrolling. Without it the last facet group reads as the
     last facet group. */
  scrollbar-width:thin;scrollbar-color:var(--sand) transparent;
}
.filters .filters-h{font-family:var(--mono);font-size:.62rem;letter-spacing:.14em;text-transform:uppercase;color:var(--faint);font-weight:500;margin:0 0 .2rem}
.fgroup{border-top:1px solid var(--line-soft);padding-top:.95rem;margin-top:.95rem}
.fgroup:first-of-type{border-top:0;margin-top:.75rem;padding-top:0}
.fgroup > .flabel{
  display:flex;align-items:center;justify-content:space-between;gap:.5rem;
  font-size:.86rem;letter-spacing:-.005em;
  color:var(--ink);font-weight:600;margin-bottom:.55rem;
}
.fgroup .hint{font-size:.7rem;color:var(--faint);text-transform:none;letter-spacing:0;font-weight:500}
.fopt{display:flex;align-items:flex-start;gap:.52rem;padding:.24rem 0;cursor:pointer;font-size:.855rem;color:var(--ink-2);line-height:1.38}
.fopt input{
  appearance:none;width:15px;height:15px;flex:none;margin-top:.19rem;
  border:1.5px solid var(--line);border-radius:4px;background:var(--paper);
  cursor:pointer;transition:.14s;position:relative;
}
.fopt input:checked{background:var(--accent);border-color:var(--accent)}
.fopt input:checked::after{content:"";position:absolute;left:4px;top:1px;width:4px;height:8px;border:solid var(--card);border-width:0 1.6px 1.6px 0;transform:rotate(42deg)}
.fopt:hover{color:var(--ink)}
.fopt .n{margin-left:auto;font-family:var(--mono);font-size:.64rem;color:var(--faint);padding-left:.4rem}
.fopt .txt{flex:1;min-width:0}
.fopt .sub{display:block;font-size:.735rem;color:var(--faint);line-height:1.35}
.clearall{
  width:100%;margin-top:1rem;padding:.5rem;border:1px solid var(--line);
  background:transparent;border-radius:var(--r-sm);font-family:var(--sans);
  font-size:.8rem;font-weight:600;color:var(--muted);cursor:pointer;transition:.15s;
}
.clearall:hover{border-color:var(--ink);color:var(--ink)}

/* ---------- the rail CTA ----------
   The third and smallest call to action, pinned under every filter rail. Light,
   not the console black of .cta-card and .cta-mini, because it sits against the
   facet card and a dark block beside a white panel reads as an ad rather than as
   part of the page. A tinted panel instead of another white card, so it is
   legible as a different kind of thing without shouting. */
.cta-rail{
  flex:none;
  background:var(--accent-soft);border:1px solid rgba(13,93,253,.16);
  border-radius:var(--r-lg);padding:.95rem 1rem 1.05rem;
}
.cta-rail .eyebrow{font-size:.56rem;letter-spacing:.12em;margin-bottom:.4rem}
.cta-rail p{font-size:.8rem;line-height:1.45;color:var(--ink-2);margin:0 0 .8rem}
.cta-rail .cr-btn{width:100%;justify-content:center;padding:.5rem .8rem;font-size:.8rem}

.dir-bar{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin-bottom:1.1rem}
.search{
  flex:1;min-width:200px;display:flex;align-items:center;gap:.55rem;
  background:var(--card);border:1px solid var(--line);border-radius:10px;padding:.6rem 1rem;
}
.search:focus-within{border-color:rgba(13,93,253,.5);box-shadow:0 0 0 3px rgba(13,93,253,.1)}
.search input{border:0;background:transparent;outline:0;flex:1;font-family:var(--sans);font-size:.9rem;color:var(--ink);min-width:0}
.search input::placeholder{color:var(--faint)}
.search svg{flex:none;color:var(--faint)}
.showing{font-family:var(--mono);font-size:.66rem;letter-spacing:.04em;color:var(--muted);white-space:nowrap}
.sortsel{
  border:1px solid var(--line);background:var(--card);border-radius:10px;
  padding:.58rem .9rem;font-family:var(--sans);font-size:.855rem;color:var(--ink);cursor:pointer;
}

/* ---------- api card ---------- */
.cards{display:grid;gap:.85rem;grid-template-columns:repeat(auto-fill,minmax(372px,1fr));align-items:stretch}
.card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:1.25rem 1.35rem;transition:border-color .18s, box-shadow .18s, transform .18s;
}
.card:hover{border-color:rgba(13,93,253,.45);box-shadow:var(--shadow);transform:translateY(-1px)}
.card.is-featured{border-color:rgba(13,93,253,.4);background:linear-gradient(180deg,#F4F8FF,var(--card) 55%)}
.card-top{display:flex;align-items:flex-start;gap:.8rem;margin-bottom:.85rem}
.favicon{width:36px;height:36px;border-radius:10px;border:1px solid var(--line);background:var(--paper);flex:none;object-fit:contain;padding:4px}

/* monogram marker: stands in for a vendor logo, no external request */
.mk{
  display:inline-grid;place-items:center;flex:none;
  width:22px;height:22px;border-radius:6px;
  background:var(--sand-2);border:1px solid var(--line);
  font-family:var(--mono);font-size:.6rem;font-weight:700;
  letter-spacing:.02em;color:var(--ink);
  padding:0;line-height:1;
}
.mk-lg{width:34px;height:34px;border-radius:9px;font-size:.78rem}
.card.is-featured .mk-lg{background:var(--accent-soft);border-color:rgba(13,93,253,.35);color:var(--accent-ink)}
.panel h2 .mk{margin-right:.1rem}
.card-title{flex:1;min-width:0}
.card-title h3{font-family:var(--sans);font-size:1.08rem;font-weight:700;letter-spacing:-.02em;margin:0;line-height:1.28}
.card-title h3 a{text-decoration:none;color:var(--ink)}
.card-title h3 a:hover{color:var(--accent-ink)}
/* "Best for" sits with the name, as a subtitle */
.card .best{
  display:block;font-size:.845rem;font-weight:600;color:var(--accent-ink);
  line-height:1.35;margin-top:.18rem;
}
.card-top .flag{margin-left:auto;flex:none}

/* Two separate rows: what it does, then what it is */
.card-tags{display:grid;gap:.35rem;margin-bottom:.8rem}
.tag-row{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}
.tag-row .rl{
  font-family:var(--mono);font-size:.56rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--faint);font-weight:500;margin-right:.1rem;min-width:56px;
}

/* Guides row: the integration pages this tool has, as the other tool's logo.
   26px because eight of them plus the row label fit the 372px the grid
   guarantees without wrapping, and they still read as logos at that size. */
.tag-row--guides{gap:.3rem}
.gl{display:inline-flex;border-radius:8px;transition:transform .14s}
.gl img{
  width:26px;height:26px;border-radius:8px;padding:3px;display:block;
  border:1px solid var(--line);background:var(--paper);object-fit:contain;
  transition:border-color .18s;
}
.gl:hover{transform:translateY(-1px)}
.gl:hover img{border-color:rgba(13,93,253,.45)}
.gl-more{
  font-family:var(--mono);font-size:.6rem;letter-spacing:.02em;font-weight:500;
  color:var(--muted);text-decoration:none;align-self:center;padding:0 .15rem;
}
.gl-more:hover{color:var(--accent-ink)}

.card p.blurb{font-size:.9rem;line-height:1.56;color:var(--ink-2);margin:0 0 .8rem}
.card-bullets{list-style:none;margin:0 0 .95rem;padding:0;display:grid;gap:.3rem}
.card-bullets li{font-size:.845rem;color:var(--muted);padding-left:1.05rem;position:relative;line-height:1.48}
.card-bullets li::before{content:"";position:absolute;left:0;top:.53em;width:5px;height:5px;border-radius:50%;background:var(--sand)}

.card-foot{
  display:flex;flex-direction:column;align-items:center;gap:.62rem;
  padding-top:.9rem;border-top:1px solid var(--line-soft);margin-top:auto;
}
.price{font-family:var(--mono);font-size:.8rem;color:var(--ink);font-weight:600}
.price small{color:var(--muted);font-weight:400}
/* A figure on its own in a card foot does not say what it is a figure for.
   The label is the same words the entry price filter uses. */
.price .pl{
  font-size:.56rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--faint);font-weight:500;margin-right:.36rem;
}
.card-foot .links{display:flex;gap:.45rem;flex-wrap:wrap;justify-content:center}
.card{display:flex;flex-direction:column}
/* The UA rule for [hidden] is display:none, and any author rule that sets
   display beats it. .card is display:flex, so hiding a card did nothing at
   all: the attribute was set, the JS read it back as true, and the reader
   still saw 18 cards. Anything that hides by attribute needs this. */
[hidden]{display:none !important}

/* ---------- pills ---------- */
/* a white capsule in uppercase Geist Mono ("NATIVE", "TWO-WAY") */
.pill{
  display:inline-flex;align-items:center;gap:.36rem;
  font-family:var(--mono);font-size:.58rem;font-weight:500;letter-spacing:.07em;text-transform:uppercase;
  line-height:1.5;padding:.24rem .6rem;border-radius:999px;
  border:1px solid var(--line);background:var(--paper);color:var(--muted);
  white-space:nowrap;
}
.pill--stage{background:var(--card);border-color:var(--line);color:var(--ink)}
.pill--accent{background:var(--accent-soft);border-color:rgba(13,93,253,.3);color:var(--accent-ink)}
.pill--mcp{background:var(--console);border-color:var(--console);color:var(--cream)}
.pill--mcp::before{content:"";width:5px;height:5px;border-radius:1px;background:var(--accent)}
.pill--free{background:#EAF9F0;border-color:#BFEBD1;color:var(--mint-deep)}
.pill--ink{background:var(--ink);border-color:var(--ink);color:var(--card)}
.pill--warn{background:#FDEDEE;border-color:var(--rose);color:var(--rose-deep)}

/* ---------- tables ---------- */
.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--card)}
table.cmp{border-collapse:collapse;width:100%;min-width:780px;font-size:.875rem}
table.cmp th,table.cmp td{padding:.78rem .95rem;text-align:left;border-bottom:1px solid var(--line-soft);vertical-align:top}
table.cmp thead th{
  background:var(--paper);font-family:var(--mono);font-size:.6rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--muted);font-weight:500;border-bottom:1px solid var(--line);
}
table.cmp tbody th{font-weight:600;color:var(--ink);width:190px;background:var(--card)}
table.cmp tr:last-child td,table.cmp tr:last-child th{border-bottom:0}
table.cmp tbody tr:hover td,table.cmp tbody tr:hover th{background:var(--paper)}
table.cmp .v-name{display:flex;align-items:center;gap:.5rem;font-weight:700;color:var(--ink);text-decoration:none;font-size:.9rem}
table.cmp .v-name img{width:20px;height:20px;border-radius:5px}
table.cmp .v-name:hover{color:var(--accent-ink)}
.yes{color:var(--mint-deep);font-weight:700}
.no{color:var(--faint)}
.mono{font-family:var(--mono);font-size:.74rem}

/* ---------- numbered guide ---------- */
.guide{display:grid;gap:0}
.guide-item{
  display:grid;grid-template-columns:64px minmax(0,1fr);gap:clamp(14px,2vw,28px);
  padding:1.6rem 0;border-top:1px solid var(--line);
}
.guide-item:first-child{border-top:0;padding-top:.3rem}
.guide-num{font-family:var(--mono);font-size:.72rem;font-weight:600;color:var(--accent);padding-top:.3rem;letter-spacing:.04em}
.guide-item h3{font-family:var(--display);font-weight:650;font-size:clamp(1.15rem,1.8vw,1.35rem);letter-spacing:-.02em;margin:0 0 .5rem;line-height:1.24}

/* ---------- tiles ---------- */
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(268px,1fr));gap:.85rem}
.tile{
  background:var(--card);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:1.3rem 1.35rem;text-decoration:none;display:flex;flex-direction:column;gap:.55rem;
  transition:border-color .18s,transform .18s,box-shadow .18s;
}
.tile:hover{border-color:rgba(13,93,253,.45);transform:translateY(-2px);box-shadow:var(--shadow)}
.tile-head{display:flex;align-items:center;justify-content:space-between;gap:.7rem}
.tile-head h3{font-family:var(--sans);font-size:1.04rem;font-weight:700;letter-spacing:-.02em;margin:0}
.tile .cnt{font-family:var(--mono);font-size:.66rem;color:var(--accent-ink);background:var(--accent-soft);border-radius:999px;padding:.16rem .52rem;flex:none}
.tile p{font-size:.875rem;color:var(--muted);line-height:1.52;margin:0}
.tile .go{font-size:.82rem;font-weight:600;color:var(--ink);margin-top:auto;padding-top:.35rem;display:inline-flex;align-items:center;gap:.3rem}
.tile:hover .go{color:var(--accent-ink)}

/* ---------- the plan grid, and its picker ----------
   The whole grid is in the markup whatever a reader picks, so the answer is
   readable with the picker untouched and by anything that never runs it. The
   picker marks a cell that is already there; it does not build the table. */
.plan-pick{
  display:flex;flex-wrap:wrap;gap:.85rem 1.1rem;align-items:flex-end;
  background:var(--card);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:1rem 1.15rem;margin-top:1.3rem;
}
.plan-pick label{display:grid;gap:.35rem;min-width:min(220px,100%)}
.plan-pick .rl{
  font-family:var(--mono);font-size:.6rem;letter-spacing:.11em;text-transform:uppercase;
  color:var(--muted);font-weight:500;
}
.plan-pick select{
  font-family:var(--sans);font-size:.875rem;color:var(--ink);background:var(--ground);
  border:1px solid var(--line);border-radius:var(--r-sm);padding:.5rem .6rem;
  min-width:min(220px,100%);
}
.plan-pick select:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.plan-verdict{
  flex:1 1 min(260px,100%);margin:0;font-size:.875rem;line-height:1.5;color:var(--ink-2);
  border-left:3px solid var(--line);padding-left:.8rem;
}
.plan-verdict.is-yes{border-left-color:var(--mint-deep);color:var(--ink)}
.plan-verdict.is-part{border-left-color:var(--accent)}
.plan-verdict.is-no{border-left-color:var(--rose)}
table.plan-grid{min-width:560px}
table.plan-grid td{font-family:var(--mono);font-size:.72rem;text-transform:uppercase;letter-spacing:.06em}
table.plan-grid td.part{color:var(--accent-ink)}
table.plan-grid td.is-pick,table.plan-grid th.is-pick{background:var(--accent-soft)}
table.plan-grid td.is-pick{box-shadow:inset 0 0 0 2px var(--accent);font-weight:700}
/* The row label stays put while the grid scrolls on a phone, the same way the
   matrix does it: a cell with no visible row header says nothing. */
table.plan-grid tbody th{position:sticky;left:0;z-index:1}

/* ---------- field map export ----------
   A control row, not a card: it belongs to the table above it rather than
   standing on its own. The label follows .tag-row's convention so the two read
   as the same kind of row. The status line is the width that is left, so a
   message never reflows the buttons. */
.export{
  display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;
  margin:1.1rem 0 1.4rem;padding:.75rem .95rem;
  border:1px solid var(--line);border-radius:var(--r-lg);background:var(--paper);
}
.export .rl{
  font-family:var(--mono);font-size:.56rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--faint);font-weight:500;margin-right:.25rem;
}
.export .btn-sm{padding:.35rem .8rem;font-size:.78rem}
.export-note{
  font-family:var(--mono);font-size:.63rem;letter-spacing:.04em;color:var(--muted);
  flex:1 1 100%;min-width:0;
}
.export-note:empty{display:none}
@media (min-width:620px){
  .export-note{flex:1 1 auto;text-align:right}
}

/* ---------- setup checklist ----------
   The ticks live in the reader's browser and nowhere else. The visual state is
   driven entirely by :checked, with no class written onto the row, because a
   class would be baked into the HTML by the prerender pass. */
.checklist{
  border:1px solid var(--line);border-radius:var(--r-lg);background:var(--card);
  margin-top:1.3rem;overflow:hidden;
}
.checklist-head{
  display:flex;justify-content:space-between;align-items:center;gap:1rem;
  padding:.8rem 1.15rem;background:var(--paper);border-bottom:1px solid var(--line);
}
.checklist-head .eyebrow{margin:0}
.checklist-count{
  font-family:var(--mono);font-size:.64rem;letter-spacing:.08em;color:var(--muted);
}
.cl-item{
  display:grid;grid-template-columns:auto minmax(0,1fr);gap:.1rem .85rem;
  padding:1.05rem 1.15rem;border-bottom:1px solid var(--line-soft);
}
.cl-item:last-child{border-bottom:0}
.cl-item input[type=checkbox]{
  width:17px;height:17px;margin:.3rem 0 0;accent-color:var(--accent);cursor:pointer;flex:none;
}
.cl-body label{
  display:block;font-weight:650;font-size:.955rem;color:var(--ink);cursor:pointer;
  line-height:1.4;
}
.cl-num{
  font-family:var(--mono);font-size:.62rem;color:var(--muted);font-weight:500;
  margin-right:.5rem;letter-spacing:.06em;
}
.cl-where{
  font-family:var(--mono);font-size:.63rem;letter-spacing:.06em;text-transform:uppercase;
  color:var(--accent-ink);margin:.3rem 0 0;
}
.cl-body p:not(.cl-where){font-size:.9rem;line-height:1.6;color:var(--ink-2);margin:.4rem 0 0}
.cl-item:has(input:checked){background:var(--paper)}
.cl-item:has(input:checked) .cl-body label{color:var(--muted);text-decoration:line-through}
.cl-item:has(input:checked) .cl-body p:not(.cl-where){color:var(--faint)}

/* ---------- the error index ----------
   One column of entries rather than a grid: a symptom is a sentence and a
   sentence wants a line length, not a card. The group heading sticks under the
   nav so the tool you are reading stays named while you scroll 414 of them. */
.err-find{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.3rem .9rem;
  align-items:center;margin:1.5rem 0 .4rem;
}
.err-label{
  grid-column:1/-1;font-family:var(--mono);font-size:.56rem;letter-spacing:.1em;
  text-transform:uppercase;color:var(--faint);font-weight:500;
}
.err-input{
  width:100%;min-width:0;font-family:inherit;font-size:.95rem;color:var(--ink);
  background:var(--card);border:1px solid var(--line);border-radius:var(--r-sm);
  padding:.62rem .8rem;
}
.err-input:focus{outline:2px solid var(--accent);outline-offset:-1px;border-color:var(--accent)}
.err-input::-webkit-search-cancel-button{display:none}
.err-count{
  font-family:var(--mono);font-size:.62rem;letter-spacing:.04em;color:var(--muted);
  white-space:nowrap;
}
.errs-all{margin-top:1.6rem}
.err-group + .err-group{margin-top:2.6rem}
.err-h{
  position:sticky;top:var(--pin);z-index:2;margin:0;
  font-family:var(--display);font-weight:700;font-size:1.3rem;letter-spacing:-.03em;
  color:var(--ink);background:var(--ground);padding:.5rem 0;
  border-bottom:1px solid var(--line);
}
.err-sub{font-size:.88rem;color:var(--muted);margin:.55rem 0 0}
/* minmax(0,1fr), not an implicit auto track: a grid item's min-width is
   auto, so the track takes the item's min-content and the entry grew
   27px past its 360px column at 400px, scrolling the whole page
   sideways. Third instance of this one here, after .prod and .dir. */
.errs{display:grid;grid-template-columns:minmax(0,1fr);gap:.1rem;margin-top:1rem}
.err{
  display:block;padding:1.15rem 1.25rem;
  border:1px solid var(--line);border-radius:var(--r-lg);background:var(--card);
}
.err + .err{margin-top:.55rem}
.err h3{
  font-size:1.01rem;font-weight:650;line-height:1.4;color:var(--ink);margin:0;
  letter-spacing:-.01em;
}
.err p{font-size:.9rem;line-height:1.62;color:var(--ink-2);margin:.55rem 0 0}
/* Provenance, in the same face as the entry above it. It was mono, which is
   right for a label and wrong for "which needs a plan upgrade on one side": a
   whole sentence set in the mono face reads as a code snippet. */
.err-src{font-size:.78rem;line-height:1.5;color:var(--faint)}
.err-src a{color:var(--accent-ink)}
.err-none{
  margin-top:1.4rem;padding:1.4rem;border:1px dashed var(--line);
  border-radius:var(--r-lg);color:var(--muted);font-size:.92rem;text-align:center;
}
@media (max-width:620px){
  .err-find{grid-template-columns:minmax(0,1fr)}
  .err-count{text-align:left}
  .err-h{top:0}
}

/* The cause label on an error item. A mono label rather than bold inline text:
   "**Why:** content" is the structure the house style bans, and the label is
   doing the job an eyebrow does everywhere else here. */
.guide-item .why,
.err .why{
  font-family:var(--mono);font-size:.58rem;letter-spacing:.12em;text-transform:uppercase;
  color:var(--muted);font-weight:500;margin-right:.45rem;
}

/* ---------- practitioner quotes ----------
   One column, not the three-column masonry this directory inherited from the
   source project and never used, which was deleted when this landed: an
   insight here is a claim, a quote, its provenance and what it means, which is
   four blocks and too much for a card 300px wide. */
.ugc{display:grid;gap:0;border-top:1px solid var(--line)}
.ugc-item{padding:1.5rem 0;border-bottom:1px solid var(--line)}
.ugc-item h3{
  font-family:var(--display);font-weight:650;font-size:1.12rem;letter-spacing:-.02em;
  margin:0 0 .7rem;line-height:1.3;
}
.ugc-item blockquote{
  margin:0;padding:.1rem 0 .1rem 1.1rem;border-left:3px solid var(--accent);
  font-size:.975rem;line-height:1.62;color:var(--ink);
}
/* Not uppercased, unlike every other mono label here: a subreddit name is a
   token people type, and "R/HUBSPOT" is not what it is called. */
.ugc-cite{
  display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;
  font-family:var(--mono);font-size:.66rem;letter-spacing:.04em;
  color:var(--muted);margin:.6rem 0 0;
}
.ugc-cite i{color:var(--faint);font-style:normal}
.ugc-cite a{color:var(--accent-ink);text-decoration:none;border-bottom:1px solid var(--line)}
.ugc-cite a:hover{border-bottom-color:var(--accent)}
.ugc-item > p:last-child{font-size:.93rem;line-height:1.62;color:var(--ink-2);margin:.75rem 0 0}

/* ---------- FAQ ---------- */
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;padding:1.05rem 2.5rem 1.05rem 0;position:relative;font-weight:600;font-size:1.01rem;letter-spacing:-.01em;color:var(--ink)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"+";position:absolute;right:.35rem;top:50%;transform:translateY(-50%);
  font-size:1.3rem;font-weight:400;color:var(--accent);line-height:1;
}
.faq details[open] summary::after{content:"\2013"}
.faq .ans{padding:0 2.5rem 1.15rem 0;font-size:.935rem;line-height:1.62;color:var(--ink-2)}
.faq .ans p{margin:0 0 .7rem}
.faq .ans a{color:var(--accent-ink)}

/* ---------- scorecard ---------- */
.score{display:grid;gap:0}
.score-row{display:grid;grid-template-columns:160px 104px 48px minmax(0,1fr);gap:1rem;align-items:center;padding:.68rem 0;border-bottom:1px solid var(--line-soft)}
.score-row:last-child{border-bottom:0}
.score-row .dim{font-weight:600;color:var(--ink);font-size:.915rem}
.score-bar{display:flex;gap:3px}
.score-bar i{width:100%;height:7px;border-radius:2px;background:var(--sand-2);display:block}
.score-bar i.on{background:var(--accent)}
.score-row .why{font-size:.865rem;color:var(--muted);line-height:1.5}
.score-row .val{font-family:var(--mono);font-size:.72rem;color:var(--ink);font-weight:500}

/* ---------- pricing tiers ---------- */
.tiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:.85rem}
.tier{background:var(--card);border:1px solid var(--line);border-radius:var(--r-lg);padding:1.25rem 1.3rem;display:flex;flex-direction:column}
.tier.best{border-color:var(--accent);background:linear-gradient(180deg,#F4F8FF,var(--card) 50%)}
.tier h4{font-family:var(--sans);font-size:.96rem;font-weight:700;margin:0 0 .5rem}
.tier .amt{font-family:var(--display);font-size:1.85rem;font-weight:700;color:var(--ink);letter-spacing:-.04em;line-height:1}
.tier .per{font-size:.8rem;color:var(--muted);margin-top:.3rem;margin-bottom:.9rem;display:block}
.tier ul{list-style:none;margin:0;padding:0;display:grid;gap:.42rem}
.tier li{font-size:.855rem;color:var(--ink-2);padding-left:1.05rem;position:relative;line-height:1.45}
.tier li::before{content:"";position:absolute;left:0;top:.5em;width:5px;height:5px;border-radius:50%;background:var(--accent)}

/* ---------- prose / callout ---------- */
.prose h3{font-family:var(--display);font-weight:650;font-size:1.26rem;letter-spacing:-.02em;margin:2rem 0 .55rem}
.prose h3:first-child{margin-top:0}
.prose ul{margin:0 0 1.1rem;padding-left:1.1rem}
.prose li{margin-bottom:.42rem;line-height:1.58}
.prose a{color:var(--accent-ink);text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}

.callout{
  background:var(--card);border:1px solid var(--line);border-left:3px solid var(--accent);
  border-radius:var(--r);padding:1.05rem 1.25rem;margin:1.3rem 0;
}
.callout .lbl{font-family:var(--mono);font-size:.6rem;letter-spacing:.13em;text-transform:uppercase;color:var(--accent-ink);font-weight:500;display:block;margin-bottom:.4rem}
.callout p{font-size:.915rem;line-height:1.58;margin:0}

.split{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:1.1rem}
.panel{background:var(--card);border:1px solid var(--line);border-radius:var(--r-lg);padding:1.3rem 1.4rem}
.panel h2{font-family:var(--sans);font-size:1rem;font-weight:700;margin:0 0 .75rem;display:flex;align-items:center;gap:.45rem}
.panel ul{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}
.panel li{font-size:.885rem;line-height:1.52;color:var(--ink-2);padding-left:1.35rem;position:relative}
.panel--good li::before{content:"+";position:absolute;left:0;top:-.05em;color:var(--mint-deep);font-weight:700}
.panel--bad li::before{content:"\2013";position:absolute;left:.1em;top:-.05em;color:var(--rose-deep);font-weight:700}

/* ---------- stack flow ---------- */
.stack-flow{display:grid;gap:.55rem}
.step{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:1.1rem;align-items:center;
  background:var(--card);border:1px solid var(--line);border-radius:var(--r-lg);padding:1.05rem 1.25rem;
}
.step-n{
  width:30px;height:30px;border-radius:8px;background:var(--console);color:var(--cream);
  display:grid;place-items:center;font-family:var(--mono);font-size:.68rem;font-weight:600;flex:none;
}
.step.is-alt .step-n{background:var(--accent)}
.step h3{font-family:var(--sans);font-size:.985rem;font-weight:700;margin:0 0 .2rem}
.step p{font-size:.865rem;color:var(--muted);margin:0;line-height:1.5}
.step .cost{font-family:var(--mono);font-size:.78rem;color:var(--ink);font-weight:600;text-align:right;white-space:nowrap}
.step .cost small{display:block;font-size:.7rem;color:var(--faint);font-weight:400;font-family:var(--sans)}
.step-join{display:grid;place-items:center;color:var(--sand);height:12px;font-size:.8rem}

/* ---------- breadcrumb ---------- */
.crumb{display:flex;gap:.55rem;align-items:center;font-family:var(--mono);font-size:.62rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:1.1rem;flex-wrap:wrap}
.crumb a{text-decoration:none;color:var(--muted)}
.crumb a:hover{color:var(--accent-ink)}
.crumb span{color:var(--faint)}
/* "Directory" is not a link: the nav brand is the link home. The current
   page is the darkest item, so the trail still reads as a trail. */
.crumb span[aria-current]{color:var(--ink-2)}

/* ---------- CTA ----------
   Dark surfaces share Reverse Contact's homepage treatment: a faint 32px grid
   that fades out, and a blue bloom where the call button sits. */
.cta{background:var(--console);color:var(--grey);border-radius:var(--r-xl);padding:clamp(30px,4.5vw,56px);position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.08)}
.cta::before{
  content:"";position:absolute;inset:0;
  background-image:linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size:32px 32px;
  -webkit-mask-image:radial-gradient(ellipse 70% 90% at 88% 18%, #000, transparent 72%);
  mask-image:radial-gradient(ellipse 70% 90% at 88% 18%, #000, transparent 72%);
}
.cta::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(520px circle at 92% 110%, rgba(13,93,253,.2), transparent 70%)}
.cta > *{position:relative;z-index:1}
.cta h2{color:#FFFFFF;font-family:var(--display);font-weight:700;font-size:clamp(1.8rem,3.1vw,2.5rem);letter-spacing:-.03em;line-height:1.08;margin:0 0 .75rem}
.cta h2 em{font-style:normal;color:var(--accent)}
.cta p{max-width:58ch;font-size:1.02rem;line-height:1.62;color:var(--grey)}
.cta .btn-ghost{background:transparent;color:var(--cream);border-color:rgba(255,255,255,.18)}
.cta .btn-ghost:hover{border-color:var(--cream);background:rgba(255,255,255,.05)}
.cta .cta-promise{display:flex;align-items:center;gap:.5rem;margin:1.1rem 0 0;font-size:.86rem;color:var(--grey)}
.cta .cta-promise::before{content:"\2713";color:var(--accent);font-weight:700}

/* ---------- the chrome of the parent site ----------
   The directory is a section of www.reversecontact.com, so every page carries
   that site's header above its own bar and that site's footer below its own
   strip. Both are rendered by app.js from G.SITE_NAV, which is checked against
   their app/utils/navigation.ts by scripts/check-integrations-hub.mjs in the
   marketing repository: this build cannot import that file, so it restates it
   and the check is what makes the copy safe.

   Rebuilt on these tokens rather than copied with their classes, which is what
   the marketing repository's own rule asks for: markup from elsewhere may be
   used for its content and layout, never for its styles.

   HEIGHTS ARE DECLARED ONCE.  --head-site and --head-dir add up to --chrome,
   and everything that used to pin at 92px below a single 64px bar now pins at
   --pin. app.js reads --chrome off the computed style rather than keeping its
   own number, because fitSidebar() measures the room left below the chrome and
   a second copy of that height is how the sidebar silently stops fitting. */
.rc-ann{background:var(--console);color:var(--cream)}
.rc-ann-in{
  max-width:var(--wrap);margin:0 auto;padding:.6rem var(--gut);
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:.2rem .75rem;text-align:center;font-size:.875rem;
}
.rc-ann-badge{
  display:inline-flex;align-items:center;height:22px;padding:0 .5rem;
  border-radius:999rem;background:var(--accent);color:#FFFFFF;
  font-family:var(--mono);font-size:.62rem;letter-spacing:.08em;text-transform:uppercase;font-weight:500;
}
.rc-ann a{color:var(--cream);font-weight:600;text-underline-offset:3px}
.rc-ann a:hover{color:#93B4FF}

/* Both bars travel together. One sticky element rather than two, so the
   directory bar cannot slide under the site bar at any scroll position. */
.rc-stick{position:sticky;top:0;z-index:60}

.rc-head{background:var(--card);border-bottom:1px solid var(--line-soft)}
.rc-head-in{
  max-width:var(--wrap);margin:0 auto;padding:0 var(--gut);
  height:var(--head-site);display:flex;align-items:center;gap:1.5rem;
}
.rc-brand{
  display:flex;align-items:center;gap:.6rem;flex:none;
  font-family:var(--display);font-size:1.125rem;font-weight:600;letter-spacing:-.02em;
  color:var(--ink);text-decoration:none;
}
.rc-brand img{width:30px;height:30px;border-radius:8px;display:block}
.rc-menus{display:flex;align-items:center;gap:1.4rem;margin-left:1rem}
.rc-menus > *{position:relative}
.rc-menus a,.rc-menus > details > summary{
  color:var(--ink);font-size:.875rem;font-weight:500;text-decoration:none;
  padding:.45rem 0;cursor:pointer;
}
.rc-menus a:hover,.rc-menus > details > summary:hover,.rc-menus > details[open] > summary{color:var(--accent)}
.rc-menus > details > summary{list-style:none;display:inline-flex;align-items:center;gap:.32rem}
.rc-menus > details > summary::-webkit-details-marker{display:none}
.rc-menus > details > summary::after{
  content:"";width:5px;height:5px;flex:none;margin-top:-3px;
  border-right:1.5px solid var(--faint);border-bottom:1.5px solid var(--faint);
  transform:rotate(45deg);transition:transform .18s;
}
.rc-menus > details[open] > summary::after{transform:rotate(-135deg);margin-top:2px}
.rc-drop{
  position:absolute;top:calc(100% + 12px);left:0;z-index:80;
  display:flex;gap:.5rem;padding:.5rem;
  background:var(--card);border:1px solid var(--line);border-radius:var(--r-xl);
  box-shadow:0 16px 40px -12px rgba(14,14,16,.18);
}
.rc-drop-col{display:flex;flex-direction:column;width:16rem}
.rc-drop-h{
  margin:0;padding:.5rem .75rem .25rem;
  font-family:var(--mono);font-size:.6rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--faint);font-weight:500;
}
.rc-drop a{
  display:block;padding:.45rem .65rem;border-radius:var(--r-sm);
  font-size:.875rem;font-weight:400;color:var(--ink);white-space:nowrap;
}
.rc-drop a:hover{background:var(--paper);color:var(--ink)}
.rc-actions{display:flex;align-items:center;gap:.5rem;margin-left:auto;flex:none}
.rc-btn{
  display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 18px;
  border-radius:999rem;font-size:.875rem;font-weight:500;text-decoration:none;white-space:nowrap;
  transition:background .16s,border-color .16s,color .16s;
}
.rc-btn--ghost{color:var(--ink);background:transparent;border:1px solid transparent}
.rc-btn--ghost:hover{background:var(--paper)}
.rc-btn--sec{color:var(--ink);background:var(--card);border:1px solid var(--line)}
.rc-btn--sec:hover{border-color:var(--sand)}
.rc-btn--pri{color:#FFFFFF;background:var(--accent);border:1px solid var(--accent)}
.rc-btn--pri:hover{background:#2C72FF}
.rc-head-toggle{display:none}

/* Their header folds below lg. The directory's own bar below it already has a
   toggle of its own, so rather than a second panel the site bar keeps the
   brand and the one action that matters and drops the rest: two collapsing
   menus stacked on a phone is a menu nobody opens. */
@media (max-width:1023px){
  .rc-menus{display:none}
  .rc-btn--ghost,.rc-btn--sec{display:none}
}
@media (max-width:720px){
  :root{--head-site:60px;--head-dir:56px}
  .rc-ann-in{font-size:.8125rem;padding:.5rem var(--gut)}
  .rc-brand{font-size:1rem}
  .rc-brand img{width:26px;height:26px}
}

/* ---------- the directory's own footer strip ----------
   Above the site footer, carrying what the site footer has no place for and
   this directory may not drop: the conflict-of-interest disclosure, when the
   vendor documents were read, and the five assistant links. */
.dir-foot{background:var(--paper);border-top:1px solid var(--line-soft)}
.dir-foot-in{max-width:var(--wrap);margin:0 auto;padding:1.6rem var(--gut)}
.dir-foot-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:1.4rem 2.4rem;align-items:start}
.dir-foot .tiny{color:var(--muted);margin:0 0 .4rem}
.dir-foot .tiny:last-child{margin-bottom:0}

/* ---------- the site footer ----------
   Theirs: a white band, the brand block at 15rem, then one column per
   navigation group and the company column, then the copyright row and the
   legal links. */
footer.site{
  background:var(--card);color:var(--muted);
  border-top:1px solid var(--line);padding-block:clamp(40px,5vw,64px);
}
.foot-grid{
  display:grid;gap:2.5rem 2rem;
  grid-template-columns:15rem repeat(5,auto);justify-content:space-between;
}
.foot-brand{display:flex;flex-direction:column;gap:.85rem}
.foot-brand .rc-brand{font-size:1.125rem}
.foot-brand .note{max-width:19rem;margin:0;font-size:.875rem;color:var(--muted)}
.foot-meta{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem;font-size:.8125rem;color:var(--muted)}
.foot-meta a{color:var(--muted);text-decoration:none}
.foot-meta a:hover{color:var(--ink)}
.foot-status{display:inline-flex;align-items:center;gap:.4rem}
.foot-status::before{content:"";width:7px;height:7px;border-radius:999rem;background:var(--mint-deep)}
.foot-seals{display:flex;align-items:center;gap:1rem;margin-top:.25rem}
.foot-seals ul{display:flex;align-items:center;gap:.6rem;list-style:none;margin:0;padding:0}
.foot-seals svg{display:block}
.foot-rule{width:1px;height:32px;background:var(--line)}
.foot-social{
  display:grid;place-items:center;width:40px;height:40px;border-radius:var(--r-sm);
  border:1px solid var(--line);color:var(--muted);transition:color .16s,border-color .16s;
}
.foot-social:hover{color:var(--ink);border-color:var(--sand)}
.foot-grid nav{display:flex;flex-direction:column;gap:.6rem;font-size:.875rem}
.foot-grid .foot-h{margin:0 0 .2rem;font-weight:500;color:var(--ink);font-size:.875rem;
  font-family:var(--sans);letter-spacing:0;text-transform:none}
.foot-grid nav a{color:var(--muted);text-decoration:none;min-height:1.5rem}
.foot-grid nav a:hover{color:var(--ink)}
/* One row at their lg and stacked below it, as theirs is. nowrap on the row
   with the legal list wrapping inside its own box: with the row itself
   allowed to wrap, the copyright and the links are 1,090px against a 1,090px
   column and a sub-pixel pushes the whole list onto a second line. */
.foot-bottom{
  margin-top:3rem;padding-top:1.5rem;border-top:1px solid var(--line-soft);
  display:flex;flex-wrap:nowrap;gap:1rem 1.25rem;align-items:center;justify-content:space-between;
  font-size:.8125rem;color:var(--faint);
}
.foot-bottom p{flex:none}
@media (max-width:1023px){
  .foot-bottom{flex-wrap:wrap;flex-direction:column;align-items:flex-start;gap:1rem}
}
.foot-bottom p{margin:0}
/* Their gap is 1.25rem and their container 1296px; this build's is 1200px,
   so the same row needs 16px it does not have and wraps onto a second
   line where theirs is one. Tightened rather than widening the page,
   because the directory's bar and its content line up on --wrap and a
   footer at a different width would not. */
.foot-legal{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.5rem .85rem;list-style:none;margin:0;padding:0;min-width:0}
.foot-legal a{color:var(--faint);text-decoration:none}
.foot-legal a:hover{color:var(--ink)}

/* ---------- ask an assistant ----------
   Five links that open a chat with the question already typed. They sit in the
   directory strip now rather than in the site footer, which is the parent
   site's and carries none of this build's own surfaces. */
.foot-ai{margin:0}
.foot-ai-label{display:block;font-family:var(--mono);font-size:.56rem;letter-spacing:.14em;text-transform:uppercase;color:var(--faint);margin-bottom:.55rem}
.foot-ai ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem}
.foot-ai a{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;border:1px solid var(--line);color:var(--muted);background:var(--card);transition:color .15s,border-color .15s,background .15s}
.foot-ai a:hover{color:var(--accent-ink);border-color:var(--accent);background:var(--accent-soft)}
.foot-ai a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.foot-ai svg{width:15px;height:15px;display:block}

/* ---------- the author block ----------
   Who checked the page, against which vendor documents, and the fact that
   Reverse Contact publishes this directory and appears in it. Sits at the foot
   of every integration guide and workflow, directly above the page CTA. It
   replaced a one-line .disclosure note, which said the same things in a
   paragraph nobody read and which workflow pages did not carry at all. */
.author{
  display:flex;gap:1.3rem;align-items:flex-start;
  margin:2.4rem 0 0;padding:1.5rem 1.6rem;
  background:var(--paper);border:1px solid var(--line-soft);border-radius:var(--r-lg);
}
.author-mark{
  width:54px;height:54px;border-radius:12px;flex:none;
  background:var(--card);border:1px solid var(--line);padding:7px;box-shadow:var(--shadow);
}
.author-body{min-width:0;flex:1}
/* Two columns, but only where there are two columns' worth of room. On the 16
   pages where this block sits in a full-width band it was 1,088px wide with its
   prose capped at 74ch, so a third of it was white space. On a guide or a
   workflow it sits in a 709px article column where the prose already fills the
   width; `author--wide` is the generator's `bare` flag, which marks exactly that
   distinction. */
.author--wide > .author-body{
  display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);
  gap:clamp(24px,3vw,48px);align-items:start;
}
.author-main{min-width:0}
.author-side{min-width:0}
@media (max-width:980px){
  .author--wide > .author-body{grid-template-columns:minmax(0,1fr);gap:1.4rem}
}
.author .eyebrow{margin-bottom:.3rem}
.author-name{
  font-family:var(--display);font-weight:700;letter-spacing:-.028em;
  font-size:1.32rem;line-height:1.15;margin:0 0 .75rem;
}
.author-name a{color:var(--ink);text-decoration:none}
.author-name a:hover{color:var(--accent-ink)}
.author-main > p{font-size:.875rem;line-height:1.6;color:var(--ink-2);margin:0 0 .7rem;max-width:74ch}
.author-meta{display:flex;flex-wrap:wrap;gap:.45rem;margin:1.1rem 0 0;padding:0}
.author-meta > div{
  display:flex;gap:.5rem;align-items:baseline;
  background:var(--card);border:1px solid var(--line);border-radius:999rem;padding:.4rem .85rem;
}
.author-meta dt{
  font-family:var(--mono);font-size:.57rem;font-weight:500;letter-spacing:.12em;
  text-transform:uppercase;color:var(--faint);margin:0;
}
.author-meta dd{font-family:var(--mono);font-size:.7rem;font-weight:500;color:var(--ink-2);margin:0}
.author-src{margin-top:1.15rem}
.author-src h3{
  font-family:var(--mono);font-size:.57rem;font-weight:500;letter-spacing:.13em;
  text-transform:uppercase;color:var(--faint);margin:0 0 .5rem;
}
.author-src ul{margin:0;padding-left:1.05rem;display:grid;gap:.32rem}
.author-src li{font-size:.83rem;line-height:1.5;color:var(--muted)}
.author-src a{color:var(--ink-2);text-decoration:none;border-bottom:1px solid var(--sand)}
.author-src a:hover{color:var(--accent-ink);border-bottom-color:var(--accent)}
.author-main > .author-note{font-size:.78rem;line-height:1.55;color:var(--muted);margin:1.15rem 0 0}
.author-note a{color:var(--accent-ink);text-decoration:none;border-bottom:1px solid rgba(13,93,253,.26)}
.author-note a:hover{border-bottom-color:var(--accent)}
@media (max-width:620px){
  .author{flex-direction:column;gap:1rem;padding:1.25rem}
}

/* ---------- the reviewer line, inside the author block ----------
   Reverse Contact publishes the directory; a person did the research. An
   organisation cannot be held to an account and a person can, so both are
   named and only the person is linked to a profile. */
.reviewer{
  margin-top:1.1rem;padding-left:.9rem;
  border-left:2px solid var(--accent);
}
.author-side > .reviewer:first-child{margin-top:0}
.reviewer .eyebrow{margin-bottom:.15rem;font-size:.6rem;color:var(--accent)}
.reviewer-name{font-family:var(--display);font-weight:600;font-size:1rem;letter-spacing:-.02em;margin:0}
.reviewer-name a{color:var(--ink);text-decoration:none;border-bottom:1px solid var(--sand)}
.reviewer-name a:hover{color:var(--accent-ink);border-bottom-color:var(--accent)}
.author-side > .reviewer > .reviewer-role{font-size:.83rem;line-height:1.55;color:var(--muted);margin:.25rem 0 0;max-width:70ch}
.reviewer-role{font-size:.83rem;line-height:1.55;color:var(--muted);margin:.25rem 0 0;max-width:70ch}

/* ---------- visually hidden, but read aloud ----------
   The matrix is 18 columns of logos and a glyph. Sighted readers get the title
   attribute; everyone else needs the sentence. */
.vis-hidden{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;
}

/* ---------- the matrix ----------
   18x18. The row header is sticky to the left so a reader scrolling the grid on
   a narrow screen can still see which tool a row belongs to. */
/* min-width:max-content is what makes the grid scroll inside .table-scroll
   on a phone instead of squeezing 18 columns into 360px. Without it the
   cell widths are a suggestion the table layout is free to ignore, and it
   does: at 400px every column collapsed to 11px. */
/* The grid fills its band and never exceeds it. The band is .wrap like every
   other band on the site; what changed is that the table now uses the width it
   is given instead of sitting at its 834px max-content inside a 1,088px box.

   table-layout:fixed is what makes that work. Under the default auto layout the
   browser hands leftover width to the column with the widest max-content, which
   here is the column of tool names, so width:100% moved 240px into that column
   and left the 18 data columns at 38px. Fixed layout takes the row header's
   declared 150px and splits the rest equally.

   min-width:max-content is what makes the grid scroll inside .table-scroll
   rather than squeezing 18 columns into a phone, and the row header stays put
   while it does: both th rules below are position:sticky;left:0. Add a
   nineteenth tool and the table outgrows the band, scrolls horizontally in its
   own box, and the tool you are reading a row for stays on screen. */
.matrix{border-collapse:separate;border-spacing:0;font-family:var(--mono);width:100%;min-width:max-content;table-layout:fixed}
.matrix th.corner,.matrix tbody th[scope="row"]{width:150px}
.matrix th,.matrix td{border-bottom:1px solid var(--line-soft);border-right:1px solid var(--line-soft)}
.matrix thead th{
  background:var(--card);padding:.5rem .3rem;vertical-align:bottom;
  border-bottom:1px solid var(--line);position:sticky;top:0;z-index:2;
}
.matrix thead th img{display:block;margin:0 auto;border-radius:4px}
.matrix th.corner{
  background:var(--card);position:sticky;left:0;z-index:3;
  border-right:1px solid var(--line);min-width:150px;
}
.matrix tbody th{
  background:var(--card);position:sticky;left:0;z-index:1;
  text-align:left;padding:0 .7rem 0 .5rem;font-weight:500;
  border-right:1px solid var(--line);
  min-width:150px;height:38px;
}
.matrix tbody th .rowhead{display:flex;align-items:center;gap:.5rem}
.matrix tbody th img{border-radius:4px;flex:none}
.matrix tbody th .rowhead > span{
  font-size:.7rem;letter-spacing:-.01em;color:var(--ink-2);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.matrix td{width:38px;min-width:38px;height:38px;text-align:center;padding:0;background:var(--card)}
.matrix td a{
  display:flex;align-items:center;justify-content:center;width:100%;height:38px;
  font-size:.92rem;line-height:1;text-decoration:none;color:var(--ink-2);
  transition:transform .12s;
}
.matrix td a:hover{transform:scale(1.35)}
.matrix td.is-self{background:var(--paper)}
.matrix td.is-none{color:var(--sand-2);font-size:.8rem;line-height:38px}
.matrix td.is-free{background:var(--mint)}
.matrix td.is-free a{color:var(--mint-deep)}
.matrix td.is-tier{background:var(--accent-soft)}
.matrix td.is-tier a{color:var(--accent-ink)}
.matrix td.is-addon{background:var(--rose)}
.matrix td.is-addon a{color:var(--rose-deep)}
.matrix td.is-usage{background:var(--usage-soft)}
.matrix td.is-usage a{color:var(--usage)}
/* Every cell is a containing block, not just the ones with a corner mark.
   .vis-hidden is position:absolute, and without a positioned cell around it the
   browser resolves it against an ancestor outside .table-scroll. It then
   escapes that container's clip and stretches the whole document: at 400px the
   page scrolled sideways while the grid itself was scrolling correctly inside
   its own box. The overflowing element was never the table. */
.matrix,.matrix td{position:relative}
.matrix td.has-guide::after{
  content:"";position:absolute;top:3px;right:3px;width:4px;height:4px;
  border-radius:50%;background:currentColor;opacity:.5;
}

/* ---------- the matrix tool picker ----------
   A button, a live count and a reset, above the key. The dialog reuses
   .facts-dialog, because it is the same object: a modal over a grid. */
.matrix-pick{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-top:1.6rem}
.matrix-pick-btn{gap:.45rem}
.matrix-pick-count{font-family:var(--mono);font-size:.66rem;letter-spacing:.05em;color:var(--muted);text-transform:uppercase}
.matrix-pick-reset{
  background:none;border:0;padding:0;cursor:pointer;font-family:var(--sans);
  font-size:.8rem;font-weight:600;color:var(--accent-ink);text-decoration:underline;
  text-underline-offset:3px;text-decoration-color:rgba(13,93,253,.3);
}
.matrix-pick-reset:hover{text-decoration-color:var(--accent)}
.matrix-dialog{max-width:560px}
.mx-quick{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin-bottom:1.1rem}
.mx-quick-lbl{font-family:var(--mono);font-size:.57rem;letter-spacing:.13em;text-transform:uppercase;color:var(--faint);margin-right:.2rem}
.mx-chip{
  font-family:var(--sans);font-size:.78rem;font-weight:500;cursor:pointer;
  background:var(--paper);border:1px solid var(--line);border-radius:999rem;
  padding:.3rem .7rem;color:var(--ink-2);transition:.15s;
}
.mx-chip:hover{border-color:var(--accent);color:var(--accent-ink);background:var(--accent-soft)}
.mx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.3rem .8rem}
.mx-opt{display:flex;align-items:center;gap:.5rem;padding:.3rem .2rem;cursor:pointer;font-size:.875rem;color:var(--ink-2)}
.mx-opt:hover{color:var(--ink)}
.mx-opt img{border-radius:5px;flex:none}
.mx-opt input{
  appearance:none;width:15px;height:15px;flex:none;
  border:1.5px solid var(--line);border-radius:4px;background:var(--paper);
  cursor:pointer;transition:.14s;position:relative;
}
.mx-opt input:checked{background:var(--accent);border-color:var(--accent)}
.mx-opt input:checked::after{content:"";position:absolute;left:4px;top:1px;width:4px;height:8px;border:solid var(--card);border-width:0 1.6px 1.6px 0;transform:rotate(42deg)}
.mx-note{margin-left:auto}

.matrix-key{
  display:flex;flex-wrap:wrap;gap:.5rem 1.2rem;align-items:center;margin-top:1.6rem;
  font-family:var(--mono);font-size:.64rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);
}
.matrix-key span{display:inline-flex;align-items:center;gap:.45rem}
.matrix-key i{width:13px;height:13px;border-radius:3px;border:1px solid var(--line);display:block}
.matrix-key .k-free{background:var(--mint)}
.matrix-key .k-tier{background:var(--accent-soft)}
.matrix-key .k-addon{background:var(--rose)}
.matrix-key .k-usage{background:var(--usage-soft)}
.matrix-key .k-none{background:var(--card)}
.matrix-key .k-glyph{text-transform:none;letter-spacing:.02em;color:var(--faint)}

/* ---------- the change log ---------- */
.log{display:grid;gap:1.1rem}
.logrow{
  display:grid;grid-template-columns:minmax(0,150px) minmax(0,1fr);gap:1.4rem;
  background:var(--card);border:1px solid var(--line);border-radius:var(--r-lg);padding:1.3rem 1.5rem;
}
.logmeta{display:flex;flex-direction:column;gap:.5rem;align-items:flex-start}
.logmeta time{font-family:var(--mono);font-size:.68rem;letter-spacing:.06em;color:var(--muted);white-space:nowrap}
.logmeta .kind{
  font-family:var(--mono);font-size:.56rem;font-weight:500;letter-spacing:.11em;text-transform:uppercase;
  border-radius:999rem;padding:.3rem .65rem;white-space:nowrap;
}
.logmeta .is-base{background:var(--paper);color:var(--muted)}
.logmeta .is-vendor{background:var(--accent-soft);color:var(--accent-ink)}
.logmeta .is-fix{background:var(--rose);color:var(--rose-deep)}
.logbody h3{font-family:var(--display);font-weight:600;font-size:1.12rem;letter-spacing:-.025em;line-height:1.25;margin:0 0 .6rem}
.logbody p{font-size:.9rem;line-height:1.6;color:var(--ink-2);margin:0}
.logbody .tiny{margin-top:.7rem}
.logbody .tiny a{color:var(--accent-ink);text-decoration:none;border-bottom:1px solid rgba(13,93,253,.26)}
.logbody .tag-row{margin-top:.9rem}
.wasnow{display:grid;gap:.45rem;margin:0 0 .9rem;padding:.85rem 1rem;background:var(--paper);border-radius:var(--r);border:1px solid var(--line-soft)}
.wasnow > div{display:grid;grid-template-columns:48px minmax(0,1fr);gap:.7rem;align-items:baseline}
.wasnow dt{font-family:var(--mono);font-size:.56rem;letter-spacing:.11em;text-transform:uppercase;color:var(--faint);margin:0}
.wasnow dd{font-size:.86rem;line-height:1.55;color:var(--ink-2);margin:0}
.wasnow > div:first-child dd{color:var(--muted);text-decoration:line-through;text-decoration-color:var(--sand)}

@media (max-width:720px){
  .logrow{grid-template-columns:minmax(0,1fr);gap:.9rem;padding:1.15rem 1.2rem}
  .logmeta{flex-direction:row;align-items:center;gap:.7rem}
  .wasnow > div{grid-template-columns:minmax(0,1fr);gap:.15rem}
}

/* ---------- reveal a long table a page at a time ---------- */
.rows-more,.cards-more{
  display:flex;align-items:center;justify-content:center;gap:.7rem;width:100%;
  margin-top:.9rem;padding:.78rem 1rem;cursor:pointer;
  background:var(--card);border:1px solid var(--line);border-radius:999rem;
  font-family:var(--mono);font-size:.64rem;font-weight:500;letter-spacing:.11em;
  text-transform:uppercase;color:var(--ink-2);
  transition:border-color .15s,color .15s,background .15s;
}
.rows-more:hover,.cards-more:hover{border-color:var(--accent);color:var(--accent-ink);background:var(--accent-soft)}
.rows-more .n,.cards-more .n{color:var(--faint);letter-spacing:.06em;text-transform:none;font-size:.68rem}

/* ---------- the tools reference table ----------
   Deliberately not the card grid: the homepage keeps the cards for the six
   tools with a hub, and this is the page for comparing all eighteen. */
.tools-table{min-width:940px}
.tools-table th{vertical-align:top}
.tools-table tbody th{font-weight:400}
.tt-name{display:flex;align-items:center;gap:.5rem}
.tt-name img{border-radius:4px;flex:none}
.tt-name a{color:var(--ink);text-decoration:none;font-weight:600;letter-spacing:-.01em}
.tt-name a:hover{color:var(--accent-ink)}
.tt-sub{display:block;margin-top:.28rem;font-size:.78rem;line-height:1.45;color:var(--muted);max-width:30ch}
.tt-rate{font-size:.8rem;line-height:1.5;color:var(--muted);max-width:26ch}
.tt-go{
  display:inline-block;margin-left:.4rem;font-family:var(--mono);font-size:.62rem;
  letter-spacing:.06em;color:var(--accent-ink);text-decoration:none;white-space:nowrap;
}
.tt-go:hover{text-decoration:underline}

.empty{padding:2.5rem 1.5rem;text-align:center;border:1px dashed var(--line);border-radius:var(--r-lg);color:var(--muted);font-size:.92rem}

/* ---------- nav dropdown ---------- */
.nav-drop{position:relative}
.nav-drop > summary{
  list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:.32rem;
  color:var(--muted);font-size:.9rem;font-weight:450;
  padding:.45rem .72rem;border-radius:var(--r-sm);transition:background .16s,color .16s;
}
.nav-drop > summary::-webkit-details-marker{display:none}
.nav-drop > summary::after{
  content:"";width:5px;height:5px;flex:none;margin-top:-2px;
  border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
  transform:rotate(45deg);transition:transform .18s;
}
.nav-drop[open] > summary::after{transform:rotate(-135deg);margin-top:2px}
.nav-drop > summary:hover,.nav-drop[open] > summary{background:var(--paper);color:var(--ink)}
.nav-drop.is-current > summary{color:var(--ink);box-shadow:inset 0 -2px 0 var(--accent);border-radius:0}
.nav-drop-menu{
  position:absolute;top:calc(100% + 12px);left:0;min-width:252px;z-index:80;
  background:var(--card);border:1px solid var(--line);border-radius:var(--r);
  /* their --shadow-menu */
  box-shadow:0 16px 40px -12px rgba(14,14,16,.18);padding:.4rem;display:grid;gap:.1rem;
}
.nav-drop-menu a{
  display:flex;align-items:baseline;gap:.5rem;
  padding:.5rem .65rem;border-radius:8px;font-size:.875rem;font-weight:450;
  color:var(--muted);text-decoration:none;white-space:nowrap;
}
.nav-drop-menu a:hover,.nav-drop-menu a[aria-current="page"]{background:var(--accent-soft);color:var(--ink);box-shadow:none;border-radius:8px}
.nav-drop-menu a .n{margin-left:auto;font-family:var(--mono);font-size:.62rem;color:var(--faint)}

/* ---------- the stack-layer menu ----------
   Two columns, because seven items stacked vertically is a list somebody reads
   top to bottom. Each row is a glyph beside a label and the line that says what
   the layer is for, so the row has to stop being nowrap: the description wraps,
   and align-items goes to start so the icon sits with the label rather than
   centring against two lines of text. */
.nav-drop-menu--grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.15rem .25rem;min-width:min(616px,calc(100vw - 2rem));padding:.45rem;
}
.nav-drop-menu--grid a.nav-layer{
  display:grid;grid-template-columns:auto 1fr;align-items:start;gap:.6rem;
  padding:.55rem .6rem;white-space:normal;
}
.nav-layer .nl-icon{
  display:flex;align-items:center;justify-content:center;width:26px;height:26px;flex:none;
  border-radius:7px;border:1px solid var(--line);background:var(--paper);
  color:var(--muted);margin-top:1px;
}
.nav-layer:hover .nl-icon,.nav-layer[aria-current="page"] .nl-icon{
  border-color:rgba(15,92,255,.35);background:var(--accent-soft);color:var(--accent-ink);
}
.nav-layer .nl-text{display:block;min-width:0}
.nav-layer .nl-text b{
  display:flex;align-items:baseline;gap:.4rem;
  font-size:.85rem;font-weight:550;color:var(--ink);line-height:1.3;
}
.nav-layer .nl-text em{
  display:block;margin-top:.14rem;font-style:normal;
  font-size:.74rem;line-height:1.35;color:var(--faint);
}
.nav-layer:hover .nl-text em,.nav-layer[aria-current="page"] .nl-text em{color:var(--muted)}
/* the count sits with the label, so it must not take the flex-auto margin the
   single-column menu gives it */
.nav-drop-menu--grid a.nav-layer .n{margin-left:0}

/* One column once two will not fit, which is the same breakpoint the nav
   collapses at. */
@media (max-width:620px){
  .nav-drop-menu--grid{grid-template-columns:1fr;min-width:0}
}

/* ---------- inline tool chip ----------
   Plain inline, not inline-flex: a flex box creates its own baseline and
   drops the text that follows it out of line with the heading. */
.tool{white-space:nowrap}
.tool img{
  width:17px;height:17px;border-radius:5px;
  border:1px solid var(--line);background:var(--paper);padding:1.5px;
  display:inline-block;vertical-align:-3px;margin-right:.3rem;
}
h4 .tool img,h3 .tool img{width:19px;height:19px;vertical-align:-4px}

/* ---------- index list: rows, not another grid of cards ---------- */
.index-list{display:grid;border-top:1px solid var(--line)}
.index-row{
  display:grid;grid-template-columns:40px minmax(0,12.5rem) minmax(0,1fr) auto;
  gap:clamp(.9rem,2vw,1.6rem);align-items:baseline;
  padding:1.15rem .5rem;border-bottom:1px solid var(--line);
  text-decoration:none;transition:background .16s,padding-left .16s;
}
.index-row:hover{background:var(--card);padding-left:.9rem}
.index-row .n{font-family:var(--mono);font-size:.66rem;font-weight:600;color:var(--accent)}
.index-row h3{font-family:var(--sans);font-size:1.04rem;font-weight:700;letter-spacing:-.02em;margin:0;line-height:1.3}
.index-row p{font-size:.88rem;color:var(--muted);line-height:1.52;margin:0}
.index-row .cnt{
  font-family:var(--mono);font-size:.64rem;color:var(--accent-ink);
  background:var(--accent-soft);border-radius:999px;padding:.16rem .55rem;white-space:nowrap;
}
.index-row:hover h3{color:var(--accent-ink)}

/* ---------- rules: hairline definition list, no boxes ---------- */
.rules{border-top:1px solid var(--line);margin:0}
.rules > div{padding:1.1rem 0;border-bottom:1px solid var(--line)}
.rules dt{font-family:var(--mono);font-size:.6rem;letter-spacing:.13em;text-transform:uppercase;color:var(--accent-ink);font-weight:500;margin-bottom:.45rem}
.rules dd{margin:0;font-size:.93rem;line-height:1.62;color:var(--ink-2)}

/* ---------- variants + ledger: for side-by-side costings ---------- */
.variants{display:grid;grid-template-columns:repeat(auto-fit,minmax(304px,1fr));gap:clamp(26px,4vw,60px)}
.variant > h3{font-family:var(--display);font-weight:650;font-size:1.24rem;letter-spacing:-.02em;margin:0 0 .4rem;line-height:1.25}
.variant > .vnote{font-size:.885rem;color:var(--muted);line-height:1.55;margin:0}
.ledger{border-top:1px solid var(--line);margin:1.1rem 0 .9rem}
.ledger-row{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.85rem;
  align-items:baseline;padding:.85rem 0;border-bottom:1px solid var(--line-soft);
}
.ledger-row .ln{
  width:22px;height:22px;border-radius:6px;background:var(--console);color:var(--cream);
  display:grid;place-items:center;font-family:var(--mono);font-size:.58rem;font-weight:600;
  align-self:start;margin-top:.12rem;
}
.ledger-row.is-alt .ln{background:var(--accent)}
.ledger-row .lname{display:block;font-size:.94rem;font-weight:700;color:var(--ink);line-height:1.35}
.ledger-row .lsub{display:block;font-size:.845rem;font-weight:400;color:var(--muted);line-height:1.5;margin-top:.2rem}
.ledger-row .lval{font-family:var(--mono);font-size:.82rem;font-weight:600;color:var(--ink);text-align:right;white-space:nowrap}
.ledger-row .lval small{display:block;font-family:var(--sans);font-size:.7rem;font-weight:400;color:var(--faint);margin-top:.15rem;white-space:normal}
.variant .vtotal{
  font-size:.9rem;line-height:1.6;color:var(--ink-2);
  border-left:3px solid var(--accent);padding-left:.85rem;
}
.variant .vtotal b{color:var(--ink)}

/* ---------- alternatives list on a product page ---------- */
.alt-list{display:grid;gap:.5rem;margin:1.2rem 0 1.1rem}
.alt-row{
  display:flex;align-items:center;gap:.85rem;
  background:var(--card);border:1px solid var(--line);border-radius:var(--r);
  padding:.8rem 1rem;text-decoration:none;transition:border-color .16s,transform .16s;
}
.alt-row:hover{border-color:rgba(13,93,253,.45);transform:translateX(2px)}
.alt-row img{width:30px;height:30px;border-radius:8px;border:1px solid var(--line);background:var(--paper);padding:3px;flex:none}
.alt-row .who{min-width:0;flex:1}
.alt-row .who b{display:block;font-size:.94rem;color:var(--ink);font-weight:700;line-height:1.3}
.alt-row .who span{display:block;font-size:.845rem;color:var(--muted);line-height:1.42;margin-top:.1rem}
.alt-row .rate{font-family:var(--mono);font-size:.83rem;color:var(--ink);white-space:nowrap;text-align:right}
.alt-row .rate small{display:block;font-size:.68rem;color:var(--faint);font-family:var(--sans)}

/* ---------- collapsible filter groups ---------- */
details.fgroup > summary.flabel{
  list-style:none;cursor:pointer;position:relative;padding-right:1.2rem;
  user-select:none;margin-bottom:0;
}
details.fgroup > summary.flabel::-webkit-details-marker{display:none}
details.fgroup > summary.flabel::after{
  content:"";position:absolute;right:.1rem;top:.32em;
  width:6px;height:6px;border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);
  transform:rotate(45deg);transition:transform .18s;
}
details.fgroup[open] > summary.flabel::after{transform:rotate(-135deg);top:.5em}
details.fgroup[open] > summary.flabel{margin-bottom:.55rem}
details.fgroup > summary.flabel:hover{color:var(--accent-ink)}
summary.flabel .on{
  font-family:var(--mono);font-size:.66rem;font-weight:700;
  background:var(--accent);color:#fff;border-radius:999px;
  padding:.04rem .38rem;margin-left:.35rem;letter-spacing:0;
}

/* ---------- product page: content left, facts right ---------- */
.prod{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:clamp(24px,3.4vw,54px);align-items:start}
.prod-main{min-width:0}
/* The whole sidebar is one sticky block: TOC, headline facts and CTA all move
   with the page together. Two earlier versions failed and should not return:
   - one sticky box with an inner scroll hid the CTA on every laptop (0-12% visible);
   - pinning only the TOC and CTA left the facts behind (Eugene: "static").
   It stays short enough to pin because the full factsheet opens in a dialog,
   and fitSidebar() in app.js trims parts marked data-trim on shorter screens. */
.prod-side{position:sticky;top:var(--pin);display:grid;gap:.85rem;align-content:start;align-self:start}
.is-trimmed{display:none !important}

/* compact layouts used when the sidebar has to shed height */
.facts.is-compact{padding:.8rem .9rem .85rem}
.facts.is-compact .facts-visit{padding:.58rem 1rem;font-size:.86rem;margin-bottom:.35rem}
.facts.is-compact dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:.9rem}
.facts.is-compact .fact{padding:.5rem 0}
.facts.is-compact .fact dd{font-size:.82rem;line-height:1.35}
/* billing chips read as a short line of text, instead of stacking three high */
.facts.is-compact .fact .pills{display:block;margin:0}
.facts.is-compact .fact .pills .pill{display:inline;background:none;border:0;padding:0;font-family:var(--sans);font-size:.82rem;font-weight:400;letter-spacing:0;text-transform:none;color:var(--ink)}
/* the space sits outside nowrap, so the line can break between items but not inside one */
.facts.is-compact .fact .pills .pill:not(:last-child)::after{content:", ";white-space:normal}
.facts.is-compact .facts-more{margin-top:.35rem;padding:.4rem}
.toc.is-compact{padding:.7rem .8rem .75rem}
.toc.is-compact:not(.expanded) li:nth-child(3){display:none}
.toc.is-compact h5{margin-bottom:.3rem}
.toc.is-compact a{padding:.32rem .5rem}
/* one row: label and toggle on top, then only the section being read */
.toc.is-mini:not(.expanded){display:grid;grid-template-columns:1fr auto;align-items:center;row-gap:.25rem}
.toc.is-mini:not(.expanded) h5{margin:0}
.toc.is-mini:not(.expanded) ol{grid-column:1 / -1}
.toc.is-mini:not(.expanded) li{display:none}
.toc.is-mini:not(.expanded) li:has(> a.active){display:block}
.toc.is-mini:not(.expanded) .toc-more{grid-row:1;grid-column:2;width:auto;margin:0;padding:.2rem .45rem;gap:.35rem;font-size:.76rem}
/* the open list is a panel over the factsheet; app.js keeps the slot collapsed */
.toc.expanded{position:relative;z-index:5;box-shadow:0 26px 54px -26px rgba(6,6,15,.38)}
.toc.expanded ol{max-height:22rem;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.prov{display:flex;align-items:center;gap:.5rem;padding:.3rem 0;text-decoration:none;color:var(--ink)}
.prov img{width:22px;height:22px;border-radius:6px;border:1px solid var(--line);background:var(--paper);padding:2px;flex:none}
.prov-name{font-size:.87rem}
.prov-price{margin-left:auto}
.fact.is-compact dd{display:flex;flex-wrap:wrap;gap:.35rem}
.fact.is-compact .prov{padding:0}
.fact.is-compact .prov img{width:28px;height:28px;padding:3px}
.fact.is-compact .prov-name,.fact.is-compact .prov-price{display:none}
.other-stack{display:block;padding:.22rem 0;font-size:.86rem;color:var(--accent-ink);text-decoration:none}

/* ---------- full factsheet dialog ---------- */
html.has-dialog{overflow:hidden}
.facts-dialog{
  width:min(760px, calc(100vw - 32px));max-height:min(86vh, 900px);
  padding:0;border:1px solid var(--line);border-radius:var(--r-xl);
  background:var(--card);color:var(--ink-2);
  box-shadow:0 44px 100px -34px rgba(0,0,0,.6);overflow:hidden;
}
.facts-dialog[open]{display:flex;flex-direction:column;animation:fd-in .18s ease-out}
.facts-dialog::backdrop{background:rgba(14,14,18,.6);backdrop-filter:blur(3px)}
@keyframes fd-in{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
/* ---------- search dialog ----------
   Same shell as the facts dialog, pinned near the top rather than centred: a
   result list that grows downwards from a fixed input is easier to read than one
   that re-centres itself on every keystroke. */
.sd{
  width:min(640px, calc(100vw - 32px));max-height:min(70vh, 620px);
  margin-top:11vh;padding:0;border:1px solid var(--line);border-radius:var(--r-xl);
  background:var(--card);color:var(--ink-2);
  box-shadow:0 44px 100px -34px rgba(0,0,0,.6);overflow:hidden;
}
.sd[open]{display:flex;flex-direction:column;animation:fd-in .16s ease-out}
.sd::backdrop{background:rgba(14,14,18,.6);backdrop-filter:blur(3px)}
.sd-head{
  display:flex;align-items:center;gap:.7rem;flex:none;
  padding:.9rem 1.05rem;border-bottom:1px solid var(--line-soft);
}
.sd-icon{color:var(--muted);flex:none}
.sd-input{
  flex:1 1 auto;min-width:0;border:0;background:transparent;color:var(--ink);
  font-family:inherit;font-size:1rem;padding:.2rem 0;
}
.sd-input:focus{outline:none}
.sd-input::placeholder{color:var(--faint)}
.sd-input::-webkit-search-cancel-button{display:none}
.sd-close{
  flex:none;cursor:pointer;font-family:var(--mono);font-size:.6rem;letter-spacing:.08em;
  color:var(--muted);background:var(--paper);border:1px solid var(--line);
  border-radius:6px;padding:.28rem .45rem;
}
.sd-close:hover{color:var(--ink);border-color:var(--ink)}
.sd-results{
  list-style:none;margin:0;padding:.35rem;overflow-y:auto;overscroll-behavior:contain;
}
.sd-row a{
  display:grid;grid-template-columns:72px minmax(0,1fr);gap:.1rem .7rem;
  align-items:baseline;text-decoration:none;padding:.55rem .6rem;border-radius:var(--r-sm);
}
.sd-kind{
  grid-row:span 2;font-family:var(--mono);font-size:.56rem;letter-spacing:.1em;
  text-transform:uppercase;color:var(--faint);padding-top:.2rem;
}
.sd-row a.is-1line .sd-kind{grid-row:auto}
.sd-name{font-weight:650;font-size:.94rem;color:var(--ink);line-height:1.35}
.sd-sub{
  font-size:.82rem;color:var(--muted);line-height:1.45;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.sd-row.is-cur a{background:var(--paper)}
.sd-row.is-cur .sd-name{color:var(--accent-ink)}
.sd-row a:hover{background:var(--paper)}
.sd-empty{padding:1.5rem .9rem;font-size:.9rem;color:var(--muted);text-align:center}
.sd-foot{
  flex:none;display:flex;align-items:center;gap:1rem;
  padding:.6rem 1.05rem;border-top:1px solid var(--line-soft);background:var(--paper);
  font-size:.74rem;color:var(--faint);
}
.sd-foot b{
  font-family:var(--mono);font-weight:500;background:var(--card);
  border:1px solid var(--line);border-radius:4px;padding:0 .26rem;margin-right:.18rem;
}
.sd-count{margin-left:auto;font-family:var(--mono);font-size:.62rem;letter-spacing:.04em}
@media (max-width:560px){
  .sd{margin-top:6vh;max-height:82vh}
  .sd-row a{grid-template-columns:minmax(0,1fr)}
  .sd-kind{grid-row:auto}
  .sd-sub{white-space:normal}
}

.fd-head{display:flex;align-items:center;gap:.85rem;padding:1.1rem 1.25rem;border-bottom:1px solid var(--line-soft);flex:none}
.fd-head img{width:42px;height:42px;border-radius:11px;border:1px solid var(--line);background:var(--paper);padding:6px;flex:none}
.fd-titles{min-width:0}
.fd-head h2{font-family:var(--display);font-weight:700;font-size:1.5rem;letter-spacing:-.03em;line-height:1.1;margin:0}
.fd-sub{display:block;font-size:.8rem;color:var(--muted);margin-top:.2rem}
.fd-close{
  margin-left:auto;flex:none;width:38px;height:38px;border-radius:10px;cursor:pointer;
  border:1px solid var(--line);background:var(--paper);color:var(--ink);
  display:grid;place-items:center;transition:border-color .15s,background .15s;
}
.fd-close:hover{border-color:var(--ink);background:var(--card)}
.fd-close:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.fd-body{overflow-y:auto;padding:.3rem 1.25rem 1.1rem;overscroll-behavior:contain}
.fd-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:1.8rem;margin:0}
.fd-grid > .fact:nth-child(-n+2){border-top:0}
.fd-sub .mono{white-space:nowrap}
.fd-foot{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem 1rem;padding:.85rem 1.25rem;border-top:1px solid var(--line-soft);background:var(--paper);flex:none}
.fd-note{margin-left:auto}
@media (max-width:600px){
  .fd-grid{grid-template-columns:1fr}
  .fd-grid > .fact:nth-child(2){border-top:1px solid var(--line-soft)}
  .fd-note{margin-left:0;width:100%}
}
@media (prefers-reduced-motion:reduce){ .facts-dialog[open]{animation:none} }

/* narrow screens have no sidebar: a full CTA card sits inside the article instead */
.prod-main > .cta-card--inline{display:none;margin-top:2.4rem}

.prod-head{display:flex;gap:1.05rem;align-items:flex-start;margin-bottom:1.15rem}
.prod-logo{
  width:58px;height:58px;border-radius:15px;flex:none;
  border:1px solid var(--line);background:var(--card);padding:10px;
  box-shadow:var(--shadow);
}
/* an integration page's header shows both tools and the direction between
   them, so the pair sets its own size and the single-logo box does not apply */
.pair-logos.prod-logo{
  width:auto;height:auto;border:0;background:none;padding:0;box-shadow:none;
  border-radius:0;gap:.5rem;align-self:flex-start;margin-top:.2rem;
}
.pair-logos.prod-logo img{
  width:46px;height:46px;border-radius:13px;padding:7px;
  border:1px solid var(--line);background:var(--card);box-shadow:var(--shadow);
}
.pair-logos.prod-logo .pair-op{font-size:1rem}
/* a workflow header carries the whole chain, which is up to five logos and
   four arrows. That does not fit a phone in one row, so let it wrap and step
   the logos down rather than pushing the page wider than the screen. */
.pair-logos.prod-logo{flex-wrap:wrap}
@media (max-width:560px){
  .pair-logos.prod-logo img{width:36px;height:36px;border-radius:10px;padding:5px}
  .pair-logos.prod-logo{gap:.35rem}
  .pair-logos.prod-logo .pair-op{font-size:.85rem}
}
.prod-head h1{
  font-family:var(--display);font-weight:600;letter-spacing:-.03em;line-height:1.1;
  font-size:clamp(1.75rem,3vw,2.35rem);margin:0;display:inline;
}
.prod-head h1 em{font-style:normal;color:var(--accent)}
.prod-titles{min-width:0;padding-top:.15rem}
.badge-feat{
  display:inline-flex;align-items:center;gap:.3rem;vertical-align:middle;
  margin-left:.6rem;background:var(--console);color:var(--cream);
  font-family:var(--mono);font-size:.56rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase;
  border-radius:999px;padding:.3rem .65rem;
}
.prod-sub{font-size:1.02rem;color:var(--ink-2);margin:.55rem 0 0}
.byline{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;font-family:var(--mono);font-size:.64rem;letter-spacing:.04em;color:var(--muted);margin-top:.6rem}
.byline b{color:var(--ink);font-family:var(--sans);font-size:.84rem;letter-spacing:-.005em;font-weight:600}
.byline i{font-style:normal;color:var(--sand)}

.prod-main > section{padding-top:2.2rem;scroll-margin-top:var(--pin)}
.prod-main > section:first-of-type{padding-top:1.4rem}
.prod-main h2.psec{
  font-family:var(--display);font-weight:700;letter-spacing:-.028em;line-height:1.12;
  font-size:clamp(1.55rem,2.5vw,2rem);margin:0 0 .7rem;
}
.prod-main h2.psec em{font-style:normal;color:var(--accent)}

/* on-this-page: mono title, blue-tinted active row */
.toc{background:var(--card);border:1px solid var(--line);border-radius:var(--r-lg);padding:.95rem 1rem 1rem}
.toc .toc-title{font-family:var(--mono);font-size:.58rem;letter-spacing:.13em;text-transform:uppercase;color:var(--faint);font-weight:500;margin:0 0 .6rem;padding-left:.55rem}
.toc ol{list-style:none;margin:0;padding:0;display:grid;gap:.05rem}
.toc a{
  display:flex;gap:.62rem;align-items:baseline;
  padding:.42rem .55rem;border-radius:8px;
  font-size:.855rem;line-height:1.35;color:var(--ink-2);text-decoration:none;
  transition:background .15s,color .15s;
}
.toc a:hover{background:var(--paper);color:var(--ink)}
.toc a.active{background:var(--accent-soft);color:var(--accent-ink);font-weight:500}
.toc a .num{font-family:var(--mono);font-size:.6rem;color:var(--faint);flex:none}
.toc a.active .num{color:var(--accent)}
.toc li.extra{display:none}
.toc.expanded li.extra{display:block}
.toc-more{
  width:100%;margin-top:.35rem;padding:.42rem;border:0;background:transparent;
  font-family:var(--sans);font-size:.82rem;font-weight:600;color:var(--muted);
  cursor:pointer;display:flex;align-items:center;justify-content:space-between;
  border-radius:9px;
}
.toc-more:hover{background:var(--paper);color:var(--ink)}

/* factsheet */
.facts{background:var(--card);border:1px solid var(--line);border-radius:var(--r-lg);padding:1.05rem 1.1rem 1.15rem}
.facts .btn{width:100%;justify-content:center;margin-bottom:.5rem}
.facts dl{margin:0}
.fact{padding:.72rem 0;border-top:1px solid var(--line-soft)}
.fact dt{font-family:var(--mono);font-size:.56rem;letter-spacing:.13em;text-transform:uppercase;color:var(--faint);font-weight:500;margin-bottom:.32rem}
.fact dd{margin:0;font-size:.875rem;color:var(--ink);line-height:1.45}
.fact dd a{color:var(--accent-ink)}
.fact .pills{display:flex;flex-wrap:wrap;gap:.3rem;margin-top:.1rem}
.fact .pills .pill{font-size:.54rem;padding:.2rem .5rem}
.facts-more{
  width:100%;margin-top:.7rem;padding:.52rem;cursor:pointer;
  border:1px solid var(--line);border-radius:var(--r-sm);background:transparent;
  font-family:var(--sans);font-size:.82rem;font-weight:600;color:var(--muted);
  display:flex;align-items:center;justify-content:center;gap:.4rem;transition:.15s;
}
.facts-more:hover{border-color:rgba(13,93,253,.45);color:var(--accent-ink);background:var(--accent-soft)}
.facts-more svg{transition:transform .2s}
.facts-more:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* ---------- hub: comparison pairs ---------- */
.pairs{display:grid;grid-template-columns:repeat(auto-fill,minmax(316px,1fr));gap:.85rem;align-items:start}
.pair{
  background:var(--card);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:1.1rem 1.2rem 1.15rem;text-decoration:none;display:flex;flex-direction:column;gap:.6rem;
  transition:border-color .18s,transform .18s,box-shadow .18s;
}
.pair:hover{border-color:rgba(13,93,253,.45);transform:translateY(-2px);box-shadow:var(--shadow)}
.pair-top{display:flex;align-items:center;gap:.55rem}
.pair-top img{width:28px;height:28px;border-radius:8px;border:1px solid var(--line);background:var(--paper);padding:3px;flex:none}
.pair-top .vs{
  font-family:var(--mono);font-size:.62rem;font-weight:500;text-transform:uppercase;letter-spacing:.08em;color:var(--accent);
  padding:0 .1rem;flex:none;
}
.pair h3{font-family:var(--sans);font-size:.985rem;font-weight:700;letter-spacing:-.01em;margin:0;line-height:1.3}
.pair p{font-size:.865rem;color:var(--muted);line-height:1.5;margin:0}
.pair .pair-meta{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:auto;padding-top:.5rem}
.pair .go{font-size:.81rem;font-weight:600;color:var(--ink);display:inline-flex;gap:.3rem;align-items:center}
.pair:hover .go{color:var(--accent-ink)}

/* head-to-head hero */
.vs-head{display:grid;grid-template-columns:1fr auto 1fr;gap:clamp(12px,2.5vw,32px);align-items:center;margin-bottom:1.4rem}
.vs-side{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.5rem}
.vs-side img{width:54px;height:54px;border-radius:14px;border:1px solid var(--line);background:var(--card);padding:9px;box-shadow:var(--shadow)}
.vs-side h2{font-family:var(--sans);font-size:1.12rem;font-weight:700;margin:0;letter-spacing:-.012em}
.vs-side .tag{font-size:.79rem;color:var(--muted);line-height:1.4}
.vs-mid{
  font-family:var(--mono);font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--cream);
  width:52px;height:52px;border-radius:12px;display:grid;place-items:center;
  border:1px solid rgba(120,165,255,.32);background:linear-gradient(rgba(13,93,253,.16), rgba(13,93,253,.16)), var(--console);
  box-shadow:var(--glow);
}
.vs-verdict{
  background:var(--card);border:1px solid var(--line);border-left:3px solid var(--accent);
  border-radius:var(--r);padding:1.15rem 1.3rem;
}
.vs-verdict .lbl{font-family:var(--mono);font-size:.58rem;letter-spacing:.13em;text-transform:uppercase;color:var(--accent-ink);font-weight:500;display:block;margin-bottom:.45rem}
.vs-verdict p{font-size:1.005rem;line-height:1.58;color:var(--ink);margin:0}

/* ---------- hub: stacks ---------- */
.stack-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:.85rem;align-items:start}
.stack-card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:1.2rem 1.3rem 1.25rem;text-decoration:none;display:flex;flex-direction:column;gap:.6rem;
  transition:border-color .18s,transform .18s,box-shadow .18s;
}
.stack-card:hover{border-color:rgba(13,93,253,.45);transform:translateY(-2px);box-shadow:var(--shadow)}
.stack-card.is-featured{border-color:rgba(13,93,253,.4);background:linear-gradient(180deg,#F4F8FF,var(--card) 55%)}
.stack-card h3{font-family:var(--sans);font-size:1.06rem;font-weight:700;letter-spacing:-.012em;margin:0;line-height:1.28}
.stack-card p{font-size:.885rem;color:var(--muted);line-height:1.52;margin:0}
.chain{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem}
.chain img{width:24px;height:24px;border-radius:7px;border:1px solid var(--line);background:var(--paper);padding:3px;flex:none}
.chain .arw{color:var(--sand);font-size:.78rem;flex:none}
.stack-nums{display:flex;gap:1.3rem;padding-top:.6rem;border-top:1px solid var(--line-soft);margin-top:auto}
.stack-nums div{display:flex;flex-direction:column}
.stack-nums b{font-family:var(--mono);font-size:.82rem;color:var(--ink);font-weight:600;line-height:1.2}
.stack-nums span{font-size:.72rem;color:var(--muted);margin-top:.15rem}

/* ---------- CTA card: always the 5th item in a card grid ----------
   Spans the full row so it never leaves an orphan cell beside it,
   whatever the column count. Container queries size it to the grid
   it lands in, not the viewport. Styled as a Reverse Contact homepage panel:
   near-black, fading 32px grid, blue bloom, mono labels. */
.cta-card{
  grid-column:1 / -1;
  position:relative;isolation:isolate;overflow:hidden;
  container-type:inline-size;
  background:var(--console);color:var(--grey);
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--r-xl);
  box-shadow:var(--shadow-lg);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cta-card::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:32px 32px;
  -webkit-mask-image:radial-gradient(ellipse 62% 96% at 80% 50%, #000, transparent 74%);
  mask-image:radial-gradient(ellipse 62% 96% at 80% 50%, #000, transparent 74%);
}
.cta-card::after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(460px circle at 78% 46%, rgba(13,93,253,.2), transparent 70%);
}
.cta-card:hover{transform:translateY(-2px);border-color:rgba(120,165,255,.28);box-shadow:0 2px 4px rgba(0,0,0,.08), 0 34px 70px -34px rgba(13,93,253,.35)}

.cc-inner{
  display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  gap:clamp(22px,4cqi,52px);align-items:center;
  padding:clamp(24px,4.2cqi,46px);
}
.cc-copy{min-width:0}

/* the slashed mono label, on dark */
.cc-eyebrow{
  display:inline-flex;align-items:center;gap:.5em;
  font-family:var(--mono);font-size:.62rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase;
  color:#8FB6FF;margin-bottom:1.05rem;
}
.cc-eyebrow::before{content:"//";opacity:.6;font-weight:600}

.cta-card h3{
  font-family:var(--display);font-weight:600;color:#FFFFFF;
  font-size:clamp(1.6rem,3.6cqi,2.45rem);
  line-height:1.06;letter-spacing:-.034em;margin:0 0 .85rem;
}
.cta-card h3 em{font-style:normal;color:var(--accent)}
.cc-desc{font-size:1.02rem;line-height:1.62;color:var(--grey);margin:0 0 1.25rem;max-width:56ch}

.cc-stats{
  display:flex;flex-wrap:wrap;gap:.7rem 1.8rem;
  margin:0 0 1.4rem;padding:.95rem 0;
  border-block:1px solid rgba(255,255,255,.09);
}
.cc-stats b{display:block;font-family:var(--display);font-size:1.7rem;font-weight:700;color:var(--cream);line-height:1;letter-spacing:-.04em}
.cc-stats span{display:block;font-family:var(--mono);font-size:.56rem;letter-spacing:.1em;text-transform:uppercase;color:var(--dim);margin-top:.5rem}

.cc-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.1rem}
/* Both buttons in the card's action row, one size. The secondary used to carry
   btn-sm, which made it 37.9px against the primary's 54.1px and sat it 8px
   lower in the same row. */
.cc-btn,
.cc-alt{font-size:.96rem;padding:.86rem 1.45rem}
.cta-card .cc-btn:hover{transform:none}
/* whole card is the click target, the button carries the accessible name */
.cc-btn::after{content:"";position:absolute;inset:0;z-index:1}
.cc-btn:focus-visible{outline:2px solid var(--cream);outline-offset:3px}
/* ---------- no word left on its own ----------
   Every call to action is short copy in a narrow column, which is where a last
   line of one word shows most: the rail CTA ended on "it.", the card's
   description on "guess.", and the trial line on "credits to start." on every
   page. `pretty` pulls a word down from the line above rather than leaving one
   stranded; `balance` evens the lines of a heading that is two or three long.
   Both are ignored by a browser that does not know them, so this is an
   improvement rather than a dependency.

   Deliberately not on a hero h1: those end on an <em> that is meant to sit on
   its own line in brand blue, which is the design rather than a widow. */
.cta p, .cta-copy p, .cta-rail p, .cta-mini p,
.cc-desc, .cc-note, .cta-promise, .cta-note{text-wrap:pretty}
.cta h2, .cta-card h3, .cta-rail h3, .cta-mini h3, .cc-eyebrow{text-wrap:balance}

/* the promise line, with a check mark */
.cc-note{font-size:.8rem;line-height:1.45;color:var(--grey);max-width:30ch}
.cc-note::before{content:"\2713\00a0";color:var(--accent);font-weight:700}

/* the visual: a working sales stack, built from tools in this directory */
.cta-visual{min-width:0}
.cv-frame{
  background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.1);
  border-radius:var(--r-lg);padding:1rem 1.05rem 1.1rem;
}
.cv-bar{display:flex;align-items:center;gap:.55rem;margin-bottom:1.1rem;font-family:var(--mono);font-size:.6rem;letter-spacing:.06em;color:var(--dim)}
.cv-bar .cv-mark{width:16px;height:16px;flex:none;display:block;border-radius:4px}
.cv-live{margin-left:auto;display:inline-flex;align-items:center;gap:.4rem;color:var(--emerald);text-transform:uppercase;letter-spacing:.12em}
.cv-live::before{content:"";width:6px;height:6px;border-radius:1px;background:var(--emerald);box-shadow:0 0 0 3px rgba(34,197,94,.18)}

.cv-flow{display:flex;align-items:flex-start}
.cv-node{display:flex;flex-direction:column;align-items:center;gap:.45rem;flex:none}
.cv-node img{
  width:40px;height:40px;border-radius:9px;background:#FFFFFF;padding:6px;
  border:1px solid rgba(255,255,255,.16);box-shadow:0 8px 20px -10px rgba(0,0,0,.7);
}
.cv-node b{font-family:var(--mono);font-size:.52rem;letter-spacing:.1em;text-transform:uppercase;color:var(--dim);font-weight:500}
.cv-link{
  flex:1;min-width:8px;height:2px;margin:19px .22rem 0;
  background:repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 11px);
  background-size:11px 2px;opacity:.9;
  animation:cv-flow 1.1s linear infinite;
}
.cv-drop{
  width:2px;height:22px;margin:.75rem auto;
  background:repeating-linear-gradient(180deg, var(--accent) 0 5px, transparent 5px 9px);
  background-size:2px 9px;animation:cv-drop 1s linear infinite;
}
@keyframes cv-flow{to{background-position:11px 0}}
@keyframes cv-drop{to{background-position:0 9px}}

/* routed results, as the blue-edged record card in Reverse Contact's hero */
.cv-meeting{
  display:flex;align-items:center;gap:.75rem;
  background:rgba(255,255,255,.04);border:1px solid rgba(13,93,253,.55);
  border-radius:var(--r);padding:.6rem .75rem;
  box-shadow:0 16px 36px -20px rgba(13,93,253,.45);
}
.cv-meeting + .cv-meeting{margin-top:.5rem;border-color:rgba(255,255,255,.1);box-shadow:none}
.cv-cal,.cv-score{flex:none;width:48px;border-radius:8px;overflow:hidden;text-align:center;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04)}
.cv-cal i,.cv-score i{display:block;font-style:normal;font-family:var(--mono);background:rgba(13,93,253,.2);color:#8FB6FF;font-size:.5rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase;padding:.16rem 0}
.cv-cal b,.cv-score b{display:block;font-family:var(--mono);font-size:.68rem;font-weight:600;color:var(--cream);padding:.24rem 0}
.cv-txt{min-width:0;flex:1}
.cv-txt b{display:block;font-size:.84rem;font-weight:600;color:var(--cream);line-height:1.3}
.cv-txt small{display:block;font-size:.72rem;color:var(--dim);margin-top:.12rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cv-ok{flex:none;width:22px;height:22px;border-radius:6px;background:rgba(34,197,94,.16);color:var(--emerald);display:grid;place-items:center;font-size:.72rem;font-weight:700}

@container (max-width:740px){
  .cc-inner{grid-template-columns:1fr}
  .cta-card h3{font-size:clamp(1.65rem,7cqi,2.3rem)}
}
@container (max-width:420px){
  .cv-node img{width:34px;height:34px;padding:5px}
  .cv-link{margin-top:16px}
  .cc-stats{gap:.6rem 1.2rem}
  .cc-stats b{font-size:1.4rem}
}
@media (prefers-reduced-motion:reduce){
  .cv-link,.cv-drop{animation:none}
  .cta-card,.cta-card:hover{transition:none;transform:none}
}

/* ---------- page CTA placed inside an article column, above its FAQ ---------- */
.cta--inline{margin-top:2.6rem}
.cta--inline h2{font-size:clamp(1.65rem,2.5vw,2.1rem)}

/* The full-width band is two columns: the pitch left, the API panel right. Only
   the full-width ones. A .cta--inline sits in a 709px article column, where a
   split makes two cramped columns instead of one good one, so it keeps the
   single-column shape and ctaBandVisual() skips it. */
.cta-split{
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:clamp(28px,4vw,56px);align-items:center;
}
.cta-copy{min-width:0}
.cta-copy > :first-child{margin-top:0}
@media (max-width:900px){
  .cta-split{grid-template-columns:minmax(0,1fr);gap:1.8rem}
  /* the panel is decoration, and on a phone it is decoration that costs a
     screen and a half of scrolling before the button */
  .cta-split > .cta-visual{display:none}
}

/* ---------- compact CTA: the sidebar version of .cta-card ---------- */
.cta-mini{
  position:relative;isolation:isolate;overflow:hidden;
  background:var(--console);color:var(--grey);
  border:1px solid rgba(255,255,255,.08);border-radius:var(--r-lg);
  padding:1.15rem 1.15rem 1.2rem;
  transition:border-color .2s ease;
}
.cta-mini::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:24px 24px;
  -webkit-mask-image:radial-gradient(ellipse 80% 60% at 90% 0%, #000, transparent 75%);
  mask-image:radial-gradient(ellipse 80% 60% at 90% 0%, #000, transparent 75%);
}
.cta-mini::after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(260px circle at 92% 6%, rgba(13,93,253,.24), transparent 70%);
}
.cta-mini:hover{border-color:rgba(120,165,255,.4)}
.cta-mini .cc-eyebrow{font-size:.56rem;margin-bottom:.8rem}
.cm-flow{display:flex;align-items:center;margin:0 0 .9rem}
.cm-flow img{
  width:28px;height:28px;border-radius:7px;flex:none;padding:4px;
  background:#FFFFFF;border:1px solid rgba(255,255,255,.14);
}
.cm-flow .cv-link{margin:0 .22rem;min-width:6px}
.cm-done{
  flex:none;width:26px;height:26px;border-radius:7px;
  background:rgba(34,197,94,.16);color:var(--emerald);
  display:grid;place-items:center;font-size:.74rem;font-weight:700;
}
.cta-mini h3{
  font-family:var(--display);font-weight:700;color:#FFFFFF;
  font-size:1.36rem;line-height:1.1;letter-spacing:-.03em;margin:0 0 .55rem;
}
.cta-mini h3 em{font-style:normal;color:var(--accent)}
.cm-desc{font-size:.86rem;line-height:1.55;color:var(--grey);margin:0 0 .9rem}
.cm-stats{
  display:grid;grid-template-columns:1fr 1fr;gap:.5rem;
  margin:0 0 .95rem;padding:.7rem 0;border-block:1px solid rgba(255,255,255,.09);
}
.cm-stats b{display:block;font-family:var(--display);font-size:1.28rem;font-weight:700;color:var(--cream);line-height:1;letter-spacing:-.035em}
.cm-stats span{display:block;font-family:var(--mono);font-size:.5rem;letter-spacing:.1em;text-transform:uppercase;color:var(--dim);margin-top:.42rem;line-height:1.5}
.cta-mini .cc-btn{width:100%;justify-content:center;font-size:.88rem;padding:.74rem 1rem}
.cta-mini .cc-btn:hover{transform:none}
.cta-mini .cc-note{display:block;max-width:none;margin-top:.6rem;font-size:.74rem;text-align:center;text-wrap:balance}
/* a factsheet that opens with facts (stacks) rather than a Visit button needs no rule on top */
.facts > dl:first-child > .fact:first-child{border-top:0;padding-top:.15rem}

/* ---------- responsive ---------- */
@media (max-width:1120px){
  /* minmax(0,1fr), not 1fr: a bare 1fr column has min-width:auto, so a wide
     table inside .table-scroll stretches the column and the page scrolls
     sideways instead of the table scrolling inside its own box. */
  .prod{grid-template-columns:minmax(0,1fr)}
  /* dissolve the sidebar so the factsheet can sit above the article; the
     sidebar CTA gives way to the full card placed inside the article */
  .prod-side{display:contents}
  .prod-side > .facts{order:-1}
  .prod-side > .cta-mini{display:none}
  .prod-main > .cta-card--inline{display:block}
  .toc{display:none}
}
@media (max-width:640px){
  /* the header puts a logo chain beside the title, which leaves too little
     room for the title on a phone. Stack them instead. */
  .prod-head{flex-direction:column;gap:.9rem}
}
@media (max-width:980px){
  .wrap-narrow{grid-template-columns:1fr;gap:1.6rem}
  .wrap-narrow > .col-head{position:static}
  .wrap-narrow > .col-head .lede{max-width:62ch;font-size:1.02rem}
}
@media (max-width:640px){
  .index-row{grid-template-columns:34px minmax(0,1fr) auto;row-gap:.4rem;padding:1rem .4rem}
  .index-row p{grid-column:2/-1}
  .index-row .cnt{grid-column:3;grid-row:1}
}
@media (max-width:1000px){
  .hero-grid{grid-template-columns:1fr}
  /* minmax(0,1fr), not 1fr: a bare 1fr has min-width:auto, so the 940px
     tools table stretched the column and the whole page scrolled sideways
     instead of the table scrolling inside .table-scroll. The element that
     overflowed measured as the filter sidebar, which was a symptom. */
  .dir{grid-template-columns:minmax(0,1fr)}
  .dir-rail{position:static;max-height:none}
  .filters{max-height:none;overflow-y:visible}
  .stats{grid-template-columns:repeat(2,1fr)}
  .stat:nth-child(2){border-right:0}
  .stat:nth-child(-n+2){border-bottom:1px solid var(--line-soft)}
  /* Their md: three columns, with the brand across the top. */
  .foot-grid{grid-template-columns:repeat(3,minmax(0,1fr));justify-content:start;gap:2rem 1.5rem}
  .foot-brand{grid-column:1/-1}
  .foot-bottom{margin-top:2rem}
}
@media (max-width:720px){
  body{font-size:16px}
  .nav-links{display:none}
  .nav-links.open{
    display:flex;flex-direction:column;align-items:stretch;
    position:absolute;top:calc(100% + 1px);left:calc(var(--gut) * -1);right:calc(var(--gut) * -1);
    background:var(--card);border-bottom:1px solid var(--line);
    padding:.6rem var(--gut) 1rem;box-shadow:0 16px 40px -12px rgba(14,14,16,.18);gap:.15rem;
  }
  .nav-links.open a[aria-current="page"]{box-shadow:inset 2px 0 0 var(--accent);border-radius:0}
  .nav-links.open .nav-cta{display:inline-flex;justify-content:center;margin:.6rem 0 0}
  .nav{position:relative;flex-wrap:nowrap;gap:.5rem}
  .nav-toggle{
    display:grid;place-items:center;margin-left:auto;
    width:38px;height:38px;border-radius:10px;border:1px solid var(--line);
    background:var(--paper);cursor:pointer;color:var(--ink);
  }
  .nav-cta{display:none}
  .score-row{grid-template-columns:1fr auto;gap:.35rem 1rem}
  .score-row .score-bar{grid-column:1;max-width:110px}
  .score-row .why{grid-column:1/-1}
  .guide-item{grid-template-columns:1fr;gap:.3rem}
  .step{grid-template-columns:auto minmax(0,1fr);row-gap:.55rem}
  .step .cost{grid-column:2;text-align:left}
  /* Their base: two columns, brand across both. A single column puts
     thirty links in one strip nobody reaches the end of. */
  .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .foot-brand{grid-column:1/-1}
  .stats{grid-template-columns:1fr}
  .stat{border-right:0;border-bottom:1px solid var(--line-soft)}
  .stat:last-child{border-bottom:0}
}

/* ---------- the pair glyph ----------
   Two logos and the sync direction between them. This is the directory's unit,
   so it appears on cards, in the facts dialog and in the related list. */
.pair-logos{display:inline-flex;align-items:center;gap:.4rem;flex:none}
.pair-logos .favicon{margin:0}
.pair-logos img{
  width:30px;height:30px;border-radius:9px;border:1px solid var(--line);
  background:var(--paper);flex:none;object-fit:contain;padding:3px;display:block;
}
/* a pair title is two names, so it runs a step smaller than a single-tool card */
.card .pair-logos ~ .card-title h3{font-size:1.02rem;line-height:1.25}
.card .pair-logos ~ .card-title .best{margin-top:.2rem}
.pair-op{
  font-family:var(--mono);font-size:.82rem;font-weight:500;color:var(--accent);
  line-height:1;flex:none;
}
.alt-row .pair-logos img{width:26px;height:26px;border-radius:8px;padding:3px}
.facts-pair{
  display:flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.1rem 0 .85rem;margin-bottom:.85rem;border-bottom:1px solid var(--line-soft);
}
.facts-pair img{
  width:26px;height:26px;border-radius:7px;border:1px solid var(--line);
  background:var(--paper);object-fit:contain;padding:3px;display:block;
}
.facts.is-compact .facts-pair{padding-bottom:.6rem;margin-bottom:.6rem}
.fd-head .pair-logos{margin-right:.2rem}

/* the CTA card carries both of Reverse Contact's buttons, as their own pages do */
.cc-alt{background:transparent;color:var(--cream);border-color:rgba(255,255,255,.22)}
.cc-alt:hover{border-color:rgba(255,255,255,.5);background:rgba(255,255,255,.05)}

/* a card foot showing a label rather than a price still needs to align */
.card-foot .price{font-family:var(--mono);font-size:.78rem;letter-spacing:-.01em}

/* a copyable shell snippet inside a callout: monospace, wrapping, and it must
   never widen the page on a phone, which is why it breaks mid-word */
.snippet{
  font-family:var(--mono);font-size:.76rem;line-height:1.9;
  white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;
  color:var(--ink);margin:0;
}
