/* ---------- integrations views: #integrations (the directory) and #integrations/<slug> (one integration) ----------
   Both start on paper like pricing: the directory all on the shared grid (var(--grid), 1200), its cards as wide as its
   hero (Nick, 2026-10-25); one integration's page in the body column (var(--grid-body), 1080 on desktop); in var(--gut) margins and the site type scale (×0.9 since 2026-10-22). Cards are plain hairline tiles in the
   mega menu's language (logo tile + title + one line); the site's crayon devices are kept for the few things that
   should stand out: the compare button, the two ways to pay and the facts card. Markup from tools/int_markup.py. */
body[data-view="integrations"] #home,body[data-view="integration"] #home{position:absolute;top:0;left:0;right:0;height:0;overflow:hidden;visibility:hidden}

.ip{position:relative;isolation:isolate;overflow-x:clip;padding:clamp(112px,8.6vw,124px) var(--gut) clamp(72px,7vw,112px)}
@media (max-width:720px){.ip{padding-top:112px}}
@media (max-width:559px){.ip:not(.ipd){padding-top:88px}}   /* phones: the directory's first card shows on the first screen */
.ip-wrap{width:min(var(--grid),100%);margin:0 auto}
/* under the directory's hero: its cards and the two ways to pay keep the hero's width and edges (Nick, 2026-10-25: they
   sat 60px in from it in the body column). One integration's page has no hero (a title row on paper): the body column */
.ip-dir,.ip-pay{width:min(var(--grid),100%);margin-inline:auto}
.ipd-page{width:min(var(--grid-body),100%);margin-inline:auto}
.ip-deco{position:absolute;z-index:-1;height:auto;max-width:none;pointer-events:none}

