/* Shared contact controls and closing panels for the Frankly marketing family. */
.page .contact-button { font-size: 1rem; font-weight: 700; min-height: 48px; border-radius: 8px; }
.page .contact-button:focus-visible, .family-contact a:focus-visible { outline: 3px solid #b84c00; outline-offset: 4px; }
.family-contact { margin-top: 36px; padding: clamp(22px, 3vw, 36px); border: 1px solid #d9e3ee; border-radius: 16px; background: #edf2f7; }
.contact-page.legal-page:has(> .frankly-header) > :is(.family-contact, .contact-options) { max-width: none; }
.page .family-contact a:not(.contact-button) { font-weight: 500; }
.family-contact h2, .family-contact h3 { margin-top: 0; color: var(--ink); }
.family-contact h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.15; }
.family-contact > p, .family-contact-panel > p { color: var(--muted); }
.family-contact .support-form, .support-panel .support-form { margin-top: 22px; }
.family-contact .support-form label, .presence-page .support-form label, .support-panel .support-form label { font-size: 1rem; font-weight: 600; gap: 8px; }
.family-contact .support-form input, .family-contact .support-form select, .family-contact .support-form textarea,
.presence-page .support-form input, .presence-page .support-form select, .presence-page .support-form textarea { font: inherit; font-size: 1rem; font-weight: 400; min-height: 48px; }
.family-contact .support-form .full { grid-column: 1 / -1; }
.family-contact .support-form button { justify-self: start; }
.family-contact .support-honey, .support-form .support-honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.family-contact .inquiry-status, .support-panel .inquiry-status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border: 1px solid #b7c9dc; border-radius: 8px; background: #fff; color: var(--ink); }
.family-contact .inquiry-status[data-state="error"], .support-panel .inquiry-status[data-state="error"] { border-color: #ac352a; }
.family-contact .inquiry-status[data-state="success"], .support-panel .inquiry-status[data-state="success"] { border-color: #38704e; }
.family-contact .presence-form-note, .support-panel .presence-form-note { grid-column: 1 / -1; font-size: .875rem; line-height: 1.6; color: var(--muted); font-weight: 400; }
.family-contact .presence-form-note a, .support-panel .presence-form-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.family-contact-paths { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 24px 0 18px; padding: 0 0 16px; border-bottom: 1px solid #ced9e4; }
.family-contact-paths a { padding: 6px 0; color: var(--ink); font-weight: 600; text-underline-offset: 5px; }
.family-contact-paths a[aria-expanded="true"] { color: #a34200; text-decoration-thickness: 2px; }
.family-contact [hidden], .family-contact-panel[hidden] { display: none !important; }
.family-contact-panel > h3 { scroll-margin-top: 24px; font-size: 1.4rem; }
.family-contact-panel + .family-contact-panel { margin-top: 30px; }
.family-contact .family-contact-panel { margin-top: 0; }
.family-contact-routes { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 20px 0; font-size: .95rem; }
.family-contact-routes a { text-underline-offset: 4px; }
.family-contact-support { margin-top: 24px; font-size: .95rem; color: var(--muted); }
.digital-homepage #inquiry .project-inquiry-entry .project-inquiry-trigger,
.digital-homepage #inquiry .project-inquiry-entry .inquiry-fallback { padding: 12px 18px; border: 1px solid var(--ink); border-radius: 8px; text-decoration: none; font-weight: 700; min-height: 48px; }
.page .family-contact-closing { padding: clamp(22px, 3vw, 32px); border: 1px solid #d9e3ee; border-radius: 16px; background: #edf2f7; }
.family-contact-closing .family-contact-support { margin-bottom: 0; }
.contact-page.legal-page:has(> .frankly-header) > .product-support-options { width: 100%; max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .contact-page.legal-page:has(> .frankly-header) > .product-support-options { grid-template-columns: minmax(0, 1fr); }
  .family-contact .support-form { grid-template-columns: minmax(0, 1fr); }
  .family-contact-paths { gap: 8px 20px; }
}

/* Partnerships starts as a compact invitation, expanding inline on request. */
[data-contact-collapsed] .family-contact-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; }
[data-contact-collapsed] .family-contact-intro h2 { margin-bottom: 10px; }
[data-contact-collapsed] .family-contact-intro p { margin-bottom: 0; }
[data-contact-collapsed] .family-contact-intro .section-kicker { margin: 0 0 8px; }
[data-contact-collapsed] .family-contact-intro > .contact-button { flex-shrink: 0; }
@media (max-width: 760px) { [data-contact-collapsed] .family-contact-intro { flex-direction: column; align-items: flex-start; } }

/* Support uses the same full content frame as its header and footer. */
.support-page.legal-page:has(> .frankly-header) > section { width: 100%; max-width: none; }

/* Keep Digital support comfortable on larger desktop displays. */
.digital-support-page.page:has(> .frankly-header) { width: min(1100px, calc(100% - 48px)); }
.digital-support-page .support-about h2 { color: #fff; }
@media (max-width: 600px) { .digital-support-page.page:has(> .frankly-header) { width: calc(100% - 32px); } }

:is(.apps-contact-page, .contact-choice-page) .contact-hero { max-width: none; }
:is(.apps-contact-page, .contact-choice-page) .contact-option { display: grid; grid-template-rows: auto 1fr auto; align-items: start; justify-items: start; }
:is(.apps-contact-page, .contact-choice-page) .contact-option h2 { margin: 0; }

.contact-choice-page .contact-member-link { margin-top: 22px; color: var(--muted); font-size: .95rem; }
.contact-choice-page .contact-member-link a { font-weight: 500; text-underline-offset: 4px; }
