/* Contract benefits: real guide pages and supplied demo screenshots. */
.service-support { padding-block: clamp(48px, 6vw, 88px); }
.support-inner { width: var(--layout-rail); margin-inline: auto; }
.support-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(28px, 4vw, 64px); }
.support-layout > * { min-width: 0; }
.support-eyebrow { width: fit-content; max-width: 100%; margin-bottom: 18px; padding: 5px 14px; border-radius: 4px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 700; }
.support-copy h2 { font-size: clamp(25px, 2.6vw, 38px); font-weight: 900; line-height: 1.55; letter-spacing: -.025em; }
.support-lead { margin-top: 24px; font-size: clamp(16px, 1.45vw, 20px); font-weight: 700; line-height: 1.9; }
.support-lead strong { font-weight: 900; }
.support-description { margin-top: 20px; font-size: 15px; line-height: 2; }
.support-checks { display: grid; gap: 10px; margin-top: 24px; font-size: 14px; font-weight: 700; }
.support-checks li { display: flex; align-items: flex-start; gap: 9px; }
.support-checks .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--accent); stroke-width: 2.5; }
.support-caption { margin-top: 14px; color: #595959; font-size: 12px; line-height: 1.8; }
.support-image-link { position: relative; display: block; overflow: hidden; background: #fff; }
.support-image-link:focus-visible { outline: 3px solid var(--accent-focus); outline-offset: 5px; }
.support-zoom-hint { position: absolute; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 4px; color: #fff; background: rgb(0 0 0 / 85%); font-size: 12px; font-weight: 700; line-height: 1.6; }
.support-zoom-hint svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.guide-page-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.guide-page { border: 1px solid var(--line); border-radius: 6px; }
.guide-page img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.guide-page-cover { grid-column: 1 / -1; border: 2px solid var(--ink); }
.guide-page-label { display: block; padding: 5px 8px; border-top: 1px solid var(--line); text-align: center; font-size: 12px; font-weight: 700; }
.guide-connection { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-block: 18px 12px; font-size: 13px; font-weight: 700; }
.guide-connection svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 2; }
.guide-applications { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: center; font-size: 13px; font-weight: 700; }
.guide-applications li { display: grid; justify-items: center; gap: 8px; }
.guide-application-art { width: 100%; height: 86px; display: grid; place-items: center; background: var(--accent-surface); border-bottom: 2px solid var(--accent); }
.guide-business-card, .guide-flyer, .guide-social { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; border: 1px solid #d6d6d6; overflow: hidden; }
.guide-business-card { width: 78%; max-width: 110px; aspect-ratio: 1.7; }
.guide-business-card img { width: 62%; }
.guide-business-card i { position: absolute; inset: auto 0 0; height: 6px; background: var(--accent); }
.guide-flyer { width: 44px; height: 64px; padding: 6px; justify-content: flex-start; gap: 5px; }
.guide-flyer img { width: 100%; }
.guide-flyer i { width: 100%; height: 25px; background: var(--accent); }
.guide-flyer b { width: 100%; height: 6px; border-block: 1px solid var(--ink); }
.guide-social { width: 60px; height: 60px; background: var(--ink); border-color: var(--ink); }
.guide-social img { width: 76%; filter: invert(1); }
.guide-social i { position: absolute; inset: auto 0 0; height: 9px; background: var(--accent); }

.portal-section { background: var(--soft); }
.support-layout-reverse { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.support-layout-reverse .support-copy { grid-column: 2; grid-row: 1; }
.support-layout-reverse .portal-gallery { grid-column: 1; grid-row: 1; }
.portal-features { display: grid; gap: 16px; margin-top: 24px; }
.portal-features li { display: flex; align-items: flex-start; gap: 12px; }
.portal-features .icon { width: 23px; height: 23px; margin-top: 3px; color: var(--accent); }
.portal-features h3 { font-size: 16px; font-weight: 900; line-height: 1.6; }
.portal-features p { margin-top: 2px; font-size: 13px; line-height: 1.8; }
.portal-gallery-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.portal-gallery-tabs button { flex: 1 1 auto; min-height: 44px; padding: 8px 11px; background: #fff; border: 1px solid #c6c6c6; border-radius: 5px; font-size: 12px; font-weight: 700; line-height: 1.5; }
.portal-gallery-tabs button[aria-selected="true"] { color: #fff; background: var(--ink); border-color: var(--ink); box-shadow: inset 0 -3px var(--accent); }
.portal-gallery-tabs button:hover { border-color: var(--ink); }
.portal-gallery-tabs button:focus-visible { outline: 3px solid var(--accent-focus); outline-offset: 3px; }
.portal-screen { border: 2px solid var(--ink); border-radius: 8px; box-shadow: 0 12px 28px rgb(0 0 0 / 7%); }
.portal-screen img { width: 100%; height: auto; aspect-ratio: 1.674; object-fit: contain; background: #f4f5f6; }
.portal-screen-caption { margin-top: 16px; font-size: 14px; font-weight: 700; line-height: 1.8; }
.portal-fallback { margin-top: 12px; font-size: 13px; }
.portal-fallback a { text-decoration: underline; text-underline-offset: 3px; }

body:has(.support-image-dialog[open]) { overflow: hidden; }
.support-image-dialog { width: min(1400px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 0; border-radius: 12px; color: var(--ink); background: #fff; overscroll-behavior: contain; }
.support-image-dialog[open] { display: flex; flex-direction: column; }
.support-image-dialog::backdrop { background: rgb(0 0 0 / 72%); }
.support-dialog-header { display: flex; align-items: center; justify-content: space-between; flex: none; flex-wrap: wrap; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.support-dialog-header p { min-width: 0; font-size: 16px; font-weight: 700; line-height: 1.6; }
.support-dialog-actions { display: flex; gap: 8px; margin-left: auto; }
.support-dialog-actions button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--ink); border-radius: 5px; background: #fff; font-size: 14px; font-weight: 700; }
.support-dialog-actions [data-support-close] { color: #fff; background: var(--ink); }
.support-dialog-actions [data-support-close] span { font-size: 24px; line-height: 1; }
.support-image-canvas { min-height: 0; overflow: auto; overscroll-behavior: contain; }
.support-image-canvas:focus-visible { outline: 3px solid var(--accent-focus); outline-offset: -3px; }
.support-dialog-image { width: 100%; max-width: none; height: auto; }
.support-image-dialog.is-magnified .support-dialog-image { width: max(1200px, 180%); }

@media (max-width: 959px) {
  .support-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .support-layout-reverse .support-copy, .support-layout-reverse .portal-gallery { grid-column: auto; grid-row: auto; }
  .support-copy h2 { font-size: clamp(26px, 4vw, 34px); }
  .support-description { max-width: 42em; }
  .brand-guide-visual, .portal-gallery { width: min(100%, 660px); justify-self: center; }
  .portal-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
}
@media (max-width: 699px) {
  .support-inner { width: calc(100% - 32px); }
  .service-support { padding-block: 40px; }
  .support-eyebrow { margin-bottom: 14px; padding: 5px 10px; font-size: 12px; }
  .support-copy h2 { font-size: clamp(23px, 5.8vw, 30px); letter-spacing: -.04em; }
  .support-lead { margin-top: 18px; font-size: 16px; }
  .support-description { margin-top: 16px; font-size: 14px; line-height: 1.9; }
  .support-checks { margin-top: 18px; font-size: 13px; }
  .guide-page-grid { gap: 8px; }
  .guide-application-art { height: 76px; }
  .guide-applications { gap: 8px; font-size: 12px; }
  .support-caption { font-size: 11px; }
  .portal-features { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 20px; }
  .portal-features h3 { font-size: 15px; }
  .portal-gallery-tabs { gap: 6px; }
  .portal-gallery-tabs button { padding-inline: 10px; }
  .support-zoom-hint { right: 6px; bottom: 6px; padding: 4px 8px; font-size: 11px; }
  .portal-screen-caption { font-size: 13px; }
  .support-image-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 24px); border-radius: 8px; }
  .support-dialog-header { padding: 12px; gap: 8px; }
  .support-dialog-header p { width: 100%; font-size: 14px; }
  .support-dialog-actions button { padding-inline: 12px; font-size: 13px; }
}
