/* ───────────────────────────────────────────────────────────────────
   Integrations on marketing v2 (2026-11-29). Every rule is behind body.v2.
   Groups of logo tiles in the home page's tile style (site-blue logos).
   ─────────────────────────────────────────────────────────────────── */

body.v2 .ig2-cats { margin-top: 56px; display: grid; gap: 0; border-top: 1px solid var(--line); }
body.v2 .ig2-cat { display: block; padding: 40px 0; border-bottom: 1px solid var(--line); }
body.v2 .ig2-cat::after { content: ''; display: block; clear: both; }
body.v2 .ig2-cat > summary { float: left; width: 38%; list-style: none; cursor: default; }
body.v2 .ig2-cat > summary::-webkit-details-marker { display: none; }
body.v2 .ig2-cat h3 { margin: 0; font-size: 28px; line-height: 1.15; letter-spacing: -.022em; font-weight: 700; color: var(--navy); }
body.v2 .ig2-line { margin: 10px 0 0; font-size: 17px; line-height: 1.5; color: var(--slate); max-width: 38ch; }
body.v2 .ig2-logos { margin-left: 44%; list-style: none; margin-top: 0; margin-bottom: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-content: start; }
body.v2 .ig2-logos li { position: relative; min-height: 96px; padding: 14px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(10,37,64,.04); }
body.v2 .ig2-logos img, body.v2 .ig2-logos .ig2-sym { width: auto; max-width: 70%; }
body.v2 .ig2-logos .ig2-sym { width: 26px; height: 26px; }
body.v2 .ig2-logos .ig2-ic { width: 26px; height: 26px; color: var(--teal); }
body.v2 .ig2-logos span { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.3; }
body.v2 .ig2-logos em { font-style: normal; font-size: 13px; font-weight: 500; color: var(--slate-2); }

body.v2 .ig2-also { margin-top: 56px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); column-gap: 56px; align-items: start; }
body.v2 .ig2-also h3 { margin: 0; font-size: 20px; font-weight: 650; color: var(--navy); }
body.v2 .ig2-also ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
body.v2 .ig2-also li { padding: 9px 14px; border-radius: 99px; background: var(--wash); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 500; color: var(--navy); }
body.v2 .ig2-also li:has(img) { display: inline-flex; align-items: center; gap: 7px; }
body.v2 .ig2-also li img { display: block; }
body.v2 .ig2-also p { grid-column: 2; margin: 24px 0 0; }

body.v2 .ig2-close { padding: 120px 0 128px; }
body.v2 .ig2-close .v2-actions { justify-content: center; }
body.v2 .ig2-tm { margin: 28px auto; font-size: 13px; color: var(--slate-2); }

@media (max-width: 980px) {
  body.v2 .ig2-cat, body.v2 .ig2-also { grid-template-columns: 1fr; }
  body.v2 .ig2-cat > summary { float: none; width: auto; }
  body.v2 .ig2-logos { margin-left: 0; margin-top: 22px; }
  body.v2 .ig2-also p { grid-column: 1; }
  body.v2 .ig2-also ul { margin-top: 14px; }
}
@media (max-width: 600px) {
  body.v2 .ig2-all .v2-lead { font-size: 15.5px; }
  body.v2 .ig2-cats { margin-top: 28px; }
  body.v2 .ig2-cat { padding: 4px 0; }
  body.v2 .ig2-cat > summary { cursor: pointer; display: block; position: relative; padding: 16px 32px 12px 0; }
  body.v2 .ig2-cat > summary::after { content: '+'; position: absolute; right: 2px; top: 14px; font-size: 22px; color: var(--slate-2); }
  body.v2 .ig2-cat[open] > summary::after { content: '\2212'; }
  body.v2 .ig2-cat h3 { font-size: 19px; }
  body.v2 .ig2-line { font-size: 15px; margin-top: 2px; }
  body.v2 .ig2-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0 18px; }
  body.v2 .ig2-logos li { min-height: 76px; gap: 6px; border-radius: 12px; }
  body.v2 .ig2-also { margin-top: 36px; }
  body.v2 .ig2-also li { font-size: 14px; }
  body.v2 .ig2-close { padding: 72px 0 80px; }
}

/* ─── Hero visual: the stack (founder, 2026-11-29) ───────────────────
   The buyer's tools in three columns on top; the SweetNote measurement
   layer runs across them. Logos in site blue, like the tiles below. ─── */
