/* Phone and tablet geometry for the approved product illustrations. */
@media (max-width:800px) {
  .hero-magnetic { max-width:500px; height:450px; margin-top:8px; }
  .magnetic-core { top:55%; width:190px; height:132px; padding:14px; border-radius:20px; }
  .magnetic-core>img { width:100px; margin-bottom:12px; }
  .magnetic-core>strong { font-size:16px; }
  .magnetic-core>span { gap:9px; font-size:10px; margin-top:10px; }
  .magnetic-node { width:min(154px,calc((100% - 28px)/2)); height:68px; padding:10px; gap:7px; border-radius:13px; }
  .magnetic-node strong { font-size:12px; }
  .magnetic-node small { font-size:10px; margin-top:4px; }
  .magnetic-node svg { width:18px; height:18px; }

  /* The completed workspace occupies the cloud's space, rather than leaving
     an empty cloud-sized row above it after the tools have gathered. */
  .consolidation-scene { grid-template-columns:minmax(0,1fr); min-height:0; padding:16px 0; overflow:clip; }
  .consolidation-cloud,.consolidation-home { grid-area:1/1; }
  .consolidation-cloud { min-height:360px; max-width:560px; gap:16px 10px; padding:24px 8px; }
  .consolidation-home { width:calc(100% - 24px); max-width:340px; padding:0; margin:auto; align-self:center; opacity:var(--home-opacity,1); }
  .consolidation-home:before { inset:-28px -12px; }
  .consolidation-riff { padding:28px 22px; gap:16px; }
  .consolidation-riff>ul { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; max-width:260px; }
  .consolidation-riff li { font-size:13px; padding:10px 8px; }

  .payments-feature .payout-flow { overflow:clip; }
  .payout-map { padding:28px 24px; gap:40px; min-height:0; }
  .payment-scene .brand-payment { width:100%; max-width:340px; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:12px; padding:20px; }
  .brand-payment-top { grid-column:1; grid-row:1; gap:8px; min-width:0; }
  .brand-monogram { width:34px; height:34px; border-radius:10px; font-size:21px; }
  .brand-payment-top strong { font-size:14px; line-height:1.35; }
  .brand-payment-amount { grid-column:2; grid-row:1; margin:0; font-size:32px; }
  .brand-status { grid-column:1/-1; justify-self:start; }
  .reminder-note { grid-column:1/-1; padding-top:12px; margin-top:0; }
  .payment-scene .payout-hub { width:min(100%,260px); min-height:0; display:grid; grid-template-columns:78px minmax(0,1fr); column-gap:14px; row-gap:2px; padding:18px; border-radius:18px; }
  .payout-hub>img { grid-column:1; grid-row:1/3; width:78px; }
  .payment-scene .hub-payment-label { grid-column:2; grid-row:1; margin:0; font-size:10px; }
  .hub-payment-total { grid-column:2; grid-row:2; font-size:28px; margin:0; }
  .payment-scene .hub-payment-state { grid-column:1/-1; grid-row:3; justify-content:center; margin-top:10px; }
  .payout-people { max-width:380px; padding:0 0 0 18px; gap:10px; }
  .payout-person { min-height:70px; padding:12px; gap:8px; }
  .payout-person .person-avatar { width:28px; height:28px; font-size:9px; }
  .recipient-copy>strong { font-size:13px; line-height:1.35; }
  .recipient-money>strong { font-size:20px; }
  .tax-status,.recipient-status { font-size:10px; margin-top:4px; }
  .transfer-check { width:18px; height:18px; }
}
@media (max-width:700px) {
  .inbox-story { height:456px; }
  .inbox-story .separate-inboxes { inset:28px 0; }
  .inbox-story .source-inbox { width:calc(100% - 56px); max-width:300px; margin:0; translate:-50% -50%; }
  .inbox-story .source-account { padding:16px 14px; gap:8px; }
  .inbox-story .source-account strong { font-size:13px; }
  .inbox-story .source-account>div>span { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .inbox-story .source-message { padding:12px 14px; }
  .inbox-story .source-message strong { font-size:13px; }
  .inbox-story .source-message>span { font-size:12px; margin-top:4px; }
  .inbox-story .merged-inbox { inset:24px 16px; }
  .email-header { padding:16px 12px; gap:8px; }
  .email-header>strong { font-size:15px; }
  .mail-row { padding:8px 12px; }
}
@media (max-width:540px) {
  .hero-layout { gap:20px; }
  .hero-magnetic { margin-top:0; }
  .magnetic-core { width:184px; }
  .consolidation-cloud { min-height:420px; padding:24px 6px; gap:16px 8px; }
  .stack-section .consolidation-cloud .compare-tool { padding:10px; min-height:40px; }

  .deal-bridge { padding:20px 12px; }
  .bridge-grid { gap:32px; }
  .bridge-card { padding:20px 18px; }
  .bridge-card-label { margin-bottom:14px; font-size:13px; }
  .bridge-sender { margin-bottom:14px; font-size:13px; }
  .bridge-card h3 { font-size:17px; }
  .bridge-card p { font-size:13px; line-height:1.65; margin-top:12px; }
  .bridge-fields { margin:14px 0; }
  .bridge-fields>div { grid-template-columns:72px minmax(0,1fr); padding:8px 0; font-size:12px; }
  .bridge-reviewed { font-size:12px; }

  /* Reserve two compact card slots per stage so moving cards do not shift
     the page or leave the old desktop-sized gaps between stage rows. */
  .deals-feature .kanban-board { grid-template-rows:290px 290px; gap:20px 12px; }
  .deals-feature .kanban-column { min-height:0; }
  .deals-feature .kanban-column h3 { font-size:11px; gap:4px; padding-bottom:10px; margin-bottom:12px; }
  .deals-feature .kanban-cards { gap:10px; }
  .deals-feature .deal-card { padding:12px; }
  .deals-feature .deal-card h4 { font-size:14px; line-height:1.3; }
  .deals-feature .deal-card .deal-value { font-size:12px; margin-top:4px; }
  .deals-feature .deal-card .deal-creator { font-size:11px; gap:5px; margin-top:8px; }
  .deals-feature .deal-creator .person-avatar { width:18px; height:18px; font-size:7px; }
  .deal-next { margin-top:10px; }
  .deal-card .deal-action { min-height:0; font-size:12px; line-height:1.4; }
  .deal-drag-marker { width:22px; height:25px; right:8px; bottom:-8px; }

  /* Give the blog payment artwork enough height for both card tiers. */
  .cover-art .cover-canvas { width:calc(100% - 32px); max-width:380px; height:230px; aspect-ratio:auto; }
  .art-recipients { bottom:2%; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
  .art-recipient { padding:12px 8px; min-width:0; }
  .art-recipient strong { font-size:16px; }

  .payout-map { padding:24px 16px; gap:36px; }
  .payment-scene .brand-payment { padding:18px; }
  .brand-payment-top strong { font-size:13px; }
  .recipient-copy>strong { font-size:12px; }
}
@media (max-width:360px) {
  .magnetic-node strong { font-size:11px; }
  .magnetic-node small { font-size:9px; }
  .magnetic-core { width:176px; }
  .brand-payment-amount { font-size:28px; }
  .brand-monogram { width:30px; height:30px; }
  .payout-person { gap:6px; padding:12px 10px; }
  .recipient-money>strong { font-size:18px; }
}
@media (max-width:800px) and (prefers-reduced-motion:reduce) {
  .consolidation-scene { gap:20px; }
  .consolidation-cloud,.consolidation-home { grid-area:auto; }
  .consolidation-home { opacity:1; }
}
