:root {
  --ecx-orange: #ff7a00;
  --ecx-orange-dark: #e35f00;
  --ecx-ink: #162033;
  --ecx-muted: #667085;
  --ecx-line: #e7eaf0;
  --ecx-bg: #f5f6f8;
  --ecx-card: #ffffff;
  --ecx-shadow: 0 16px 46px rgba(15, 23, 42, 0.08);
}

.ecx-support-body {
  background: var(--ecx-bg);
  color: var(--ecx-ink);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ecx-support-body a {
  color: inherit;
}

.ecx-support-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.ecx-support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 12px;
}

.ecx-support-hero-copy,
.ecx-support-hero-card,
.ecx-topic-card,
.ecx-support-main,
.ecx-support-contact-card,
.ecx-support-info-grid article {
  border-radius: 6px;
  background: var(--ecx-card);
  box-shadow: var(--ecx-shadow);
  border: 1px solid rgba(231, 234, 240, 0.92);
}

.ecx-support-hero-copy {
  padding: clamp(28px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}

.ecx-support-hero-copy::after {
  content: "";
  position: absolute;
  right: -110px;
  top: -120px;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: rgba(255, 122, 0, 0.12);
}

.ecx-support-hero-copy > span,
.ecx-section-title > span,
.ecx-support-contact-card > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ecx-orange-dark);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.ecx-support-hero-copy h1 {
  max-width: 820px;
  margin: 14px 0 14px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.ecx-support-hero-copy p {
  max-width: 760px;
  color: var(--ecx-muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

.ecx-support-search {
  margin-top: 30px;
  max-width: 760px;
}

.ecx-support-search label {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  color: var(--ecx-muted);
  font-weight: 800;
}

.ecx-support-search div {
  display: flex;
  gap: 10px;
  padding: 8px;
  background: #f4f6f9;
  border: 1px solid var(--ecx-line);
  border-radius: 6px;
}

.ecx-support-search input {
  flex: 1;
  border: 0;
  background: transparent;
  min-height: 46px;
  padding: 0 12px;
  outline: none;
  font: inherit;
  font-weight: 700;
  color: var(--ecx-ink);
}

.ecx-support-search button,
.ecx-support-form button,
.ecx-support-hero-card a {
  border: 0;
  border-radius: 6px;
  background: var(--ecx-orange);
  color: white;
  min-height: 46px;
  padding: 0 18px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ecx-support-hero-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  background:
    radial-gradient(circle at top right, rgba(255, 122, 0, 0.18), transparent 42%),
    #fff;
}

.ecx-support-hero-card small {
  color: var(--ecx-orange-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ecx-support-hero-card strong {
  margin-top: 12px;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.ecx-support-hero-card p {
  color: var(--ecx-muted);
  line-height: 1.65;
}

.ecx-support-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.ecx-topic-card {
  text-align: left;
  padding: 20px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ecx-topic-card:hover,
.ecx-topic-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(255, 122, 0, 0.45);
  box-shadow: 0 18px 52px rgba(255, 122, 0, 0.12);
}

.ecx-topic-card span {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #fff4e8;
  margin-bottom: 14px;
  font-size: 21px;
}

.ecx-topic-card strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 6px;
}

.ecx-topic-card small {
  color: var(--ecx-muted);
  line-height: 1.55;
}

.ecx-support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  gap: 20px;
  align-items: start;
}

.ecx-support-main,
.ecx-support-contact-card {
  padding: 24px;
}

.ecx-section-title h2,
.ecx-support-contact-card h2 {
  margin: 8px 0 8px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.ecx-section-title p,
.ecx-support-contact-card p {
  margin: 0;
  color: var(--ecx-muted);
  line-height: 1.65;
}

.ecx-faq-list {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.ecx-faq-item {
  border: 1px solid var(--ecx-line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.ecx-faq-question {
  width: 100%;
  border: 0;
  background: #fff;
  padding: 18px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font: inherit;
  color: var(--ecx-ink);
  font-weight: 900;
}

.ecx-faq-question span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #f4f6f9;
  color: var(--ecx-orange-dark);
}

.ecx-faq-answer {
  display: none;
  padding: 0 18px 18px;
  color: var(--ecx-muted);
  line-height: 1.7;
}

.ecx-faq-item.is-open .ecx-faq-answer {
  display: block;
}

.ecx-faq-empty {
  padding: 22px;
  border-radius: 6px;
  border: 1px dashed var(--ecx-line);
  color: var(--ecx-muted);
  background: #fbfcfd;
}

.ecx-support-form {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.ecx-form-row label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  color: var(--ecx-muted);
  font-weight: 900;
}

.ecx-form-row input,
.ecx-form-row select,
.ecx-form-row textarea {
  width: 100%;
  border: 1px solid var(--ecx-line);
  border-radius: 6px;
  background: #fff;
  min-height: 46px;
  padding: 0 13px;
  font: inherit;
  color: var(--ecx-ink);
  outline: none;
  box-sizing: border-box;
}

.ecx-form-row textarea {
  padding-top: 12px;
  resize: vertical;
}

.ecx-form-row input:focus,
.ecx-form-row select:focus,
.ecx-form-row textarea:focus {
  border-color: rgba(255, 122, 0, 0.68);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.1);
}

.ecx-form-status {
  min-height: 20px;
  color: var(--ecx-muted);
  line-height: 1.55;
  margin: 0;
}

.ecx-form-status.is-success {
  color: #0f7a45;
  font-weight: 800;
}

.ecx-form-status.is-error {
  color: #b42318;
  font-weight: 800;
}

.ecx-support-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.ecx-support-info-grid article {
  padding: 20px;
}

.ecx-support-info-grid span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #fff4e8;
  color: var(--ecx-orange-dark);
  font-weight: 900;
  margin-bottom: 14px;
}

.ecx-support-info-grid h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 900;
}

.ecx-support-info-grid p {
  margin: 0;
  color: var(--ecx-muted);
  line-height: 1.6;
  font-size: 14px;
}

.ecx-support-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 24px;
  border-radius: 6px;
  background: #101828;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ecx-support-footer .ecx-brand {
  color: white;
  text-decoration: none;
}

.ecx-support-footer p {
  color: rgba(255,255,255,0.7);
  margin: 10px 0 0;
}

.ecx-support-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.ecx-support-footer nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 980px) {
  .ecx-support-hero,
  .ecx-support-layout {
    grid-template-columns: 1fr;
  }

  .ecx-support-quick-grid,
  .ecx-support-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ecx-support-page {
    width: min(100% - 22px, 1180px);
    padding-top: 18px;
  }

  .ecx-support-hero-copy,
  .ecx-support-main,
  .ecx-support-contact-card {
    padding: 20px;
  }

  .ecx-support-search div {
    flex-direction: column;
  }

  .ecx-support-search button {
    width: 100%;
  }

  .ecx-support-quick-grid,
  .ecx-support-info-grid {
    grid-template-columns: 1fr;
  }

  .ecx-support-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .ecx-support-footer nav {
    justify-content: flex-start;
  }
}
