/* ==========================================================================
   Contact & Support — Page-Specific Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero — uses shared .privacy-hero from privacy.css
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Contact Content — White Section
   -------------------------------------------------------------------------- */
.contact-content {
  background: var(--surface);
  padding: 80px 0;
  flex: 1;
}
.contact-inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 80px;
}

/* — Main content stack — */
.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* — Section divider lines — */
.contact-section:not(:last-child) {
  padding-bottom: 80px;
  border-bottom: 1px solid var(--stroke, #aad4cd);
}

/* --------------------------------------------------------------------------
   Sidebar
   -------------------------------------------------------------------------- */
.contact-sidebar {
  width: 268px;
  flex-shrink: 0;
  position: sticky;
  top: 180px;
}
.contact-sidebar-inner {
  background: var(--surface);
  border: 1px solid var(--stroke, #aad4cd);
  border-radius: var(--radius-m);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-sidebar-label {
  font-family: var(--font);
  font-weight: 300;
  font-size: 18px;
  line-height: 30px;
  color: var(--secondary);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--stroke, #aad4cd);
}
.contact-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-sidebar-link {
  display: flex;
  gap: 8px;
  align-items: baseline;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.contact-sidebar-link:hover {
  opacity: 0.7;
}
.contact-sidebar-num {
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--secondary);
  width: 23px;
  flex-shrink: 0;
}
.contact-sidebar-text {
  font-family: var(--font);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -1px;
  color: var(--primary);
  text-decoration: underline;
}
.contact-sidebar-link.active .contact-sidebar-num {
  color: var(--primary);
}
.contact-sidebar-link.active .contact-sidebar-text {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Section Layout
   -------------------------------------------------------------------------- */
.contact-section {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.contact-section-number {
  font-family: var(--font);
  font-weight: 700;
  font-size: var(--h3-size);
  line-height: var(--h3-lh);
  letter-spacing: var(--h3-ls);
  color: var(--secondary);
  width: 65px;
  flex-shrink: 0;
}

/* — Section body (title + content) — */
.contact-section-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* — Section title (Heading 3) — */
.contact-section-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 36px;
  line-height: 42px;
  letter-spacing: -2px;
  color: var(--primary);
}

/* — Lead paragraph (Body/Large) — */
.contact-lead {
  font-family: var(--font);
  font-weight: 300;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: -0.5px;
  color: var(--secondary);
}

/* — Body paragraph (Body/Regular) — */
.contact-body {
  font-family: var(--font);
  font-weight: 300;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0;
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Contact Channel Cards
   -------------------------------------------------------------------------- */
.contact-cards-row {
  display: flex;
  gap: 16px;
}
.contact-channel-card {
  background: #e4f1ef;
  border-radius: var(--radius-l);
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.contact-channel-card strong {
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.36px;
  color: var(--primary);
}
.contact-channel-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 300;
  font-size: 18px;
  line-height: 30px;
  color: var(--primary);
}
.contact-channel-detail a {
  color: var(--primary);
  text-decoration: none;
}
.contact-channel-detail a:hover {
  color: var(--secondary);
}
.contact-social-icons {
  display: flex;
  gap: 8px;
}
.contact-social-icons a {
  display: flex;
}
.contact-social-icons img {
  width: 26px;
  height: 26px;
}
.contact-response-note {
  font-family: var(--font);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.14px;
  color: var(--primary);
}
.contact-divider {
  border: none;
  border-top: 1px solid var(--stroke, #aad4cd);
  margin: 0;
}
.contact-report-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-report-row p {
  font-family: var(--font);
  font-weight: 300;
  font-size: 18px;
  line-height: 30px;
  color: var(--primary);
  margin: 0;
}
.contact-report-link {
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  color: var(--secondary);
  text-decoration: none;
  white-space: nowrap;
}
.contact-report-link:hover {
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Callout Box
   -------------------------------------------------------------------------- */
.contact-callout {
  background: #e4f1ef;
  border-radius: var(--radius-l);
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-callout p {
  font-family: var(--font);
  font-weight: 300;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0;
  color: var(--primary);
}
.contact-callout strong {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Accordion FAQ
   -------------------------------------------------------------------------- */
.contact-accordions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-accordions .accordion-item + .accordion-item {
  margin-top: 0;
}
/* Accordion styles handled by shared accordion.css */
.contact-accordion-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   FAQ Group Headings (Heading 4)
   -------------------------------------------------------------------------- */
.contact-faq-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-faq-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-faq-group + .contact-faq-group {
  margin-top: 16px;
}
.contact-faq-group-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.48px;
  color: var(--primary);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Help Article Accordion Cards
   -------------------------------------------------------------------------- */
.help-article-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.help-article {
  background: white;
  border: 1px solid var(--stroke, #aad4cd);
  border-radius: var(--radius-l, 16px);
  overflow: clip;
  box-shadow:
    0px 84px 24px 0px rgba(133,153,151,0),
    0px 54px 22px 0px rgba(133,153,151,0.01),
    0px 30px 18px 0px rgba(133,153,151,0.05),
    0px 13px 13px 0px rgba(133,153,151,0.09),
    0px 3px 7px 0px rgba(133,153,151,0.1);
}
.help-article .accordion-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.help-article.accordion-item--open .accordion-body {
  max-height: 2000px;
}

/* — Header (trigger) — */
.help-article-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.help-article-header-icon {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
}
.help-article-header-title {
  flex: 1;
  font-family: var(--font);
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: -0.5px;
  color: var(--primary);
}

/* — Hero banner — */
.help-article-hero {
  background: var(--bg, #e2f1ee);
  border-radius: var(--radius-m, 8px);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.help-article-hero-logo {
  height: 30px;
  width: auto;
  margin-bottom: 12px;
}
.help-article-hero-tag {
  font-family: var(--font);
  font-weight: 700;
  font-size: 17px;
  line-height: 21px;
  letter-spacing: -0.34px;
  color: var(--secondary);
}
.help-article-hero-heading {
  font-family: var(--font);
  font-weight: 700;
  font-size: 36px;
  line-height: 42px;
  letter-spacing: -2px;
  color: var(--primary);
  margin: 0;
}

/* — Intro section — */
.help-article-intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.help-article-h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.48px;
  color: var(--primary);
  margin: 0;
}
.help-article-text {
  font-family: var(--font);
  font-weight: 300;
  font-size: 18px;
  line-height: 30px;
  color: var(--primary);
  margin: 0;
}

/* — Divider — */
.help-article-divider {
  border: none;
  border-top: 1px solid var(--stroke, #aad4cd);
  margin: 0;
  width: 100%;
}

/* — Bullet group — */
.help-article-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.help-article-group-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: -0.5px;
  color: var(--primary);
  margin: 0;
}

/* — Bullet list — */
.help-article-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.help-article-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.help-article-bullet {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background: var(--bg, #e2f1ee);
  flex-shrink: 0;
  position: relative;
}
.help-article-bullet::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300776f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.help-article-list-text {
  font-family: var(--font);
  font-weight: 300;
  font-size: 18px;
  line-height: 30px;
  color: var(--primary);
}
.help-article-list-text strong {
  font-weight: 700;
}

/* — Footnote — */
.help-article-footnote {
  font-family: var(--font);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.14px;
  color: var(--primary);
  margin: 0;
}
.help-article-footnote a {
  color: var(--secondary);
  text-decoration: none;
}
.help-article-footnote a:hover {
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   CTA Row
   -------------------------------------------------------------------------- */
.contact-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Responsive — Tablet (<=1279px)
   -------------------------------------------------------------------------- */
@media (max-width: 1279px) {
  .contact-content {
    padding: 60px 0;
  }
  .contact-inner {
    padding: 0 48px;
  }
  .contact-stack {
    flex: 1;
  }
  .contact-section-title {
    font-size: 30px;
    line-height: 36px;
  }
  .contact-lead {
    font-size: 20px;
    line-height: 30px;
  }
  .contact-accordion-label {
    font-size: 18px;
    line-height: 30px;
  }
  .help-article-header-title {
    font-size: 20px;
    line-height: 30px;
  }
  .help-article-hero-heading {
    font-size: 30px;
    line-height: 36px;
  }
}

/* --------------------------------------------------------------------------
   Responsive — Mobile (<=959px)
   -------------------------------------------------------------------------- */
@media (max-width: 690px) {
  .contact-content {
    padding: 48px 0;
  }
  .contact-inner {
    padding: 0 24px;
    flex-direction: column;
    gap: 0;
  }
  .contact-stack {
    width: 100%;
    padding-right: 0;
    gap: 32px;
  }
  .contact-section:not(:last-child) {
    padding-bottom: 32px;
  }

  /* Sidebar hidden on mobile */
  .contact-sidebar {
    display: none;
  }

  /* Section goes vertical on mobile */
  .contact-section {
    flex-direction: column;
    gap: 8px;
  }
  .contact-section-number {
    width: auto;
    font-size: 24px;
    line-height: 30px;
  }
  .contact-section-title {
    font-size: 24px;
    line-height: 30px;
    letter-spacing: -0.48px;
  }
  .contact-lead {
    font-size: 18px;
    line-height: 28px;
  }
  .contact-body {
    font-size: 16px;
    line-height: 26px;
  }
  /* Accordion responsive handled by shared accordion.css */
  .contact-accordion-body {
    padding: 0 24px 24px;
  }
  .contact-callout {
    padding: 20px 24px;
  }
  .contact-callout p {
    font-size: 16px;
    line-height: 26px;
  }
  .contact-cards-row {
    flex-direction: column;
  }
  .contact-channel-card {
    padding: 20px 24px;
  }
  .contact-report-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Help article grid goes single column */
  .help-article-grid {
    grid-template-columns: 1fr;
  }
  .help-article-header {
    padding: 20px 24px;
  }
  .help-article-header-title {
    font-size: 18px;
    line-height: 28px;
  }
  .help-article-hero {
    padding: 32px 24px;
  }
  .help-article-hero-heading {
    font-size: 24px;
    line-height: 30px;
    letter-spacing: -0.48px;
  }
  .help-article-text,
  .help-article-list-text {
    font-size: 16px;
    line-height: 26px;
  }
  .help-article.accordion-item--open .accordion-body {
    padding: 0 24px 24px;
  }

  /* CTA row stacks */
  .contact-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
}
