/* Shared support layout. Kept identical in both independently deployed portals. */
.support-page {
  --ink: var(--text, #f5f6fb);
  --support-panel: #101925;
  --support-error: #ffa69e;
  margin: 0;
  min-height: 100dvh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: var(--support-banner-height, 0px);
}
.support-page [hidden] { display: none !important; }
.support-page :is(a, button, input, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}
.support-page a { text-underline-offset: 3px; }
.support-page .site-header, .support-page .topbar, .support-page .site-footer { flex: none; }
.support-page .site-header { position: relative; }
.support-page .support-main {
  width: min(1040px, calc(100% - 48px));
  margin: auto;
  padding: 28px 0;
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.support-page .support-heading { flex: none; margin: 0; }
.support-page .support-heading .eyebrow {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}
.support-page .support-heading h1 {
  margin: 0;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -.035em;
}
.support-page .support-heading h1 em { color: var(--mint); font-style: normal; }
.support-page .support-heading .content-lede {
  max-width: 62ch;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.support-page .support-heading .content-lede p { margin: 0; }
.support-page .support-contact {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-content: center;
  align-items: start;
  column-gap: clamp(30px, 6vw, 80px);
}
.support-page .contact-card { min-width: 0; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.support-page .contact-form { display: grid; gap: 17px; position: relative; }
.support-page .contact-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.support-page .contact-form label { display: grid; gap: 7px; min-width: 0; color: var(--muted); font-size: 13px; font-weight: 500; }
.support-page .contact-form input,
.support-page .contact-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--support-panel);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 9px 11px;
  outline: none;
}
.support-page .contact-form input { height: 42px; }
.support-page .contact-form textarea { min-height: 110px; height: 130px; max-height: 280px; resize: vertical; line-height: 1.5; }
.support-page .contact-form input:focus,
.support-page .contact-form textarea:focus { border-color: var(--mint); }
.support-page .contact-verification {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 74px 40px auto;
  gap: 10px;
  align-items: end;
}
.support-page .challenge-prompt { min-width: 0; }
.support-page .field-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 13px; }
.support-page .challenge-visual { height: 60px; display: flex; align-items: center; }
.support-page #challenge-image { display: block; width: 160px; height: 60px; border-radius: 5px; background: #fff; object-fit: contain; }
.support-page .challenge-placeholder { color: var(--muted); font-size: 12px; }
.support-page .contact-form .contact-submit,
.support-page .contact-form .challenge-refresh {
  height: 42px;
  min-height: 42px;
  align-self: end;
  flex: none;
  border-radius: 8px;
  border: 1px solid var(--line);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.support-page .contact-form .contact-submit {
  width: auto;
  min-width: 118px;
  max-width: 180px;
  padding: 0 16px;
  color: #102119;
  background: var(--mint);
  border-color: var(--mint);
  font-weight: 650;
  justify-self: end;
}
.support-page .contact-form .contact-submit:hover:not(:disabled) { background: #c6e4d5; border-color: #c6e4d5; }
.support-page .contact-form .challenge-refresh { width: 40px; padding: 0; background: transparent; color: var(--muted); font-size: 21px; }
.support-page .contact-form .challenge-refresh:hover:not(:disabled) { color: var(--ink); border-color: var(--mint); }
.support-page .contact-form button:disabled { opacity: .45; cursor: default; }
.support-page .challenge-hint, .support-page .contact-note { margin: -7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.support-page .form-status { min-height: 40px; margin: 0; color: var(--mint); font-size: 13px; line-height: 1.5; }
.support-page .form-status.error { color: var(--support-error); }
.support-page .honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.support-page .support-scroll {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #3c4b60 transparent;
  padding: 2px 12px 8px 2px;
  scroll-padding: 20px;
}
.support-page .support-scroll:focus-visible { outline-offset: -2px; }
.support-page .legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
  row-gap: 22px;
  align-content: start;
}
.support-page .legal-grid section { min-width: 0; border-top: 1px solid var(--line); padding-top: 14px; }
.support-page .legal-grid h2 { margin: 0 0 8px; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.4; }
.support-page .legal-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.support-page .legal-grid a, .support-page .support-scroll a { color: var(--mint); }
.support-page .legal-grid .legal-wide { grid-column: 1 / -1; }
.support-page .source-page { max-width: none; }
.support-page .source-page .support-scroll { font-size: 15px; }
.support-page .source-page h2 { font-size: 20px; margin: 26px 0 10px; }
.support-page .source-page p, .support-page .source-page li { color: var(--muted); line-height: 1.7; }
.support-page .source-page .counts { margin: 0 0 10px; color: var(--ink); }
.support-page .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.support-page .news-card { padding: 20px; box-shadow: none; }
.support-page .news-card h3 { font-size: 19px; line-height: 1.4; }
.support-page .news-card p { font-size: 14px; line-height: 1.65; }
.support-page .news-next { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.support-page .news-next h2 { font-size: 20px; }
.support-page .news-next p { color: var(--muted); }
.support-page .news-next a { margin-right: 18px; }
.support-page .site-footer nav { flex-wrap: wrap; }
@media (min-width: 900px) and (min-height: 680px) {
  .support-page { height: 100dvh; }
  .support-page .support-main { overflow: hidden; }
  .support-page .support-contact { overflow: auto; }
  .support-page .support-scroll { flex: 1; }
}
@media (max-width: 899px), (max-height: 679px) {
  .support-page .support-main { flex: 1; overflow: auto; }
  .support-page .support-scroll { flex: none; overflow: visible; padding-right: 0; }
}
@media (max-width: 760px) {
  .support-page .support-main { width: calc(100% - 36px); padding: 27px 0; gap: 24px; }
  .support-page .support-contact { display: flex; }
  .support-page .contact-card { width: 100%; max-width: 580px; flex: none; }
  .support-page .contact-form { gap: 14px; }
  .support-page .contact-form textarea { height: 116px; }
  .support-page .form-status { min-height: 22px; }
  .support-page .support-heading h1 { font-size: 28px; }
  .support-page .support-heading .content-lede { font-size: 14px; }
  .support-page .legal-grid, .support-page .news-grid { grid-template-columns: 1fr; }
  .support-page .legal-grid { gap: 22px; }
  .support-page .site-footer { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .support-page .contact-verification { grid-template-columns: minmax(144px, 1fr) 62px 40px; gap: 8px; }
  .support-page #challenge-image { width: 144px; height: 54px; }
  .support-page .challenge-visual { height: 54px; }
  .support-page .contact-form .contact-submit { grid-column: 1 / -1; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .support-page { scroll-behavior: auto; } }