/* ---- directory hero: copy left, the crayon illustration right (stacked and centred below 1024) ---- */
.ip-head{display:grid;grid-template-columns:1fr;justify-items:center;gap:28px;text-align:center}
.ip-head-copy{display:flex;flex-direction:column;align-items:center;gap:16px;min-width:0}
.ip-head h1{max-width:20ch;font:500 var(--h1)/1.08 var(--sans);letter-spacing:-.02em;color:#111;text-wrap:balance}
.ip-head-copy>p{max-width:34em;font:500 16px/1.5 var(--sans);color:rgba(0,0,0,.86);text-wrap:pretty}
.ip-head-art{order:-1;width:min(300px,70%)}
.ip-head-art img{width:100%;height:auto}
@media (min-width:1024px){
  .ip-head{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center;justify-items:stretch;gap:48px;text-align:left}
  .ip-head-copy{align-items:flex-start}
  .ip-head h1{max-width:19ch}
  .ip-head-art{order:0;justify-self:center;width:min(440px,100%)}
}
.ip-facts{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:4px}
@media (min-width:1024px){.ip-facts{justify-content:flex-start}}
.ip-fact{display:inline-flex;align-items:center;gap:9px;height:42px;padding:0 15px 0 12px;border:1px solid var(--fg-20);border-radius:8px;background:#fff;font:400 14.5px/1.2 var(--sans);color:var(--fg-80);white-space:nowrap}
.ip-fact b{font-weight:600;color:#000}
.ip-fact svg{width:18px;height:18px;flex:none;color:var(--fc)}
@media (max-width:480px){.ip-fact{white-space:normal;height:auto;min-height:42px;padding:8px 12px 8px 10px;text-align:left}}
/* phones: the hero's three facts as one hairline list, icons in a line (pills wrapped at their own widths looked accidental) */
@media (max-width:480px){
  .ip-head .ip-facts{flex-direction:column;align-items:stretch;gap:0;width:100%;border:1px solid var(--fg-20);border-radius:8px;background:#fff}
  .ip-head .ip-fact{min-height:40px;padding:8px 14px 8px 13px;border:0;border-radius:0;background:none}
  .ip-head .ip-fact+.ip-fact{border-top:1px solid var(--fg-10)}
}
/* the crayon-outlined button (same build as the homepage "How it works" and pricing's Fair use button) */
.ip-cmp-btn{--cc:#ED410B;position:relative;isolation:isolate;display:inline-flex;align-items:center;gap:10px;height:52px;margin-top:14px;padding:0 18px 0 15px;border:0;border-radius:14px;background:none;color:#18161D;font:500 15.5px/1 var(--sans);white-space:nowrap;cursor:pointer}
.ip-cmp-btn .f-box{inset:-10px}
.ip-cmp-btn .f-box path{stroke-width:2.8}
.ip-cmp-btn .f-box .fill{transition:fill .25s ease-out}
.ip-cmp-btn:hover .f-box .fill{fill:color-mix(in srgb,var(--cc) 10%,rgba(255,255,255,.6))}
.ip-cmp-btn>svg:not(.f-box){width:24px;height:24px;flex:none;color:var(--cc)}
.ip-cmp-btn .ar{width:16px;height:16px;transition:transform .25s ease-out}
.ip-cmp-btn:hover .ar{transform:translateX(3px)}
@media (min-width:1024px){.ip-cmp-btn{margin-left:10px}}   /* the crayon frame overhangs 10px: line its edge up with the text */
@media (max-width:480px){.ip-cmp-btn{width:100%;justify-content:center;font-size:14.5px}}
/* small phones: a tighter button keeps the label on one line at 360; below that it wraps to two balanced lines instead
   of holding the whole header wider than the screen (nowrap ran it 11px off both edges at 320) */
@media (max-width:380px){.ip-cmp-btn{gap:8px;height:auto;min-height:52px;padding:8px 12px;font-size:14px;line-height:1.25;white-space:normal;text-wrap:balance}}
/* the hero's buttons (QA 2026-10-25: the page's first one was 3,800px down): the trial, then the price comparison, whose
   crayon frame overhangs 10px (hence its margin) */
.ip-ctas{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;margin-top:14px}
.ip-ctas .btn{flex:none}
.ip-ctas .ip-cmp-btn{margin:0 0 0 10px}
@media (min-width:1024px){.ip-ctas{justify-content:flex-start}}
@media (max-width:480px){.ip-ctas{flex-direction:column;align-items:stretch;gap:20px;width:100%}.ip-ctas .ip-cmp-btn{margin:0}}

/* ---- the directory ---- */
.ip-dir{margin-top:clamp(44px,4.4vw,64px)}
.ip-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.ip-search{position:relative;flex:0 1 380px}
.ip-search svg{position:absolute;top:50%;left:13px;width:18px;height:18px;transform:translateY(-50%);color:var(--fg-60);pointer-events:none}
.ip-search input{width:100%;height:46px;padding:0 40px 0 41px;border:1px solid var(--fg-20);border-radius:8px;background:#fff;color:var(--ink);font:400 14.5px/1 var(--sans);-webkit-appearance:none;appearance:none}
.ip-search input::placeholder{color:var(--fg-60)}
.ip-search input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 1px var(--brand)}
.ip-search input::-webkit-search-cancel-button{display:none}
/* touch screens: iOS Safari zooms the page into any input under 16px on focus (in the compare sheet that pushed the
   fixed sheet off the screen); phones in landscape are wider than 720, hence the pointer test */
@media (max-width:720px),(pointer:coarse){.ip-search input{font-size:16px}}
/* the comparison's placeholder ("Search by vendor or enrichment method", Nick 2026-10-25) is long for a phone: while it
   shows, no room is kept for the clear button (hidden until you type), and on phones it's a size smaller (only the
   placeholder: typed text stays 16px, so iOS doesn't zoom) */
.ip-search input:placeholder-shown{padding-right:14px}
@media (max-width:420px){.ip-cmp-search input::placeholder{font-size:14px}}
.ip-clear{position:absolute;top:50%;right:6px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:6px;background:none;color:var(--fg-60);transform:translateY(-50%);cursor:pointer}
.ip-clear:hover{background:var(--tile);color:var(--ink)}
.ip-clear[hidden]{display:none}
.ip-count{font:500 14px/1.3 var(--sans);color:var(--fg-80);white-space:nowrap}
@media (max-width:560px){.ip-bar{flex-direction:column;align-items:stretch}.ip-search{flex:none}.ip-count{align-self:flex-start}}

.ip-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
@media (max-width:1179px){.ip-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:899px){.ip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:559px){.ip-grid{grid-template-columns:1fr;gap:10px}}
.ip-card{position:relative;display:flex;flex-direction:column;gap:10px;height:100%;min-height:200px;padding:18px 18px 16px;border:1px solid rgba(0,0,0,.12);border-radius:10px;background:rgba(255,255,255,.7);color:inherit;text-decoration:none;transition:background-color .25s ease-out,border-color .25s ease-out,box-shadow .25s ease-out,transform .25s ease-out}
.ip-card[hidden]{display:none}
a.ip-card:hover,a.ip-card:focus-visible{border-color:var(--fg-20);background:#fff;box-shadow:0 14px 30px -20px rgba(0,0,0,.4);transform:translateY(-2px);outline:none}
a.ip-card:focus-visible{box-shadow:0 0 0 2px var(--brand)}
.ip-card-top{display:flex;align-items:center;gap:12px;min-width:0}
.ip-logo{flex:none;display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--fg-10);border-radius:10px;background:#fff}
.ip-logo img{width:26px;height:26px;object-fit:contain}
.ip-logo.is-full{overflow:hidden;border:0;background:none}
.ip-logo.is-full img{width:100%;height:100%;object-fit:cover}
.ip-logo.lg{width:72px;height:72px;border-radius:16px}
.ip-logo.lg img{width:44px;height:44px}
.ip-logo.lg.is-full img{width:100%;height:100%}
.ip-name{min-width:0;font:600 16px/1.25 var(--sans);color:#111;overflow-wrap:anywhere}
.ip-desc{font:400 14px/1.45 var(--sans);color:rgba(0,0,0,.8);text-wrap:pretty}
@media (min-width:1024px){.ip-desc,.ipd-sec-sub{text-wrap:balance}}   /* the body column's narrower cards left "co-op." or "summaries." alone on a line; pretty doesn't catch a long last word */
.ip-foot{display:flex;flex-direction:column;gap:9px;margin-top:auto;padding-top:14px;border-top:1px dashed rgba(0,0,0,.14)}
.ip-price{align-self:flex-start;display:inline-flex;align-items:baseline;gap:5px;height:32px;padding:0 12px 0 10px;border-radius:7px;line-height:32px;white-space:nowrap;font:400 11.5px/29px var(--sans);color:rgba(0,0,0,.66);background:#EEEDE8;box-shadow:inset 0 0 0 1px rgba(0,0,0,.07)}
.ip-price svg{align-self:center;width:15px;height:15px;flex:none;margin-right:2px}
.ip-price b{font:650 14px/29px var(--sans);letter-spacing:-.005em;color:#141414;font-variant-numeric:tabular-nums}
.ip-price .u{margin-left:-2px}
.ip-price.is-pay{background:#FFF3D6;box-shadow:inset 0 0 0 1px rgba(233,162,27,.38)}
.ip-price.is-pay svg{color:#D88F0B}
.ip-price.is-key{background:#E2F3F6;box-shadow:inset 0 0 0 1px rgba(21,151,174,.3)}
.ip-price.is-key svg{color:#1597AE}
.ip-price.is-key .u{margin-left:2px}
.ip-price.is-free{background:#DDF3E5;box-shadow:inset 0 0 0 1px rgba(30,158,90,.3)}
.ip-price.is-free b{color:#126B3A}
.ip-price.is-free .u,.ip-price.is-inc .u{margin-left:2px}
.ip-meta{display:flex;flex-wrap:wrap;gap:6px}
.ip-tag{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 9px;border-radius:5px;background:#E9E7E0;font:11.5px/1 var(--pixel);letter-spacing:.01em;color:#1E1E1E;white-space:nowrap}
.ip-tag svg{width:13px;height:13px;flex:none;color:rgba(0,0,0,.6)}
.ip-tag.is-price{background:#FFF0CF;color:#5E4300}
.ip-tag.is-free{background:#DCF3E3;color:#145A33}
.ip-go{position:absolute;top:18px;right:16px;display:grid;place-items:center;width:28px;height:28px;border-radius:6px;color:var(--fg-60);transition:color .25s ease-out,transform .25s ease-out,background-color .25s ease-out}
.ip-go svg{width:16px;height:16px}
a.ip-card:hover .ip-go{color:var(--brand);background:#FDEDE6;transform:translateX(2px)}
@media (max-width:559px){
  /* phones: compact rows, logo on the left, so 50 integrations stay a short scroll */
  .ip-card{display:grid;grid-template-columns:44px minmax(0,1fr);align-content:start;gap:3px 14px;min-height:0;padding:14px 14px 13px}
  .ip-card-top{display:contents}
  .ip-card .ip-logo{grid-row:1/span 2}
  .ip-name{font-size:15.5px;padding-right:28px}
  .ip-desc{font-size:13px}

  .ip-go{top:12px;right:10px}
  /* the foot runs the card's full width (as on desktop) so the price and, where there is one, the other way to pay
     (Or your key, Or OpenRouter…) share a line; the action count waits for the integration's page, which lists them all */
  .ip-foot{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;padding-top:11px}
  .ip-meta{display:contents}
  .ip-meta .ip-tag:first-child{display:none}
  .ip-card.is-more{display:flex}
}
@media (max-width:559px){.ip-head-art{width:120px}.ip-head{grid-template-columns:minmax(0,1fr);gap:14px}.ip-dir{margin-top:36px}.ip-bar{gap:10px;margin-bottom:14px}}
.ip-card.is-more{justify-content:center;gap:8px;border-style:dashed;border-color:rgba(0,0,0,.22);background:none}
.ip-more-link{display:inline-flex;align-items:center;gap:6px;font:600 14px/1.3 var(--sans);color:var(--brand-hover);text-decoration:none}
.ip-more-link:hover{text-decoration:underline;text-underline-offset:3px}
.ip-more-link .ar{width:15px;height:15px}
.ip-empty{padding:48px 16px;text-align:center;font:400 14.5px/1.5 var(--sans);color:var(--fg-70)}
.ip-empty b{font-weight:500;color:var(--ink)}
.ip-empty[hidden]{display:none}

/* ---- two ways to pay ---- */
.ip-pay{display:grid;grid-template-columns:1fr 1fr;gap:clamp(22px,2.4vw,34px);margin-top:clamp(64px,6vw,96px)}
@media (max-width:767px){.ip-pay{grid-template-columns:1fr}}
.ip-way{position:relative;isolation:isolate;display:flex;gap:16px;padding:clamp(22px,2.2vw,30px)}
.ip-way .f-box path{stroke-width:2.6}
.ip-way-ic{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:color-mix(in srgb,var(--cc) 12%,#FBFAF7);color:var(--cc)}
.ip-way-ic svg{width:24px;height:24px}
.ip-way h2{margin:0 0 6px;font:500 18px/1.25 var(--sans);color:var(--ink)}
.ip-way p{font:400 14.5px/1.5 var(--sans);color:rgba(0,0,0,.8);text-wrap:pretty}
.ip-way p b{font-weight:500;color:var(--ink)}
/* data vendors' way in (/become-a-vendor) */
.ip-vendor{margin-top:clamp(32px,3vw,44px);text-align:center;font:400 14.5px/1.5 var(--sans);color:var(--fg-70)}
.ip-vendor a{color:var(--brand);font-weight:500;text-decoration:none}
.ip-vendor a:hover{text-decoration:underline}

/* ---- one integration ---- */
.ipd-page{scroll-margin-top:240px}   /* the browser's own jump to #integrations/<slug> then clamps to the top */
.ipd-page[hidden]{display:none}
.ipd-head h1:focus{outline:none}
.ipd-back{display:inline-flex;align-items:center;gap:6px;margin-bottom:26px;padding:6px 10px 6px 6px;border-radius:6px;font:500 13.5px/1 var(--sans);color:var(--fg-70);text-decoration:none;transition:background-color .2s,color .2s}
.ipd-back:hover{background:rgba(255,255,255,.75);color:var(--ink)}
.ipd-back svg{width:16px;height:16px}
@media (max-width:1023px){.ipd-back{padding-block:12px;margin-block:-6px 20px}}   /* a 40px tap target, the text where it was */
.ipd-head{display:flex;align-items:center;gap:22px}
.ipd-head h1{font:500 var(--h1-sub)/1.05 var(--sans);letter-spacing:-.02em;color:var(--ink)}
.ipd-tagline{margin-top:8px;font:500 16px/1.45 var(--sans);color:rgba(0,0,0,.86)}
@media (max-width:560px){.ipd-head{flex-direction:column;align-items:flex-start;gap:16px}}
.ipd-headrow{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:18px 32px;padding-bottom:clamp(28px,2.6vw,36px);border-bottom:1px solid var(--fg-10)}
.ipd-ctas{display:flex;flex-wrap:wrap;gap:12px}
.ipd-ctas .btn{height:48px;padding:0 22px;font-size:14.5px}
@media (max-width:560px){.ipd-ctas{width:100%}.ipd-ctas .btn{flex:1 1 auto}}
.ipd-facts{justify-content:flex-start;margin-top:18px}

.ipd-body{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:clamp(32px,4vw,64px);align-items:start;margin-top:clamp(32px,3vw,44px)}
@media (max-width:1023px){.ipd-body{grid-template-columns:1fr}}
.ipd-main{display:flex;flex-direction:column;gap:clamp(36px,3.4vw,48px);min-width:0}
.ipd-about p{max-width:40em;font:400 16.5px/1.6 var(--sans);color:rgba(0,0,0,.86);text-wrap:pretty}
.ipd-best{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.ipd-best li{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:6px 13px 6px 10px;border-radius:6px;background:#fff;border:1px solid var(--fg-20);font:500 14px/1.3 var(--sans);color:#1E1E1E}
.ipd-best li svg{width:14px;height:14px;color:#1E9E5A}
.ipd-sec h2{margin:0;font:500 clamp(21.5px,1.8vw,25px)/1.2 var(--sans);letter-spacing:-.01em;color:var(--ink)}
.ipd-sec-sub{margin-top:8px;font:400 15px/1.5 var(--sans);color:rgba(0,0,0,.78)}
.ipd-group{margin-top:24px}
.ipd-group h3{display:flex;align-items:center;gap:8px;margin:0 0 10px;font:12px/1 var(--pixel);letter-spacing:.04em;text-transform:uppercase;color:rgba(0,0,0,.72)}
.ipd-group h3 svg{width:16px;height:16px;color:var(--gc)}
.ipd-acts{border:1px solid rgba(0,0,0,.12);border-radius:10px;background:rgba(255,255,255,.75);overflow:hidden}
.ipd-act{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 24px;padding:16px 20px}
.ipd-act+.ipd-act{border-top:1px solid var(--fg-10)}
.ipd-acts.is-np .ipd-act{grid-template-columns:minmax(0,1fr)}   /* one cost for every action, said once above the list */
.ipd-act h4{margin:0;font:600 16px/1.3 var(--sans);color:#111}
.ipd-io{display:flex;flex-wrap:wrap;align-items:flex-start;gap:4px 8px;margin-top:5px;font:400 14px/1.45 var(--sans);color:rgba(0,0,0,.8)}
.ipd-io i{font-style:normal;color:rgba(0,0,0,.62)}
.ipd-out{display:inline-flex;align-items:flex-start;gap:8px;min-width:0}   /* the arrow always leads what comes back */
.ipd-out .arr{align-self:flex-start;margin-top:4px}
.ipd-io .arr{width:14px;height:14px;flex:none;color:var(--fg-60)}
.ipd-price{text-align:right;white-space:nowrap}
.ipd-price b{display:block;font:650 17px/1.1 var(--sans);letter-spacing:-.01em;color:#111;font-variant-numeric:tabular-nums}
.ipd-price span{display:block;margin-top:4px;font:400 12px/1 var(--sans);color:rgba(0,0,0,.62)}
.ipd-price.is-key b{color:#0E6F80}
.ipd-price.is-free b{color:#126B3A}
.ipd-price.is-key b,.ipd-price.is-inc b,.ipd-price.is-free b{font-size:15.5px}
@media (max-width:560px){.ipd-act{grid-template-columns:1fr;padding:14px 16px}.ipd-price{text-align:left;display:flex;align-items:baseline;gap:6px}.ipd-price span{margin:0}}
/* an AI vendor's models: a compact name / price list under its AI group */
.ipd-models{margin-top:10px;padding:14px 20px 10px;border:1px solid rgba(0,0,0,.12);border-radius:10px;background:rgba(255,255,255,.5)}
.ipd-models-h{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 16px;margin-bottom:8px;font:400 12px/1.4 var(--sans);color:rgba(0,0,0,.62)}
.ipd-models-h b{font:600 14.5px/1.3 var(--sans);color:#111}
.ipd-models ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));column-gap:28px}
.ipd-models li{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid var(--fg-10);font:400 14px/1.35 var(--sans);color:rgba(0,0,0,.84)}
.ipd-models li b{font:600 14px/1.35 var(--sans);color:#111;font-variant-numeric:tabular-nums;white-space:nowrap}
.ipd-models+.ipd-acts{margin-top:10px}   /* actions after the model list (Gemini's per-image rows) */
@media (max-width:560px){.ipd-models{padding:12px 16px 8px}.ipd-models ul{grid-template-columns:1fr}.ipd-models li{padding:6px 0}}
.ipd-notes{display:flex;flex-direction:column;gap:12px;margin-top:20px}
.ipd-notes li{display:flex;gap:10px;font:400 15px/1.5 var(--sans);color:rgba(0,0,0,.86)}
.ipd-notes li svg{flex:none;width:18px;height:18px;margin-top:3px;color:#1E9E5A}

.ipd-aside{position:sticky;top:calc(var(--hdr,66px) + 24px)}
@media (max-width:1023px){.ipd-aside{position:static;order:-1;max-width:560px}}
.ipd-card{--cc:#2F7FE8;position:relative;isolation:isolate;padding:24px}
.ipd-card .f-box path{stroke-width:2.6}
.ipd-card h2{margin:0 0 14px;font:12.5px/1 var(--pixel);letter-spacing:.04em;text-transform:uppercase;color:rgba(0,0,0,.72)}
.ipd-dl{display:flex;flex-direction:column}
.ipd-dl>div{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;padding:11px 0;border-top:1px solid var(--fg-10)}
.ipd-dl>div:first-child{border-top:0;padding-top:0}
.ipd-dl dt{font:400 13.5px/1.45 var(--sans);color:rgba(0,0,0,.62)}
.ipd-dl dd{margin:0;font:400 14px/1.45 var(--sans);color:#111;overflow-wrap:anywhere}
.ipd-dl a{display:inline;color:var(--ink);text-decoration:underline;text-decoration-color:var(--fg-20);text-underline-offset:3px;overflow-wrap:break-word}
.ipd-dl a:hover{text-decoration-color:currentColor}
.ipd-dl a svg{display:inline;width:13px;height:13px;margin-left:4px;vertical-align:-2px;color:var(--fg-60)}
.ipd-card .btn{width:100%;height:48px;margin-top:18px;font-size:14.5px}
@media (max-width:1023px){.ipd-card .btn{width:auto;padding:0 22px}}
@media (max-width:559px){.ipd-aside{order:0;max-width:none}.ipd-card .btn{display:none}.ipd-dl{margin-bottom:0}.ipd-dl>div:last-child{padding-bottom:0}}   /* phones: About and the actions come first; without the button the card ends at its last row */

/* ---- compare popup (native <dialog>: focus trap, Esc and the inert page come for free) ---- */
html.ip-lock{overflow:hidden}
.ip-dlg{width:min(1100px,calc(100% - var(--gut) * 2));max-width:none;max-height:min(86vh,860px);margin:auto;padding:0;border:0;border-radius:16px;background:var(--paper);color:var(--fg-80);box-shadow:0 40px 90px -30px rgba(0,0,0,.55),0 0 0 1px rgba(0,0,0,.08);overflow:hidden}
.ip-dlg::backdrop{background:rgba(20,20,20,.48);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.ip-dlg[open]{display:flex;flex-direction:column;animation:ip-in .32s cubic-bezier(.2,.8,.2,1)}
.ip-dlg[open]::backdrop{animation:ip-fade .32s ease-out}
.ip-dlg.is-closing{animation:ip-out .2s ease-in forwards}
.ip-dlg.is-closing::backdrop{animation:ip-fade .2s ease-in reverse forwards}
@keyframes ip-in{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
@keyframes ip-out{to{opacity:0;transform:translateY(8px) scale(.985)}}
@keyframes ip-fade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.ip-dlg[open],.ip-dlg[open]::backdrop,.ip-dlg.is-closing,.ip-dlg.is-closing::backdrop{animation:none}}
.ip-dlg-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:26px 28px 18px}
.ip-dlg-head h2{margin:0;font:500 clamp(20px,1.8vw,25px)/1.15 var(--sans);letter-spacing:-.015em;color:var(--ink)}
.ip-dlg-head p{margin-top:8px;max-width:40em;font:400 14px/1.5 var(--sans);color:var(--fg-70)}
.ip-x{flex:none;display:grid;place-items:center;width:40px;height:40px;margin:-6px -8px 0 0;padding:0;border:1px solid var(--fg-10);border-radius:8px;background:#fff;color:var(--ink);cursor:pointer}
.ip-x:hover{background:#F2F2F2}
.ip-x svg{width:18px;height:18px}
.ip-dlg-tools{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;padding:0 28px 14px;flex-wrap:wrap}
.ip-cmp-search{flex:0 1 380px}
.ip-ccount{font:500 14px/1.3 var(--sans);color:rgba(0,0,0,.8)}
.ip-cnote{max-width:62em;padding:18px 0 22px;font:400 12.5px/1.55 var(--sans);color:rgba(0,0,0,.7)}
.ip-cempty{padding:32px 0;text-align:center;font:400 14.5px/1.5 var(--sans);color:rgba(0,0,0,.75)}
.ip-cempty b{font-weight:600;color:#111}
.ip-dlg-body{flex:1 1 auto;min-height:0;overflow:auto;padding:0 28px;overscroll-behavior:contain}
.ip-tbl{width:100%;border-collapse:separate;border-spacing:0;font:400 14.5px/1.35 var(--sans);font-variant-numeric:tabular-nums}
.ip-tbl tbody[hidden]{display:none}
.ip-tbl{table-layout:fixed}
.ip-tbl col.c-m{width:25%}
.ip-tbl col.c-us{width:16%}
.ip-tbl col.c-t{width:auto}
@media (max-width:640px){.ip-tbl{table-layout:auto}}
.ip-tbl th,.ip-tbl td{padding:13px 14px;text-align:left;vertical-align:top;border-bottom:1px solid rgba(0,0,0,.1)}
.ip-tbl thead th{position:sticky;top:0;z-index:2;padding-top:12px;padding-bottom:12px;background:var(--paper);font:650 14.5px/1.2 var(--sans);color:#111;box-shadow:0 1px 0 rgba(0,0,0,.12);white-space:nowrap}
.ip-tbl thead th:first-child{padding-left:0;font:11.5px/1.2 var(--pixel);letter-spacing:.02em;color:rgba(0,0,0,.62);vertical-align:middle}
.ip-th{display:inline-flex;align-items:center;gap:8px}
.ip-th img{width:22px;height:22px;flex:none;object-fit:contain;border-radius:5px}
.ip-tbl tbody th{padding-left:0;font-weight:400;text-align:left}
.ip-tbl tbody th b{display:block;font:600 15px/1.3 var(--sans);color:#111}
.ip-tbl tbody th small{display:block;margin-top:3px;font-size:12px;color:rgba(0,0,0,.6)}
.ip-tbl td b{display:block;font:650 15.5px/1.2 var(--sans);color:#141414}
.ip-tbl td small{display:block;margin-top:4px;font-size:12px;color:rgba(0,0,0,.66)}
.ip-tbl .is-us{background:rgba(237,65,11,.06)}
.ip-tbl thead th.is-us{background:linear-gradient(rgba(237,65,11,.08),rgba(237,65,11,.08)),var(--paper)}
.ip-tbl td.is-us b{font:700 16px/1.2 var(--sans);color:#B8330A}
.ip-tbl td.na b{color:rgba(0,0,0,.35)}
.ip-save{display:inline-flex;align-items:center;margin-top:7px;height:26px;padding:0 9px;border-radius:5px;background:#D3F0DC;color:#0B5129;font:12px/1 var(--pixel);white-space:nowrap}
/* one vendor per group: its logo and name head its methods */
.ip-tbl tr.ip-grp th{position:static;padding:22px 0 10px;background:none;border-bottom:2px solid rgba(0,0,0,.16);text-align:left}
.ip-tbl tbody:first-of-type tr.ip-grp th{padding-top:12px}
.ip-grp-in{display:flex;align-items:center;gap:11px}
.ip-logo.sm{width:34px;height:34px;border-radius:9px}
.ip-logo.sm img{width:22px;height:22px}
.ip-logo.sm.is-full img{width:100%;height:100%}
.ip-grp-name{font:700 16.5px/1.2 var(--sans);letter-spacing:-.005em;color:#111}
.ip-grp-n{padding:5px 8px;border-radius:5px;background:#E9E7E0;font:11px/1 var(--pixel);color:rgba(0,0,0,.7)}
.ip-save.is-none{background:#E9E7E0;color:rgba(0,0,0,.65)}
.ip-dlg-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;padding:16px 28px 22px;border-top:1px solid var(--fg-10);font:400 12.5px/1.5 var(--sans);color:rgba(0,0,0,.7)}
.ip-dlg-foot p{max-width:46em}
.ip-dlg-foot .btn{height:44px;padding:0 18px;font-size:14px}
.ip-cnote-m{display:none}   /* the footer's line, said under the list on phones where the footer keeps only the button */
@media (max-width:640px){
  /* a bottom sheet; dvh so iOS Safari's toolbars never hide its title and close button (vh first for older browsers) */
  .ip-dlg{width:100%;max-height:92vh;max-height:92dvh;margin:auto 0 0;border-radius:16px 16px 0 0}
  /* slim chrome so the list gets the room: the title alone (the sub-line still describes the dialog to screen readers),
     and the footer's line moves under the list (.ip-cnote-m) */
  .ip-dlg-head{align-items:center;padding:14px 16px 10px}
  .ip-dlg-head p{display:none}
  .ip-x{margin:0}
  .ip-dlg-body{padding:0 16px}
  .ip-dlg-foot{padding:10px 16px calc(12px + env(safe-area-inset-bottom,0px))}
  .ip-dlg-foot p{display:none}
  .ip-cnote-m{display:inline}
  .ip-dlg-foot .btn{width:100%}
  /* each row becomes a small card: the method on top, Loopster's price as one strip, then the three rivals side by side */
  .ip-tbl thead{display:none}
  .ip-tbl,.ip-tbl tbody{display:block}
  .ip-tbl tr:not(.ip-grp){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:14px 0;border-bottom:1px solid rgba(0,0,0,.1)}
  /* each vendor is its own tbody: its name stays pinned while its methods scroll */
  .ip-tbl tr.ip-grp{position:sticky;top:0;z-index:1;display:block;background:var(--paper)}
  .ip-tbl tr.ip-grp th{display:block;padding:14px 0 8px}
  .ip-dlg-tools{row-gap:8px;padding:0 16px 10px}
  .ip-cmp-search{flex-basis:100%}
  .ip-tbl tbody tr:not(.ip-grp) th,.ip-tbl td{display:block;padding:0;border:0;background:none}
  .ip-tbl tbody tr:not(.ip-grp) th{grid-column:1/-1}
  .ip-tbl td{padding:8px;border:1px solid rgba(0,0,0,.1);border-radius:8px;background:rgba(255,255,255,.7)}
  .ip-tbl td[data-h]::before{content:attr(data-h);display:block;margin-bottom:6px;font:11px/1 var(--pixel);color:rgba(0,0,0,.62)}
  .ip-tbl td.is-us{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;padding:9px 11px;background:rgba(237,65,11,.07);border-color:rgba(237,65,11,.25)}
  .ip-tbl td.is-us::before{margin:0 2px 0 0}
  .ip-tbl td.is-us small{margin:0}
  .ip-save{height:auto;min-height:22px;padding:4px 5px;font-size:11px;line-height:1.15;white-space:normal}
}
/* 44px tap targets on touch screens only (a mouse focus ring stays the link's own height) */
@media (pointer:coarse){.ip-more-link{margin-block:-7px -11px;padding-block:11px}.ipd-dl a{padding-block:11px;margin-block:-11px}}
