/* ───────────────────────────────────────────────────────────────────
   Integrations (integrations.html) only. Status is one
   attribute per item (data-status="live" | "request" | "soon"); the pill
   and the muted look come from it, so moving an item is a one-attribute
   change (plus its pill text).
   Gradients on this page: the close band (one).
   ─────────────────────────────────────────────────────────────────── */
body.ig-page { line-height: normal; color: var(--mk-ink); background: #fff; }
.ig-page main a:not(.mk-btn):not(.mk-link) { color: var(--mk-link); text-decoration: underline; text-underline-offset: 2px; }
.ig-hero { padding: 96px 0 0; text-align: center; }
.ig-hero-in { max-width: 900px; margin: 0 auto; padding: 0 40px; }
.ig-hero h1 { font-family: var(--sn-font-display); font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; margin: 0 auto; max-width: 18ch; text-wrap: balance; color: var(--mk-ink); }
.ig-hero h1 span { color: var(--mk-link); }
.ig-lede { font-size: 20px; line-height: 1.5; color: var(--mk-soft); max-width: 58ch; margin: 24px auto 0; text-wrap: pretty; }
.ig-hero .mk-actions { justify-content: center; }
.ig-sec + .ig-sec { border-top: 1px solid var(--mk-line); }
.ig-top { display: flex; align-items: center; justify-content: space-between; }
.ig-pill { font: 500 11.5px/1 var(--mk-mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; }
.ig-live { background: #E6F4F8; color: var(--mk-deep); }
.ig-soon { background: #fff; color: var(--mk-muted); box-shadow: inset 0 0 0 1px var(--mk-line); }
.ig-sec .mk-actions { margin-top: 22px; }

@media (max-width: 980px) {
  .ig-hero { padding: 56px 0 0; } .ig-hero-in { padding: 0 22px; } .ig-lede { font-size: 18px; }
}

/* ─── Two ways in + the map (2026-11-01) ───────────────────────── */
.ig-ways-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ig-way { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.ig-way h3 { margin: 4px 0 0; font-size: 21px; letter-spacing: -.015em; }
.ig-way p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--mk-soft); }
.ig-way .mk-checks { margin: 6px 0 4px; font-size: 14.5px; }
.ig-way .mk-link { margin-top: auto; align-self: flex-start; color: var(--mk-link); }
.ig-way[data-status="soon"] { background: #FBFCFD; }
.ig-map-sec { border-top: 0 !important; padding-top: 0; }
.ig-map { padding: 32px; margin-top: 36px; }
.ig-steps { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.ig-step { background: #fff; border-radius: 14px; box-shadow: var(--mk-card); padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.ig-step:not(:last-child)::after { content: ''; position: absolute; right: -11px; top: 26px; width: 10px; height: 10px; border-top: 2px solid #0891B2; border-right: 2px solid #0891B2; transform: rotate(45deg); z-index: 2; }
.ig-step-k { font: 500 11.5px/1.3 var(--mk-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mk-link); }
.ig-step h3 { margin: 0; font-size: 16px; line-height: 1.3; font-weight: 650; letter-spacing: -.01em; }
.ig-step p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--mk-soft); }
.ig-key { display: inline-flex; gap: 14px; margin-left: 10px; vertical-align: middle; }
@media (max-width: 1180px) {
  .ig-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ig-step:nth-child(3n)::after { display: none; }
}
@media (max-width: 760px) {
  .ig-ways-grid { grid-template-columns: 1fr; }
  .ig-map { padding: 0; background: none; box-shadow: none; }
  .ig-steps { grid-template-columns: 1fr; gap: 14px; }
  .ig-step::after { display: none !important; }
  .ig-step:not(:last-child)::before { content: ''; position: absolute; left: 24px; bottom: -14px; width: 2px; height: 14px; background: #0891B2; }
  .ig-key { display: flex; margin: 8px 0 0; }
}
.ig-ways-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ig-mini { list-style: none; margin: 6px 0 4px; padding: 0; display: grid; gap: 7px; font-size: 14.5px; }
.ig-mini li { display: flex; align-items: center; gap: 9px; color: var(--mk-ink); }
.ig-mini li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #0891B2; margin: 0 6px 0 7px; }
.ig-mini li[data-status="soon"] { color: var(--mk-muted); }
.ig-mini li[data-status="soon"]::before { background: #fff; box-shadow: inset 0 0 0 1.5px #94A3B8; }
.ig-mini li[data-status="soon"]::after { content: 'soon'; font: 500 10.5px/1 var(--mk-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mk-muted); }
@media (max-width: 1180px) { .ig-ways-grid { grid-template-columns: 1fr 1fr; } .ig-ways-grid > :last-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .ig-ways-grid { grid-template-columns: 1fr; } }
.ig-tm { margin: 40px 0 48px; font-size: 12.5px; line-height: 1.5; color: var(--mk-muted); max-width: 90ch; }

/* ─── The layer
   The brand's stack runs along the bottom; the SweetNote layer spans the
   top and reads each step. Five equal columns shared by the layer, the
   wires and the stack, so every connector lands under its readout.
   Motion: one 12s loop (--ig-t). Base styles ARE the finished state, so
   reduced motion simply drops the animations and shows it complete. ── */
.ig-lay { --ig-gap: 14px; --ig-t: 12s; margin: 56px auto 0; max-width: 1120px; padding: 32px 36px 36px; text-align: left; }
.ig-lay-in { position: relative; z-index: 1; }
.ig-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ig-lyr { border-radius: 14px; padding: 14px; background: rgba(255,255,255,.10); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ig-reads, .ig-wires, .ig-stack { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--ig-gap); }
.ig-reads { align-items: stretch; }
.ig-lyr-head { display: flex; align-items: center; gap: 10px; padding: 4px 4px 4px 2px; color: #fff; }
.ig-lyr-head img { width: 40px; height: 40px; padding: 5px; border-radius: 10px; background: #fff; box-shadow: 0 6px 18px -8px rgba(10,37,64,.6); }
.ig-lyr-head b { display: block; font-size: 18px; font-weight: 650; letter-spacing: -.01em; }
.ig-lyr-head span { display: block; font-size: 12.5px; white-space: nowrap; color: var(--mk-mint); margin-top: 1px; }
.ig-rd { border-radius: 10px; padding: 10px 12px 12px; background: rgba(10,37,64,.28); color: #fff; display: flex; flex-direction: column; gap: 3px; }
.ig-rd-k { font: 500 11px/1.3 var(--mk-mono); color: rgba(255,255,255,.72); }
.ig-rd b { font-size: 15px; font-weight: 600; letter-spacing: -.005em; }
.ig-meter, .ig-ticks, .ig-bars { margin-top: auto; padding-top: 8px; display: flex; gap: 4px; }
.ig-meter { position: relative; height: 6px; padding: 0; margin-top: auto; border-radius: 3px; background: rgba(255,255,255,.18); overflow: hidden; }
.ig-meter i { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--mk-mint); }
.ig-m3 i { width: 72%; }
.ig-m4 i { width: 41%; }
.ig-ticks i { flex: 1; height: 6px; border-radius: 2px; background: var(--mk-mint); }
.ig-bars { flex-direction: column; gap: 4px; }
.ig-bars i { display: block; height: 6px; border-radius: 3px; background: var(--mk-mint); }
.ig-bars .ig-b1 { width: 78%; }
.ig-bars .ig-b2 { width: 46%; opacity: .6; }

/* Wires: the connectors between the layer and the stack, and the track
   the piece travels along (the physical journey, under the layer). */
.ig-wires { position: relative; height: 76px; }
.ig-w { position: relative; justify-self: center; width: 2px; height: 100%; background: rgba(255,255,255,.4); }
.ig-w i { position: absolute; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--mk-mint); box-shadow: 0 0 0 4px rgba(94,234,212,.25), 0 0 16px 2px rgba(94,234,212,.7); opacity: 0; top: 0; }
.ig-track { position: absolute; left: calc((100% - 4 * var(--ig-gap)) * .1); right: calc((100% - 4 * var(--ig-gap)) * .1); bottom: 18px; height: 2px; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 6px, transparent 6px 12px); }
.ig-piece { position: absolute; bottom: 7px; left: calc((100% - 4 * var(--ig-gap)) * .5 + 2 * var(--ig-gap)); transform: translateX(-50%); width: 34px; height: 24px; border-radius: 4px; background: #fff; box-shadow: 0 6px 16px -4px rgba(10,37,64,.55); opacity: 0; }
.ig-piece i { position: absolute; right: 5px; top: 6px; width: 12px; height: 12px; border-radius: 1px; background:
  linear-gradient(#0A2540 0 0) 0 0 / 4px 4px no-repeat, linear-gradient(#0A2540 0 0) 100% 0 / 4px 4px no-repeat, linear-gradient(#0A2540 0 0) 0 100% / 4px 4px no-repeat, linear-gradient(#0A2540 0 0) 100% 100% / 2px 2px no-repeat; }
.ig-piece::before { content: ''; position: absolute; left: 5px; top: 7px; width: 11px; height: 2px; border-radius: 1px; background: #A9BCC6; box-shadow: 0 4px 0 #A9BCC6; }
.ig-stack-k { margin: 0 0 10px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.82); }

/* The stack: the brand's own tools. White cards, neutral hairlines. */
.ig-stack { align-items: stretch; }
.ig-st { background: #fff; border-radius: 12px; box-shadow: var(--mk-card); padding: 14px 12px 12px; display: flex; flex-direction: column; min-width: 0; }
.ig-st-h { padding: 0 2px; }
.ig-st-h b { display: block; font-size: 15px; font-weight: 650; letter-spacing: -.01em; color: var(--mk-ink); }
.ig-st-h span { display: block; font-size: 12.5px; line-height: 1.35; color: var(--mk-muted); margin-top: 3px; }
.ig-tls { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ig-tl { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; border: 1px solid transparent; background: var(--mk-art); font-size: 13px; line-height: 1.25; color: var(--mk-ink); min-width: 0; }
.ig-tl b { font-weight: 500; min-width: 0; }
.ig-tl i { margin-left: auto; flex: none; font: 500 10px/1 var(--mk-mono); font-style: normal; padding: 3px 6px; border-radius: 999px; background: #fff; color: var(--mk-muted); box-shadow: inset 0 0 0 1px var(--mk-line); }
.ig-tl[data-status="soon"] { background: #fff; border: 1px dashed #C9D3DD; color: var(--mk-soft); }
.ig-pc { position: relative; margin: auto; padding-top: 14px; width: 100%; max-width: 168px; }
.ig-pc-art { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 14px rgba(10,37,64,.14)); }
.ig-scan { position: absolute; right: -4px; top: 2px; font: 500 11px/1 var(--mk-mono); padding: 5px 8px; border-radius: 999px; background: #E6F4F8; color: var(--mk-deep); }
.ig-scan::before { content: '\2713'; margin-right: 5px; }
.ig-st-rd { display: none; }
.ig-st5 .ig-tl[data-status="live"], .ig-st4 .ig-tl[data-status="live"] { background: #E3F5F2; }

/* ─── The loop. Percentages of one 12s cycle:
   0-8 list in · 6-16 codes out · 14-28 piece to their hands · 30-40 scan
   rises, Reach fills · 42-52 piece to the page · 52-62 page rises,
   outcome fills · 64-74 the answer forms · 74-84 it goes back down ·
   84-94 your tools light · 94-100 rest. ── */
@media (prefers-reduced-motion: no-preference) {
  .ig-lay * { animation-duration: var(--ig-t); animation-iteration-count: infinite; animation-timing-function: ease-in-out; }
  .ig-lay.is-off * { animation-play-state: paused; }
  .ig-w1 i { animation-name: ig-up-a; }
  .ig-w2 i { animation-name: ig-down-b; }
  .ig-w3 i { animation-name: ig-up-c; }
  .ig-w4 i { animation-name: ig-up-d; }
  .ig-w5 i { animation-name: ig-down-e; }
  .ig-piece { animation-name: ig-piece; }
  .ig-ticks i { animation-name: ig-tick; }
  .ig-ticks i:nth-child(2) { animation-name: ig-tick2; } .ig-ticks i:nth-child(3) { animation-name: ig-tick3; }
  .ig-ticks i:nth-child(4) { animation-name: ig-tick4; } .ig-ticks i:nth-child(5) { animation-name: ig-tick5; } .ig-ticks i:nth-child(6) { animation-name: ig-tick6; }
  .ig-m3 i { animation-name: ig-fill-c; }
  .ig-m4 i { animation-name: ig-fill-d; }
  .ig-bars i { animation-name: ig-fill-e; transform-origin: left center; }
  .ig-rd2 { animation-name: ig-rd-b; } .ig-rd3 { animation-name: ig-rd-c; } .ig-rd4 { animation-name: ig-rd-d; } .ig-rd5 { animation-name: ig-rd-e; }
  .ig-scan { animation-name: ig-stamp; }
  .ig-st4 .ig-tl[data-status="live"] { animation-name: ig-lit-d; }
  .ig-st5 .ig-tl[data-status="live"] { animation-name: ig-lit-e; }
}
@keyframes ig-up-a { 0% { top: 100%; opacity: 0; } 1% { opacity: 1; } 7% { top: 0; opacity: 1; } 9%, 100% { top: 0; opacity: 0; } }
@keyframes ig-down-b { 0%, 7% { top: 0; opacity: 0; } 8% { opacity: 1; } 15% { top: calc(100% - 22px); opacity: 1; } 17%, 100% { top: calc(100% - 22px); opacity: 0; } }
@keyframes ig-up-c { 0%, 30% { top: calc(100% - 22px); opacity: 0; } 31% { opacity: 1; } 38% { top: 0; opacity: 1; } 40%, 100% { top: 0; opacity: 0; } }
@keyframes ig-up-d { 0%, 52% { top: calc(100% - 22px); opacity: 0; } 53% { opacity: 1; } 60% { top: 0; opacity: 1; } 62%, 100% { top: 0; opacity: 0; } }
@keyframes ig-down-e { 0%, 74% { top: 0; opacity: 0; } 75% { opacity: 1; } 83% { top: 100%; opacity: 1; } 85%, 100% { top: 100%; opacity: 0; } }
@keyframes ig-piece {
  0%, 14% { opacity: 0; left: calc((100% - 4 * var(--ig-gap)) * .3 + var(--ig-gap)); }
  16% { opacity: 1; left: calc((100% - 4 * var(--ig-gap)) * .3 + var(--ig-gap)); }
  28%, 42% { opacity: 1; left: calc((100% - 4 * var(--ig-gap)) * .5 + 2 * var(--ig-gap)); }
  52%, 60% { opacity: 1; left: calc((100% - 4 * var(--ig-gap)) * .7 + 3 * var(--ig-gap)); }
  64%, 100% { opacity: 0; left: calc((100% - 4 * var(--ig-gap)) * .7 + 3 * var(--ig-gap)); }
}
@keyframes ig-tick  { 0%, 8%  { opacity: .18; } 9%,  94% { opacity: 1; } 99%, 100% { opacity: .18; } }
@keyframes ig-tick2 { 0%, 9%  { opacity: .18; } 10%, 94% { opacity: 1; } 99%, 100% { opacity: .18; } }
@keyframes ig-tick3 { 0%, 10% { opacity: .18; } 11%, 94% { opacity: 1; } 99%, 100% { opacity: .18; } }
@keyframes ig-tick4 { 0%, 11% { opacity: .18; } 12%, 94% { opacity: 1; } 99%, 100% { opacity: .18; } }
@keyframes ig-tick5 { 0%, 12% { opacity: .18; } 13%, 94% { opacity: 1; } 99%, 100% { opacity: .18; } }
@keyframes ig-tick6 { 0%, 13% { opacity: .18; } 14%, 94% { opacity: 1; } 99%, 100% { opacity: .18; } }
@keyframes ig-fill-c { 0%, 37% { transform: scaleX(0); } 46%, 94% { transform: scaleX(1); } 99%, 100% { transform: scaleX(0); } }
@keyframes ig-fill-d { 0%, 59% { transform: scaleX(0); } 68%, 94% { transform: scaleX(1); } 99%, 100% { transform: scaleX(0); } }
@keyframes ig-fill-e { 0%, 64% { transform: scaleX(0); } 73%, 94% { transform: scaleX(1); } 99%, 100% { transform: scaleX(0); } }
@keyframes ig-rd-b { 0%, 6% { background: rgba(10,37,64,.28); } 9%, 16% { background: rgba(10,37,64,.5); } 22%, 100% { background: rgba(10,37,64,.28); } }
@keyframes ig-rd-c { 0%, 36% { background: rgba(10,37,64,.28); } 39%, 46% { background: rgba(10,37,64,.5); } 52%, 100% { background: rgba(10,37,64,.28); } }
@keyframes ig-rd-d { 0%, 58% { background: rgba(10,37,64,.28); } 61%, 68% { background: rgba(10,37,64,.5); } 74%, 100% { background: rgba(10,37,64,.28); } }
@keyframes ig-rd-e { 0%, 63% { background: rgba(10,37,64,.28); } 66%, 78% { background: rgba(10,37,64,.5); } 84%, 100% { background: rgba(10,37,64,.28); } }
@keyframes ig-stamp { 0%, 30% { opacity: 0; transform: scale(.8); } 33%, 94% { opacity: 1; transform: scale(1); } 99%, 100% { opacity: 0; transform: scale(.8); } }
@keyframes ig-lit-d { 0%, 52% { background: var(--mk-art); } 56%, 94% { background: #E3F5F2; } 99%, 100% { background: var(--mk-art); } }
@keyframes ig-lit-e { 0%, 83% { background: var(--mk-art); } 87%, 94% { background: #E3F5F2; } 99%, 100% { background: var(--mk-art); } }
.ig-m3 i, .ig-m4 i { transform-origin: left center; }

@media (max-width: 1180px) {
  .ig-lay { --ig-gap: 10px; padding: 26px 24px 28px; }
  .ig-tl { font-size: 12.5px; gap: 6px; padding: 5px 6px; }
  .ig-tl i { display: none; }
  .ig-tl[data-status="soon"] b::after { content: ' (soon)'; color: var(--mk-muted); }
}
/* Phone: the layer becomes the head of a vertical run; a spine carries it
   down the stack and each station says what SweetNote reads there. */
@media (max-width: 760px) {
  .ig-hero .ig-hero-in, .ig-hero .mk-wrap { padding: 0 16px; }
  .ig-lay { margin-top: 36px; padding: 14px 12px 16px; }
  .ig-lyr { padding: 12px; }
  .ig-reads { grid-template-columns: 1fr; }
  .ig-rd, .ig-wires { display: none; }
  .ig-stack-k { margin: 16px 0 10px 24px; }
  .ig-stack { grid-template-columns: 1fr; gap: 10px; position: relative; padding-left: 24px; }
  .ig-stack::before { content: ''; position: absolute; left: 8px; top: -14px; bottom: 18px; width: 2px; background: rgba(255,255,255,.45); }
  .ig-stack::after { content: ''; position: absolute; left: 4px; top: -14px; width: 10px; height: 10px; border-radius: 50%; background: var(--mk-mint); box-shadow: 0 0 0 4px rgba(94,234,212,.25), 0 0 16px 2px rgba(94,234,212,.7); opacity: 0; }
  .ig-st { position: relative; padding: 14px; }
  .ig-st::before { content: ''; position: absolute; left: -21px; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
  .ig-tls { flex-direction: row; flex-wrap: wrap; }
  .ig-tl { font-size: 13px; padding: 5px 8px; }
  .ig-tl i { display: inline-block; }
  .ig-tl[data-status="soon"] b::after { content: none; }
  .ig-st3 { display: grid; grid-template-columns: 1fr 110px; align-items: center; column-gap: 12px; }
  .ig-st3 .ig-pc { margin: 0; grid-row: span 2; }
  .ig-st-rd { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 7px 10px; border-radius: 8px; background: #E6F4F8; color: var(--mk-deep); font-size: 13px; font-weight: 500; }
  .ig-st-rd i { width: 8px; height: 8px; border-radius: 50%; background: var(--mk-mid); flex: none; }
  .ig-st3 .ig-st-rd { grid-column: 1; margin-top: 10px; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .ig-st-rd2 i { animation-name: ig-dot-b; } .ig-st-rd3 i { animation-name: ig-dot-c; }
  .ig-st-rd4 i { animation-name: ig-dot-d; } .ig-st-rd5 i { animation-name: ig-dot-e; }
  .ig-stack::after { animation: ig-spine var(--ig-t) ease-in-out infinite; }
  .ig-lay.is-off .ig-stack::after { animation-play-state: paused; }
}
@keyframes ig-spine { 0% { top: -14px; opacity: 0; } 3% { opacity: 1; } 92% { top: calc(100% - 28px); opacity: 1; } 96%, 100% { top: calc(100% - 28px); opacity: 0; } }
@keyframes ig-dot-b { 0%, 6% { box-shadow: 0 0 0 0 rgba(44,141,165,0); } 10%, 16% { box-shadow: 0 0 0 5px rgba(44,141,165,.3); } 22%, 100% { box-shadow: 0 0 0 0 rgba(44,141,165,0); } }
@keyframes ig-dot-c { 0%, 32% { box-shadow: 0 0 0 0 rgba(44,141,165,0); } 36%, 44% { box-shadow: 0 0 0 5px rgba(44,141,165,.3); } 50%, 100% { box-shadow: 0 0 0 0 rgba(44,141,165,0); } }
@keyframes ig-dot-d { 0%, 54% { box-shadow: 0 0 0 0 rgba(44,141,165,0); } 58%, 66% { box-shadow: 0 0 0 5px rgba(44,141,165,.3); } 72%, 100% { box-shadow: 0 0 0 0 rgba(44,141,165,0); } }
@keyframes ig-dot-e { 0%, 76% { box-shadow: 0 0 0 0 rgba(44,141,165,0); } 80%, 90% { box-shadow: 0 0 0 5px rgba(44,141,165,.3); } 96%, 100% { box-shadow: 0 0 0 0 rgba(44,141,165,0); } }

/* ─── Three states, names in text only ──────
   live = on for every workspace; request = built, turned on when a
   workspace asks; soon = coming. A tool with a vendor mark in
   assets/integrations/ shows it beside its name (founder, 2026-11-18,
   reversing the text-only rule: the portal shows the same files). */

/* The vendor mark: one white tile, neutral hairline, the same height for
   every tool, to the left of the name. Square marks sit in a square tile;
   the two wordmarks (Lob, cal.com) get a wider one so they stay readable. */
.ig-lg { flex: none; box-sizing: border-box; display: inline-grid; place-items: center; height: 22px; min-width: 22px; padding: 0 4px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--mk-line); }
.ig-lg img, .ig-lg svg { display: block; width: 14px; height: 14px; }
.ig-lg-lob img { width: 21px; height: 9px; }
.ig-lg-cal svg { width: 28px; height: 7px; }
.ig-lg + .ig-lg { margin-left: -3px; }
.ig-item-top .ig-lg { margin-top: -1px; }
/* A chip that names two tools: in the narrow desktop columns the two marks
   (and the state pill) take the first line and the name the second, so the
   name never squeezes under the pill. On a phone the chip is one line. */
@media (min-width: 761px) {
  .ig-tl-2 { flex-wrap: wrap; row-gap: 5px; }
  .ig-tl-2 b { order: 3; flex: 1 0 100%; }
}
.ig-item-top b { margin-right: auto; }

.ig-req { background: #fff; color: var(--mk-deep); box-shadow: inset 0 0 0 1px #9CCFDB; }
.ig-pill { white-space: nowrap; }
.ig-key { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--mk-soft); }
.ig-key li { display: flex; align-items: center; gap: 10px; }
.ig-mini li[data-status="request"]::before { background: #fff; box-shadow: inset 0 0 0 1.5px #0891B2; }
.ig-mini li[data-status="request"]::after { content: 'on request'; font: 500 10.5px/1 var(--mk-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mk-deep); }
.ig-tl[data-status="request"] { background: #fff; border: 1px solid #9CCFDB; }
.ig-tl i { white-space: nowrap; }
@media (max-width: 1180px) {
  .ig-tl[data-status="request"] b::after { content: ' (on request)'; color: var(--mk-deep); font-weight: 400; }
}
@media (max-width: 760px) {
  .ig-tl[data-status="request"] b::after { content: none; }
  .ig-key { flex-direction: column; gap: 8px; }
}

/* ─── Directory by job: one group per job with a
   generic line icon (Feather, MIT), one short card per tool, its state as a
   pill. Neutral hairlines only. */
.ig-cats { margin-top: 36px; display: grid; gap: 34px; }
.ig-cat-h { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 19px; line-height: 1.3; font-weight: 650; letter-spacing: -.012em; color: var(--mk-ink); }
.ig-cat-ic { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--mk-art); color: var(--mk-deep); display: grid; place-items: center; }
.ig-cat-ic svg { width: 20px; height: 20px; }
.ig-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ig-item { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 1px solid var(--mk-line); border-radius: 12px; background: #fff; }
.ig-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ig-item-top b { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--mk-ink); }
.ig-item-top .ig-pill { flex: none; padding: 4px 7px; font-size: 10.5px; }
.ig-item-d { font-size: 13.5px; line-height: 1.45; color: var(--mk-soft); }
.ig-item[data-status="soon"] { background: #FBFCFD; }
.ig-item[data-status="soon"] b { color: var(--mk-soft); }
@media (max-width: 1180px) { .ig-items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .ig-items { grid-template-columns: 1fr; gap: 8px; }
  .ig-cats { gap: 28px; }
  .ig-cat-h { font-size: 17px; }
}

/* 2026-11-29 elevation: each group of connections is a fold that ships open;
   phones close all but the first (script in integrations.html). */
.ig-cat > summary { list-style: none; }
.ig-cat > summary::-webkit-details-marker { display: none; }
@media (max-width: 600px) {
  .ig-cats { gap: 0; border-top: 1px solid var(--mk-line); }
  .ig-cat { border-bottom: 1px solid var(--mk-line); }
  .ig-cat > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; cursor: pointer; }
  .ig-cat > summary .ig-cat-h { margin: 0; }
  .ig-cat > summary::after { content: '+'; flex: none; font-size: 20px; color: var(--mk-muted); }
  .ig-cat[open] > summary::after { content: '\2212'; }
  .ig-cat[open] > .ig-items { padding-bottom: 18px; }
}
@media (max-width: 600px) {
  .ig-way .mk-checks, .ig-way .ig-mini { display: none; }
  .ig-way > p { margin-bottom: 12px; }
}