body.v2 .ig3-stack { margin: 0; padding: 22px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px rgba(10,37,64,.35); }
body.v2 .ig3-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
body.v2 .ig3-col { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px; border-radius: 14px; background: var(--wash); box-shadow: inset 0 0 0 1px var(--line); }
body.v2 .ig3-cap { margin: 0 0 4px; min-height: 2.6em; text-align: center; font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--slate); }
body.v2 .ig3-t { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 6px; min-height: 66px; padding: 10px 6px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(10,37,64,.04); }
body.v2 .ig3-t img { flex: none; width: auto; max-width: 40px; max-height: 20px; }
body.v2 .ig3-cal { flex: none; width: 40px; height: 10px; }
body.v2 .ig3-ic { flex: none; width: 20px; height: 20px; color: var(--teal); }
body.v2 .ig3-t small { font-size: 13.5px; font-weight: 600; line-height: 1.25; color: var(--navy); }
body.v2 .ig3-flows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 12px 4px; text-align: center; }
body.v2 .ig3-flows span { display: block; padding: 4px 0; font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--slate); }
body.v2 .ig3-flows b { font-weight: 700; font-size: 15px; color: var(--teal); }
body.v2 .ig3-layer { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr; gap: 12px; align-items: center; padding: 18px 20px; border-radius: 14px; color: #fff; background: var(--grad); }
body.v2 .ig3-layer::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,37,64,.55), rgba(10,37,64,.3)); }
body.v2 .ig3-layer > * { position: relative; }
body.v2 .ig3-brand { display: flex; align-items: center; gap: 10px; }
body.v2 .ig3-brand img { border-radius: 8px; }
body.v2 .ig3-brand b { display: block; font-size: 16px; font-weight: 700; }
body.v2 .ig3-brand small { display: block; font-size: 13px; color: var(--on-dark); }
body.v2 .ig3-layer ul { list-style: none; margin: 0; padding: 12px 0 0; display: grid; gap: 6px; border-top: 1px solid var(--line-dark); }
body.v2 .ig3-layer li { position: relative; padding-left: 16px; font-size: 14px; font-weight: 500; line-height: 1.35; color: #fff; }
body.v2 .ig3-layer li::before { content: ''; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }

/* the groups: tighter, a calmer two-column rhythm */
body.v2 .ig2-cat { padding: 32px 0; }
body.v2 .ig2-cat h3 { font-size: 24px; }
body.v2 .ig2-line { font-size: 16.5px; margin-top: 8px; }
body.v2 .ig2-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
body.v2 .ig2-logos li { min-height: 84px; padding: 12px 8px; gap: 8px; border-radius: 12px; }
body.v2 .ig2-logos span { font-size: 13.5px; }

@media (max-width: 980px) {
  body.v2 .ig3-stack { max-width: 620px; }
  body.v2 .ig2-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body.v2 .ig3-stack { padding: 12px; border-radius: 16px; }
  body.v2 .ig3-cols, body.v2 .ig3-flows { gap: 6px; }
  body.v2 .ig3-col { padding: 10px 6px; gap: 6px; border-radius: 12px; }
  body.v2 .ig3-cap { font-size: 13px; text-align: center; min-height: 2.6em; }
  body.v2 .ig3-t { flex-direction: column; justify-content: center; gap: 5px; min-height: 60px; padding: 8px 4px; text-align: center; }
  body.v2 .ig3-t img { max-width: 34px; max-height: 18px; }
  body.v2 .ig3-t small { font-size: 13px; }
  body.v2 .ig3-flows { padding: 10px 0; }
  body.v2 .ig3-layer { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  body.v2 .ig3-layer ul { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  body.v2 .ig2-cat h3 { font-size: 19px; }
  body.v2 .ig2-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

body.v2 .ig2-hero .v2-hero-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; }
body.v2 .ig2-hero .v2-hero-split .v2-h1 { max-width: none; font-size: clamp(2.4rem, 3.6vw, 3.1rem); }
@media (max-width: 980px) { body.v2 .ig2-hero .v2-hero-split { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 600px) { body.v2 .ig2-hero .v2-hero-split .v2-h1 { font-size: 2.2rem; } body.v2 .ig3-cal { width: 44px; height: 11px; } }

/* ─── Phone polish (2026-11-30) ───────────────────────────────────── */
@media (max-width: 600px) {
  /* hero h1: size to the phone so "The measurement layer" holds one line
     (marketing.css sets every phone hero h1 with !important) */
  body.v2 .ig2-hero .v2-hero-split .v2-h1 { font-size: min(2.05rem, 8vw) !important; }

  /* the stack as rows: each column becomes a row (caption, then its tiles
     side by side), its flow line directly under it, the layer last */
  body.v2 .ig3-stack { display: grid; gap: 0; }
  body.v2 .ig3-cols, body.v2 .ig3-flows { display: contents; }
  body.v2 .ig3-col { display: flex; flex-flow: row wrap; gap: 6px; padding: 10px; }
  body.v2 .ig3-col:nth-child(1) { order: 1; } body.v2 .ig3-flows > span:nth-child(1) { order: 2; }
  body.v2 .ig3-col:nth-child(2) { order: 3; } body.v2 .ig3-flows > span:nth-child(2) { order: 4; }
  body.v2 .ig3-col:nth-child(3) { order: 5; } body.v2 .ig3-flows > span:nth-child(3) { order: 6; }
  body.v2 .ig3-layer { order: 7; margin-top: 4px; }
  body.v2 .ig3-cap { flex: 0 0 100%; min-height: 0; margin: 0 0 2px 2px; text-align: left; }
  body.v2 .ig3-t { flex: 1 1 0; min-width: 0; min-height: 58px; }
  body.v2 .ig3-flows > span { padding: 7px 0 9px; font-size: 13px; text-align: center; }

  /* the groups: collapsed rows sized to their text */
  body.v2 .ig2-cat { padding: 0; }
  body.v2 .ig2-cat > summary { padding: 16px 32px 16px 0; }
  body.v2 .ig2-cat > summary::after { top: 13px; }
  body.v2 .ig2-line { margin-top: 4px; }
  /* tiles as one column of rows: mark left, name right */
  body.v2 .ig2-logos { grid-template-columns: 1fr; gap: 6px; margin: 0 0 18px; }
  body.v2 .ig2-logos li { flex-direction: row; justify-content: flex-start; min-height: 52px; padding: 8px 14px; gap: 12px; text-align: left; }
  body.v2 .ig2-logos li > img, body.v2 .ig2-logos li > svg { flex: none; width: 40px; max-width: 40px; object-fit: contain; object-position: center; }
  body.v2 .ig2-logos li > svg.ig2-ic, body.v2 .ig2-logos li > .ig2-sym { width: 24px; margin: 0 8px; }
  body.v2 .ig2-logos span { font-size: 15px; }
}

/* Motion pass (2026-11-30): the phone fold's plus turns into a cross. */
@media (max-width: 600px) and (prefers-reduced-motion: no-preference) {
  body.v2 .ig2-cat > summary::after { width: 22px; line-height: 26px; text-align: center; transition: transform .18s ease-out; }
  body.v2 .ig2-cat[open] > summary::after { content: '+'; transform: rotate(45deg); }
}

/* 2026-11-30 (founder): the hero takes the home gradient; copy stays left-aligned
   beside the white stack card. */
body.v2 .ig2-hero { text-align: left; }
body.v2 .ig2-hero .v2-lede { margin-left: 0; }
body.v2 .ig2-hero .v2-actions { justify-content: flex-start; }
body.v2 .ig2-hero .ig3-stack { text-align: left; }
body.v2 .ig2-hero .ig3-cap, body.v2 .ig2-hero .ig3-t, body.v2 .ig2-hero .ig3-flows { text-align: center; }
body.v2 .ig2-hero { padding: 104px 0 112px; }
body.v2 .ig2-hero .v2-hero-split { gap: 72px; align-items: center; }
body.v2 .ig2-hero .v2-lede { margin-top: 20px; max-width: 34em; }
body.v2 .ig2-hero .v2-actions { margin-top: 32px; }
body.v2 .ig2-hero .ig3-stack { box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 40px 80px -40px rgba(0,0,0,.55); }
@media (max-width: 980px) { body.v2 .ig2-hero { padding: 64px 0 72px; } body.v2 .ig2-hero .v2-hero-split { gap: 48px; } }
@media (max-width: 600px) { body.v2 .ig2-hero { padding: 48px 0 56px; } body.v2 .ig2-hero .v2-hero-split { gap: 40px; } }

/* 2026-11-30 (founder): the vendors' own logo colors on this page (the blue tint
   is gone here; the home page tools panel keeps its single-color blue). */

/* "Live today" bar under the tool-by-tool list (from the deck). The pill sits
   inline in the bar's sentence, not above a headline. */
body.v2 .ig2-live { margin-top: 48px; display: flex; align-items: center; gap: 16px; padding: 18px 24px; border-radius: 14px; background: var(--navy); color: #fff; }
body.v2 .ig2-live .ig2-pill { flex: none; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; font-weight: 600; letter-spacing: .05em; color: var(--navy); background: var(--cyan); border-radius: 99px; padding: 5px 11px; white-space: nowrap; }
body.v2 .ig2-live p { margin: 0; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.85); }
body.v2 .ig2-live b { color: #fff; font-weight: 600; }
@media (max-width: 600px) {
  body.v2 .ig2-live { margin-top: 32px; align-items: flex-start; flex-direction: column; gap: 10px; padding: 16px 18px; }
  body.v2 .ig2-live p { font-size: 15px; }
}
@media (max-width: 600px) {
  body.v2 .ig2-live { display: block; }
  body.v2 .ig2-live .ig2-pill { display: inline-block; margin-right: 8px; font-size: 11px; padding: 3px 9px; vertical-align: 1px; }
  body.v2 .ig2-live p { display: inline; }
}
