:root {
  --ecx-orange: #ff6f00;
  --ecx-dark: #111827;
  --ecx-muted: #64748b;
  --ecx-line: rgba(15, 23, 42, 0.1);
  --ecx-soft: #f8fafc;
}

.ecx-careers-body {
  background: #f6f8fb;
  color: var(--ecx-dark);
}

.ecx-careers-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.ecx-careers-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 58px;
  background: radial-gradient(circle at 12% 20%, rgba(255, 111, 0, 0.18), transparent 32%), linear-gradient(135deg, #fff7ed, #ffffff 48%, #eef6ff);
}

.ecx-careers-bg {
  position: absolute;
  inset: auto -80px -170px auto;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: rgba(255, 111, 0, 0.14);
  filter: blur(4px);
}

.ecx-careers-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.ecx-careers-kicker,
.ecx-careers-section-head span,
.ecx-careers-band span,
.ecx-careers-apply-copy span {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(255, 111, 0, 0.1);
  color: #c2410c;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ecx-careers-copy h1 {
  margin: 18px 0 18px;
  max-width: 850px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.ecx-careers-copy p {
  margin: 0;
  max-width: 680px;
  color: var(--ecx-muted);
  font-size: 18px;
  line-height: 1.75;
}

.ecx-careers-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.ecx-careers-primary,
.ecx-careers-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 20px;
  text-decoration: none;
  font-weight: 900;
}

.ecx-careers-primary {
  background: var(--ecx-orange);
  color: #fff;
  box-shadow: 0 16px 34px rgba(255, 111, 0, 0.24);
}

.ecx-careers-secondary {
  background: #fff;
  color: var(--ecx-dark);
  border: 1px solid var(--ecx-line);
}

.ecx-careers-panel {
  border: 1px solid var(--ecx-line);
  border-radius: 6px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
}

.ecx-careers-panel span {
  color: var(--ecx-orange);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ecx-careers-panel strong {
  display: block;
  margin-top: 10px;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.ecx-careers-panel p,
.ecx-careers-panel li {
  color: var(--ecx-muted);
  line-height: 1.7;
}

.ecx-careers-panel ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.ecx-careers-section {
  padding: 64px 0;
}

.ecx-careers-section-head {
  max-width: 700px;
  margin-bottom: 26px;
}

.ecx-careers-section-head h2,
.ecx-careers-band h2,
.ecx-careers-apply-copy h2 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.ecx-careers-section-head p,
.ecx-careers-band p,
.ecx-careers-apply-copy p {
  color: var(--ecx-muted);
  line-height: 1.7;
}

.ecx-careers-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ecx-careers-role-grid article,
.ecx-careers-values article,
.ecx-careers-form,
.ecx-careers-note {
  border: 1px solid var(--ecx-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
}

.ecx-careers-role-grid article {
  padding: 22px;
}

.ecx-careers-role-grid article div {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff7ed;
  color: #c2410c;
  font-weight: 900;
}

.ecx-careers-role-grid h3 {
  margin: 18px 0 8px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.ecx-careers-role-grid p {
  margin: 0 0 14px;
  color: var(--ecx-muted);
  line-height: 1.65;
}

.ecx-careers-role-grid small {
  color: #334155;
  font-weight: 800;
  line-height: 1.5;
}

.ecx-careers-band {
  padding: 62px 0;
  background: #0f172a;
  color: #fff;
}

.ecx-careers-band span {
  background: rgba(255, 255, 255, 0.08);
  color: #fed7aa;
}

.ecx-careers-band p {
  color: #cbd5e1;
}

.ecx-careers-band-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.ecx-careers-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ecx-careers-values article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.ecx-careers-values strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.ecx-careers-values span {
  display: block;
  padding: 0;
  background: transparent;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
  text-transform: none;
  letter-spacing: 0;
}

.ecx-careers-apply-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.ecx-careers-note {
  margin-top: 20px;
  padding: 18px;
  color: #475569;
  line-height: 1.65;
}

.ecx-careers-form {
  padding: 24px;
}

.ecx-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ecx-careers-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.ecx-careers-form input,
.ecx-careers-form select,
.ecx-careers-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ecx-dark);
  background: #fff;
  outline: none;
}

.ecx-careers-form textarea {
  resize: vertical;
}

.ecx-careers-form input:focus,
.ecx-careers-form select:focus,
.ecx-careers-form textarea:focus {
  border-color: rgba(255, 111, 0, 0.7);
  box-shadow: 0 0 0 4px rgba(255, 111, 0, 0.12);
}

.ecx-careers-form button {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 6px;
  background: var(--ecx-orange);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.ecx-careers-form button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.ecx-careers-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: #166534;
  font-weight: 800;
  line-height: 1.5;
}

.ecx-careers-status.is-error {
  color: #b91c1c;
}

.ecx-careers-footer {
  padding: 50px 0 22px;
  background: #111827;
  color: #cbd5e1;
}

.ecx-careers-footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 26px;
}

.ecx-careers-footer img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
}

.ecx-careers-footer h3,
.ecx-careers-footer h4 {
  color: #fff;
  margin: 10px 0;
}

.ecx-careers-footer a {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  margin: 8px 0;
}

.ecx-careers-footer a:hover {
  color: #fff;
}

.ecx-careers-footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #94a3b8;
  font-size: 14px;
}

@media (max-width: 980px) {
  .ecx-careers-hero-grid,
  .ecx-careers-band-grid,
  .ecx-careers-apply-grid,
  .ecx-careers-footer-grid {
    grid-template-columns: 1fr;
  }

  .ecx-careers-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ecx-careers-hero {
    padding-top: 56px;
  }

  .ecx-careers-role-grid,
  .ecx-careers-values,
  .ecx-form-row {
    grid-template-columns: 1fr;
  }

  .ecx-careers-form {
    padding: 18px;
  }
}
