/* DataSquad site — polish.css (v003, September 24, 2026). Loaded after every other sheet.
   The rules here line things up: every section's intro sits under its heading (never off to the right),
   blocks that floated in space get a card border, the "complete platform" note becomes a real panel,
   and phone spacing is even. Nothing here changes copy or structure. */

/* ---- section heads: eyebrow, heading, then the intro underneath ---- */
.compact-home .section-top,
.compact-industry .phm-section-head { display: block; }
.compact-home .section-top > div,
.compact-industry .phm-section-head > div { max-width: 720px; }
.compact-home .section-top p,
.compact-home .section-lede,
.compact-industry .phm-section-head > p { margin: 14px 0 0; max-width: 62ch; font-size: 1.0625rem; line-height: 1.6; color: var(--muted); }
.compact-home .section-lede { color: var(--muted); }
.compact-home .hounds-section .section-top { margin-bottom: 22px; }

/* ---- the pack ---- */
.compact-home .pack-portrait { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); }
.compact-home .pack-portrait figcaption { padding: 12px 16px; border-top: 1px solid var(--line); text-align: center; }
.compact-home .hound-card p { margin-top: 6px; }

/* ---- "One connected workday": the three points become cards ---- */
.compact-home .compact-platform-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.compact-home .compact-platform-grid article { margin: 0; padding: 20px 20px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.compact-home .compact-platform-grid article > .icon { width: 24px; height: 24px; color: var(--gold); margin-bottom: 12px; display: block; }
.compact-home .compact-platform-grid article h3 { margin: 0 0 8px; font-size: 1.1875rem; line-height: 1.25; }
.compact-home .compact-platform-grid article p { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--muted); }

/* ---- "A complete platform. A familiar fit." — a panel, not a stray paragraph ---- */
.compact-home .fit-panel { display: flex; align-items: flex-start; gap: 18px; margin-top: 18px; padding: 22px 24px; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 12px; background: var(--raised); }
.compact-home .fit-panel .fit-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: rgba(228, 193, 108, .12); color: var(--gold); }
.compact-home .fit-panel .fit-icon .icon { width: 22px; height: 22px; }
.compact-home .fit-panel .eyebrow { margin-bottom: 6px; }
.compact-home .fit-panel h3 { margin: 0 0 6px; font-size: 1.25rem; line-height: 1.3; }
.compact-home .fit-panel p { margin: 0; max-width: 70ch; font-size: .9375rem; line-height: 1.6; color: var(--muted); }

/* ---- Hound pages: the two support cards and the FAQ get a border like everything else ---- */
.compact-industry .compact-support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.compact-industry .compact-support-card { margin: 0; padding: 22px 22px 20px; border: 1px solid #2b3c49; border-radius: 12px; background: rgba(255, 255, 255, .025); }
.compact-industry .compact-support-card h2 { font-size: 1.5rem; line-height: 1.2; margin: 0 0 10px; }
.compact-industry .compact-support-card p { max-width: none; }
.compact-industry .phm-faq details { border: 1px solid #2b3c49; border-radius: 10px; padding: 0 16px; margin-bottom: 10px; background: rgba(255, 255, 255, .02); }
.compact-industry .phm-faq details summary { padding: 14px 0; }
.compact-industry .phm-faq details[open] summary { border-bottom: 1px solid #2b3c49; }
.compact-industry .phm-faq details > *:not(summary) { padding: 12px 0 16px; }

/* ---- the mascot on a Hound page: no slogan now, so the button sits close to the picture ---- */
.compact-industry .product-mascot-stage figcaption { margin-top: 8px; text-align: center; }
.compact-industry .product-mascot-stage figcaption button { margin: 0 auto; }

/* ---- the tour opens by default; keep the summary tidy and the tabs on one line where they fit ---- */
.compact-industry .tour-disclosure[open] > summary { border-bottom: 1px solid #2b3c49; margin-bottom: 14px; }
.compact-industry .phm-tour-tabs { gap: 8px; }

/* ---- the closing band and the footer ---- */
.compact-home .closing-inner { align-items: center; }
.compact-home .closing h2 { max-width: 640px; }
.compact-home .closing p { max-width: 48ch; }

/* ---- phones ---- */
@media (max-width: 760px) {
  .compact-home .compact-platform-grid { grid-template-columns: 1fr; gap: 12px; }
  .compact-home .fit-panel { padding: 18px; gap: 14px; }
  .compact-home .section-top p, .compact-home .section-lede, .compact-industry .phm-section-head > p { font-size: 1rem; margin-top: 10px; }
  .compact-industry .compact-support-grid { grid-template-columns: 1fr; gap: 12px; }
  .compact-industry .compact-support-card { padding: 18px; }
  .compact-home .closing { padding: 48px 0; }
  .compact-home .closing-inner { display: block; }
  .compact-home .closing-actions { margin-top: 22px; display: grid; grid-template-columns: 1fr; gap: 10px; }
  .compact-home .closing-actions .button { width: 100%; justify-content: center; }
  .compact-home .hound-card { min-height: 0; }
}
